Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Small and medium teams
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
sidlovescoding
Cpython
Repository navigation
Code
Pull requests
1
(1)
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
Cpython
Lib
decimal.py
on
sid-python
User selector
All users
Datepicker
All time
Commit history
Commits on Oct 26, 2025
gh-76007: Deprecate `__version__` attribute in `decimal` (#140302)
Show description for 00026d1
4 people
authored
00026d1
View commit details
Copy full SHA for 00026d1
View code at this point
Browse repository at this point
Commits on Sep 28, 2024
gh-123339: Fix cases of inconsistency of __module__ and __firstlineno__ in classes (GH-123613)
Show description for 69a4063
serhiy-storchaka
authored
69a4063
View commit details
Copy full SHA for 69a4063
View code at this point
Browse repository at this point
Commits on Jul 19, 2024
gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907)
serhiy-storchaka
authored
1a0c7b9
View commit details
Copy full SHA for 1a0c7b9
View code at this point
Browse repository at this point
Commits on Jun 13, 2024
gh-120417: Add #noqa to used imports in the stdlib (#120421)
Show description for 6ae254a
vstinner
authored
6ae254a
View commit details
Copy full SHA for 6ae254a
View code at this point
Browse repository at this point
Commits on Apr 17, 2024
gh-71966: Move the module docstring from _pydecimal to decimal (GH-117919)
Show description for c69968f
serhiy-storchaka
authored
c69968f
View commit details
Copy full SHA for c69968f
View code at this point
Browse repository at this point
Commits on Sep 10, 2014
Whitespace.
skrah
committed
9f69b86
View commit details
Copy full SHA for 9f69b86
View code at this point
Browse repository at this point
Issue #19232: Speed up decimal import. Additionally, since _decimal is
Show description for b578f8a
skrah
committed
b578f8a
View commit details
Copy full SHA for b578f8a
View code at this point
Browse repository at this point
Commits on Sep 9, 2014
Issue #22284: Merge 3.4
skrah
committed
082a9b1
View commit details
Copy full SHA for 082a9b1
View code at this point
Browse repository at this point
Issue #22284: Update decimal.__all__
skrah
committed
964feab
View commit details
Copy full SHA for 964feab
View code at this point
Browse repository at this point
Commits on Aug 26, 2014
Merge 3.4.
skrah
committed
fc45251
View commit details
Copy full SHA for fc45251
View code at this point
Browse repository at this point
Introduce and check for MPD_VERSION_HEX for precise management of builds
Show description for cf26115
skrah
committed
cf26115
View commit details
Copy full SHA for cf26115
View code at this point
Browse repository at this point
Merge 3.4.
skrah
committed
9ea83cf
View commit details
Copy full SHA for 9ea83cf
View code at this point
Browse repository at this point
Issue #22090: Fix '%' formatting for infinities and NaNs.
skrah
committed
298131a
View commit details
Copy full SHA for 298131a
View code at this point
Browse repository at this point
Commits on Apr 30, 2014
Issue #10650: Remove the non-standard 'watchexp' parameter from the
Show description for b151f8f
skrah
committed
b151f8f
View commit details
Copy full SHA for b151f8f
View code at this point
Browse repository at this point
Commits on Mar 20, 2014
Issue #20976: pyflakes: Remove unused imports
vstinner
committed
7fa767e
View commit details
Copy full SHA for 7fa767e
View code at this point
Browse repository at this point
Commits on Nov 24, 2013
Merge from 3.3.
skrah
committed
daa96b7
View commit details
Copy full SHA for daa96b7
View code at this point
Browse repository at this point
1) Prepare libmpdec for the 2.4.0 release. None of the following changes affects
Show description for 45059eb
skrah
committed
45059eb
View commit details
Copy full SHA for 45059eb
View code at this point
Browse repository at this point
Commits on Sep 8, 2013
merge from 3.3
Show description for f367962
orsenthil
committed
f367962
View commit details
Copy full SHA for f367962
View code at this point
Browse repository at this point
Fix the dead link of IEEE_854-1987 standard with the Wikipedia entry.
Show description for 4fec47e
orsenthil
committed
4fec47e
View commit details
Copy full SHA for 4fec47e
View code at this point
Browse repository at this point
Commits on Jul 4, 2013
Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)
brettcannon
committed
cd171c8
View commit details
Copy full SHA for cd171c8
View code at this point
Browse repository at this point
Commits on Jun 14, 2013
Issue #18200: Update the stdlib (except tests) to use
Show description for 0a14066
brettcannon
committed
0a14066
View commit details
Copy full SHA for 0a14066
View code at this point
Browse repository at this point
Commits on May 29, 2013
Issue #17768: Support newline fill character in decimal.py and NUL fill
Show description for 6edda14
skrah
committed
6edda14
View commit details
Copy full SHA for 6edda14
View code at this point
Browse repository at this point
Merge 3.3.
skrah
committed
8d90e38
View commit details
Copy full SHA for 8d90e38
View code at this point
Browse repository at this point
Commits on Dec 15, 2012
Merge 3.3.
skrah
committed
8031d0d
View commit details
Copy full SHA for 8031d0d
View code at this point
Browse repository at this point
Issue #15783: Except for the number methods, the C version of decimal now
Show description for 040e311
skrah
committed
040e311
View commit details
Copy full SHA for 040e311
View code at this point
Browse repository at this point
Commits on Oct 31, 2012
Issue #13701: Fix decorator avoidance (due to desire for Python 2.3 compatibility) in decimal module.
mdickinson
committed
9c3f503
View commit details
Copy full SHA for 9c3f503
View code at this point
Browse repository at this point
Commits on Aug 24, 2012
Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs.
mdickinson
committed
fc33d4c
View commit details
Copy full SHA for fc33d4c
View code at this point
Browse repository at this point
Commits on Mar 23, 2012
Use the same exception hierarchy as decimal.py. FloatOperation now also
Show description for b6405ef
skrah
committed
b6405ef
View commit details
Copy full SHA for b6405ef
View code at this point
Browse repository at this point
Commits on Mar 21, 2012
Issue #7652: Integrate the decimal floating point libmpdec library to speed
Show description for 1919b7e
skrah
committed
1919b7e
View commit details
Copy full SHA for 1919b7e
View code at this point
Browse repository at this point
Commits on Oct 24, 2011
Issue #13248, issue #8540: Remove deprecated Context._clamp attribute from Decimal module.
mdickinson
committed
39411f6
View commit details
Copy full SHA for 39411f6
View code at this point
Browse repository at this point
Commits on Jun 4, 2011
Issue #12080: Fix a performance issue in Decimal._power_exact that causes some corner-case Decimal.__pow__ calls to take an unreasonably long time.
mdickinson
committed
7ce0fa8
View commit details
Copy full SHA for 7ce0fa8
View code at this point
Browse repository at this point
Commits on May 22, 2011
Issue #12079: Decimal(0).fma(Decimal('inf'), 'not a number') should give a TypeError, not a Decimal.InvalidOperation
mdickinson
committed
b455e58
View commit details
Copy full SHA for b455e58
View code at this point
Browse repository at this point
Commits on Apr 13, 2011
Issue #11830: Remove unnecessary introspection code in the decimal module.
Show description for 1a20c12
abalkin
committed
1a20c12
View commit details
Copy full SHA for 1a20c12
View code at this point
Browse repository at this point
Commits on Mar 15, 2011
#11515: Merge with 3.1.
ezio-melotti
committed
4969f70
View commit details
Copy full SHA for 4969f70
View code at this point
Browse repository at this point
#11515: fix several typos. Patch by Piotr Kasprzyk.
ezio-melotti
committed
42da663
View commit details
Copy full SHA for 42da663
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.