summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* asyncio: Synchronize with TulipVictor Stinner2014-03-054-6/+73
| | | | | | | | | | | | * Issue #159: Fix windows_utils.socketpair() - Use "127.0.0.1" (IPv4) or "::1" (IPv6) host instead of "localhost", because "localhost" may be a different IP address - Reject also invalid arguments: only AF_INET/AF_INET6 with SOCK_STREAM (and proto=0) are supported * Reject add/remove reader/writer when event loop is closed. * Fix ResourceWarning warnings
* Make the various iterators' "setstate" sliently and consistently clip theKristján Valur Jónsson2014-03-051-0/+12
|\ | | | | | | | | index. This avoids the possibility of setting an iterator to an invalid state.
| * Make the various iterators' "setstate" sliently and consistently clip theKristján Valur Jónsson2014-03-051-0/+12
| | | | | | | | | | index. This avoids the possibility of setting an iterator to an invalid state.
* | Merge with 3.3Kristján Valur Jónsson2014-03-041-0/+12
|\ \ | |/
| * Fix pickling of rangeiter. rangeiter_setstate would not allow setting itKristján Valur Jónsson2014-03-041-0/+12
| | | | | | | | to the exhausted state.
* | asyncio, Tulip issue 158: Task._step() now also sets self to None if anVictor Stinner2014-03-041-1/+1
| | | | | | | | exception is raised. self is set to None to break a reference cycle.
* | Close #20839: pkgutil.find_loader now uses importlib.util.find_specNick Coghlan2014-03-042-12/+24
| |
* | Close issue20653: improve functional API docs; minor code changesEthan Furman2014-03-031-12/+27
| |
* | Correct comments and improve failure reports in test_fileinput (closes #20501).Serhiy Storchaka2014-03-031-4/+7
|\ \ | |/ | | | | Thanks Vajrasky Kok and Zachary Ware.
| * Correct comments and improve failure reports in test_fileinput (closes #20501).Serhiy Storchaka2014-03-031-4/+7
| | | | | | | | Thanks Vajrasky Kok and Zachary Ware.
* | Issue #20786: Fix signatures for dict.__delitem__ and property.__delete__Yury Selivanov2014-03-021-0/+5
| |
* | Closes issue #20728: Remove unused import added in rev 42366e293b7b andTerry Jan Reedy2014-03-021-1/+0
| | | | | | | | noticed by Claudiu Popa.
* | merge with 3.3Georg Brandl2014-03-021-0/+1
|\ \ | |/
| * Bump to 3.3.5rc2.v3.3.5rc2Georg Brandl2014-03-022-2/+2
| |
| * Issue #20404: reject non-text encodings early in TextIOWrapper.Georg Brandl2014-03-022-6/+29
| |
| * merge 3.3.5rc1 release commits with 3.3 branchGeorg Brandl2014-03-023-2/+3
| |\
| | * mergev3.3.5rc1Georg Brandl2014-02-232-2/+2
| | |\
| | | * Bump to 3.3.5rc1.Georg Brandl2014-02-232-2/+2
| | | |
| | * | #20719: Disable the robotparser python.org test until the gzip encoding ↵Georg Brandl2014-02-231-0/+1
| | | | | | | | | | | | | | | | issue can be sorted.
* | | | merge 3.3 (#20249)Benjamin Peterson2014-03-021-1/+1
|\ \ \ \ | |/ / /
| * | | fix test_posix.test_initgroups to work without supplemental groups (closes ↵Benjamin Peterson2014-03-021-1/+1
| | | | | | | | | | | | | | | | #20249)
* | | | merge 3.3Benjamin Peterson2014-03-011-1/+2
|\ \ \ \ | |/ / /
| * | | fix test on debug builds (closes #20731)Benjamin Peterson2014-03-011-2/+3
| | | |
* | | | merge for issue #20778Brett Cannon2014-02-282-5/+27
|\ \ \ \ | |/ / /
| * | | Issue #20778: Fix modulefinder to work with bytecode-only modules.Brett Cannon2014-02-282-1/+21
| | | | | | | | | | | | | | | | Bug filed and initial attempt at a patch by Bohuslav Kabrda.
* | | | ReindentMartin v. Löwis2014-02-281-1/+1
| | | |
* | | | Merge headsMartin v. Löwis2014-02-282-0/+13
|\ \ \ \
| * \ \ \ Merge with 3.3Martin v. Löwis2014-02-282-0/+13
| |\ \ \ \ | | |/ / /
| | * | | Issue #20731: Properly position in source code files even if theyMartin v. Löwis2014-02-282-1/+12
| | | | | | | | | | | | | | | | | | | | are opened in text mode. Patch by Serhiy Storchaka.
* | | | | Close #20757: return success for skipped pip uninstallNick Coghlan2014-02-282-4/+7
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 3.4rc2 Windows uninstaller would fail if pip had been updated to a version that didn't match the version installed by ensurepip. This skip is no longer treated as an error, so an updated pip ends up being handled like any other pip installed package and is left alone by the CPython uninstaller.
* | | | Merge with 3.3Terry Jan Reedy2014-02-276-3/+14
|\ \ \ \ | |/ / /
| * | | Issue #20567: Delete class attribute gui widgets in idle tests.Terry Jan Reedy2014-02-276-3/+14
| | | | | | | | | | | | | | | | Code patch by Serhiy Storchaka
| * | | Issue #20791: copy.copy() now doesn't make a copy when the input is a bytes ↵Antoine Pitrou2014-02-272-1/+2
| | | | | | | | | | | | | | | | object. Initial patch by Peter Otten.
* | | | Issue #20791: copy.copy() now doesn't make a copy when the input is a bytes ↵Antoine Pitrou2014-02-272-1/+2
| | | | | | | | | | | | | | | | object. Initial patch by Peter Otten.
* | | | merge 3.3 (#20796)Benjamin Peterson2014-02-271-0/+1
|\ \ \ \ | |/ / /
| * | | fix importlib test failure when bytecode writing is disabled (closes #20796)Benjamin Peterson2014-02-271-0/+1
| | | | | | | | | | | | | | | | Patch by Berker Peksag.
* | | | Issue #20763: Fix importlib.machinery.PathFinder to supportBrett Cannon2014-02-262-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | PathEntryFinder instances which only define find_module(). Reported by Yukihiro Nakadaira.
* | | | Added tests for issue #20501.Serhiy Storchaka2014-02-261-0/+38
|\ \ \ \ | |/ / /
| * | | Added tests for issue #20501.Serhiy Storchaka2014-02-261-0/+36
| | | |
| * | | Issue #19619: Blacklist non-text codecs in method APISerhiy Storchaka2014-02-249-1/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | str.encode, bytes.decode and bytearray.decode now use an internal API to throw LookupError for known non-text encodings, rather than attempting the encoding or decoding operation and then throwing a TypeError for an unexpected output type. The latter mechanism remains in place for third party non-text encodings. Backported changeset d68df99d7a57.
* | | | asyncio/windows_events.py: use more revelant names to overlapped callbacksVictor Stinner2014-02-262-12/+11
| | | | | | | | | | | | | | | | For example: "finish_recv", not just "finish".
* | | | asyncio: simplify test_events.py, don't use non local variables and don't callVictor Stinner2014-02-261-186/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | assert methods in coroutines. It also simplify merges from Tulip to Trollius (Python 2 does not support non local variables).
* | | | asyncio: Fix pyflakes warnings: remove unused variables and importsVictor Stinner2014-02-268-26/+12
| | | |
* | | | asyncio: Replace "unittest.mock" with "mock" in unit testsVictor Stinner2014-02-2612-368/+368
| | | | | | | | | | | | | | | | | | | | Use "from unittest import mock". It should simplify my work to merge new tests in Trollius, because Trollius uses "mock" backport for Python 2.
* | | | Merge with 3.3Terry Jan Reedy2014-02-241-1/+1
|\ \ \ \ | |/ / /
| * | | whitespaceTerry Jan Reedy2014-02-241-1/+1
| | | |
* | | | Merge with 3.3Terry Jan Reedy2014-02-242-1/+22
|\ \ \ \ | |/ / /
| * | | Issue #9974: When untokenizing, use row info to insert backslash+newline.Terry Jan Reedy2014-02-242-1/+22
| | | | | | | | | | | | | | | | Original patches by A. Kuchling and G. Rees (#12691).
* | | | Merge with 3.3, #20750Terry Jan Reedy2014-02-231-14/+38
|\ \ \ \ | |/ / /
| * | | Issue #20750, Enable roundtrip tests for new 5-tuple untokenize. TheTerry Jan Reedy2014-02-231-14/+38
| | | | | | | | | | | | | | | | | | | | | | | | constructed examples and all but 7 of the test/test_*.py files (run with -ucpu) pass. Remove those that fail the new test from the selection list. Patch partly based on patches by G. Brandl (#8478) and G. Rees (#12691).