summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\ \ | |/
| * Issue #22079: Deprecation warning now is issued in PyType_Ready() instead ofSerhiy Storchaka2015-03-221-5/+8
| | | | | | | | | | raising TypeError when statically allocated type subclasses dynamically allocated type
* | Issue #23571: Fix test_capiVictor Stinner2015-03-211-2/+2
| |
* | Issue #23571: _Py_CheckFunctionResult() now gives the name of the functionVictor Stinner2015-03-216-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 Hettinger2015-03-211-3/+3
| |
* | For safety, wait to decref deleted values until the deque state has been ↵Raymond Hettinger2015-03-211-4/+4
| | | | | | | | restored.
* | Fix minor formatting nits and remove unnecessary comment.Raymond Hettinger2015-03-211-4/+3
| |
* | Issue 23704: Add index(), copy(), and insert() to deques. Register deques ↵Raymond Hettinger2015-03-216-1/+178
| | | | | | | | as a MutableSequence.
* | Issue #22351: The nntplib.NNTP constructor no longer leaves the connectionSerhiy Storchaka2015-03-213-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 connectionSerhiy Storchaka2015-03-213-15/+127
| | | | | | | | | | and socket open until the garbage collector cleans them up. Patch by Martin Panter.
* | Removed trailing tabs.Serhiy Storchaka2015-03-212-2/+2
| |
* | Update Wix version and fixes wxs file.Steve Dower2015-03-212-3/+3
| |
* | Issue 23705: Improve the performance of __contains__ checks for deques.Raymond Hettinger2015-03-202-1/+53
| |
* | Issue #22832: Tweaked parameter names for fcntl module to better matchSerhiy Storchaka2015-03-203-75/+73
| | | | | | | | | | official POSIX documentation. Updated the documenttion for Python 3. Patch by Alex Shkop.
* | Merge: #11726: Make linecache docs reflect that all files are treated the same.R David Murray2015-03-201-2/+2
|\ \ | |/
| * #11726: Make linecache docs reflect that all files are treated the same.R David Murray2015-03-201-2/+2
| | | | | | | | | | | | | | Being able to read non-python text files is not a purpose of linecache, but it does work and people use it. This changeset adjusts the language to make it clear that Python files are not treated uniquely, but does not go so far as to say reading non-python files is explicitly supported.
* | Issue #22181: Run "aclocal; autoconf; autoheader" to regenerate configureVictor Stinner2015-03-201-2/+132
| |
* | Issue #23681: The -b option now affects comparisons of bytes with int.Serhiy Storchaka2015-03-205-22/+53
| |
* | Issue #23681: Fixed Python 2 to 3 poring bugs.Serhiy Storchaka2015-03-206-15/+13
|\ \ | |/ | | | | Indexing bytes retiurns an integer, not bytes.
| * Issue #23681: Fixed Python 2 to 3 poring bugs.Serhiy Storchaka2015-03-205-14/+12
| | | | | | | | Indexing bytes retiurns an integer, not bytes.
* | Issue #23700: NamedTemporaryFile iterator closed underlied file object inSerhiy Storchaka2015-03-201-3/+5
|\ \ | |/ | | | | | | | | some circunstances while NamedTemporaryFile object was living. This causes failing test_csv. Changed the implementation of NamedTemporaryFile.__iter__ to make tests passed.
| * Issue #23700: NamedTemporaryFile iterator closed underlied file object inSerhiy Storchaka2015-03-201-3/+5
| | | | | | | | | | | | some circunstances while NamedTemporaryFile object was living. This causes failing test_csv. Changed the implementation of NamedTemporaryFile.__iter__ to make tests passed.
* | Issue #23715: Fix test_script_helperVictor Stinner2015-03-201-2/+2
| |
* | Issue #23696: Remove test on ZipImportError.__context__ because the context isVictor Stinner2015-03-201-1/+0
| | | | | | | | | | | | | | | | | | None on Windows. When the file is not readable, the error occurs at open on UNIX. On Windows, the error only occurs at the first operation on the open file. It would require to many changes to set __context__ to an OSError for all file operations, for a little benefit (__context__ is almost never used).
* | Issue #23715: Fix test_eintr, skip tests on signal.sigwaitinfo() andVictor Stinner2015-03-201-0/+4
| | | | | | | | signal.sigtimedwait() if functions are missing
* | Issue #23715: Enhance test.script_helper to investigate test_eintr failureVictor Stinner2015-03-201-4/+23
| | | | | | | | If Python failed, show also stdout in the assertion error.
* | Issue #23715: signal.sigwaitinfo() and signal.sigtimedwait() are now retriedVictor Stinner2015-03-205-56/+99
| | | | | | | | | | | | | | | | | | | | when interrupted by a signal not in the *sigset* parameter, if the signal handler does not raise an exception. signal.sigtimedwait() recomputes the timeout with a monotonic clock when it is retried. Remove test_signal.test_sigwaitinfo_interrupted() because sigwaitinfo() doesn't raise InterruptedError anymore if it is interrupted by a signal not in its sigset parameter.
* | Issue #23708: Save/restore errno in _Py_read() and _Py_write()Victor Stinner2015-03-201-15/+21
| | | | | | | | | | Save and then restore errno because PyErr_CheckSignals() and PyErr_SetFromErrno() can modify it.
* | Fix compiler warnings: comparison between signed and unsigned numbersVictor Stinner2015-03-202-2/+2
| |
* | Issue #23708: Split assertion expression in two assertions in _Py_read() andVictor Stinner2015-03-201-2/+4
| | | | | | | | _Py_write() to know which test failed on the buildbot "AMD64 Snow Leop 3.x".
* | Issue #23696: Chain ZipImportError to the OSErrorVictor Stinner2015-03-202-2/+9
| |
* | Issue #23709, #23001: ossaudiodev now uses Py_ssize_t for sizes instead of intVictor Stinner2015-03-201-6/+7
| | | | | | | | | | The module is now also "SSIZE_T clean" (for PyArg_Parse...() functions) since it switched to Py_buffer ("y*" argument format).
* | Issue #23001: Fix typoVictor Stinner2015-03-201-1/+1
| |
* | Issue #22826: The result of open() in Tools/freeze/bkfile.py is now betterSerhiy Storchaka2015-03-204-87/+59
| | | | | | | | | | compatible with regular files (in particular it now supports the context management protocol).