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
Accelerator
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
Type
/
to 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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
Python-List
/
cpython
Public
forked from
idobatter/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
Objects
floatobject.c
on
master
User selector
All users
All time
Commit history
Commits on Apr 11, 2016
Issue #26200: Restored more safe usages of Py_SETREF.
serhiy-storchaka
committed
082f1d3
View commit details
Copy full SHA for 082f1d3
View code at this point
Browse repository at this point
Commits on Apr 6, 2016
Issue #22570: Renamed Py_SETREF to Py_XSETREF.
serhiy-storchaka
committed
fa3fc6d
View commit details
Copy full SHA for fa3fc6d
View code at this point
Browse repository at this point
Commits on Dec 29, 2015
Clean up float.as_integer_ratio().
serhiy-storchaka
committed
c797daf
View commit details
Copy full SHA for c797daf
View code at this point
Browse repository at this point
Issue #25971: Optimized creating Fractions from floats by 2 times and from
Show description for 2e83df4
serhiy-storchaka
committed
2e83df4
View commit details
Copy full SHA for 2e83df4
View code at this point
Browse repository at this point
Commits on Nov 25, 2015
Issue #24731: Fixed crash on converting objects with special methods
Show description for c534c59
serhiy-storchaka
committed
c534c59
View commit details
Copy full SHA for c534c59
View code at this point
Browse repository at this point
Issue #24731: Fixed crash on converting objects with special methods
Show description for 6669f9b
serhiy-storchaka
committed
6669f9b
View commit details
Copy full SHA for 6669f9b
View code at this point
Browse repository at this point
Commits on Nov 7, 2015
Issue #24802: Copy bytes-like objects to null-terminated buffers if necessary
Show description for 3f85934
vadmium
committed
3f85934
View commit details
Copy full SHA for 3f85934
View code at this point
Browse repository at this point
Issue #24802: Merge null termination fixes from 3.4 into 3.5
vadmium
committed
1570938
View commit details
Copy full SHA for 1570938
View code at this point
Browse repository at this point
Commits on Apr 15, 2015
Issue 19933: Provide default argument for ndigits in round. Patch by Vajrasky Kok.
zooba
committed
c04d22d
View commit details
Copy full SHA for c04d22d
View code at this point
Browse repository at this point
Commits on Mar 6, 2015
merge 3.4 (#23590)
benjaminp
committed
9a66b92
View commit details
Copy full SHA for 9a66b92
View code at this point
Browse repository at this point
fix potential refleak in PyFloat_AsDouble (closes #23590)
benjaminp
committed
c5f6fb8
View commit details
Copy full SHA for c5f6fb8
View code at this point
Browse repository at this point
Commits on Feb 2, 2015
Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()
Show description for 50c1aa5
serhiy-storchaka
committed
50c1aa5
View commit details
Copy full SHA for 50c1aa5
View code at this point
Browse repository at this point
Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer()
Show description for 26bcf8d
serhiy-storchaka
committed
26bcf8d
View commit details
Copy full SHA for 26bcf8d
View code at this point
Browse repository at this point
Commits on Sep 28, 2014
Removed redundant casts to `char *`.
Show description for 499bede
serhiy-storchaka
committed
499bede
View commit details
Copy full SHA for 499bede
View code at this point
Browse repository at this point
Commits on Dec 4, 2013
Silence expression result unused warnings with clang.
Show description for 668147d
tiran
committed
668147d
View commit details
Copy full SHA for 668147d
View code at this point
Browse repository at this point
Commits on Nov 24, 2013
Issue #3158: doctest can now find doctests in functions and methods
Show description for f1b1cdd
zware
committed
f1b1cdd
View commit details
Copy full SHA for f1b1cdd
View code at this point
Browse repository at this point
Commits on Nov 7, 2013
#17080: improve error message of float/complex when the wrong type is passed.
ezio-melotti
committed
d1cc771
View commit details
Copy full SHA for d1cc771
View code at this point
Browse repository at this point
Commits on Oct 5, 2013
#19069: merge with 3.3.
ezio-melotti
committed
803002a
View commit details
Copy full SHA for 803002a
View code at this point
Browse repository at this point
#19069: use imperative mood in float object docstrings. Patch by Marco Buttu.
ezio-melotti
committed
ddb893b
View commit details
Copy full SHA for ddb893b
View code at this point
Browse repository at this point
Commits on Aug 27, 2013
Issue #18783: Removed existing mentions of Python long type in docstrings,
Show description for 927e5f7
serhiy-storchaka
committed
927e5f7
View commit details
Copy full SHA for 927e5f7
View code at this point
Browse repository at this point
Issue #18783: Removed existing mentions of Python long type in docstrings,
Show description for 13689b5
serhiy-storchaka
committed
13689b5
View commit details
Copy full SHA for 13689b5
View code at this point
Browse repository at this point
Commits on Aug 13, 2013
Issue #18722: Remove uses of the "register" keyword in C code.
pitrou
committed
6581472
View commit details
Copy full SHA for 6581472
View code at this point
Browse repository at this point
Commits on Jul 22, 2013
Issue #18520: Add a new PyStructSequence_InitType2() function, same than
Show description for bd886a9
vstinner
committed
bd886a9
View commit details
Copy full SHA for bd886a9
View code at this point
Browse repository at this point
Commits on Jun 4, 2013
Reuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macros
Show description for 38fdc11
vstinner
committed
38fdc11
View commit details
Copy full SHA for 38fdc11
View code at this point
Browse repository at this point
Commits on Apr 17, 2013
Close #17694: Add minimum length to _PyUnicodeWriter
Show description for 15ce8c7
vstinner
committed
15ce8c7
View commit details
Copy full SHA for 15ce8c7
View code at this point
Browse repository at this point
Commits on Jan 27, 2013
Fix a few typos and a double semicolon. Patch by Eitan Adler.
ezio-melotti
committed
ecdc307
View commit details
Copy full SHA for ecdc307
View code at this point
Browse repository at this point
Commits on Jun 22, 2012
Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues
davidmalcolm
committed
b5ecaf5
View commit details
Copy full SHA for b5ecaf5
View code at this point
Browse repository at this point
Commits on May 29, 2012
Issue #14744: Use the new _PyUnicodeWriter internal API to speed up str%args and str.format(args)
Show description for f237952
vstinner
committed
f237952
View commit details
Copy full SHA for f237952
View code at this point
Browse repository at this point
Commits on Mar 30, 2012
Issue #14435: Remove special block allocation code from floatobject.c
Show description for c91d71e
Kristján Valur Jónsson
committed
c91d71e
View commit details
Copy full SHA for c91d71e
View code at this point
Browse repository at this point
Commits on Jan 27, 2012
Merge 3.2 -> default (issue 13889)
mdickinson
committed
03ba6c7
View commit details
Copy full SHA for 03ba6c7
View code at this point
Browse repository at this point
Issue #13889: Add missing _Py_SET_53BIT_PRECISION_* calls around uses of dtoa.c functions in float round.
mdickinson
committed
cc0cabd
View commit details
Copy full SHA for cc0cabd
View code at this point
Browse repository at this point
Commits on Oct 14, 2011
Issue #13088: Add shared Py_hexdigits constant to format a number into base 16
Victor Stinner
committed
da328a4
View commit details
Copy full SHA for da328a4
View code at this point
Browse repository at this point
Commits on Sep 28, 2011
Implement PEP 393.
loewis
committed
d1d013c
View commit details
Copy full SHA for d1d013c
View code at this point
Browse repository at this point
Commits on Aug 11, 2011
Replace Py_NotImplemented returns with the macro form Py_RETURN_NOTIMPLEMENTED.
Show description for 1749582
briancurtin
committed
1749582
View commit details
Copy full SHA for 1749582
View code at this point
Browse repository at this point
Commits on Mar 14, 2011
Issue #11495: OSF support is eliminated. It was deprecated in Python 3.2
jcea
committed
a435079
View commit details
Copy full SHA for a435079
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.