summaryrefslogtreecommitdiffstats
path: root/Doc/reference
Commit message (Collapse)AuthorAgeFilesLines
* Issue #19713: Fix mistakes in the import page of language reference.Eric Snow2013-12-171-102/+118
| | | | These mistakes were introduced by the initial PEP 451 merge.
* Issue #19795: Improved markup of True/False constants.Serhiy Storchaka2013-11-291-1/+1
|\
| * Issue #19795: Improved markup of True/False constants.Serhiy Storchaka2013-11-291-1/+1
| |
* | Fix a few markup problems in the new import doc.Georg Brandl2013-11-241-2/+4
| |
* | Implement PEP 451 (ModuleSpec).Eric Snow2013-11-221-146/+309
| |
* | Issue #19190: Improve cross-references in builtin types and functions ↵Serhiy Storchaka2013-10-092-35/+40
|\ \ | |/ | | | | documentation.
| * Issue #19190: Improve cross-references in builtin types and functions ↵Serhiy Storchaka2013-10-092-35/+40
| | | | | | | | documentation.
* | merge with 3.3Georg Brandl2013-10-081-3/+3
|\ \ | |/
| * Clarify two points about division and shifting. Suggested by Albert Hofkamp ↵Georg Brandl2013-10-081-3/+3
| | | | | | | | on docs@.
* | merge with 3.3Georg Brandl2013-10-081-1/+1
|\ \ | |/
| * Add "->" as a delimiter token. Found by James Harding on docs@.Georg Brandl2013-10-081-1/+1
| |
* | merge with 3.3Georg Brandl2013-10-062-11/+12
|\ \ | |/
| * Use "lambda expression" as preferred to "lambda form".Georg Brandl2013-10-062-11/+12
| |
* | Issue #17934: Add a clear() method to frame objects, to help clean up ↵Antoine Pitrou2013-08-051-0/+14
| | | | | | | | expensive details (local variables) and break reference cycles.
* | Issue #18112: PEP 442 implementation (safe object finalization).Antoine Pitrou2013-07-301-6/+4
| |
* | - Issue #18440: Clarify that `hash()` can truncate the value returned from anBarry Warsaw2013-07-151-4/+15
|\ \ | |/ | | | | object's custom `__hash__()` method.
| * - Issue #18440: Clarify that `hash()` can truncate the value returned from anBarry Warsaw2013-07-151-4/+15
| | | | | | | | object's custom `__hash__()` method.
* | Issue #15767: Revert 3a50025f1900 for ModuleNotFoundErrorBrett Cannon2013-07-041-6/+6
| |
* | Issue #15767: Touch up ModuleNotFoundError usage by import.Brett Cannon2013-06-131-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | Forgot to raise ModuleNotFoundError when None is found in sys.modules. This led to introducing the C function PyErr_SetImportErrorSubclass() to make setting ModuleNotFoundError easier. Also updated the reference docs to mention ModuleNotFoundError appropriately. Updated the docs for ModuleNotFoundError to mention the None in sys.modules case. Lastly, it was noticed that PyErr_SetImportError() was not setting an exception when returning None in one case. That issue is now fixed.
* | mergeBrett Cannon2013-05-251-1/+5
|\ \ | |/
| * Mention __cached__ in the import ref.Brett Cannon2013-05-251-1/+5
| |
* | #17938: merge with 3.3.Ezio Melotti2013-05-091-16/+0
|\ \ | |/
| * #17938: remove duplicate paragraphs.Ezio Melotti2013-05-091-16/+0
| |
* | #17115,17116: Have modules initialize the __package__ and __loader__Brett Cannon2013-05-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | attributes to None. The long-term goal is for people to be able to rely on these attributes existing and checking for None to see if they have been set. Since import itself sets these attributes when a loader does not the only instances when the attributes are None are from someone overloading __import__() and not using a loader or someone creating a module from scratch. This patch also unifies module initialization. Before you could have different attributes with default values depending on how the module object was created. Now the only way to not get the same default set of attributes is to circumvent initialization by calling ModuleType.__new__() directly.
* | merge with 3.3Georg Brandl2013-04-141-8/+7
|\ \ | |/
| * Clarify point in name mangling doc.Georg Brandl2013-04-141-8/+7
| |
* | Merge with 3.3.Georg Brandl2013-03-283-3/+4
|\ \ | |/
| * Closes #4159: add LaTeX tabular column specifications to tables that ↵Georg Brandl2013-03-283-3/+4
| | | | | | | | otherwise are cut off or have overlapping text.
* | Issue #17117: Have both import itself and importlib.util.set_loader()Brett Cannon2013-03-131-7/+9
| | | | | | | | | | | | set __loader__ on a module when set to None. Thanks to Gökcen Eraslan for the fix.
* | evaluate positional defaults before keyword-only defaults (closes #16967)Benjamin Peterson2013-02-101-8/+9
| |
* | Merge from 3.3: add links and index entries for "argument" and "parameter."Chris Jerdonek2012-12-252-11/+21
|\ \ | |/ | | | | | | This adds to the work done for issue #15990 (i.e. f44b8d69e5fc and the commits referenced there).
| * Merge from 3.2: add links and index entries for "argument" and "parameter."Chris Jerdonek2012-12-252-11/+21
| |\ | | | | | | | | | | | | This adds to the work done for issue #15990 (i.e. f44b8d69e5fc and the commits referenced there).
| | * Add additional links and index entries for "argument" and "parameter".Chris Jerdonek2012-12-252-11/+21
| | | | | | | | | | | | | | | This adds to the work done for issue #15990 (i.e. f44b8d69e5fc and the commits referenced there).
* | | #16677: merge with 3.3.Ezio Melotti2012-12-251-5/+5
|\ \ \ | |/ /
| * | #16677: merge with 3.2.Ezio Melotti2012-12-251-5/+5
| |\ \ | | |/
| | * #16677: rename section header and fix markup.Ezio Melotti2012-12-251-5/+5
| | |
| | * Fix label in docs (from issue #13538).Chris Jerdonek2012-11-211-1/+1
| | |
| | * Improve str() and object.__str__() documentation (issue #13538).Chris Jerdonek2012-11-211-10/+18
| | |
* | | Merge from 3.3: link to "yield from" examples in yield documentation.Chris Jerdonek2012-12-231-1/+11
|\ \ \ | |/ /
| * | Link to "yield from" examples in yield documentation.Chris Jerdonek2012-12-231-1/+11
| | | | | | | | | | | | | | | This commit also simplifies the more advanced "yield from" example and removes unused function parameters.
* | | Merge from 3.3: Add a str class entry to the string section (issue #16209).Chris Jerdonek2012-11-281-5/+7
|\ \ \ | |/ / | | | | | | | | | | | | This commit also moves the documentation for the str built-in function to the new class entry. Links to :class:`str` now go to the class entry with the string methods immediately afterwards.
| * | Add a str class entry to the "Text Sequence Type" section (issue #16209).Chris Jerdonek2012-11-281-5/+7
| | | | | | | | | | | | | | | | | | This commit also moves the documentation for the str built-in function to the new class entry. Links to :class:`str` now go to the class entry with the string methods immediately afterwards.
* | | Merge from 3.3: Improve str() and object.__str__() docs (issue #13538).Chris Jerdonek2012-11-211-10/+18
|\ \ \ | |/ /
| * | Improve str() and object.__str__() documentation (issue #13538).Chris Jerdonek2012-11-211-10/+18
| | |
* | | - Issue #16514: Fix regression causing a traceback when sys.path[0] is NoneBarry Warsaw2012-11-201-9/+15
|\ \ \ | |/ / | | | | | | (actually, any non-string or non-bytes type).
| * | - Issue #16514: Fix regression causing a traceback when sys.path[0] is NoneBarry Warsaw2012-11-201-9/+15
| | | | | | | | | | | | (actually, any non-string or non-bytes type).
* | | Merge issue #16144: Fix misleading sentence in reference/import.Andrew Svetlov2012-11-151-5/+5
|\ \ \ | |/ / | | | | | | Patch by Manuel Pégourié-Gonnard
| * | Issue #16144: Fix misleading sentence in reference/import.Andrew Svetlov2012-11-151-5/+5
| | | | | | | | | | | | Patch by Manuel Pégourié-Gonnard
* | | Merge from 3.3: remove unneeded "Release" and "Date" markers from index pages.Chris Jerdonek2012-10-281-3/+0
|\ \ \ | |/ /
| * | Merge from 3.2: remove unneeded "Release" and "Date" markers from index pages.Chris Jerdonek2012-10-281-3/+0
| |\ \ | | |/