summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Issue #25199: Idle: add synchronization comments for future maintainers.Terry Jan Reedy2015-09-212-3/+14
| | |
* | | Merge with 3.5Terry Jan Reedy2015-09-211-14/+14
|\ \ \ | |/ /
| * | Merge with 3.4Terry Jan Reedy2015-09-211-14/+14
| |\ \ | | |/
| | * Issue #16893: whitespace in idle.html.Terry Jan Reedy2015-09-211-14/+14
| | |
* | | Merge with 3.5Terry Jan Reedy2015-09-206-12/+927
|\ \ \ | |/ /
| * | Merge with 3.4Terry Jan Reedy2015-09-206-12/+927
| |\ \ | | |/
| | * Issue #16893: Replace help.txt with idle.html for Idle doc display.Terry Jan Reedy2015-09-206-12/+927
| | | | | | | | | | | | | | | | | | | | | | | | The new idlelib/idle.html is copied from Doc/build/html/idle.html. It looks better than help.txt and will better document Idle as released. The tkinter html viewer that works for this file was written by Rose Roseman. The new code is in idlelib/help.py, a new file for help menu classes. The now unused EditorWindow.HelpDialog class and helt.txt file are deprecated.
* | | Issue 25180: Fix Tools/parser/unparse.py for f-strings. Patch by Martin Panter.Eric V. Smith2015-09-202-2/+48
| | |
* | | merge 3.5 (#25145)Benjamin Peterson2015-09-201-3/+2
|\ \ \ | |/ /
| * | merge 3.4 (#25145)Benjamin Peterson2015-09-201-3/+2
| |\ \ | | |/
| | * remove reference to PyGoogle (#25145)Benjamin Peterson2015-09-201-2/+1
| | | | | | | | | | | | Patch by Bar Harel.
| | * use a more modern UA (#25145)Benjamin Peterson2015-09-201-1/+1
| | |
* | | Merge with 3.5Terry Jan Reedy2015-09-201-1/+1
|\ \ \ | |/ /
| * | Merge with 3.4Terry Jan Reedy2015-09-201-1/+1
| |\ \ | | |/
| | * Issue #24199: Add stacklevel to deprecation warning call.Terry Jan Reedy2015-09-201-1/+1
| | |
* | | Issue #25176: Merge cgi.parse_qsl link from 3.5Martin Panter2015-09-202-1/+2
|\ \ \ | |/ /
| * | Issue #25176: Merge cgi.parse_qsl link from 3.4 into 3.5Martin Panter2015-09-202-1/+2
| |\ \ | | |/
| | * Issue #25176: Correct link for cgi.parse_qsl; patch from Ville SkyttäMartin Panter2015-09-202-1/+2
| | |
* | | Temporary hack for issue #25180: exclude test_fstring.py from the unparse ↵Eric V. Smith2015-09-191-0/+2
| | | | | | | | | | | | round-tripping, while I figure out how to properly fix it.
* | | Issue #24965: Implement PEP 498 "Literal String Interpolation". ↵Eric V. Smith2015-09-199-63/+1965
| | | | | | | | | | | | Documentation is still needed, I'll open an issue for that.
* | | Add a fast path (no iterator creation) for a common case for repeating ↵Raymond Hettinger2015-09-192-4/+20
| | | | | | | | | | | | deques of size 1
* | | Merge 3.5Victor Stinner2015-09-191-4/+6
|\ \ \ | |/ /
| * | Issue #24999: In longobject.c, use two shifts instead of ">> 2*PyLong_SHIFT" toVictor Stinner2015-09-191-4/+6
| | | | | | | | | | | | | | | | | | avoid undefined behaviour when LONG_MAX type is smaller than 60 bits. This change should fix a warning with the ICC compiler.
* | | Issue #25101: Try to create a file to test write access in test_zipfile.Serhiy Storchaka2015-09-191-0/+7
|\ \ \ | |/ /
| * | Issue #25101: Try to create a file to test write access in test_zipfile.Serhiy Storchaka2015-09-191-0/+7
| |\ \ | | |/
| | * Issue #25101: Try to create a file to test write access in test_zipfile.Serhiy Storchaka2015-09-191-0/+7
| | |
* | | Hoist constant expression out of an inner loopRaymond Hettinger2015-09-191-2/+6
| | |
* | | Merge for issue #25133Brett Cannon2015-09-181-2/+2
|\ \ \ | |/ /
| * | Make it clearer that the constants in the selectors docs are module-levelBrett Cannon2015-09-181-2/+2
| | |
* | | Merge for issue #24915Brett Cannon2015-09-188-7/+185
|\ \ \ | |/ /
| * | Issue #24915: Add Clang support to PGO builds and use the test suiteBrett Cannon2015-09-188-7/+185
| | | | | | | | | | | | | | | | | | for profile data. Thanks to Alecsandru Patrascu of Intel for the initial patch.
* | | Merge 3.5 (test_email)Victor Stinner2015-09-181-0/+3
|\ \ \ | |/ /
| * | Merge 3.4 (test_email)Victor Stinner2015-09-181-0/+3
| |\ \ | | |/
| | * Issue #24836: Skip FormatDateTests of test_email.test_utils on Mac OS X SnowVictor Stinner2015-09-181-0/+3
| | | | | | | | | | | | Leopard because this OS uses out of date (pre 2011k) timezone files.
* | | Issue #25003: Skip test_os.URandomFDTests on Solaris 11.3 and newerVictor Stinner2015-09-181-7/+9
| | | | | | | | | | | | | | | When os.urandom() is implemented with the getrandom() function, it doesn't use a file descriptor.
* | | Issue #25003: On Solaris 11.3 or newer, os.urandom() now uses the getrandom()Victor Stinner2015-09-185-21/+110
| | | | | | | | | | | | | | | | | | 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.
* | | Merge 3.5Victor Stinner2015-09-183-16/+11
|\ \ \ | |/ /
| * | Issue #25150: Hide the private _Py_atomic_xxx symbols from the publicVictor Stinner2015-09-183-16/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Null merge 3.5: datetime was already fixed, but with a very different ↵Victor Stinner2015-09-180-0/+0
|\ \ \ | |/ / | | | | | | implementation
| * | Merge 3.4 (datetime rounding)Victor Stinner2015-09-184-45/+110
| |\ \ | | |/
| | * Issue #23517: Fix rounding in fromtimestamp() and utcfromtimestamp() methodsVictor Stinner2015-09-184-41/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Oops, fix test_microsecond_rounding()Victor Stinner2015-09-181-2/+2
| | | | | | | | | | | | Test self.theclass, not datetime. Regression introduced by manual tests.
* | | Merge 3.5 (pytime)Victor Stinner2015-09-180-0/+0
|\ \ \ | |/ /
| * | Issue #25155: Fix _PyTime_Divide() roundingVictor Stinner2015-09-182-11/+16
| | | | | | | | | | | | | | | _PyTime_Divide() rounding was wrong: copy code from Python default which has now much better unit tests.
* | | Merge 3.5 (NEWS)Victor Stinner2015-09-181-0/+4
|\ \ \ | |/ /
| * | Issue #25155: document the bugfix in Misc/NEWSVictor Stinner2015-09-181-0/+4
| | | | | | | | | | | | Oops, I forgot to document my change.
* | | Merge 3.5 (pytime, odict)Victor Stinner2015-09-181-1/+1
|\ \ \ | |/ /
| * | odictobject.c: fix compiler warningVictor Stinner2015-09-181-1/+1
| | | | | | | | | | | | | | | PyObject_Length() returns a P_ssize_t, not an int. Use a Py_ssize_t to avoid overflow.
| * | Issue #25155: Add _PyTime_AsTimevalTime_t() functionVictor Stinner2015-09-183-42/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows, the tv_sec field of the timeval structure has the type C long, whereas it has the type C time_t on all other platforms. A C long has a size of 32 bits (signed inter, 1 bit for the sign, 31 bits for the value) which is not enough to store an Epoch timestamp after the year 2038. Add the _PyTime_AsTimevalTime_t() function written for datetime.datetime.now(): convert a _PyTime_t timestamp to a (secs, us) tuple where secs type is time_t. It allows to support dates after the year 2038 on Windows. Enhance also _PyTime_AsTimeval_impl() to detect overflow on the number of seconds when rounding the number of microseconds.
* | | Issue #25155: Add _PyTime_AsTimevalTime_t() functionVictor Stinner2015-09-183-23/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows, the tv_sec field of the timeval structure has the type C long, whereas it has the type C time_t on all other platforms. A C long has a size of 32 bits (signed inter, 1 bit for the sign, 31 bits for the value) which is not enough to store an Epoch timestamp after the year 2038. Add the _PyTime_AsTimevalTime_t() function written for datetime.datetime.now(): convert a _PyTime_t timestamp to a (secs, us) tuple where secs type is time_t. It allows to support dates after the year 2038 on Windows. Enhance also _PyTime_AsTimeval_impl() to detect overflow on the number of seconds when rounding the number of microseconds.