Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #19713: Fix mistakes in the import page of language reference. | Eric Snow | 2013-12-17 | 1 | -102/+118 |
| | | | | These mistakes were introduced by the initial PEP 451 merge. | ||||
* | Issue #19795: Improved markup of True/False constants. | Serhiy Storchaka | 2013-11-29 | 1 | -1/+1 |
|\ | |||||
| * | Issue #19795: Improved markup of True/False constants. | Serhiy Storchaka | 2013-11-29 | 1 | -1/+1 |
| | | |||||
* | | Fix a few markup problems in the new import doc. | Georg Brandl | 2013-11-24 | 1 | -2/+4 |
| | | |||||
* | | Implement PEP 451 (ModuleSpec). | Eric Snow | 2013-11-22 | 1 | -146/+309 |
| | | |||||
* | | Issue #19190: Improve cross-references in builtin types and functions ↵ | Serhiy Storchaka | 2013-10-09 | 2 | -35/+40 |
|\ \ | |/ | | | | | documentation. | ||||
| * | Issue #19190: Improve cross-references in builtin types and functions ↵ | Serhiy Storchaka | 2013-10-09 | 2 | -35/+40 |
| | | | | | | | | documentation. | ||||
* | | merge with 3.3 | Georg Brandl | 2013-10-08 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Clarify two points about division and shifting. Suggested by Albert Hofkamp ↵ | Georg Brandl | 2013-10-08 | 1 | -3/+3 |
| | | | | | | | | on docs@. | ||||
* | | merge with 3.3 | Georg Brandl | 2013-10-08 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Add "->" as a delimiter token. Found by James Harding on docs@. | Georg Brandl | 2013-10-08 | 1 | -1/+1 |
| | | |||||
* | | merge with 3.3 | Georg Brandl | 2013-10-06 | 2 | -11/+12 |
|\ \ | |/ | |||||
| * | Use "lambda expression" as preferred to "lambda form". | Georg Brandl | 2013-10-06 | 2 | -11/+12 |
| | | |||||
* | | Issue #17934: Add a clear() method to frame objects, to help clean up ↵ | Antoine Pitrou | 2013-08-05 | 1 | -0/+14 |
| | | | | | | | | expensive details (local variables) and break reference cycles. | ||||
* | | Issue #18112: PEP 442 implementation (safe object finalization). | Antoine Pitrou | 2013-07-30 | 1 | -6/+4 |
| | | |||||
* | | - Issue #18440: Clarify that `hash()` can truncate the value returned from an | Barry Warsaw | 2013-07-15 | 1 | -4/+15 |
|\ \ | |/ | | | | | object's custom `__hash__()` method. | ||||
| * | - Issue #18440: Clarify that `hash()` can truncate the value returned from an | Barry Warsaw | 2013-07-15 | 1 | -4/+15 |
| | | | | | | | | object's custom `__hash__()` method. | ||||
* | | Issue #15767: Revert 3a50025f1900 for ModuleNotFoundError | Brett Cannon | 2013-07-04 | 1 | -6/+6 |
| | | |||||
* | | Issue #15767: Touch up ModuleNotFoundError usage by import. | Brett Cannon | 2013-06-13 | 1 | -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. | ||||
* | | merge | Brett Cannon | 2013-05-25 | 1 | -1/+5 |
|\ \ | |/ | |||||
| * | Mention __cached__ in the import ref. | Brett Cannon | 2013-05-25 | 1 | -1/+5 |
| | | |||||
* | | #17938: merge with 3.3. | Ezio Melotti | 2013-05-09 | 1 | -16/+0 |
|\ \ | |/ | |||||
| * | #17938: remove duplicate paragraphs. | Ezio Melotti | 2013-05-09 | 1 | -16/+0 |
| | | |||||
* | | #17115,17116: Have modules initialize the __package__ and __loader__ | Brett Cannon | 2013-05-04 | 1 | -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.3 | Georg Brandl | 2013-04-14 | 1 | -8/+7 |
|\ \ | |/ | |||||
| * | Clarify point in name mangling doc. | Georg Brandl | 2013-04-14 | 1 | -8/+7 |
| | | |||||
* | | Merge with 3.3. | Georg Brandl | 2013-03-28 | 3 | -3/+4 |
|\ \ | |/ | |||||
| * | Closes #4159: add LaTeX tabular column specifications to tables that ↵ | Georg Brandl | 2013-03-28 | 3 | -3/+4 |
| | | | | | | | | otherwise are cut off or have overlapping text. | ||||
* | | Issue #17117: Have both import itself and importlib.util.set_loader() | Brett Cannon | 2013-03-13 | 1 | -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 Peterson | 2013-02-10 | 1 | -8/+9 |
| | | |||||
* | | Merge from 3.3: add links and index entries for "argument" and "parameter." | Chris Jerdonek | 2012-12-25 | 2 | -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 Jerdonek | 2012-12-25 | 2 | -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 Jerdonek | 2012-12-25 | 2 | -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 Melotti | 2012-12-25 | 1 | -5/+5 |
|\ \ \ | |/ / | |||||
| * | | #16677: merge with 3.2. | Ezio Melotti | 2012-12-25 | 1 | -5/+5 |
| |\ \ | | |/ | |||||
| | * | #16677: rename section header and fix markup. | Ezio Melotti | 2012-12-25 | 1 | -5/+5 |
| | | | |||||
| | * | Fix label in docs (from issue #13538). | Chris Jerdonek | 2012-11-21 | 1 | -1/+1 |
| | | | |||||
| | * | Improve str() and object.__str__() documentation (issue #13538). | Chris Jerdonek | 2012-11-21 | 1 | -10/+18 |
| | | | |||||
* | | | Merge from 3.3: link to "yield from" examples in yield documentation. | Chris Jerdonek | 2012-12-23 | 1 | -1/+11 |
|\ \ \ | |/ / | |||||
| * | | Link to "yield from" examples in yield documentation. | Chris Jerdonek | 2012-12-23 | 1 | -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 Jerdonek | 2012-11-28 | 1 | -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 Jerdonek | 2012-11-28 | 1 | -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 Jerdonek | 2012-11-21 | 1 | -10/+18 |
|\ \ \ | |/ / | |||||
| * | | Improve str() and object.__str__() documentation (issue #13538). | Chris Jerdonek | 2012-11-21 | 1 | -10/+18 |
| | | | |||||
* | | | - Issue #16514: Fix regression causing a traceback when sys.path[0] is None | Barry Warsaw | 2012-11-20 | 1 | -9/+15 |
|\ \ \ | |/ / | | | | | | | (actually, any non-string or non-bytes type). | ||||
| * | | - Issue #16514: Fix regression causing a traceback when sys.path[0] is None | Barry Warsaw | 2012-11-20 | 1 | -9/+15 |
| | | | | | | | | | | | | (actually, any non-string or non-bytes type). | ||||
* | | | Merge issue #16144: Fix misleading sentence in reference/import. | Andrew Svetlov | 2012-11-15 | 1 | -5/+5 |
|\ \ \ | |/ / | | | | | | | Patch by Manuel Pégourié-Gonnard | ||||
| * | | Issue #16144: Fix misleading sentence in reference/import. | Andrew Svetlov | 2012-11-15 | 1 | -5/+5 |
| | | | | | | | | | | | | Patch by Manuel Pégourié-Gonnard | ||||
* | | | Merge from 3.3: remove unneeded "Release" and "Date" markers from index pages. | Chris Jerdonek | 2012-10-28 | 1 | -3/+0 |
|\ \ \ | |/ / | |||||
| * | | Merge from 3.2: remove unneeded "Release" and "Date" markers from index pages. | Chris Jerdonek | 2012-10-28 | 1 | -3/+0 |
| |\ \ | | |/ |