Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #27712: Fix some typos in the import docs. | Brett Cannon | 2016-08-12 | 1 | -2/+2 |
| | | | | Thanks to Xiang Zhang for the patch. | ||||
* | Issue #26576: Clarify that the @deco syntax is not always an equivalent of f ↵ | Berker Peksag | 2016-08-03 | 1 | -4/+5 |
| | | | | | | = deco(f) Patch by Chris Angelico. | ||||
* | Issue #26462: Doc: reduce literal_block warnings, fix syntax highlighting. | Martin Panter | 2016-07-26 | 2 | -5/+16 |
| | | | | Patch by Julien Palard. | ||||
* | Issue #24314: Fix doc links for general attributes like __name__, __dict__ | Martin Panter | 2016-06-18 | 1 | -25/+26 |
| | |||||
* | Issue #24136: Document generalized unpacking, PEP 448 | Martin Panter | 2016-06-12 | 2 | -27/+61 |
| | | | | Based on patches by Konstantin Molchanov and Neil Girdhar. | ||||
* | [Issue 15476] Make "code object" its own entry in the index | Tommy Beadle | 2016-06-02 | 1 | -4/+2 |
| | |||||
* | Issue #27243: Fix __aiter__ protocol | Yury Selivanov | 2016-06-09 | 2 | -3/+47 |
| | |||||
* | Issue #23275: Backport target list assignment documentation fixes | Martin Panter | 2016-06-08 | 1 | -15/+14 |
| | |||||
* | #26829: Clarify that namespace is copied to a new __dict__ in instance creation. | R David Murray | 2016-06-03 | 1 | -0/+5 |
| | | | | Patch by Emily Morehouse. | ||||
* | Issue #27049: fix doc typo | Ned Deily | 2016-05-18 | 1 | -1/+1 |
| | |||||
* | class definitions only get argument lists (closes #27042) | Benjamin Peterson | 2016-05-17 | 1 | -1/+1 |
| | |||||
* | Backed out changeset 71ff2235bb4c (closes #27042) | Benjamin Peterson | 2016-05-17 | 1 | -1/+1 |
| | |||||
* | Issue #23921: Standardized documentation whitespace formatting. | Serhiy Storchaka | 2016-05-10 | 3 | -6/+6 |
| | | | | Original patch by James Edwards. | ||||
* | Issue #26156: Make expressions grammar description more semantically correct. | Serhiy Storchaka | 2016-05-08 | 1 | -2/+2 |
| | |||||
* | Fix typos in comments, documentation and test method names | Martin Panter | 2016-05-08 | 1 | -1/+1 |
| | |||||
* | Issue #26736: Used HTTPS for external links in the documentation if possible. | Serhiy Storchaka | 2016-05-07 | 1 | -1/+1 |
| | |||||
* | Issue #18572: Remove redundant note about surrogates in string escape doc | Berker Peksag | 2016-04-24 | 1 | -2/+1 |
| | |||||
* | Remove redundant leading zeroes in PEP references. | Serhiy Storchaka | 2016-03-31 | 3 | -5/+5 |
| | |||||
* | Issue #25887: Raise a RuntimeError when a coroutine is awaited more than once. | Yury Selivanov | 2016-02-13 | 1 | -0/+4 |
| | |||||
* | Python for .NET has moved to Github. | Zachary Ware | 2016-02-04 | 1 | -1/+1 |
| | | | | Reported by Denis Akhiyarov on docs@ | ||||
* | Issue #25500: Fix the language reference to not claim that import | Brett Cannon | 2015-12-04 | 1 | -5/+4 |
| | | | | | | statements search for __import__ in the global scope. Thanks to Sergei Lebedev for finding the documentation bug. | ||||
* | Merge: #25679: spelling fix | R David Murray | 2015-11-20 | 1 | -3/+2 |
|\ | |||||
| * | #25679: spelling fix | R David Murray | 2015-11-20 | 1 | -3/+2 |
| | | |||||
* | | Issue #25523: Further a-to-an corrections new in 3.5 | Martin Panter | 2015-11-02 | 1 | -2/+2 |
| | | |||||
* | | Issue #25418: Fix markup in object.__hash__ documentation | Berker Peksag | 2015-10-16 | 1 | -1/+1 |
|\ \ | |/ | | | | | Patch by TAKASE Arihiro. | ||||
| * | Issue #25418: Fix markup in object.__hash__ documentation | Berker Peksag | 2015-10-16 | 1 | -1/+1 |
| | | | | | | | | Patch by TAKASE Arihiro. | ||||
* | | Issue #25161: Merge full stops from 3.4 into 3.5 | Martin Panter | 2015-10-10 | 2 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #25161: Add full stops in documentation; patch by Takase Arihiro | Martin Panter | 2015-10-10 | 2 | -2/+2 |
| | | |||||
* | | Issue #12067: Merge comparisons doc from 3.4 into 3.5 | Martin Panter | 2015-09-23 | 1 | -56/+188 |
|\ \ | |/ | |||||
| * | Issue #12067: Rewrite Comparisons section in the language reference | Martin Panter | 2015-09-23 | 1 | -56/+188 |
| | | | | | | | | | | | | | | Some of the details of comparing mixed types were incorrect or ambiguous. NotImplemented is only relevant at a lower level than the Expressions chapter. Added details of comparing range() objects, and default behaviour and consistency suggestions for user-defined classes. Patch from Andy Maier. | ||||
* | | Issue #4395: Better testing and documentation of binary operators. | Robert Collins | 2015-08-06 | 1 | -9/+13 |
|\ \ | |/ | | | | | Patch by Martin Panter. | ||||
| * | Issue #4395: Better testing and documentation of binary operators. | Robert Collins | 2015-08-06 | 1 | -9/+13 |
| | | | | | | | | Patch by Martin Panter. | ||||
* | | Issue #24531: Document that encoding lines cannot follow non-comment lines. | Robert Collins | 2015-08-06 | 1 | -2/+4 |
|\ \ | |/ | | | | | Patch from Terry Reedy | ||||
| * | Issue #24531: Document that encoding lines cannot follow non-comment lines. | Robert Collins | 2015-08-06 | 1 | -2/+4 |
| | | | | | | | | Patch from Terry Reedy | ||||
* | | Merge issue #24129 from 3.4 | Nick Coghlan | 2015-08-05 | 1 | -62/+101 |
|\ \ | |/ | |||||
| * | Issue #24129: Clarify reference docs for name resolution. | Nick Coghlan | 2015-08-05 | 1 | -62/+101 |
| | | | | | | | | | | | | | | | | This includes removing the assumption that readers will be familiar with the name resolution scheme Python used prior to the introduction of lexical scoping for function namespaces. Patch by Ivan Levkivskyi. | ||||
* | | docs: Fix productionlist for async def functions | Yury Selivanov | 2015-08-01 | 1 | -1/+1 |
| | | |||||
* | | Issue #24713: Use importlib.reload() in import reference document. | Berker Peksag | 2015-07-25 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | | | | | imp.reload() was deprecated in Python 3.4 and changed to call importlib.reload(). Patch by Petr Viktorin. | ||||
| * | Issue #24713: Use importlib.reload() in import reference document. | Berker Peksag | 2015-07-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | | imp.reload() was deprecated in Python 3.4 and changed to call importlib.reload(). Patch by Petr Viktorin. | ||||
* | | Issue #24619: New approach for tokenizing async/await. | Yury Selivanov | 2015-07-22 | 1 | -3/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixes how one-line async-defs and defs are tracked by tokenizer. It allows to correctly parse invalid code such as: >>> async def f(): ... def g(): pass ... async = 10 and valid code such as: >>> async def f(): ... async def g(): pass ... await z As a consequence, is is now possible to have one-line 'async def foo(): await ..' functions: >>> async def foo(): return await bar() | ||||
* | | merge 3.4 (#24610) | Benjamin Peterson | 2015-07-11 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | fix normalization example (closes #24610) | Benjamin Peterson | 2015-07-11 | 1 | -1/+1 |
| | | | | | | | | Patch by Chris Angelico | ||||
* | | upgrade to Unicode 8.0.0 | Benjamin Peterson | 2015-06-27 | 1 | -2/+2 |
| | | |||||
* | | Issue #24439: Improve PEP 492 related docs. | Yury Selivanov | 2015-06-24 | 3 | -21/+78 |
| | | | | | | | | Patch by Martin Panter. | ||||
* | | Issue #24400: Introduce a distinct type for 'async def' coroutines. | Yury Selivanov | 2015-06-22 | 1 | -3/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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") | ||||
* | | Merge with 3.4 | Terry Jan Reedy | 2015-06-12 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Closes issue #24405: mark set display as code. | Terry Jan Reedy | 2015-06-12 | 1 | -1/+1 |
| | | |||||
* | | merge | Raymond Hettinger | 2015-05-22 | 1 | -2/+1 |
|\ \ | |/ | |||||
| * | Issue #24219: Remove duplicate literal in docs. | Raymond Hettinger | 2015-05-22 | 1 | -2/+1 |
| | | |||||
* | | Issue 24180: Documentation for PEP 492 changes. | Yury Selivanov | 2015-05-21 | 3 | -1/+234 |
| | |