summaryrefslogtreecommitdiffstats
path: root/Doc/glossary.rst
Commit message (Collapse)AuthorAgeFilesLines
* Improve grammar in Glossary. (GH-10474)Miss Islington (bot)2018-11-121-2/+2
| | | | | | a asynchronous generator -> an asynchronous generator (cherry picked from commit a9655b7f71b8976c369160ef362d0e706cfcd8c9) Co-authored-by: Windson yang <wiwindson@outlook.com>
* Fix struct sequence glossary entry grammar (GH-9030)Miss Islington (bot)2018-09-021-1/+1
| | | | | | | | ... by removing a superfluous "either". Reported by Никита Люшненко on docs@. (cherry picked from commit 98b976a2f82ba5f50cf6846338f644ca6c64f47d) Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
* Improve grammar of asynchronous iterator glossary entry (GH-8657)Miss Islington (bot)2018-08-091-3/+3
| | | | | (cherry picked from commit cf2c5e8e2867e41d34079b2e464bbbe653fb7981) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* bpo-33571: Improve the glossary description for '...' prompt (GH-6971)Miss Islington (bot)2018-06-161-2/+3
| | | | | | Mention that it can be triggered by triple quotes and after specifying decorators. (cherry picked from commit 68680035143a3a6398faa88f067f244c74691d19) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* Improve the grammar in the glossary item for `list` (GH-7727)Miss Islington (bot)2018-06-161-1/+1
| | | | | | | " ... access to elements is O(1)." (cherry picked from commit 7469ff5017ec315a81e35913f19a32f0dbdf712e) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* Remove hyphens from phrase "picks up where it left off" (GH-7410)Miss Islington (bot)2018-06-101-3/+3
| | | | | (cherry picked from commit d689f976199d2e211a97d526b57cfa9871cc578d) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* [3.6] bpo-32769: A new take on annotations/type hinting glossary entries ↵Andrés Delfino2018-05-261-16/+84
| | | | | | | | | | | (GH-6829) (GH-7128) * [3.6] bpo-32769: A new take on annotations/type hinting glossary entries (GH-6829). (cherry picked from commit 6e33f810c9e3a549c9379f24cf1d1752c29195f0) Co-authored-by: Andrés Delfino <adelfino@gmail.com> * Typo fix spotted by Guido
* Fix lambda parameters being refered as arguments (GH-7037)Miss Islington (bot)2018-05-221-1/+1
| | | | | (cherry picked from commit 268cc7c3f8f58075b42ff0cd6b6c6c5d76044895) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* bpo-33580: Make binary/text file glossary entries follow most common "see ↵Miss Islington (bot)2018-05-201-4/+4
| | | | | | | also" style. (GH-6991) (cherry picked from commit 0c4be82890858f874ff2158b0fcfdb8f261569c0) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* [3.6] bpo-33518: Add PEP entry to documentation glossary (GH-6860) (#6935)Andrés Delfino2018-05-181-0/+15
| | | | | (cherry picked from commit d5f144260886959c1fe06bc4506a23fd10f92348) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* bpo-32377: improve __del__ docs and fix mention about resurrection (GH-4927) ↵Miss Islington (bot)2017-12-191-1/+2
| | | | | | | | (#4929) * Fix GH-32377: improve __del__ docs and fix mention about resurrection * Mention that CPython only calls __del__ once. (cherry picked from commit 4b965930e8625f77cb0e821daf5cc40e85b45f84)
* [3.6] bpo-18558: Clarify glossary entry for "Iterable" (GH-3732) (#3741)Miss Islington (bot)2017-09-251-1/+4
| | | (cherry picked from commit 0bf287b6e0a42877b06cbea5d0fe6474d8061caa)
* bpo-26947: DOC: clarify wording on hashable in glossary (#948) (#957)Senthil Kumaran2017-04-021-3/+3
| | | (cherry picked from commit 64c887ab3a400cf91bde4f0c5ef69eacc88bc5e1)
* bpo-29928: Add f-string to the Glossary (GH-864) (GH-914)Mariatta2017-03-301-0/+5
| | | (cherry picked from commit 33db068dac7686e37736f7ecf8abb2aee0345cf2)
* bpo-29746: Update marshal docs to Python 3. (#547) (#631)Serhiy Storchaka2017-03-121-0/+7
| | | (cherry picked from commit c611a5b1d4fab0123bf622f06c3bfa510221dc32)
* bpo-29770: remove outdated PYO related info (GH-590) (GH-612)Xiang Zhang2017-03-111-1/+1
|
* Issue #28091: Document PEP 525 & PEP 530.Yury Selivanov2016-12-151-0/+28
| | | | Patch by Eric Appelt.
* Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations.Yury Selivanov2016-09-091-0/+12
| | | | Patch by Ivan Levkivskyi.
* Issue #27285: Document the deprecation of the pyvenv script.Brett Cannon2016-07-081-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 Cannon2016-06-241-0/+10
| | | | Thanks to Dusty Phillips for the initial patch.
* Merge from 3.5Berker Peksag2016-06-111-1/+1
|\
| * Fix typo and silence a Sphinx warning in Doc/glossary.rstBerker Peksag2016-06-111-1/+1
| |
* | Issue #26282: PyArg_ParseTupleAndKeywords() and Argument Clinic now supportSerhiy Storchaka2016-06-091-0/+2
|/ | | | positional-only and keyword parameters in the same function.
* Issue #27243: Fix __aiter__ protocolYury Selivanov2016-06-091-4/+3
|
* Issue #27076: Doc, comment and tests spelling fixesMartin Panter2016-05-261-1/+1
| | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
* Issue23675 - A tiny clarification in the MRO glossary term.Senthil Kumaran2016-01-101-1/+2
|
* Issue #23936: Clarify what finders are.Brett Cannon2015-12-041-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.5Martin Panter2015-10-101-1/+1
|\
| * Issue #25161: Add full stops in documentation; patch by Takase ArihiroMartin Panter2015-10-101-1/+1
| |
* | Issue #25286: Merge dictionary view glossary from 3.4 into 3.5Martin Panter2015-10-071-7/+8
|\ \ | |/
| * Issue #25286: Dictionary views are not sequencesMartin Panter2015-10-071-7/+8
| | | | | | | | Also change glossary heading from view
* | Issue #23756: Clarify the terms "contiguous" and "bytes-like object".Stefan Krah2015-08-081-2/+16
| | | | | | | | Patch by Martin Panter.
* | Issue #24439: Improve PEP 492 related docs.Yury Selivanov2015-06-241-10/+11
| | | | | | | | Patch by Martin Panter.
* | Issue #24400: Introduce a distinct type for 'async def' coroutines.Yury Selivanov2015-06-221-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 Selivanov2015-05-211-12/+0
| |
* | Issue 24180: Documentation for PEP 492 changes.Yury Selivanov2015-05-211-0/+48
| |
* | Doc clarification / edification on the semantics of the 'w*' format unit.Larry Hastings2015-04-131-4/+11
| |
* | merge with 3.4Georg Brandl2015-01-151-1/+1
|\ \ | |/
| * Closes #23244: fix typo. Thanks Mayank Tripathi for the patch.Georg Brandl2015-01-151-1/+1
| |
* | Merge issue 19548 changes from 3.4Nick Coghlan2015-01-061-1/+4
|\ \ | |/
| * Issue 19548: update codecs module documentationNick Coghlan2015-01-061-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 Pitrou2014-12-071-0/+13
| | | | | | | | interpreter shutdown.
* | Merge with 3.4Georg Brandl2014-10-291-3/+3
|\ \ | |/
| * Use https:// URLs when referring to python.org hosts.Georg Brandl2014-10-291-3/+3
| |
* | merge with 3.4Georg Brandl2014-10-061-2/+2
|\ \ | |/
| * Closes #21782: the default hash(x) is not exactly id(x) but derived from it.Georg Brandl2014-10-061-2/+2
| |
* | Merge issue #22295 fix from 3.4Nick Coghlan2014-09-061-0/+8
|\ \ | |/
| * Issue #22295: Adopt 'python -m pip' as the preferred invocationNick Coghlan2014-09-061-0/+8
| |
* | Merge with 3.4Terry Jan Reedy2014-08-231-1/+1
|\ \ | |/
| * Issue #22232 (partial fix): update Universal newlines Glossary entry.Terry Jan Reedy2014-08-231-1/+1
| |