Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations. | Yury Selivanov | 2016-09-09 | 1 | -0/+12 |
| | | | | Patch by Ivan Levkivskyi. | ||||
* | Issue #27285: Document the deprecation of the pyvenv script. | Brett Cannon | 2016-07-08 | 1 | -1/+1 |
| | | | | | | | | | As part of the update, the documentation was updated to normalize around the term "virtual environment" instead of relying too heavily on "venv" for the same meaning and leading to inconsistent usage of either. Thanks to Steve Piercy for the patch. | ||||
* | Issue #27186: Define what a "path-like object" is. | Brett Cannon | 2016-06-24 | 1 | -0/+10 |
| | | | | Thanks to Dusty Phillips for the initial patch. | ||||
* | Merge from 3.5 | Berker Peksag | 2016-06-11 | 1 | -1/+1 |
|\ | |||||
| * | Fix typo and silence a Sphinx warning in Doc/glossary.rst | Berker Peksag | 2016-06-11 | 1 | -1/+1 |
| | | |||||
* | | Issue #26282: PyArg_ParseTupleAndKeywords() and Argument Clinic now support | Serhiy Storchaka | 2016-06-09 | 1 | -0/+2 |
|/ | | | | positional-only and keyword parameters in the same function. | ||||
* | Issue #27243: Fix __aiter__ protocol | Yury Selivanov | 2016-06-09 | 1 | -4/+3 |
| | |||||
* | Issue #27076: Doc, comment and tests spelling fixes | Martin Panter | 2016-05-26 | 1 | -1/+1 |
| | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä. | ||||
* | Issue23675 - A tiny clarification in the MRO glossary term. | Senthil Kumaran | 2016-01-10 | 1 | -1/+2 |
| | |||||
* | Issue #23936: Clarify what finders are. | Brett Cannon | 2015-12-04 | 1 | -6/+16 |
| | | | | | Thanks to Raúl Cumplido for the bug report and Thomas Kluyver for the patch. | ||||
* | Issue #25161: Merge full stops from 3.4 into 3.5 | Martin Panter | 2015-10-10 | 1 | -1/+1 |
|\ | |||||
| * | Issue #25161: Add full stops in documentation; patch by Takase Arihiro | Martin Panter | 2015-10-10 | 1 | -1/+1 |
| | | |||||
* | | Issue #25286: Merge dictionary view glossary from 3.4 into 3.5 | Martin Panter | 2015-10-07 | 1 | -7/+8 |
|\ \ | |/ | |||||
| * | Issue #25286: Dictionary views are not sequences | Martin Panter | 2015-10-07 | 1 | -7/+8 |
| | | | | | | | | Also change glossary heading from view | ||||
* | | Issue #23756: Clarify the terms "contiguous" and "bytes-like object". | Stefan Krah | 2015-08-08 | 1 | -2/+16 |
| | | | | | | | | Patch by Martin Panter. | ||||
* | | Issue #24439: Improve PEP 492 related docs. | Yury Selivanov | 2015-06-24 | 1 | -10/+11 |
| | | | | | | | | Patch by Martin Panter. | ||||
* | | Issue #24400: Introduce a distinct type for 'async def' coroutines. | Yury Selivanov | 2015-06-22 | 1 | -8/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary of changes: 1. Coroutines now have a distinct, separate from generators type at the C level: PyGen_Type, and a new typedef PyCoroObject. PyCoroObject shares the initial segment of struct layout with PyGenObject, making it possible to reuse existing generators machinery. The new type is exposed as 'types.CoroutineType'. As a consequence of having a new type, CO_GENERATOR flag is no longer applied to coroutines. 2. Having a separate type for coroutines made it possible to add an __await__ method to the type. Although it is not used by the interpreter (see details on that below), it makes coroutines naturally (without using __instancecheck__) conform to collections.abc.Coroutine and collections.abc.Awaitable ABCs. [The __instancecheck__ is still used for generator-based coroutines, as we don't want to add __await__ for generators.] 3. Add new opcode: GET_YIELD_FROM_ITER. The opcode is needed to allow passing native coroutines to the YIELD_FROM opcode. Before this change, 'yield from o' expression was compiled to: (o) GET_ITER LOAD_CONST YIELD_FROM Now, we use GET_YIELD_FROM_ITER instead of GET_ITER. The reason for adding a new opcode is that GET_ITER is used in some contexts (such as 'for .. in' loops) where passing a coroutine object is invalid. 4. Add two new introspection functions to the inspec module: getcoroutinestate(c) and getcoroutinelocals(c). 5. inspect.iscoroutine(o) is updated to test if 'o' is a native coroutine object. Before this commit it used abc.Coroutine, and it was requested to update inspect.isgenerator(o) to use abc.Generator; it was decided, however, that inspect functions should really be tailored for checking for native types. 6. sys.set_coroutine_wrapper(w) API is updated to work with only native coroutines. Since types.coroutine decorator supports any type of callables now, it would be confusing that it does not work for all types of coroutines. 7. Exceptions logic in generators C implementation was updated to raise clearer messages for coroutines: Before: TypeError("generator raised StopIteration") After: TypeError("coroutine raised StopIteration") | ||||
* | | Issue 24180: Fixes by Berker Peksag. | Yury Selivanov | 2015-05-21 | 1 | -12/+0 |
| | | |||||
* | | Issue 24180: Documentation for PEP 492 changes. | Yury Selivanov | 2015-05-21 | 1 | -0/+48 |
| | | |||||
* | | Doc clarification / edification on the semantics of the 'w*' format unit. | Larry Hastings | 2015-04-13 | 1 | -4/+11 |
| | | |||||
* | | merge with 3.4 | Georg Brandl | 2015-01-15 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Closes #23244: fix typo. Thanks Mayank Tripathi for the patch. | Georg Brandl | 2015-01-15 | 1 | -1/+1 |
| | | |||||
* | | Merge issue 19548 changes from 3.4 | Nick Coghlan | 2015-01-06 | 1 | -1/+4 |
|\ \ | |/ | |||||
| * | Issue 19548: update codecs module documentation | Nick Coghlan | 2015-01-06 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | - clarified the distinction between text encodings and other codecs - clarified relationship with builtin open and the io module - consolidated documentation of error handlers into one section - clarified type constraints of some behaviours - added tests for some of the new statements in the docs | ||||
* | | Issue #22696: Add function :func:`sys.is_finalizing` to know about ↵ | Antoine Pitrou | 2014-12-07 | 1 | -0/+13 |
| | | | | | | | | interpreter shutdown. | ||||
* | | Merge with 3.4 | Georg Brandl | 2014-10-29 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Use https:// URLs when referring to python.org hosts. | Georg Brandl | 2014-10-29 | 1 | -3/+3 |
| | | |||||
* | | merge with 3.4 | Georg Brandl | 2014-10-06 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Closes #21782: the default hash(x) is not exactly id(x) but derived from it. | Georg Brandl | 2014-10-06 | 1 | -2/+2 |
| | | |||||
* | | Merge issue #22295 fix from 3.4 | Nick Coghlan | 2014-09-06 | 1 | -0/+8 |
|\ \ | |/ | |||||
| * | Issue #22295: Adopt 'python -m pip' as the preferred invocation | Nick Coghlan | 2014-09-06 | 1 | -0/+8 |
| | | |||||
* | | Merge with 3.4 | Terry Jan Reedy | 2014-08-23 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #22232 (partial fix): update Universal newlines Glossary entry. | Terry Jan Reedy | 2014-08-23 | 1 | -1/+1 |
| | | |||||
| * | Merge in all documentation changes since branching 3.4.0rc1. | Larry Hastings | 2014-03-16 | 1 | -0/+8 |
| | | |||||
* | | Issue #13742: Add key and reverse parameters to heapq.merge() | Raymond Hettinger | 2014-05-30 | 1 | -3/+4 |
| | | |||||
* | | Merge from 3.3 | Andrew Kuchling | 2014-02-15 | 1 | -0/+8 |
|\ \ | |/ |/| | |||||
| * | #16728: Mention collections.abc.Sequence in 'sequence' glossary entry | Andrew Kuchling | 2014-02-15 | 1 | -0/+8 |
| | | |||||
* | | Issue #19713: Update importlib docs for module spec changes, including ↵ | Eric Snow | 2013-12-17 | 1 | -0/+4 |
| | | | | | | | | deprecations. | ||||
* | | Issue #18840: Introduce the json module in the tutorial, and deemphasize the ↵ | Antoine Pitrou | 2013-12-05 | 1 | -4/+20 |
|\ \ | |/ | | | | | pickle module. | ||||
| * | Issue #18840: Introduce the json module in the tutorial, and deemphasize the ↵ | Antoine Pitrou | 2013-12-05 | 1 | -4/+20 |
| | | | | | | | | pickle module. | ||||
* | | Issue #18326: merge with 3.3 | Zachary Ware | 2013-11-22 | 1 | -2/+4 |
|\ \ | |/ | |||||
| * | Issue #18326: Clarify that list.sort's arguments are keyword-only. | Zachary Ware | 2013-11-22 | 1 | -2/+4 |
| | | | | | | | | | | Also, attempt to reduce confusion in the glossary by not saying there are different "types" of arguments and parameters. | ||||
* | | Tweak 'provisional' in glossary | Nick Coghlan | 2013-10-20 | 1 | -6/+13 |
| | | |||||
* | | Issue #19190: Improve cross-references in builtin types and functions ↵ | Serhiy Storchaka | 2013-10-09 | 1 | -6/+7 |
|\ \ | |/ | | | | | documentation. | ||||
| * | Issue #19190: Improve cross-references in builtin types and functions ↵ | Serhiy Storchaka | 2013-10-09 | 1 | -6/+7 |
| | | | | | | | | documentation. | ||||
* | | merge with 3.3 | Georg Brandl | 2013-10-08 | 1 | -1/+9 |
|\ \ | |/ | |||||
| * | Closes #19178: some more cross-references about packages in glossary. Patch ↵ | Georg Brandl | 2013-10-08 | 1 | -1/+9 |
| | | | | | | | | by Berker Peksag. | ||||
* | | merge with 3.3 | Georg Brandl | 2013-10-06 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix small grammar mistake. | Georg Brandl | 2013-10-06 | 1 | -1/+1 |
| | | |||||
* | | moved the single-dispatch generic function definitions to the glossary | Łukasz Langa | 2013-06-07 | 1 | -0/+13 |
|/ |