Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #22687: Fixed some corner cases in breaking words in tetxtwrap. | Serhiy Storchaka | 2015-03-24 | 3 | -4/+38 |
| | | | | Got rid of quadratic complexity in breaking long words. | ||||
* | change Σ to ν for obscure joke reasons | Benjamin Peterson | 2015-03-24 | 1 | -2/+2 |
| | | | | https://twitter.com/ncoghlan_dev/status/579173053793353728 | ||||
* | Issue #20289: The copy module now uses pickle protocol 4 (PEP 3154) and | Serhiy Storchaka | 2015-03-24 | 3 | -2/+76 |
| | | | | | supports copying of instances of classes whose __new__ method takes keyword-only arguments. | ||||
* | Issue #23571: Enhance _Py_CheckFunctionResult() | Victor Stinner | 2015-03-24 | 2 | -13/+14 |
| | | | | | | | | | 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). | ||||
* | Issue #23571: Update test_capi | Victor Stinner | 2015-03-24 | 1 | -2/+23 |
| | |||||
* | (Merge 3.4) Issue #23571: Py_FatalError() now tries to flush sys.stdout and | Victor Stinner | 2015-03-24 | 1 | -4/+26 |
|\ | | | | | | | | | | | | | 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. | ||||
| * | Issue #23571: Py_FatalError() now tries to flush sys.stdout and sys.stderr | Victor Stinner | 2015-03-24 | 1 | -4/+26 |
| | | | | | | | | | | 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. | ||||
* | | stdprinter_write(): mention the encoding | Victor Stinner | 2015-03-24 | 1 | -3/+4 |
| | | |||||
* | | Issue #23571: In debug mode, _Py_CheckFunctionResult() now calls | Victor Stinner | 2015-03-24 | 1 | -12/+9 |
| | | | | | | | | | | | | 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. | ||||
* | | Issue #23571: PyErr_FormatV() and PyErr_SetObject() now always clear the | Victor Stinner | 2015-03-24 | 1 | -8/+7 |
| | | | | | | | | | | current exception because they can run arbitrary Python code and so no exception must be set. | ||||
* | | Issue #23753: Move _Py_wstat() from Python/fileutils.c to Modules/getpath.c | Victor Stinner | 2015-03-24 | 3 | -21/+17 |
| | | | | | | | | | | | | | | 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. | ||||
* | | (Merge 3.4) Issue #23571: Enhance Py_FatalError() | Victor Stinner | 2015-03-24 | 1 | -13/+59 |
|\ \ | |/ | | | | | | | | | | | | | | | * 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 | ||||
| * | Issue #23571: Enhance Py_FatalError() | Victor Stinner | 2015-03-24 | 1 | -13/+60 |
| | | | | | | | | | | | | | | | | | | * 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 | ||||
* | | #11468: merge with 3.4. | Ezio Melotti | 2015-03-24 | 2 | -37/+29 |
|\ \ | |/ | |||||
| * | #11468: improve unittest basic example. Initial patch by Florian Preinstorfer. | Ezio Melotti | 2015-03-24 | 2 | -37/+29 |
| | | |||||
* | | Issue #23753: Python doesn't support anymore platforms without stat() or | Victor Stinner | 2015-03-24 | 7 | -73/+4 |
| | | | | | | | | | | | | | | fstat(), these functions are always required. Remove HAVE_STAT and HAVE_FSTAT defines, and stop supporting DONT_HAVE_STAT and DONT_HAVE_FSTAT. | ||||
* | | Improve and fix-up comments. | Raymond Hettinger | 2015-03-24 | 1 | -25/+46 |
| | | |||||
* | | Issue 23744: Minor speed-up for deque.__bool__(). | Raymond Hettinger | 2015-03-24 | 1 | -1/+24 |
| | | |||||
* | | Misc/NEWS entries for zipapp changes | Paul Moore | 2015-03-23 | 1 | -0/+7 |
| | | |||||
* | | Merge 3.4 (faulthandler ICC) | Victor Stinner | 2015-03-23 | 2 | -1/+9 |
|\ \ | |/ | |||||
| * | Issue #23654: Fix faulthandler._stack_overflow() for the Intel C Compiler (ICC) | Victor Stinner | 2015-03-23 | 2 | -1/+9 |
| | | | | | | | | | | | | | | 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. | ||||
* | | Null merge | Serhiy Storchaka | 2015-03-23 | 0 | -0/+0 |
|\ \ | |/ | |||||
| * | Issue #21560: An attempt to write a data of wrong type no longer cause | Serhiy Storchaka | 2015-03-23 | 3 | -2/+38 |
| | | | | | | | | GzipFile corruption. Original patch by Wolfgang Maier. | ||||
* | | Issue #23688: Added support of arbitrary bytes-like objects and avoided | Serhiy Storchaka | 2015-03-23 | 4 | -8/+56 |
| | | | | | | | | | | unnecessary copying of memoryview in gzip.GzipFile.write(). Original patch by Wolfgang Maier. | ||||
* | | Issue #23252: Added support for writing ZIP files to unseekable streams. | Serhiy Storchaka | 2015-03-22 | 5 | -35/+120 |
| | | |||||
* | | Issue #21526: Tkinter now supports new boolean type in Tcl 8.5. | Serhiy Storchaka | 2015-03-22 | 2 | -8/+14 |
| | | |||||
* | | merge | Raymond Hettinger | 2015-03-22 | 1 | -0/+68 |
|\ \ | |/ | |||||
| * | Issue 23729: Document ElementTree namespace handling and fix an omission in ↵ | Raymond Hettinger | 2015-03-22 | 1 | -0/+68 |
| | | | | | | | | the XPATH predicate table. | ||||
* | | Merge: #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes. | R David Murray | 2015-03-22 | 2 | -5/+8 |
|\ \ | |/ | |||||
| * | #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes. | R David Murray | 2015-03-22 | 2 | -5/+8 |
| | | |||||
* | | Merge: #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None. | R David Murray | 2015-03-22 | 5 | -41/+106 |
|\ \ | |/ | |||||
| * | #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None. | R David Murray | 2015-03-22 | 5 | -41/+106 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | | Merge: #23700: fix/improve comment | R David Murray | 2015-03-22 | 1 | -2/+4 |
|\ \ | |/ | |||||
| * | #23700: fix/improve comment | R David Murray | 2015-03-22 | 1 | -2/+4 |
| | | |||||
* | | #23657 Don't explicitly do an isinstance check for str in zipapp | Paul Moore | 2015-03-22 | 3 | -17/+138 |
| | | | | | | | | | | As a result, explicitly support pathlib.Path objects as arguments. Also added tests for the CLI interface. | ||||
* | | merge 3.4 (#22933) | Benjamin Peterson | 2015-03-22 | 1 | -6/+3 |
|\ \ | |/ | |||||
| * | clarify behavior of shutil.move when destination exists (closes #22933) | Benjamin Peterson | 2015-03-22 | 1 | -6/+3 |
| | | | | | | | | Patch by Mike Short. | ||||
* | | Issue #22289: merge from 3.4 | Ned Deily | 2015-03-22 | 2 | -1/+7 |
|\ \ | |/ | |||||
| * | Issue #22289: Prevent test_urllib2net failures due to ftp connection timeout. | Ned Deily | 2015-03-22 | 2 | -1/+4 |
| | | |||||
* | | Null merge | Serhiy Storchaka | 2015-03-22 | 0 | -0/+0 |
|\ \ | |/ | |||||
| * | Issue #22079: Deprecation warning now is issued in PyType_Ready() instead of | Serhiy Storchaka | 2015-03-22 | 1 | -5/+8 |
| | | | | | | | | | | raising TypeError when statically allocated type subclasses dynamically allocated type | ||||
* | | Issue #23571: Fix test_capi | Victor Stinner | 2015-03-21 | 1 | -2/+2 |
| | | |||||
* | | Issue #23571: _Py_CheckFunctionResult() now gives the name of the function | Victor Stinner | 2015-03-21 | 6 | -12/+93 |
| | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Minor nit. Make the rotate() success/fail tests consistent. | Raymond Hettinger | 2015-03-21 | 1 | -3/+3 |
| | | |||||
* | | For safety, wait to decref deleted values until the deque state has been ↵ | Raymond Hettinger | 2015-03-21 | 1 | -4/+4 |
| | | | | | | | | restored. | ||||
* | | Fix minor formatting nits and remove unnecessary comment. | Raymond Hettinger | 2015-03-21 | 1 | -4/+3 |
| | | |||||
* | | Issue 23704: Add index(), copy(), and insert() to deques. Register deques ↵ | Raymond Hettinger | 2015-03-21 | 6 | -1/+178 |
| | | | | | | | | as a MutableSequence. | ||||
* | | Issue #22351: The nntplib.NNTP constructor no longer leaves the connection | Serhiy Storchaka | 2015-03-21 | 3 | -15/+127 |
|\ \ | |/ | | | | | | | and socket open until the garbage collector cleans them up. Patch by Martin Panter. | ||||
| * | Issue #22351: The nntplib.NNTP constructor no longer leaves the connection | Serhiy Storchaka | 2015-03-21 | 3 | -15/+127 |
| | | | | | | | | | | and socket open until the garbage collector cleans them up. Patch by Martin Panter. | ||||
* | | Removed trailing tabs. | Serhiy Storchaka | 2015-03-21 | 2 | -2/+2 |
| | |