Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
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 }}
xiaolanpython
/
cpython
Public
forked from
python/cpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Lib
decimal.py
on
master
User selector
All users
Datepicker
All time
Commit history
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
Commits on Mar 12, 2011
Merge #11131
mdickinson
committed
a7f0dff
View commit details
Copy full SHA for a7f0dff
View code at this point
Browse repository at this point
Issue 11131: Fix sign of zero result on decimal.Decimal plus and minus operations in ROUND_FLOOR rounding mode.
mdickinson
committed
37a79fb
View commit details
Copy full SHA for 37a79fb
View code at this point
Browse repository at this point
Commits on Feb 1, 2011
Get command-line doctest of Lib/decimal.py to work again.
Show description for 6d7e26e
rhettinger
committed
6d7e26e
View commit details
Copy full SHA for 6d7e26e
View code at this point
Browse repository at this point
Commits on Nov 30, 2010
Add link to specification.
rhettinger
committed
697ce95
View commit details
Copy full SHA for 697ce95
View code at this point
Browse repository at this point
Commits on Nov 27, 2010
Replace _nbits() with int.bit_length().
rhettinger
committed
db213a2
View commit details
Copy full SHA for db213a2
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.