Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge typing.py 3.5->3.6 (Text, ItemsView). | Guido van Rossum | 2016-04-05 | 1 | -1/+6 |
|\ | |||||
| * | Add Text=str. Make ItemsView derive from AbstractSet, not Set (which is the ↵ | Guido van Rossum | 2016-04-05 | 1 | -1/+6 |
| | | | | | | | | concrete set). | ||||
* | | Merge upstream typing.py changes from 3.5 branch. | Guido van Rossum | 2016-04-05 | 2 | -179/+371 |
|\ \ | |/ | |||||
| * | Many changes from the upstream repo (https://github.com/python/typing). | Guido van Rossum | 2016-04-05 | 2 | -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.5 | Martin Panter | 2016-04-05 | 3 | -7/+7 |
|\ \ | |/ | |||||
| * | Fix typos in documentation and comments | Martin Panter | 2016-04-05 | 3 | -7/+7 |
| | | |||||
* | | Add collections.Reversible. Patch by Ivan Levkivskyi. Fixes issue #25987. | Guido van Rossum | 2016-04-04 | 3 | -6/+50 |
| | | |||||
* | | Issue #25951: Fix SSLSocket.sendall() to return None, by Aviv Palivoda | Martin Panter | 2016-04-03 | 2 | -7/+10 |
| | | |||||
* | | Issue #26586: Simple enhancements to BaseHTTPRequestHandler by Xiang Zhang | Martin Panter | 2016-04-03 | 2 | -16/+14 |
| | | |||||
* | | Issue #26586: Merge excessive HTTP header handling from 3.5 | Martin Panter | 2016-04-03 | 2 | -0/+14 |
|\ \ | |/ | |||||
| * | Issue #26586: Handle excessive header fields in http.server, by Xiang Zhang | Martin Panter | 2016-04-03 | 2 | -0/+14 |
| | | |||||
* | | Merge 3.5 (asyncio) | Victor Stinner | 2016-04-01 | 5 | -5/+10 |
|\ \ | |/ | |||||
| * | asyncio: Don't log ConnectionAbortedError | Victor Stinner | 2016-04-01 | 5 | -5/+10 |
| | | | | | | | | | | Issue #26509: In fatal error handlers, don't log ConnectionAbortedError which occur on Windows. | ||||
* | | Merge 3.5 (asyncio) | Victor Stinner | 2016-04-01 | 2 | -6/+24 |
|\ \ | |/ | |||||
| * | asyncio: allow None as wait timeout | Victor Stinner | 2016-04-01 | 2 | -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 Panter | 2016-04-01 | 2 | -3/+5 |
| | | |||||
* | | Revert back to 3.6.0, buildbots do not want chocolate for 04-01 | Ned Deily | 2016-03-31 | 2 | -2207/+0 |
| | | |||||
* | | Python 8: no pep8, no chocolate! | Victor Stinner | 2016-03-31 | 2 | -0/+2207 |
| | | |||||
* | | Issue #22854: Merge test fix from 3.5 | Martin Panter | 2016-03-31 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #22854: Fix logic for skipping test | Martin Panter | 2016-03-31 | 1 | -1/+1 |
| | | |||||
* | | Issue #22854: Merge Windows pipe skipping from 3.5 | Martin Panter | 2016-03-31 | 1 | -7/+7 |
|\ \ | |/ | |||||
| * | Issue #22854: Skip pipe seek tests on Windows | Martin Panter | 2016-03-31 | 1 | -2/+7 |
| | | |||||
* | | Issue #22854: Skip pipe seekable() tests on Windows | Martin Panter | 2016-03-31 | 1 | -1/+6 |
| | | |||||
* | | Issue #22854: Merge UnsupportedOperation fixes from 3.5 | Martin Panter | 2016-03-31 | 2 | -20/+114 |
|\ \ | |/ | |||||
| * | Issue #22854: Clarify documentation about UnsupportedOperation and add tests | Martin Panter | 2016-03-31 | 2 | -20/+114 |
| | | | | | | | | | | Also change BufferedReader.writable() and BufferedWriter.readable() to always return False. | ||||
* | | Issue #26492: Exhausted iterator of array.array now conforms with the behavior | Serhiy Storchaka | 2016-03-30 | 1 | -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 Storchaka | 2016-03-30 | 3 | -0/+24 |
|\ \ | |/ | | | | | sequences. | ||||
| * | Issue #26492: Added additional tests for exhausted iterators of mutable ↵ | Serhiy Storchaka | 2016-03-30 | 3 | -0/+24 |
| | | | | | | | | sequences. | ||||
* | | Issue #26494: Fixed crash on iterating exhausting iterators. | Serhiy Storchaka | 2016-03-30 | 9 | -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 Storchaka | 2016-03-30 | 9 | -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 Stinner | 2016-03-30 | 1 | -1/+1 |
| | | | | | | | | Pass all regrtest options, not only --testdir. | ||||
* | | Issue #26295: Fix test_regrtest.test_tools_buildbot_test() | Victor Stinner | 2016-03-30 | 1 | -1/+1 |
| | | | | | | | | Pass also --testdir option. | ||||
* | | Issue #26295: test_regrtest now uses a temporary directory | Victor Stinner | 2016-03-30 | 1 | -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't | Victor Stinner | 2016-03-30 | 2 | -4/+9 |
| | | | | | | | | | | | | add "test." prefix to test module names. regrtest also prepends testdir to sys.path. | ||||
* | | Merge 3.5 (test_urllibnet) | Victor Stinner | 2016-03-30 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | test_urllibnet: set timeout on test_fileno() | Victor Stinner | 2016-03-30 | 1 | -1/+1 |
| | | | | | | | | Use the default timeout of 30 seconds to avoid blocking forever. | ||||
* | | doctest now supports packages | Victor Stinner | 2016-03-29 | 1 | -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 Stinner | 2016-03-29 | 1 | -3/+6 |
|\ \ | |/ | |||||
| * | Fix ResourceWarning in test_unittest when interrupted | Victor Stinner | 2016-03-29 | 1 | -3/+6 |
| | | |||||
| * | Issue #25911: Backport os._DummyDirEntry fixes | Victor Stinner | 2016-03-29 | 1 | -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 Stinner | 2016-03-29 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Issue #26643: Add missing shutil resources to regrtest.py | Victor Stinner | 2016-03-29 | 1 | -0/+1 |
| | | |||||
* | | Fix os._DummyDirEntry.is_symlink() | Victor Stinner | 2016-03-29 | 1 | -6/+17 |
| | | | | | | | | | | Issue #25911: Fix os._DummyDirEntry.is_symlink(), don't follow symbolic links: use os.stat(path, follow_symlinks=False). | ||||
* | | fix typo in comment | Victor Stinner | 2016-03-29 | 1 | -1/+1 |
| | | | | | | | | Thanks Arfrever for the report :) | ||||
* | | Issue #23804: Merge SSL zero read fix from 3.5 | Martin Panter | 2016-03-28 | 2 | -4/+11 |
|\ \ | |/ | |||||
| * | Issue #23804: Fix SSL recv/read(0) to not return 1024 bytes | Martin Panter | 2016-03-28 | 2 | -4/+11 |
| | | |||||
* | | Issue #25195: Fix a regression in mock.MagicMock | Berker Peksag | 2016-03-27 | 2 | -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.MagicMock | Berker Peksag | 2016-03-27 | 2 | -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} functions | Berker Peksag | 2016-03-27 | 1 | -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} functions | Berker Peksag | 2016-03-27 | 1 | -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. |