- 20 Sep, 2015 10 commits
-
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
Patch by Bar Harel.
-
Benjamin Peterson authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Terry Jan Reedy authored
-
Martin Panter authored
-
Martin Panter authored
-
Martin Panter authored
-
- 19 Sep, 2015 9 commits
-
-
Eric V. Smith authored
Temporary hack for issue #25180: exclude test_fstring.py from the unparse round-tripping, while I figure out how to properly fix it.
-
Eric V. Smith authored
Issue #24965: Implement PEP 498 "Literal String Interpolation". Documentation is still needed, I'll open an issue for that.
-
Raymond Hettinger authored
-
Victor Stinner authored
-
Victor Stinner authored
avoid undefined behaviour when LONG_MAX type is smaller than 60 bits. This change should fix a warning with the ICC compiler.
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Raymond Hettinger authored
-
- 18 Sep, 2015 21 commits
-
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
for profile data. Thanks to Alecsandru Patrascu of Intel for the initial patch.
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
Leopard because this OS uses out of date (pre 2011k) timezone files.
-
Victor Stinner authored
When os.urandom() is implemented with the getrandom() function, it doesn't use a file descriptor.
-
Victor Stinner authored
function instead of the getentropy() function. The getentropy() function is blocking to generate very good quality entropy, os.urandom() doesn't need such high-quality entropy.
-
Victor Stinner authored
-
Victor Stinner authored
Python.h header to fix a compilation error with OpenMP. PyThreadState_GET() becomes an alias to PyThreadState_Get() to avoid ABI incompatibilies. It is important that the _PyThreadState_Current variable is always accessed with the same implementation of pyatomic.h. Use the PyThreadState_Get() function so extension modules will all reuse the same implementation.
-
Victor Stinner authored
-
Victor Stinner authored
Test self.theclass, not datetime. Regression introduced by manual tests.
-
Victor Stinner authored
-
Victor Stinner authored
of datetime.datetime: microseconds are now rounded to nearest with ties going to nearest even integer (ROUND_HALF_EVEN), instead of being rounding towards zero (ROUND_DOWN). It's important that these methods use the same rounding mode than datetime.timedelta to keep the property: (datetime(1970,1,1) + timedelta(seconds=t)) == datetime.utcfromtimestamp(t) It also the rounding mode used by round(float) for example. Add more unit tests on the rounding mode in test_datetime.
-
Victor Stinner authored
-
Victor Stinner authored
_PyTime_Divide() rounding was wrong: copy code from Python default which has now much better unit tests.
-
Victor Stinner authored
-
Victor Stinner authored
Oops, I forgot to document my change.
-
Victor Stinner authored
-
Victor Stinner authored
PyObject_Length() returns a P_ssize_t, not an int. Use a Py_ssize_t to avoid overflow.
-