ac9591a | Brett Cannon | 27 March 2015, 18:21:26 UTC | Remove a dead test for a never-launched API | 27 March 2015, 18:21:26 UTC |
ff7f428 | Brett Cannon | 27 March 2015, 16:57:16 UTC | Merge | 27 March 2015, 16:57:16 UTC |
781692f | Brett Cannon | 27 March 2015, 16:56:57 UTC | Fix module deprecation warnings to have a useful stacklevel | 27 March 2015, 16:56:57 UTC |
992c43f | Victor Stinner | 27 March 2015, 16:12:45 UTC | 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 | Victor Stinner | 27 March 2015, 14:42:37 UTC | 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 | Victor Stinner | 27 March 2015, 14:36:15 UTC | Merge 3.4 (test.support) | 27 March 2015, 14:36:15 UTC |
d7aa524 | Victor Stinner | 27 March 2015, 14:36:01 UTC | 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 | Victor Stinner | 27 March 2015, 14:20:37 UTC | Merge 3.4 (asyncio) | 27 March 2015, 14:20:37 UTC |
79fd962 | Victor Stinner | 27 March 2015, 14:20:08 UTC | asyncio: Fix _SelectorTransport.__repr__() if the event loop is closed | 27 March 2015, 14:20:08 UTC |
59f6342 | Victor Stinner | 27 March 2015, 13:32:22 UTC | 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 | Victor Stinner | 27 March 2015, 13:12:08 UTC | 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 | Victor Stinner | 27 March 2015, 12:31:18 UTC | 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 | Victor Stinner | 26 March 2015, 22:50:57 UTC | 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 | Victor Stinner | 26 March 2015, 08:37:23 UTC | _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 | Serhiy Storchaka | 26 March 2015, 06:51:33 UTC | Issue #23775: pprint() of OrderedDict now outputs the same representation as repr(). | 26 March 2015, 06:51:33 UTC |
f3fa308 | Serhiy Storchaka | 26 March 2015, 06:43:21 UTC | Issue #23776: Removed asserts from pprint.PrettyPrinter constructor. | 26 March 2015, 06:43:21 UTC |
e6bb7eb | Steve Dower | 26 March 2015, 04:58:36 UTC | Issue #23765: Removed IsBadStringPtr calls in ctypes | 26 March 2015, 04:58:36 UTC |
632a77e | Serhiy Storchaka | 25 March 2015, 19:03:47 UTC | Issue #22364: Improved some re error messages using regex for hints. | 25 March 2015, 19:03:47 UTC |
7c316a1 | Serhiy Storchaka | 25 March 2015, 17:16:54 UTC | Check that failed writerow() doesn't produce change a file. | 25 March 2015, 17:16:54 UTC |
0b4e355 | Serhiy Storchaka | 25 March 2015, 17:16:15 UTC | Check that failed writerow() doesn't produce change a file. | 25 March 2015, 17:16:15 UTC |
b20f905 | Serhiy Storchaka | 25 March 2015, 14:41:15 UTC | Issue #23742: ntpath.expandvars() no longer loses unbalanced single quotes. | 25 March 2015, 14:41:15 UTC |
1b87ae0 | Serhiy Storchaka | 25 March 2015, 14:40:15 UTC | Issue #23742: ntpath.expandvars() no longer loses unbalanced single quotes. | 25 March 2015, 14:40:15 UTC |
764fc9b | Serhiy Storchaka | 25 March 2015, 08:09:41 UTC | Issue #21717: The zipfile.ZipFile.open function now supports 'x' (exclusive creation) mode. | 25 March 2015, 08:09:41 UTC |
4891997 | Steve Dower | 25 March 2015, 06:46:55 UTC | Missing brace and minor formatting in Windows installer | 25 March 2015, 06:46:55 UTC |
81f241a | Victor Stinner | 25 March 2015, 01:25:25 UTC | 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 | Victor Stinner | 25 March 2015, 00:54:46 UTC | 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 | Serhiy Storchaka | 24 March 2015, 23:33:19 UTC | Fixed bytes warnings when run tests with -vv. | 24 March 2015, 23:33:19 UTC |
7665be6 | Serhiy Storchaka | 24 March 2015, 21:21:57 UTC | 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 | Serhiy Storchaka | 24 March 2015, 20:28:43 UTC | 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 | Serhiy Storchaka | 24 March 2015, 19:48:30 UTC | Added tests for mixed kinds of Unicode strings. | 24 March 2015, 19:48:30 UTC |
6c86fe2 | Serhiy Storchaka | 24 March 2015, 17:46:54 UTC | Issue #23583: Added tests for standard IO streams in IDLE. | 24 March 2015, 17:46:54 UTC |
ec4f959 | Victor Stinner | 24 March 2015, 12:44:35 UTC | 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 | Victor Stinner | 24 March 2015, 10:24:06 UTC | 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 | Ezio Melotti | 24 March 2015, 10:42:41 UTC | #11468: improve unittest basic example. Initial patch by Florian Preinstorfer. | 24 March 2015, 10:42:41 UTC |
19276f1 | Victor Stinner | 23 March 2015, 20:20:27 UTC | 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 | Serhiy Storchaka | 23 March 2015, 13:25:43 UTC | 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 | Raymond Hettinger | 22 March 2015, 22:29:09 UTC | Issue 23729: Document ElementTree namespace handling and fix an omission in the XPATH predicate table. | 22 March 2015, 22:29:09 UTC |
936da2a | R David Murray | 22 March 2015, 20:17:46 UTC | #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes. | 22 March 2015, 20:17:46 UTC |
beed840 | R David Murray | 22 March 2015, 19:18:23 UTC | #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 | R David Murray | 22 March 2015, 16:33:46 UTC | #23700: fix/improve comment | 22 March 2015, 16:33:46 UTC |
218144a | Benjamin Peterson | 22 March 2015, 14:11:54 UTC | clarify behavior of shutil.move when destination exists (closes #22933) Patch by Mike Short. | 22 March 2015, 14:11:54 UTC |
ce8f5de | Ned Deily | 22 March 2015, 08:14:48 UTC | Issue #22289: Prevent test_urllib2net failures due to ftp connection timeout. | 22 March 2015, 08:14:48 UTC |
d357b89 | Serhiy Storchaka | 22 March 2015, 07:46:36 UTC | 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 | Serhiy Storchaka | 21 March 2015, 07:40:26 UTC | 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 | Steve Dower | 21 March 2015, 04:49:12 UTC | Closes #9445: Removes detection of GetFinalPathNameByHandle | 21 March 2015, 04:49:12 UTC |
ef42dae | Steve Dower | 25 March 2015, 06:28:54 UTC | Issue #23765: Remove IsBadStringPtr calls in ctypes Also renames a local to avoid warnings about shadowing | 25 March 2015, 06:28:54 UTC |
c98290b | Steve Dower | 25 March 2015, 06:20:57 UTC | Fixes UI labels and ability to add/remove features. | 25 March 2015, 06:20:57 UTC |
102f72c | Steve Dower | 25 March 2015, 04:25:16 UTC | Adds pydoc shortcut, Edit with IDLE menu, moves redist folder into externals and fixes test script. | 25 March 2015, 04:25:16 UTC |
fef9c1b | Raymond Hettinger | 25 March 2015, 04:12:57 UTC | Fix typo | 25 March 2015, 04:12:57 UTC |
8dbbae2 | Raymond Hettinger | 25 March 2015, 04:01:50 UTC | Minor code and comment cleanups. | 25 March 2015, 04:01:50 UTC |
dabbfe7 | Victor Stinner | 25 March 2015, 02:16:32 UTC | 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 | Victor Stinner | 25 March 2015, 01:30:01 UTC | Merge 3.4 (traceback) | 25 March 2015, 01:30:01 UTC |
53345a4 | Victor Stinner | 25 March 2015, 00:55:14 UTC | (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 | Serhiy Storchaka | 24 March 2015, 23:34:03 UTC | Fixed bytes warnings when run tests with -vv. | 24 March 2015, 23:34:03 UTC |
15fa1c4 | Serhiy Storchaka | 24 March 2015, 23:21:50 UTC | Fixed using deprecated escaping in regular expression in _strptime.py (issue23622). | 24 March 2015, 23:21:50 UTC |
8be6be4 | Serhiy Storchaka | 24 March 2015, 21:23:28 UTC | 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 | Serhiy Storchaka | 24 March 2015, 20:58:14 UTC | 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 | Serhiy Storchaka | 24 March 2015, 20:37:08 UTC | Issue #4727: Fixed issue number in Misc/NEWS. | 24 March 2015, 20:37:08 UTC |
b876df4 | Serhiy Storchaka | 24 March 2015, 20:30:46 UTC | 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 | Serhiy Storchaka | 24 March 2015, 19:55:47 UTC | 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 | Serhiy Storchaka | 24 March 2015, 19:49:53 UTC | Added tests for mixed kinds of Unicode strings. | 24 March 2015, 19:49:53 UTC |
520e00d | Serhiy Storchaka | 24 March 2015, 17:49:23 UTC | Issue #23583: Added tests for standard IO streams in IDLE. | 24 March 2015, 17:49:23 UTC |
87eb482 | Serhiy Storchaka | 24 March 2015, 17:31:50 UTC | 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 | Serhiy Storchaka | 24 March 2015, 17:22:37 UTC | Issue #17530: pprint now wraps long bytes objects and bytearrays. | 24 March 2015, 17:22:37 UTC |
8e2aa88 | Serhiy Storchaka | 24 March 2015, 16:45:23 UTC | 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 | Serhiy Storchaka | 24 March 2015, 16:32:27 UTC | 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 | Benjamin Peterson | 24 March 2015, 16:12:44 UTC | change Σ to ν for obscure joke reasons https://twitter.com/ncoghlan_dev/status/579173053793353728 | 24 March 2015, 16:12:44 UTC |
32af754 | Serhiy Storchaka | 24 March 2015, 16:06:42 UTC | 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 | Victor Stinner | 24 March 2015, 15:28:52 UTC | 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 | Victor Stinner | 24 March 2015, 13:01:32 UTC | Issue #23571: Update test_capi | 24 March 2015, 13:01:32 UTC |
e0deff3 | Victor Stinner | 24 March 2015, 12:46:18 UTC | (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 | Victor Stinner | 24 March 2015, 12:40:29 UTC | stdprinter_write(): mention the encoding | 24 March 2015, 12:40:29 UTC |
3b06dfb | Victor Stinner | 24 March 2015, 11:53:59 UTC | 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 | Victor Stinner | 24 March 2015, 11:41:23 UTC | 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 | Victor Stinner | 24 March 2015, 11:16:28 UTC | 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 | Victor Stinner | 24 March 2015, 11:01:30 UTC | (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 | Ezio Melotti | 24 March 2015, 10:52:13 UTC | #11468: merge with 3.4. | 24 March 2015, 10:52:13 UTC |
f329878 | Victor Stinner | 24 March 2015, 09:27:50 UTC | 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 | Raymond Hettinger | 24 March 2015, 07:19:53 UTC | Improve and fix-up comments. | 24 March 2015, 07:19:53 UTC |
0f1451c | Raymond Hettinger | 24 March 2015, 06:23:55 UTC | Issue 23744: Minor speed-up for deque.__bool__(). | 24 March 2015, 06:23:55 UTC |
929a14a | Paul Moore | 23 March 2015, 21:40:43 UTC | Misc/NEWS entries for zipapp changes | 23 March 2015, 21:40:43 UTC |
d1f3a00 | Victor Stinner | 23 March 2015, 20:21:00 UTC | Merge 3.4 (faulthandler ICC) | 23 March 2015, 20:21:00 UTC |
4dc2c22 | Serhiy Storchaka | 23 March 2015, 13:26:49 UTC | Null merge | 23 March 2015, 13:26:49 UTC |
bca63b3 | Serhiy Storchaka | 23 March 2015, 12:59:48 UTC | 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 | Serhiy Storchaka | 22 March 2015, 23:09:35 UTC | Issue #23252: Added support for writing ZIP files to unseekable streams. | 22 March 2015, 23:09:35 UTC |
f07a4b6 | Serhiy Storchaka | 22 March 2015, 22:47:45 UTC | Issue #21526: Tkinter now supports new boolean type in Tcl 8.5. | 22 March 2015, 22:47:45 UTC |
1b2f4d5 | Raymond Hettinger | 22 March 2015, 22:29:48 UTC | merge | 22 March 2015, 22:29:48 UTC |
94a6448 | R David Murray | 22 March 2015, 20:18:59 UTC | Merge: #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes. | 22 March 2015, 20:18:59 UTC |
0a0d20e | R David Murray | 22 March 2015, 19:19:01 UTC | Merge: #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None. | 22 March 2015, 19:19:01 UTC |
5d06c74 | R David Murray | 22 March 2015, 16:34:50 UTC | Merge: #23700: fix/improve comment | 22 March 2015, 16:34:50 UTC |
a4d4dd3 | Paul Moore | 22 March 2015, 15:32:36 UTC | #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 | Benjamin Peterson | 22 March 2015, 14:15:12 UTC | merge 3.4 (#22933) | 22 March 2015, 14:15:12 UTC |
2f7bf23 | Ned Deily | 22 March 2015, 08:19:10 UTC | Issue #22289: merge from 3.4 | 22 March 2015, 08:19:10 UTC |
8472f39 | Serhiy Storchaka | 22 March 2015, 07:47:20 UTC | Null merge | 22 March 2015, 07:47:20 UTC |
4f0efb0 | Victor Stinner | 21 March 2015, 16:24:50 UTC | Issue #23571: Fix test_capi | 21 March 2015, 16:24:50 UTC |
efde146 | Victor Stinner | 21 March 2015, 14:04:43 UTC | 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 | Raymond Hettinger | 21 March 2015, 09:03:40 UTC | Minor nit. Make the rotate() success/fail tests consistent. | 21 March 2015, 09:03:40 UTC |
ac13ad6 | Raymond Hettinger | 21 March 2015, 08:53:16 UTC | For safety, wait to decref deleted values until the deque state has been restored. | 21 March 2015, 08:53:16 UTC |
0f6f947 | Raymond Hettinger | 21 March 2015, 08:42:10 UTC | Fix minor formatting nits and remove unnecessary comment. | 21 March 2015, 08:42:10 UTC |
32ea165 | Raymond Hettinger | 21 March 2015, 08:37:37 UTC | Issue 23704: Add index(), copy(), and insert() to deques. Register deques as a MutableSequence. | 21 March 2015, 08:37:37 UTC |