https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
02d1db9 Release bump for Python 3.5.0a3. 29 March 2015, 22:34:26 UTC
b2c2dc3 Regenerated pydoc topics and minor doc fixes for 3.5.0a3. 29 March 2015, 22:32:55 UTC
07360df Issue #14260: The groupindex attribute of regular expression pattern object now is non-modifiable mapping. 29 March 2015, 22:01:48 UTC
1813c17 #2211: properly document the Morsel behavior changes. Also deprecate the undocumented set argument instead of removing it already in 3.5. Initial patch by Demian Brecht. 29 March 2015, 21:09:21 UTC
0deefd5 merge 3.4 (#23801) 29 March 2015, 20:45:19 UTC
d90f8d1 Closes #23801 - Ignore entire preamble to multipart in cgi.FieldStorage 29 March 2015, 20:43:23 UTC
f375b0a Merge: #23792: Ignore KeyboardInterrupt when the pydoc pager is active. 29 March 2015, 19:19:13 UTC
1058cda #23792: Ignore KeyboardInterrupt when the pydoc pager is active. Previously, if you hit ctl-c while the pager was active, the python that launched the subprocess for the pager would see the KeyboardInterrupt in the __exit__ method of the subprocess context manager where it was waiting for the subprocess to complete, ending the wait. This would leave the pager running, while the interactive interpreter, after handling the exception by printing it, would go back to trying to post a prompt...but the pager would generally have the terminal in raw mode, and in any case would be still trying to read from stdin. On some systems, even exiting python at that point would not restore the terminal mode. The problem with raw mode could also happen if ctl-C was hit when pydoc was called from the shell command line and the pager was active. Instead, we now wait on the subprocess in a loop, ignoring KeyboardInterrupt just like the pager does, until the pager actually exits. (Note: this was a regression relative to python2...in python2 the pager is called via system, and system does not return until the pager exits.) 29 March 2015, 19:15:40 UTC
1b74d63 Added explicit tests for issue #23803. 29 March 2015, 16:23:27 UTC
48070c1 Issue #23803: Fixed str.partition() and str.rpartition() when a separator is wider then partitioned string. 29 March 2015, 16:21:02 UTC
bfbfc8d Removed unintentional trailing spaces in text files. 29 March 2015, 16:12:58 UTC
1770fde Make some tests more frienly to MemoryError. Free memory, unlock hanging threads. 28 March 2015, 18:39:51 UTC
9db5500 Make some tests more frienly to MemoryError. Free memory, unlock hanging threads. 28 March 2015, 18:38:37 UTC
cb0c602 Issue #22117: Fix _PyTime_GetMonotonicClock() and _PyTime_GetSystemClockWithInfo() to not raise an exception and return 0 on error (it should never occur) 28 March 2015, 04:24:19 UTC
02937aa Issue #22117: Add the new _PyTime_ROUND_FLOOR rounding method for the datetime module. time.clock_settime() now uses this rounding method instead of _PyTime_ROUND_DOWN to handle correctly dates before 1970. 28 March 2015, 04:02:39 UTC
b3b4544 Issue #22117: Use the _PyTime_t API for time.clock_settime() Remove also the now unused _PyTime_AddDouble() function. 28 March 2015, 03:09:41 UTC
c337838 Issue #22117: Use the new _PyTime_t API in the select module 28 March 2015, 04:07:51 UTC
f5faad2 Issue #22117: The thread module uses the new _PyTime_t timestamp API Add also a new _PyTime_AsMicroseconds() function. threading.TIMEOUT_MAX is now be smaller: only 292 years instead of 292,271 years on 64-bit system for example. Sorry, your threads will hang a *little bit* shorter. Call me if you want to ensure that your locks wait longer, I can share some tricks with you. 28 March 2015, 02:52:05 UTC
e245231 Issue #22117: Fix ssl to use _PyTime_t API on sock_timeout I didn't notice that the ssl module uses private attributes of socket objects. 28 March 2015, 02:00:46 UTC
b28e916 Issue #22117: remove _PyTime_INTERVAL() macro 28 March 2015, 00:32:13 UTC
71694d5 Issue #22117: The socket module uses _PyTime_t timestamp for timeouts 28 March 2015, 00:18:54 UTC
95e9cef Issue #22117: Write unit tests for _PyTime_AsTimeval() * _PyTime_AsTimeval() now ensures that tv_usec is always positive * _PyTime_AsTimespec() now ensures that tv_nsec is always positive * _PyTime_AsTimeval() now returns an integer on overflow instead of raising an exception 28 March 2015, 00:26:47 UTC
b7df314 Issue #23618, #22117: refactor socketmodule.c Move Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS inside internal_select_ex() to prepare a switch to the _PyTime_t type and retry syscall on EINTR. 27 March 2015, 21:59:32 UTC
34dc0f4 Issue #22117: The signal modules uses the new _PyTime_t API * Add _PyTime_AsTimespec() * Add unit tests for _PyTime_AsTimespec() 27 March 2015, 17:19:03 UTC
7181dec Issue #22117: The gc module now uses _PyTime_t timestamp 27 March 2015, 16:47:53 UTC
a47b881 Issue #22117: time.time() now uses the new _PyTime_t API * Add _PyTime_GetSystemClockWithInfo() 27 March 2015, 17:16:17 UTC
4bfb460 Issue #22117: time.monotonic() now uses the new _PyTime_t API * Add _PyTime_FromNanoseconds() * Add _PyTime_AsSecondsDouble() * Add unit tests for _PyTime_AsSecondsDouble() 27 March 2015, 21:27:24 UTC
52d1493 format .. note properly 27 March 2015, 20:07:35 UTC
ac9591a Remove a dead test for a never-launched API 27 March 2015, 18:21:26 UTC
ff7f428 Merge 27 March 2015, 16:57:16 UTC
781692f Fix module deprecation warnings to have a useful stacklevel 27 March 2015, 16:56:57 UTC
992c43f Issue #22117: Fix rounding in _PyTime_FromSecondsObject() * Rename _PyTime_FromObject() to _PyTime_FromSecondsObject() * Add _PyTime_AsNanosecondsObject() and _testcapi.pytime_fromsecondsobject() * Add unit tests 27 March 2015, 16:12:45 UTC
79644f9 Issue #22117: Fix test_gdb for the new time.sleep() Use time.gmtime() instead of time.sleep(), because time.sleep() is no more declared with METH_VARARGS but with METH_O. time.gmtime() is still declared with METH_VARARGS and so it is called with PyCFunction_Call() which is the target of the test_gdb unit test. 27 March 2015, 14:42:37 UTC
ba508d5 Merge 3.4 (test.support) 27 March 2015, 14:36:15 UTC
d7aa524 Issue #23445: Fix test.support.python_is_optimized() for CFLAGS=-Og -Og does not optimize the C code, it's just "fast debugging". 27 March 2015, 14:36:01 UTC
6b3af08 Merge 3.4 (asyncio) 27 March 2015, 14:20:37 UTC
79fd962 asyncio: Fix _SelectorTransport.__repr__() if the event loop is closed 27 March 2015, 14:20:08 UTC
59f6342 Issue #23715: Fix test_sigtimedwait() of test_eintr sigtimedwait([], timeout) fails with OSError(EINVAL) on OpenIndiana, wait for a signal which will never be received instead. 27 March 2015, 13:32:22 UTC
eb35229 Issue #23451, #22117: Python 3.5 now requires Windows Vista or newer, so GetTickCount64() is now always available. 27 March 2015, 13:12:08 UTC
cb29f01 Issue #22117: Add a new Python timestamp format _PyTime_t to pytime.h In practice, _PyTime_t is a number of nanoseconds. Its C type is a 64-bit signed number. It's integer value is in the range [-2^63; 2^63-1]. In seconds, the range is around [-292 years; +292 years]. In term of Epoch timestamp (1970-01-01), it can store a date between 1677-09-21 and 2262-04-11. The API has a resolution of 1 nanosecond and use integer number. With a resolution on 1 nanosecond, 64-bit IEEE 754 floating point numbers loose precision after 194 days. It's not the case with this API. The drawback is overflow for values outside [-2^63; 2^63-1], but these values are unlikely for most Python modules, except of the datetime module. New functions: - _PyTime_GetMonotonicClock() - _PyTime_FromObject() - _PyTime_AsMilliseconds() - _PyTime_AsTimeval() This change uses these new functions in time.sleep() to avoid rounding issues. The new API will be extended step by step, and the old API will be removed step by step. Currently, some code is duplicated just to be able to move incrementally, instead of pushing a large change at once. 27 March 2015, 12:31:18 UTC
a766ddf Issue #23648: Document the PEP 475 in the "Porting to Python 3.5" section and add a version changed note in modified functions. 26 March 2015, 22:50:57 UTC
1912b39 _PyUnicodeWriter_WriteStr() now checks that the input string is consistent in debug mode to detect bugs earlier. _PyUnicodeWriter_Finish() doesn't check if the read only string is consistent, whereas it does check consistency for strings built by itself. 26 March 2015, 08:37:23 UTC
aa4c36f Issue #23775: pprint() of OrderedDict now outputs the same representation as repr(). 26 March 2015, 06:51:33 UTC
f3fa308 Issue #23776: Removed asserts from pprint.PrettyPrinter constructor. 26 March 2015, 06:43:21 UTC
e6bb7eb Issue #23765: Removed IsBadStringPtr calls in ctypes 26 March 2015, 04:58:36 UTC
632a77e Issue #22364: Improved some re error messages using regex for hints. 25 March 2015, 19:03:47 UTC
7c316a1 Check that failed writerow() doesn't produce change a file. 25 March 2015, 17:16:54 UTC
0b4e355 Check that failed writerow() doesn't produce change a file. 25 March 2015, 17:16:15 UTC
b20f905 Issue #23742: ntpath.expandvars() no longer loses unbalanced single quotes. 25 March 2015, 14:41:15 UTC
1b87ae0 Issue #23742: ntpath.expandvars() no longer loses unbalanced single quotes. 25 March 2015, 14:40:15 UTC
764fc9b Issue #21717: The zipfile.ZipFile.open function now supports 'x' (exclusive creation) mode. 25 March 2015, 08:09:41 UTC
4891997 Missing brace and minor formatting in Windows installer 25 March 2015, 06:46:55 UTC
81f241a Issue #23571: If io.TextIOWrapper constructor fails in _Py_DisplaySourceLine(), close the binary file to fix a resource warning. 25 March 2015, 01:25:25 UTC
84092ac Issue #23571: Fix reentrant call to Py_FatalError() Flushing sys.stdout and sys.stderr in Py_FatalError() can call again Py_FatalError(). Add a reentrant flag to detect this case and just abort at the second call. 25 March 2015, 00:54:46 UTC
b0749ca Fixed bytes warnings when run tests with -vv. 24 March 2015, 23:33:19 UTC
7665be6 Issue #21802: The reader in BufferedRWPair now is closed even when closing writer failed in BufferedRWPair.close(). 24 March 2015, 21:21:57 UTC
8ffe917 Issue #23671: string.Template now allows to specify the "self" parameter as keyword argument. string.Formatter now allows to specify the "self" and the "format_string" parameters as keyword arguments. 24 March 2015, 20:28:43 UTC
be1eb14 Added tests for mixed kinds of Unicode strings. 24 March 2015, 19:48:30 UTC
6c86fe2 Issue #23583: Added tests for standard IO streams in IDLE. 24 March 2015, 17:46:54 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
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
2e3998f #11468: improve unittest basic example. Initial patch by Florian Preinstorfer. 24 March 2015, 10:42:41 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
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
f6e31b7 Issue 23729: Document ElementTree namespace handling and fix an omission in the XPATH predicate table. 22 March 2015, 22:29:09 UTC
936da2a #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes. 22 March 2015, 20:17:46 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
75ed90a #23700: fix/improve comment 22 March 2015, 16:33:46 UTC
218144a clarify behavior of shutil.move when destination exists (closes #22933) Patch by Mike Short. 22 March 2015, 14:11:54 UTC
ce8f5de Issue #22289: Prevent test_urllib2net failures due to ftp connection timeout. 22 March 2015, 08:14:48 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
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
2ea51c9 Closes #9445: Removes detection of GetFinalPathNameByHandle 21 March 2015, 04:49:12 UTC
ef42dae Issue #23765: Remove IsBadStringPtr calls in ctypes Also renames a local to avoid warnings about shadowing 25 March 2015, 06:28:54 UTC
c98290b Fixes UI labels and ability to add/remove features. 25 March 2015, 06:20:57 UTC
102f72c Adds pydoc shortcut, Edit with IDLE menu, moves redist folder into externals and fixes test script. 25 March 2015, 04:25:16 UTC
fef9c1b Fix typo 25 March 2015, 04:12:57 UTC
8dbbae2 Minor code and comment cleanups. 25 March 2015, 04:01:50 UTC
dabbfe7 Issue #23573: Fix bytes.rfind() and bytearray.rfind() on Windows Windows has no memrchr() function. This change is only a workaround, the optimization must be reenabled on other platforms. 25 March 2015, 02:16:32 UTC
39183df Merge 3.4 (traceback) 25 March 2015, 01:30:01 UTC
53345a4 (Merge 3.4) Issue #23571: Fix reentrant call to Py_FatalError() Flushing sys.stdout and sys.stderr in Py_FatalError() can call again Py_FatalError(). Add a reentrant flag to detect this case and just abort at the second call. 25 March 2015, 00:55:14 UTC
09ce278 Fixed bytes warnings when run tests with -vv. 24 March 2015, 23:34:03 UTC
15fa1c4 Fixed using deprecated escaping in regular expression in _strptime.py (issue23622). 24 March 2015, 23:21:50 UTC
8be6be4 Issue #21802: The reader in BufferedRWPair now is closed even when closing writer failed in BufferedRWPair.close(). 24 March 2015, 21:23:28 UTC
a54aae0 Issue #23622: Unknown escapes in regular expressions that consist of ``'\'`` and ASCII letter now raise a deprecation warning and will be forbidden in Python 3.6. 24 March 2015, 20:58:14 UTC
793c14e Issue #4727: Fixed issue number in Misc/NEWS. 24 March 2015, 20:37:08 UTC
b876df4 Issue #23671: string.Template now allows to specify the "self" parameter as keyword argument. string.Formatter now allows to specify the "self" and the "format_string" parameters as keyword arguments. 24 March 2015, 20:30:46 UTC
d9d769f Issue #23573: Increased performance of string search operations (str.find, str.index, str.count, the in operator, str.split, str.partition) with arguments of different kinds (UCS1, UCS2, UCS4). 24 March 2015, 19:55:47 UTC
f7ef475 Added tests for mixed kinds of Unicode strings. 24 March 2015, 19:49:53 UTC
520e00d Issue #23583: Added tests for standard IO streams in IDLE. 24 March 2015, 17:49:23 UTC
87eb482 Issue #23502: The pprint module now supports mapping proxies. In particular the __dict__ attributes of building types. 24 March 2015, 17:31:50 UTC
022f203 Issue #17530: pprint now wraps long bytes objects and bytearrays. 24 March 2015, 17:22:37 UTC
8e2aa88 Issue #23741: Slightly refactor the pprint module to make it a little more extesible. No public API is added. 24 March 2015, 16:45:23 UTC
72bd327 Issue #22687: Fixed some corner cases in breaking words in tetxtwrap. Got rid of quadratic complexity in breaking long words. 24 March 2015, 16:32:27 UTC
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
454bd3a stdprinter_write(): mention the encoding 24 March 2015, 12:40:29 UTC
back to top