summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Issue #23671: string.Template now allows to specify the "self" parameter asSerhiy Storchaka2015-03-246-3/+60
|\ \ | |/ | | | | | | keyword argument. string.Formatter now allows to specify the "self" and the "format_string" parameters as keyword arguments.
| * Issue #23671: string.Template now allows to specify the "self" parameter asSerhiy Storchaka2015-03-244-3/+48
| | | | | | | | | | keyword argument. string.Formatter now allows to specify the "self" and the "format_string" parameters as keyword arguments.
* | Issue #23573: Increased performance of string search operations (str.find,Serhiy Storchaka2015-03-246-193/+248
| | | | | | | | | | str.index, str.count, the in operator, str.split, str.partition) with arguments of different kinds (UCS1, UCS2, UCS4).
* | Added tests for mixed kinds of Unicode strings.Serhiy Storchaka2015-03-241-0/+150
|\ \ | |/
| * Added tests for mixed kinds of Unicode strings.Serhiy Storchaka2015-03-241-0/+150
| |
* | Issue #23583: Added tests for standard IO streams in IDLE.Serhiy Storchaka2015-03-242-0/+235
|\ \ | |/
| * Issue #23583: Added tests for standard IO streams in IDLE.Serhiy Storchaka2015-03-242-0/+238
| |
* | Issue #23502: The pprint module now supports mapping proxies.Serhiy Storchaka2015-03-243-0/+40
| | | | | | | | In particular the __dict__ attributes of building types.
* | Issue #17530: pprint now wraps long bytes objects and bytearrays.Serhiy Storchaka2015-03-243-0/+149
| |
* | Issue #23741: Slightly refactor the pprint module to make it a little moreSerhiy Storchaka2015-03-241-108/+122
| | | | | | | | extesible. No public API is added.
* | Issue #22687: Fixed some corner cases in breaking words in tetxtwrap.Serhiy Storchaka2015-03-243-4/+38
| | | | | | | | Got rid of quadratic complexity in breaking long words.
* | change Σ to ν for obscure joke reasonsBenjamin Peterson2015-03-241-2/+2
| | | | | | | | https://twitter.com/ncoghlan_dev/status/579173053793353728
* | Issue #20289: The copy module now uses pickle protocol 4 (PEP 3154) andSerhiy Storchaka2015-03-243-2/+76
| | | | | | | | | | supports copying of instances of classes whose __new__ method takes keyword-only arguments.
* | Issue #23571: Enhance _Py_CheckFunctionResult()Victor Stinner2015-03-242-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_capiVictor Stinner2015-03-241-2/+23
| |
* | (Merge 3.4) Issue #23571: Py_FatalError() now tries to flush sys.stdout andVictor Stinner2015-03-241-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.stderrVictor Stinner2015-03-241-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 encodingVictor Stinner2015-03-241-3/+4
| |
* | Issue #23571: In debug mode, _Py_CheckFunctionResult() now callsVictor Stinner2015-03-241-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 theVictor Stinner2015-03-241-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.cVictor Stinner2015-03-243-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 Stinner2015-03-241-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 Stinner2015-03-241-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 Melotti2015-03-242-37/+29
|\ \ | |/
| * #11468: improve unittest basic example. Initial patch by Florian Preinstorfer.Ezio Melotti2015-03-242-37/+29
| |
* | Issue #23753: Python doesn't support anymore platforms without stat() orVictor Stinner2015-03-247-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 Hettinger2015-03-241-25/+46
| |
* | Issue 23744: Minor speed-up for deque.__bool__().Raymond Hettinger2015-03-241-1/+24
| |
* | Misc/NEWS entries for zipapp changesPaul Moore2015-03-231-0/+7
| |
* | Merge 3.4 (faulthandler ICC)Victor Stinner2015-03-232-1/+9
|\ \ | |/
| * Issue #23654: Fix faulthandler._stack_overflow() for the Intel C Compiler (ICC)Victor Stinner2015-03-232-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 mergeSerhiy Storchaka2015-03-230-0/+0
|\ \ | |/
| * Issue #21560: An attempt to write a data of wrong type no longer causeSerhiy Storchaka2015-03-233-2/+38
| | | | | | | | GzipFile corruption. Original patch by Wolfgang Maier.
* | Issue #23688: Added support of arbitrary bytes-like objects and avoidedSerhiy Storchaka2015-03-234-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 Storchaka2015-03-225-35/+120
| |
* | Issue #21526: Tkinter now supports new boolean type in Tcl 8.5.Serhiy Storchaka2015-03-222-8/+14
| |
* | mergeRaymond Hettinger2015-03-221-0/+68
|\ \ | |/
| * Issue 23729: Document ElementTree namespace handling and fix an omission in ↵Raymond Hettinger2015-03-221-0/+68
| | | | | | | | the XPATH predicate table.
* | Merge: #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes.R David Murray2015-03-222-5/+8
|\ \ | |/
| * #23647: Increase imaplib's MAXLINE to accommodate modern mailbox sizes.R David Murray2015-03-222-5/+8
| |
* | Merge: #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None.R David Murray2015-03-225-41/+106
|\ \ | |/
| * #23539: Set Content-Length to 0 for PUT, POST, and PATCH if body is None.R David Murray2015-03-225-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 commentR David Murray2015-03-221-2/+4
|\ \ | |/
| * #23700: fix/improve commentR David Murray2015-03-221-2/+4
| |
* | #23657 Don't explicitly do an isinstance check for str in zipappPaul Moore2015-03-223-17/+138
| | | | | | | | | | As a result, explicitly support pathlib.Path objects as arguments. Also added tests for the CLI interface.
* | merge 3.4 (#22933)Benjamin Peterson2015-03-221-6/+3
|\ \ | |/
| * clarify behavior of shutil.move when destination exists (closes #22933)Benjamin Peterson2015-03-221-6/+3
| | | | | | | | Patch by Mike Short.
* | Issue #22289: merge from 3.4Ned Deily2015-03-222-1/+7
|\ \ | |/
| * Issue #22289: Prevent test_urllib2net failures due to ftp connection timeout.Ned Deily2015-03-222-1/+4
| |
* | Null mergeSerhiy Storchaka2015-03-220-0/+0
|\ \ | |/