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

sort by:
Revision Author Date Message Commit Date
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
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
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
4dc2c22 Null merge 23 March 2015, 13:26:49 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
94a6448 Merge: #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes. 22 March 2015, 20:18:59 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
5d06c74 Merge: #23700: fix/improve comment 22 March 2015, 16:34:50 UTC
back to top