Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
b365a06 change Σ to ν for obscure joke reasons https://twitter.com/ncoghlan_dev/status/579173053793353728 24 March 2015, 16:12:44 UTC
32af754 Issue #20289: The copy module now uses pickle protocol 4 (PEP 3154) and supports copying of instances of classes whose __new__ method takes keyword-only arguments. 24 March 2015, 16:06:42 UTC
944fbcc Issue #23571: Enhance _Py_CheckFunctionResult() Too bad, sometimes Py_FatalError() is unable to write the exception into sys.stderr (on "AMD64 OpenIndiana 3.x" buildbot, the buildbot was probably out of memory). Call Py_FatalError() with a different message for the two cases (result+error, or no result and no error). 24 March 2015, 15:28:52 UTC
381a9bc Issue #23571: Update test_capi 24 March 2015, 13:01:32 UTC
e0deff3 (Merge 3.4) Issue #23571: Py_FatalError() now tries to flush sys.stdout and sys.stderr It should help to see exceptions when stderr if buffered: PyErr_Display() calls sys.stderr.write(), it doesn't write into stderr file descriptor directly. 24 March 2015, 12:46:18 UTC
ec4f959 Issue #23571: Py_FatalError() now tries to flush sys.stdout and sys.stderr It should help to see exceptions when stderr if buffered: PyErr_Display() calls sys.stderr.write(), it doesn't write into stderr file descriptor directly. 24 March 2015, 12:44:35 UTC
454bd3a stdprinter_write(): mention the encoding 24 March 2015, 12:40:29 UTC
3b06dfb Issue #23571: In debug mode, _Py_CheckFunctionResult() now calls Py_FatalError() instead of using an assertion in debug mode. Py_FatalError() displays the current exception and the traceback which contain more information than just the assertion error. 24 March 2015, 11:53:59 UTC
de821be Issue #23571: PyErr_FormatV() and PyErr_SetObject() now always clear the current exception because they can run arbitrary Python code and so no exception must be set. 24 March 2015, 11:41:23 UTC
91afbb6 Issue #23753: Move _Py_wstat() from Python/fileutils.c to Modules/getpath.c I expected more users of _Py_wstat(), but in practice it's only used by Modules/getpath.c. Move the function because it's not needed on Windows. Windows uses PC/getpathp.c which uses the Win32 API (ex: GetFileAttributesW()) not the POSIX API. 24 March 2015, 11:16:28 UTC
10dc484 (Merge 3.4) Issue #23571: Enhance Py_FatalError() * Display the current Python stack if an exception was raised but the exception has no traceback * Disable faulthandler if an exception was raised (before it was only disabled if no exception was raised) * To display the current Python stack, call PyGILState_GetThisThreadState() which works even if the GIL was released 24 March 2015, 11:01:30 UTC
0f05cea #11468: merge with 3.4. 24 March 2015, 10:52:13 UTC
2e3998f #11468: improve unittest basic example. Initial patch by Florian Preinstorfer. 24 March 2015, 10:42:41 UTC
0e98a76 Issue #23571: Enhance Py_FatalError() * Display the current Python stack if an exception was raised but the exception has no traceback * Disable faulthandler if an exception was raised (before it was only disabled if no exception was raised) * To display the current Python stack, call PyGILState_GetThisThreadState() which works even if the GIL was released 24 March 2015, 10:24:06 UTC
f329878 Issue #23753: Python doesn't support anymore platforms without stat() or fstat(), these functions are always required. Remove HAVE_STAT and HAVE_FSTAT defines, and stop supporting DONT_HAVE_STAT and DONT_HAVE_FSTAT. 24 March 2015, 09:27:50 UTC
551350a Improve and fix-up comments. 24 March 2015, 07:19:53 UTC
0f1451c Issue 23744: Minor speed-up for deque.__bool__(). 24 March 2015, 06:23:55 UTC
929a14a Misc/NEWS entries for zipapp changes 23 March 2015, 21:40:43 UTC
d1f3a00 Merge 3.4 (faulthandler ICC) 23 March 2015, 20:21:00 UTC
19276f1 Issue #23654: Fix faulthandler._stack_overflow() for the Intel C Compiler (ICC) Issue #23654: Turn off ICC's tail call optimization for the stack_overflow generator. ICC turns the recursive tail call into a loop. Patch written by Matt Frank. 23 March 2015, 20:20:27 UTC
4dc2c22 Null merge 23 March 2015, 13:26:49 UTC
d4c2ac8 Issue #21560: An attempt to write a data of wrong type no longer cause GzipFile corruption. Original patch by Wolfgang Maier. 23 March 2015, 13:25:43 UTC
bca63b3 Issue #23688: Added support of arbitrary bytes-like objects and avoided unnecessary copying of memoryview in gzip.GzipFile.write(). Original patch by Wolfgang Maier. 23 March 2015, 12:59:48 UTC
77d8997 Issue #23252: Added support for writing ZIP files to unseekable streams. 22 March 2015, 23:09:35 UTC
f07a4b6 Issue #21526: Tkinter now supports new boolean type in Tcl 8.5. 22 March 2015, 22:47:45 UTC
1b2f4d5 merge 22 March 2015, 22:29:48 UTC
f6e31b7 Issue 23729: Document ElementTree namespace handling and fix an omission in the XPATH predicate table. 22 March 2015, 22:29:09 UTC
94a6448 Merge: #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes. 22 March 2015, 20:18:59 UTC
936da2a #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes. 22 March 2015, 20:17:46 UTC
0a0d20e Merge: #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None. 22 March 2015, 19:19:01 UTC
beed840 #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None. Some http servers will reject PUT, POST, and PATCH requests if they do not have a Content-Length header. Patch by James Rutherford, with additional cleaning up of the 'request' documentation by me. 22 March 2015, 19:18:23 UTC
5d06c74 Merge: #23700: fix/improve comment 22 March 2015, 16:34:50 UTC
75ed90a #23700: fix/improve comment 22 March 2015, 16:33:46 UTC
a4d4dd3 #23657 Don't explicitly do an isinstance check for str in zipapp As a result, explicitly support pathlib.Path objects as arguments. Also added tests for the CLI interface. 22 March 2015, 15:32:36 UTC
67057ab merge 3.4 (#22933) 22 March 2015, 14:15:12 UTC
218144a clarify behavior of shutil.move when destination exists (closes #22933) Patch by Mike Short. 22 March 2015, 14:11:54 UTC
2f7bf23 Issue #22289: merge from 3.4 22 March 2015, 08:19:10 UTC
ce8f5de Issue #22289: Prevent test_urllib2net failures due to ftp connection timeout. 22 March 2015, 08:14:48 UTC
8472f39 Null merge 22 March 2015, 07:47:20 UTC
d357b89 Issue #22079: Deprecation warning now is issued in PyType_Ready() instead of raising TypeError when statically allocated type subclasses dynamically allocated type 22 March 2015, 07:46:36 UTC
4f0efb0 Issue #23571: Fix test_capi 21 March 2015, 16:24:50 UTC
efde146 Issue #23571: _Py_CheckFunctionResult() now gives the name of the function which returned an invalid result (result+error or no result without error) in the exception message. Add also unit test to check that the exception contains the name of the function. Special case: the final _PyEval_EvalFrameEx() check doesn't mention the function since it didn't execute a single function but a whole frame. 21 March 2015, 14:04:43 UTC
6921c13 Minor nit. Make the rotate() success/fail tests consistent. 21 March 2015, 09:03:40 UTC
ac13ad6 For safety, wait to decref deleted values until the deque state has been restored. 21 March 2015, 08:53:16 UTC
0f6f947 Fix minor formatting nits and remove unnecessary comment. 21 March 2015, 08:42:10 UTC
32ea165 Issue 23704: Add index(), copy(), and insert() to deques. Register deques as a MutableSequence. 21 March 2015, 08:37:37 UTC
0a9e272 Issue #22351: The nntplib.NNTP constructor no longer leaves the connection and socket open until the garbage collector cleans them up. Patch by Martin Panter. 21 March 2015, 07:41:19 UTC
52027c3 Issue #22351: The nntplib.NNTP constructor no longer leaves the connection and socket open until the garbage collector cleans them up. Patch by Martin Panter. 21 March 2015, 07:40:26 UTC
f402775 Removed trailing tabs. 21 March 2015, 07:25:53 UTC
e9ae834 Update Wix version and fixes wxs file. 21 March 2015, 05:05:33 UTC
39dadf7 Issue 23705: Improve the performance of __contains__ checks for deques. 20 March 2015, 23:38:56 UTC
17d3a58 Issue #22832: Tweaked parameter names for fcntl module to better match official POSIX documentation. Updated the documenttion for Python 3. Patch by Alex Shkop. 20 March 2015, 18:04:21 UTC
6faa624 Merge: #11726: Make linecache docs reflect that all files are treated the same. 20 March 2015, 15:32:17 UTC
63998a3 #11726: Make linecache docs reflect that all files are treated the same. Being able to read non-python text files is not a purpose of linecache, but it does work and people use it. This changeset adjusts the language to make it clear that Python files are not treated uniquely, but does not go so far as to say reading non-python files is explicitly supported. 20 March 2015, 15:31:38 UTC
8291b5e Issue #22181: Run "aclocal; autoconf; autoheader" to regenerate configure 20 March 2015, 15:03:14 UTC
1dd4982 Issue #23681: The -b option now affects comparisons of bytes with int. 20 March 2015, 14:54:57 UTC
ee4c0b9 Issue #23681: Fixed Python 2 to 3 poring bugs. Indexing bytes retiurns an integer, not bytes. 20 March 2015, 14:48:02 UTC
74a49ac Issue #23681: Fixed Python 2 to 3 poring bugs. Indexing bytes retiurns an integer, not bytes. 20 March 2015, 14:46:19 UTC
000391b Issue #23700: NamedTemporaryFile iterator closed underlied file object in some circunstances while NamedTemporaryFile object was living. This causes failing test_csv. Changed the implementation of NamedTemporaryFile.__iter__ to make tests passed. 20 March 2015, 14:12:43 UTC
d83b7c2 Issue #23700: NamedTemporaryFile iterator closed underlied file object in some circunstances while NamedTemporaryFile object was living. This causes failing test_csv. Changed the implementation of NamedTemporaryFile.__iter__ to make tests passed. 20 March 2015, 14:11:20 UTC
268225f Issue #23715: Fix test_script_helper 20 March 2015, 13:02:33 UTC
57d516b Issue #23696: Remove test on ZipImportError.__context__ because the context is None on Windows. When the file is not readable, the error occurs at open on UNIX. On Windows, the error only occurs at the first operation on the open file. It would require to many changes to set __context__ to an OSError for all file operations, for a little benefit (__context__ is almost never used). 20 March 2015, 12:48:36 UTC
0312923 Issue #23715: Fix test_eintr, skip tests on signal.sigwaitinfo() and signal.sigtimedwait() if functions are missing 20 March 2015, 12:42:52 UTC
1335ca5 Issue #23715: Enhance test.script_helper to investigate test_eintr failure If Python failed, show also stdout in the assertion error. 20 March 2015, 12:38:08 UTC
a453cd8 Issue #23715: signal.sigwaitinfo() and signal.sigtimedwait() are now retried when interrupted by a signal not in the *sigset* parameter, if the signal handler does not raise an exception. signal.sigtimedwait() recomputes the timeout with a monotonic clock when it is retried. Remove test_signal.test_sigwaitinfo_interrupted() because sigwaitinfo() doesn't raise InterruptedError anymore if it is interrupted by a signal not in its sigset parameter. 20 March 2015, 11:54:28 UTC
a3c0202 Issue #23708: Save/restore errno in _Py_read() and _Py_write() Save and then restore errno because PyErr_CheckSignals() and PyErr_SetFromErrno() can modify it. 20 March 2015, 10:58:18 UTC
f50e187 Fix compiler warnings: comparison between signed and unsigned numbers 20 March 2015, 10:32:24 UTC
7f04d4d Issue #23708: Split assertion expression in two assertions in _Py_read() and _Py_write() to know which test failed on the buildbot "AMD64 Snow Leop 3.x". 20 March 2015, 10:21:41 UTC
fbd6f9e Issue #23696: Chain ZipImportError to the OSError 20 March 2015, 09:52:25 UTC
9995300 Issue #23709, #23001: ossaudiodev now uses Py_ssize_t for sizes instead of int The module is now also "SSIZE_T clean" (for PyArg_Parse...() functions) since it switched to Py_buffer ("y*" argument format). 20 March 2015, 09:37:34 UTC
716a74e Issue #23001: Fix typo 20 March 2015, 09:24:18 UTC
53c3fb1 Issue #22826: The result of open() in Tools/freeze/bkfile.py is now better compatible with regular files (in particular it now supports the context management protocol). 20 March 2015, 07:21:59 UTC
8490f5a Issue #23001: Few functions in modules mmap, ossaudiodev, socket, ssl, and codecs, that accepted only read-only bytes-like object now accept writable bytes-like object too. 20 March 2015, 07:00:36 UTC
0eac130 Issue #23646: Fix test_threading on Windows 20 March 2015, 02:06:12 UTC
580ef13 Cleanup pytime.c: add XXX_TO_YYY constants (ex: SEC_TO_US) 20 March 2015, 00:55:04 UTC
9a8089b Issue #23646: Enhance precision of time.sleep() and socket timeout when interrupted by a signal Add a new _PyTime_AddDouble() function and remove _PyTime_ADD_SECONDS() macro. The _PyTime_ADD_SECONDS only supported an integer number of seconds, the _PyTime_AddDouble() has subsecond resolution. 20 March 2015, 00:42:20 UTC
4fa99cd Issue #23709: The ossaudiodev module now retries read/write when interrupted by a signal (PEP 475). Use he new _Py_read() and _Py_write() functions. 19 March 2015, 23:27:28 UTC
b3aa2e7 Issue #23686: Update OS X 10.5 installer build to use OpenSSL 1.0.2a. 19 March 2015, 23:22:14 UTC
f0c6cd3 Issue #23686: Update OS X 10.5 installer build to use OpenSSL 1.0.2a. 19 March 2015, 23:21:10 UTC
484b9f3 Merge 19 March 2015, 23:10:23 UTC
c1cf4f7 Issue #23708: Fix _Py_read() compilation error on Windows Fix typo: self->fd => fd 19 March 2015, 22:53:04 UTC
c9382eb Issue #23707: On UNIX, os.urandom() now calls the Python signal handler when read() is interrupted by a signal. dev_urandom_python() now calls _Py_read() helper instead of calling directly read(). 19 March 2015, 22:36:33 UTC
5479967 Issue #23708: select.devpoll now retries its internal write() when interrupted by a signal (EINTR). Modify devpoll_flush() to use _Py_write() instead of calling directly write(). 19 March 2015, 22:33:09 UTC
31084ba Issue #23632: Memoryviews now allow tuple indexing (including for multi-dimensional memoryviews). 19 March 2015, 22:29:36 UTC
c7cd12d Issue #22181: Fix dev_urandom_noraise(), try calling py_getrandom() before opening /dev/urandom. 19 March 2015, 22:24:45 UTC
66aab0c Issue #23708: Add _Py_read() and _Py_write() functions to factorize code handle EINTR error and special cases for Windows. These functions now truncate the length to PY_SSIZE_T_MAX to have a portable and reliable behaviour. For example, read() result is undefined if counter is greater than PY_SSIZE_T_MAX on Linux. 19 March 2015, 21:53:20 UTC
9eb57c5 Issue #22181: The availability of the getrandom() is now checked in configure, and stored in pyconfig.h as the new HAVE_GETRANDOM_SYSCALL define. Fix os.urandom() tests using file descriptors if os.urandom() uses getrandom(). 19 March 2015, 21:21:49 UTC
79d68f9 Issue #23646: If time.sleep() is interrupted by a signal, the sleep is now retried with the recomputed delay, except if the signal handler raises an exception (PEP 475). Modify also test_signal to use a monotonic clock instead of the system clock. 19 March 2015, 20:54:09 UTC
0ed56a0 Fixed Misc/NEWS entry for issue #23136. 19 March 2015, 17:54:51 UTC
64c439d Fixed Misc/NEWS entry for issue #23136. 19 March 2015, 17:52:50 UTC
fc7344a Issue #23136: _strptime now uniformly handles all days in week 0, including Jan 30 of previous year. Based on patch by Jim Carroll. 19 March 2015, 17:14:15 UTC
423feea Issue #23136: _strptime now uniformly handles all days in week 0, including Jan 30 of previous year. Based on patch by Jim Carroll. 19 March 2015, 17:13:37 UTC
4f418d3 Issue #23700: Iterator of NamedTemporaryFile now keeps a reference to NamedTemporaryFile instance. Patch by Bohuslav Kabrda. 19 March 2015, 13:24:27 UTC
56cefa6 Issue #23700: Iterator of NamedTemporaryFile now keeps a reference to NamedTemporaryFile instance. Patch by Bohuslav Kabrda. 19 March 2015, 13:23:15 UTC
41ce610 merge 3.4 19 March 2015, 02:36:23 UTC
86fdbf3 wrap properly 19 March 2015, 02:35:38 UTC
8a0b9a4 null merge from 3.4 19 March 2015, 01:26:08 UTC
482fe04 issue23673 add private method to enum to support replacing global constants with Enum members: - search for candidate constants via supplied filter - create new enum class and members - insert enum class and replace constants with members via supplied module name - replace __reduce_ex__ with function that returns member name, so previous Python versions can unpickle modify IntEnum classes to use new method 19 March 2015, 01:19:30 UTC
24e837f issue23673 add private method to enum to support replacing global constants with Enum members: - search for candidate constants via supplied filter - create new enum class and members - insert enum class and replace constants with members via supplied module name - replace __reduce_ex__ with function that returns member name, so previous Python versions can unpickle modify IntEnum classes to use new method 19 March 2015, 00:27:57 UTC
8eef6a9 Issue #22903: The fake test case created by unittest.loader when it fails importing a test module is now picklable. 18 March 2015, 23:01:37 UTC
back to top