summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Rename Future._blocking to _asyncio_future_blocking.Guido van Rossum2016-09-092-5/+14
|\ | | | | | | | | | | | | | | | | | | | | | | This is now an official "protected" API that can be used to write classes that are duck-type-compatible with Future without subclassing it. (For that purpose I also changed isinstance(result, Future) to check for this attribute instead.) Hopefully Amber Brown can use this to make Twisted.Deferred compatible with asyncio.Future. Tests and docs are TBD. (Also there are more isinstance() checks to fix.)
| * Rename Future._blocking to _asyncio_future_blocking.Guido van Rossum2016-09-092-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | This is now an official "protected" API that can be used to write classes that are duck-type-compatible with Future without subclassing it. (For that purpose I also changed isinstance(result, Future) to check for this attribute instead.) Hopefully Amber Brown can use this to make Twisted.Deferred compatible with asyncio.Future. Tests and docs are TBD.
* | Rename test_pep####.py filesZachary Ware2016-09-099-5/+6
| |
* | Fix running test_tokenize directlyZachary Ware2016-09-091-2/+2
| |
* | Rework CALL_FUNCTION* opcodesVictor Stinner2016-09-096-39/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #27213: Rework CALL_FUNCTION* opcodes to produce shorter and more efficient bytecode: * CALL_FUNCTION now only accepts position arguments * CALL_FUNCTION_KW accepts position arguments and keyword arguments, but keys of keyword arguments are packed into a constant tuple. * CALL_FUNCTION_EX is the most generic, it expects a tuple and a dict for positional and keyword arguments. CALL_FUNCTION_VAR and CALL_FUNCTION_VAR_KW opcodes have been removed. 2 tests of test_traceback are currently broken: skip test, the issue #28050 was created to track the issue. Patch by Demur Rumed, design by Serhiy Storchaka, reviewed by Serhiy Storchaka and Victor Stinner.
* | Merge with 3.5Steve Dower2016-09-093-7/+37
|\ \ | |/
| * #28047: Fix calculation of base64 line length.R David Murray2016-09-093-7/+37
| | | | | | | | | | This is buggy in the old email code as well, but it doesn't affect anything there because only the default line length is ever used there.
* | Issue #27576: Fix call order in OrderedDict.__init__().Eric Snow2016-09-091-0/+13
| |
* | Remove Lib/test/test_pep247.pyZachary Ware2016-09-091-66/+0
| | | | | | | | | | This test file is a holdover from the days before hashlib, and doesn't seem to have anything of value in it.
* | tests: use subTest in test_unparse.test_filesYury Selivanov2016-09-091-2/+3
| |
* | Issue #28008: Implement PEP 530 -- asynchronous comprehensions.Yury Selivanov2016-09-0911-63/+330
| |
* | Issue #27999: Make "global after use" a SyntaxError, and ditto for nonlocal.Guido van Rossum2016-09-091-1/+17
| | | | | | | | Patch by Ivan Levkivskyi.
* | Issue #26513: Fixes platform module detection of Windows ServerSteve Dower2016-09-091-1/+1
|\ \ | |/
| * Issue #26513: Fixes platform module detection of Windows ServerSteve Dower2016-09-091-1/+1
| |
* | Fixes expected error when getting encoding while shutting down.Steve Dower2016-09-091-1/+1
| |
* | Changes pyvenv.cfg trick into an actual sys.path file.Steve Dower2016-09-091-6/+0
| |
* | Merge 3.5Donald Stufft2016-09-092-1/+1
|\ \ | |/
| * Merge 3.4Donald Stufft2016-09-092-1/+1
| |\
| | * Upgrade setuptools to 27.1.2Donald Stufft2016-09-092-1/+1
| | |
* | | Issue #28038: Remove Tools/parser/com2ann.py and its unit test.Guido van Rossum2016-09-091-260/+0
| | | | | | | | | | | | Development is moving to https://github.com/ilevkivskyi/com2ann
* | | Revert #27959: ImportError within an encoding module should also skip the ↵Steve Dower2016-09-091-3/+4
| | | | | | | | | | | | encoding
* | | Merge 3.5Donald Stufft2016-09-092-1/+1
|\ \ \ | |/ /
| * | Merge 3.4Donald Stufft2016-09-092-1/+1
| |\ \ | | |/
| | * Upgrade setuptools to 27.1.1Donald Stufft2016-09-092-1/+1
| | |
| | * Issue #27960: Revert state to 675e20c38fdac6, backing out all changes by ↵Jason R. Coombs2016-09-061-2/+5
| | | | | | | | | | | | developed for Issue #12885.
| | * Issue #12885: Revert commits in 3.4 branch which is security-only fixes.Jason R. Coombs2016-09-022-67/+29
| | |
* | | Issue #27106: Add test for configparser.__all__Martin Panter2016-09-091-0/+6
| | | | | | | | | | | | | | | Patch by Jacek Kołodziej. The Error class is deliberately omitted because it is a generic name and of limited use.
* | | Issue #28003: Implement PEP 525 -- Asynchronous Generators.Yury Selivanov2016-09-0912-13/+937
| | |
* | | regrtest: log FS and locale encodingsVictor Stinner2016-09-091-1/+5
| | |
* | | Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations.Yury Selivanov2016-09-0920-89/+987
| | | | | | | | | | | | Patch by Ivan Levkivskyi.
* | | Merge: #27630: Be consistent in how _XXX/_encoded_XXX vars are initialized.R David Murray2016-09-091-9/+1
|\ \ \ | |/ /
| * | #27630: Be consistent in how _XXX/_encoded_XXX vars are initialized.R David Murray2016-09-091-9/+1
| | |
| * | Issue #26020: Fix evaluation order for set literalsRaymond Hettinger2016-09-081-0/+15
| | |
* | | Issue #24254: Drop cls.__definition_order__.Eric Snow2016-09-087-234/+7
| | |
* | | Add policy keyword to email.generator.DecodedGenerator.R David Murray2016-09-081-2/+4
| | |
* | | MergeRaymond Hettinger2016-09-081-0/+15
| | |
* | | More lenient skipping of console tests.Steve Dower2016-09-081-3/+15
| | |
* | | Skips console open_fd tests when we don't have real consoles.Steve Dower2016-09-081-18/+21
| | |
* | | [merge from 3.5] - Issue28010 - Make http.client.HTTPConnection.putrequestSenthil Kumaran2016-09-081-1/+2
|\ \ \ | |/ / | | | | | | documentation consistent with the code.
| * | Issue28010 - Make http.client.HTTPConnection.putrequest documentation ↵Senthil Kumaran2016-09-081-1/+2
| | | | | | | | | | | | consistent with the code.
* | | Issue #1602: Windows console doesn't input or print Unicode (PEP 528)Steve Dower2016-08-313-1/+80
| | | | | | | | | | | | Closes #17602: Adds a readline implementation for the Windows console
* | | Remove legacy "from __future__ import with_statement" lines.Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-09-084-8/+0
| | |
* | | Add a new private version to the builtin dict typeVictor Stinner2016-09-083-4/+190
| | | | | | | | | | | | | | | | | | | | | Issue #26058: Add a new private version to the builtin dict type, incremented at each dictionary creation and at each dictionary change. Implementation of the PEP 509.
* | | Issue #21201: Improves readability of multiprocessing error message from ↵Davin Potts2016-09-081-1/+1
|\ \ \ | |/ / | | | | | | server to client for certain exceptions
| * | Issue #21201: Improves readability of multiprocessing error message from ↵Davin Potts2016-09-081-1/+1
| | | | | | | | | | | | server to client for certain exceptions
* | | #27364: Deprecate invalid escape strings in str/byutes.R David Murray2016-09-082-11/+31
| | | | | | | | | | | | Patch by Emanuel Barry, reviewed by Serhiy Storchaka and Martin Panter.
* | | Issue #28027: Remove Lib/plat-* filesZachary Ware2016-09-0832-9261/+0
| | |
* | | Issue #28026: Raise ImportError when exec_module() exists but ↵Eric Snow2016-09-082-10/+3
| | | | | | | | | | | | create_module() is missing.
* | | Fixes tests broken by issue #27781.Steve Dower2016-09-084-6/+10
| | |
* | | #27364: fix "incorrect" uses of escape character in the stdlib.R David Murray2016-09-0867-286/+286
| | | | | | | | | | | | | | | | | | | | | And most of the tools. Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and Martin Panter.