summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge typing.py 3.5->3.6 (Text, ItemsView).Guido van Rossum2016-04-051-1/+6
|\
| * Add Text=str. Make ItemsView derive from AbstractSet, not Set (which is the ↵Guido van Rossum2016-04-051-1/+6
| | | | | | | | concrete set).
* | Merge upstream typing.py changes from 3.5 branch.Guido van Rossum2016-04-052-179/+371
|\ \ | |/
| * Many changes from the upstream repo (https://github.com/python/typing).Guido van Rossum2016-04-052-179/+371
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This syncs to rev 7b43ada77821d23e55e3a4b35f6055a59b9e1ad7 there. Summary: - Add typing.DefaultDict (as a generic variant of collections.defaultdict). - Use collections.Reversible if it exists (only relevant for Python 3.6). - Revamped generic class behavior to conform to updated PEP 484. - Improve speed of Generic.__new__. - Make sure __init__ is called for new Generic instances. Fix issue #26391. - Refactor async support to be compatible with 3.2, 3.3, 3.4. - Remove 'io' and 're' from __all__ (they still exist, just not included by "import *"). Fix issue #26234. - Change @overload -- you can now use it outside stubs (you still cannot call the decorated function though).
* | Merge typo fixes from 3.5Martin Panter2016-04-053-7/+7
|\ \ | |/
| * Fix typos in documentation and commentsMartin Panter2016-04-053-7/+7
| |
* | Add collections.Reversible. Patch by Ivan Levkivskyi. Fixes issue #25987.Guido van Rossum2016-04-043-6/+50
| |
* | Issue #25951: Fix SSLSocket.sendall() to return None, by Aviv PalivodaMartin Panter2016-04-032-7/+10
| |
* | Issue #26586: Simple enhancements to BaseHTTPRequestHandler by Xiang ZhangMartin Panter2016-04-032-16/+14
| |
* | Issue #26586: Merge excessive HTTP header handling from 3.5Martin Panter2016-04-032-0/+14
|\ \ | |/
| * Issue #26586: Handle excessive header fields in http.server, by Xiang ZhangMartin Panter2016-04-032-0/+14
| |
* | Merge 3.5 (asyncio)Victor Stinner2016-04-015-5/+10
|\ \ | |/
| * asyncio: Don't log ConnectionAbortedErrorVictor Stinner2016-04-015-5/+10
| | | | | | | | | | Issue #26509: In fatal error handlers, don't log ConnectionAbortedError which occur on Windows.
* | Merge 3.5 (asyncio)Victor Stinner2016-04-012-6/+24
|\ \ | |/
| * asyncio: allow None as wait timeoutVictor Stinner2016-04-012-6/+24
| | | | | | | | | | | | Fix GH#325: Allow to pass None as a timeout value to disable timeout logic. Change written by Andrew Svetlov and merged by Guido van Rossum.
* | Issue #26676: Add missing XMLPullParser to ElementTree.__all__Martin Panter2016-04-012-3/+5
| |
* | Revert back to 3.6.0, buildbots do not want chocolate for 04-01Ned Deily2016-03-312-2207/+0
| |
* | Python 8: no pep8, no chocolate!Victor Stinner2016-03-312-0/+2207
| |
* | Issue #22854: Merge test fix from 3.5Martin Panter2016-03-311-1/+1
|\ \ | |/
| * Issue #22854: Fix logic for skipping testMartin Panter2016-03-311-1/+1
| |
* | Issue #22854: Merge Windows pipe skipping from 3.5Martin Panter2016-03-311-7/+7
|\ \ | |/
| * Issue #22854: Skip pipe seek tests on WindowsMartin Panter2016-03-311-2/+7
| |
* | Issue #22854: Skip pipe seekable() tests on WindowsMartin Panter2016-03-311-1/+6
| |
* | Issue #22854: Merge UnsupportedOperation fixes from 3.5Martin Panter2016-03-312-20/+114
|\ \ | |/
| * Issue #22854: Clarify documentation about UnsupportedOperation and add testsMartin Panter2016-03-312-20/+114
| | | | | | | | | | Also change BufferedReader.writable() and BufferedWriter.readable() to always return False.
* | Issue #26492: Exhausted iterator of array.array now conforms with the behaviorSerhiy Storchaka2016-03-301-2/+19
| | | | | | | | | | of iterators of other mutable sequences: it lefts exhausted even if iterated array is extended.
* | Issue #26492: Added additional tests for exhausted iterators of mutable ↵Serhiy Storchaka2016-03-303-0/+24
|\ \ | |/ | | | | sequences.
| * Issue #26492: Added additional tests for exhausted iterators of mutable ↵Serhiy Storchaka2016-03-303-0/+24
| | | | | | | | sequences.
* | Issue #26494: Fixed crash on iterating exhausting iterators.Serhiy Storchaka2016-03-309-0/+55
|\ \ | |/ | | | | | | | | Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator.
| * Issue #26494: Fixed crash on iterating exhausting iterators.Serhiy Storchaka2016-03-309-0/+55
| | | | | | | | | | | | Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator.
* | Issue #26295: Enhanc test_regrtest.test_tools_script_run_tests()Victor Stinner2016-03-301-1/+1
| | | | | | | | Pass all regrtest options, not only --testdir.
* | Issue #26295: Fix test_regrtest.test_tools_buildbot_test()Victor Stinner2016-03-301-1/+1
| | | | | | | | Pass also --testdir option.
* | Issue #26295: test_regrtest now uses a temporary directoryVictor Stinner2016-03-301-27/+28
| | | | | | | | | | | | | | test_forever() stores its state into the builtins module since the test module is reloaded at each run. Remove also warning to detect leaked tests of a previous run.
* | Issue #26295: When using "python3 -m test --testdir=TESTDIR", regrtest doesn'tVictor Stinner2016-03-302-4/+9
| | | | | | | | | | | | add "test." prefix to test module names. regrtest also prepends testdir to sys.path.
* | Merge 3.5 (test_urllibnet)Victor Stinner2016-03-301-1/+1
|\ \ | |/
| * test_urllibnet: set timeout on test_fileno()Victor Stinner2016-03-301-1/+1
| | | | | | | | Use the default timeout of 30 seconds to avoid blocking forever.
* | doctest now supports packagesVictor Stinner2016-03-291-4/+13
| | | | | | | | | | Issue #26641: doctest.DocFileTest and doctest.testfile() now support packages (module splitted into multiple directories) for the package parameter.
* | Merge 3.5 (test_unittest)Victor Stinner2016-03-291-3/+6
|\ \ | |/
| * Fix ResourceWarning in test_unittest when interruptedVictor Stinner2016-03-291-3/+6
| |
| * Issue #25911: Backport os._DummyDirEntry fixesVictor Stinner2016-03-291-2/+36
| | | | | | | | | | | | | | | | | | * Fix test_os.BytesWalkTests on Windows * Mimick better the reference os.DirEntry on Windows * _DummyDirEntry now caches os.stat() result * _DummyDirEntry constructor now tries to get os.stat() * Fix os._DummyDirEntry.is_symlink(), don't follow symbolic links: use os.stat(path, follow_symlinks=False).
* | Merge 3.5 (regrtest)Victor Stinner2016-03-291-0/+1
|\ \ | |/
| * Issue #26643: Add missing shutil resources to regrtest.pyVictor Stinner2016-03-291-0/+1
| |
* | Fix os._DummyDirEntry.is_symlink()Victor Stinner2016-03-291-6/+17
| | | | | | | | | | Issue #25911: Fix os._DummyDirEntry.is_symlink(), don't follow symbolic links: use os.stat(path, follow_symlinks=False).
* | fix typo in commentVictor Stinner2016-03-291-1/+1
| | | | | | | | Thanks Arfrever for the report :)
* | Issue #23804: Merge SSL zero read fix from 3.5Martin Panter2016-03-282-4/+11
|\ \ | |/
| * Issue #23804: Fix SSL recv/read(0) to not return 1024 bytesMartin Panter2016-03-282-4/+11
| |
* | Issue #25195: Fix a regression in mock.MagicMockBerker Peksag2016-03-272-0/+20
|\ \ | |/ | | | | | | | | | | _Call is a subclass of tuple (changeset 3603bae63c13 only works for classes) so we need to implement __ne__ ourselves. Patch by Andrew Plummer.
| * Issue #25195: Fix a regression in mock.MagicMockBerker Peksag2016-03-272-0/+20
| | | | | | | | | | | | | | _Call is a subclass of tuple (changeset 3603bae63c13 only works for classes) so we need to implement __ne__ ourselves. Patch by Andrew Plummer.
* | Issue #23758: Improve num_params docs of create_{function,aggregate} functionsBerker Peksag2016-03-271-0/+31
|\ \ | |/ | | | | | | | | | | | | If you pass -1, the callable can take any number of arguments. Added tests to verify the behavior. Initial patch by Cédric Krier.
| * Issue #23758: Improve num_params docs of create_{function,aggregate} functionsBerker Peksag2016-03-271-0/+31
| | | | | | | | | | | | | | | | If you pass -1, the callable can take any number of arguments. Added tests to verify the behavior. Initial patch by Cédric Krier.