Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove latent footnote.importlib_metadata-3.3 | Jason R. Coombs | 2020-12-16 | 1 | -6/+0 |
| | |||||
* | bpo-42382: In importlib.metadata, `EntryPoint` objects now expose a `.dist` ↵ | Jason R. Coombs | 2020-12-13 | 1 | -2/+3 |
| | | | | | | | | | object referencing the `Distribution` when constructed from a `Distribution`. Also, sync importlib_metadata 3.3: - Add support for package discovery under package normalization rules. - The object returned by `metadata()` now has a formally-defined protocol called `PackageMetadata` with declared support for the `.get_all()` method. | ||||
* | Add two spaces around equal sign (#23719) | sblondon | 2020-12-12 | 1 | -1/+1 |
| | | | Fit to PEP8 coding style | ||||
* | bpo-41879: Doc: Fix description of async for statement (GH-23548) | Nick Gaya | 2020-12-11 | 1 | -4/+4 |
| | | | Fix the wording in the documentation of `async for` to correctly describe asynchronous iterables. This fix is relevant for version 3.7 onward. | ||||
* | bpo-42385: [Enum] add `_generate_next_value_` to StrEnum (GH-23735) | Ethan Furman | 2020-12-10 | 1 | -2/+4 |
| | | | The default for auto() is to return an integer, which doesn't work for `StrEnum`. The new `_generate_next_value_` for `StrEnum` returns the member name, lower cased. | ||||
* | bpo-41877: Improve docs for assert misspellings check in mock (GH-23729) | vabr-g | 2020-12-10 | 1 | -3/+4 |
| | | | | | | | | | This is a follow-up to https://github.com/python/cpython/commit/4662fa9bfe4a849fe87bfb321d8ef0956c89a772. That original commit expanded guards against misspelling assertions on mocks. This follow-up updates the documentation and improves the error message by pointing out the potential cause and solution. Automerge-Triggered-By: GH:gpshead | ||||
* | bpo-42517: [Enum] do not convert private names into members (GH-23722) | Ethan Furman | 2020-12-09 | 1 | -0/+9 |
| | | | private names, such as `_Color__hue` and `_Color__hue_` are now normal attributes, and do not become members nor raise exceptions | ||||
* | [doc] Link to issue regarding logging.disable level param default value ↵ | Andre Delfino | 2020-12-09 | 1 | -2/+2 |
| | | | | (GH-23726) | ||||
* | [doc] Document logging.basicConfig default format (GH-23710) | Andre Delfino | 2020-12-09 | 1 | -1/+3 |
| | | | Automerge-Triggered-By: GH:vsajip | ||||
* | bpo-42599: Remove useless PyModule_GetWarningsModule() (GH-23691) | Hai Shi | 2020-12-08 | 1 | -0/+5 |
| | | | | Removed PyModule_GetWarningsModule() which is useless due to the _warnings module was converted to a builtin module in 2.6. | ||||
* | bpo-42579: Make workaround for various versions of Sphinx more robust (GH-23662) | Matěj Cepl | 2020-12-07 | 1 | -1/+6 |
| | | | | | | The solution in gh#python/cpython#13236 is too strict because it effectively requires the use of Sphinx >= 2.0. It is not too difficult to make the same solution more robust so it works with all normal versions of Sphinx. | ||||
* | bpo-30459: Cast the result of PyCell_SET to void (GH-23654) | Victor Stinner | 2020-12-07 | 1 | -0/+7 |
| | |||||
* | bpo-38843: Document behavior of default when the attribute is already set ↵ | Raymond Hettinger | 2020-12-06 | 1 | -1/+9 |
| | | | | (GH-23653) | ||||
* | bpo-26131: Deprecate usage of load_module() (GH-23469) | Brett Cannon | 2020-12-04 | 1 | -1/+17 |
| | | | Raise an ImportWarning when the import system falls back on load_module(). As for implementations of load_module(), raise a DeprecationWarning. | ||||
* | bpo-42545: Check that all symbols in the limited ABI are exported (GH-23616) | Pablo Galindo | 2020-12-04 | 1 | -0/+779 |
| | |||||
* | bpo-42523: Fix supported versions in "Using Python on Windows" (GH-23603) | Zackery Spytz | 2020-12-03 | 1 | -2/+2 |
| | |||||
* | bpo-37221: PyCode_New() didn't change in Python 3.8 (GH-23595) | Victor Stinner | 2020-12-01 | 1 | -3/+0 |
| | |||||
* | [doc] Fix abc.update_abstractmethods markup (GH-23576) | Andre Delfino | 2020-12-01 | 1 | -1/+2 |
| | | | Add link to ABCMeta while at it. | ||||
* | Fix bz2 examples markup (#23580) | Andre Delfino | 2020-12-01 | 1 | -8/+0 |
| | |||||
* | bpo-38200: Add itertools.pairwise() (GH-23549) | Raymond Hettinger | 2020-11-30 | 1 | -6/+17 |
| | |||||
* | bpo-28468: Add platform.freedesktop_os_release() (GH-23492) | Christian Heimes | 2020-11-30 | 2 | -0/+46 |
| | | | | | | | Add platform.freedesktop_os_release() function to parse freedesktop.org os-release files. Signed-off-by: Christian Heimes <christian@python.org> Co-authored-by: Victor Stinner <vstinner@python.org> | ||||
* | bpo-42485: [Doc] Link to PEP 617 from full grammar specification (GH-23532) | James Gerity | 2020-11-30 | 1 | -1/+2 |
| | | | Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com> | ||||
* | bpo-42501: Revise the usage note for Enums with the choices (GH-23563) | Raymond Hettinger | 2020-11-30 | 1 | -14/+3 |
| | |||||
* | bpo-42451: Indicate that PyTuple_GetItem does not support negative indices ↵ | Yasser A | 2020-11-30 | 1 | -1/+1 |
| | | | | (GH-23529) | ||||
* | bpo-42450: Minor updates to the itertools recipes (GH-23555) | Raymond Hettinger | 2020-11-29 | 1 | -5/+5 |
| | |||||
* | bpo-42392: Remove deprecated loop parameter from docs (GH-23552) | Yurii Karabas | 2020-11-29 | 5 | -80/+22 |
| | |||||
* | bpo-39096: Improve description of 'e', 'f' and 'g' presentation types (#23537) | Mark Dickinson | 2020-11-29 | 1 | -12/+31 |
| | | | | | | | | | | | * Improve description of 'e', 'f' and 'g' presentation types * Drop the 'E' from Scientific 'E' notation; remove >= 0 qualifications * Fix false statement that the alternate form is valid for Decimal * Nitpick: remove the Harvard/Oxford comma * Add note that the decimal point is also removed if no digits follow it, except in alternate form | ||||
* | bpo-31904: add shell requirement for test_pipes (GH-23489) | pxinwr | 2020-11-28 | 1 | -0/+2 |
| | | | VxWorks has no user space shell provided so it can't support pipes module. Also add shell requirement for running test_pipes. | ||||
* | Fix dis markup (GH-23524) | Andre Delfino | 2020-11-28 | 1 | -6/+6 |
| | |||||
* | Fix multiprocessing markup (GH-23525) | Andre Delfino | 2020-11-28 | 1 | -3/+3 |
| | |||||
* | bpo-42489: Fix the signature for list.sort() in the tutorial (GH-23538) | Zackery Spytz | 2020-11-28 | 1 | -1/+1 |
| | |||||
* | bpo-17852: Doc: Fix the tutorial about closing files (GH-23135) | Volker-Weissmann | 2020-11-27 | 1 | -5/+10 |
| | | | Co-authored-by: Inada Naoki <songofacandy@gmail.com> | ||||
* | Document optional 'task'/'asyncgen' fields in call_exception_handler (#21735) | Shane Harvey | 2020-11-26 | 1 | -1/+4 |
| | |||||
* | Typo: fix inverted sense of statement (GH-23288) | basak | 2020-11-25 | 1 | -1/+1 |
| | | | | | | | Looks like a "not" was inadvertently omitted in commit e6a7ea4. Classmethods are useful when data stored in specific instances are *not* needed. Automerge-Triggered-By: GH:JulienPalard | ||||
* | bpo-42299: Remove formatter module (GH-23476) | Dong-hee Na | 2020-11-25 | 4 | -365/+6 |
| | |||||
* | bpo-42202: Store func annotations as a tuple (GH-23316) | Yurii Karabas | 2020-11-25 | 2 | -1/+14 |
| | | | | | | | | | | | | | Reduce memory footprint and improve performance of loading modules having many func annotations. >>> sys.getsizeof({"a":"int","b":"int","return":"int"}) 232 >>> sys.getsizeof(("a","int","b","int","return","int")) 88 The tuple is converted into dict on the fly when `func.__annotations__` is accessed first. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Inada Naoki <songofacandy@gmail.com> | ||||
* | Add more tests to the descriptor howto guide (GH-23506) | Raymond Hettinger | 2020-11-25 | 1 | -4/+25 |
| | |||||
* | bpo-42238: Doc: Remove make suspicious from the CI and docs builds. (GH-23313) | Julien Palard | 2020-11-25 | 1 | -1/+0 |
| | | | | | It probably helped a lot a while back, but may not be as usefull today. We'll continue monitoring it before deletion, so true positives can be migrated to rstlint. | ||||
* | Doc: Minor fixes (GH-23422) | kj | 2020-11-25 | 2 | -3/+3 |
| | |||||
* | Add doctests to the descriptor HowTo (GH-23500) | Raymond Hettinger | 2020-11-24 | 1 | -57/+397 |
| | |||||
* | Typo (#23482) | Jesús Cea | 2020-11-24 | 1 | -1/+1 |
| | |||||
* | Added support for negative indexes to PurePath.parents (GH-21799) | Yaroslav Pankovych | 2020-11-23 | 2 | -2/+6 |
| | | | | | | | | | | This commit also fixes up some of the overlapping documentation changed in bpo-35498, which added support for indexing with slices. Fixes bpo-21041. https://bugs.python.org/issue21041 Co-authored-by: Paul Ganssle <p.ganssle@gmail.com> Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr> | ||||
* | Descriptor HowTo: Improve the fidelity of the member object simulation ↵ | Raymond Hettinger | 2020-11-23 | 1 | -11/+46 |
| | | | | (GH-23475) | ||||
* | bpo-15450: Allow subclassing of dircmp (GH-23424) (#23424) | Nick Crews | 2020-11-23 | 1 | -1/+7 |
| | | | Co-authored-by: Chris Jerdonek <chris.jerdonek@gmail.com> | ||||
* | Doc: fix typo in typing.Type docs (GH-23460) | John Belmonte | 2020-11-22 | 1 | -1/+1 |
| | |||||
* | bpo-42423: Accept single base class in PyType_FromModuleAndSpec() (GH-23441) | Serhiy Storchaka | 2020-11-22 | 2 | -4/+8 |
| | |||||
* | bpo-42391: Clarify documentation of TestCase.assertIs (GH-23348) | Ram Rachum | 2020-11-22 | 1 | -2/+1 |
| | | | Removing 'evaluate' makes it more consistent with other assertX entries. | ||||
* | Clarify that Set._from_iterable is not required to be a classmethod. (GH-23272) | Richard Levasseur | 2020-11-21 | 1 | -1/+1 |
| | |||||
* | bpo-42232: mmap module add Darwin specific madvise options. (GH-23076) | David CARLIER | 2020-11-21 | 1 | -0/+2 |
| | |||||
* | bpo-42412: Fix possible leaks and check arguments in ↵ | Serhiy Storchaka | 2020-11-21 | 1 | -2/+4 |
| | | | | | | | | PyType_FromModuleAndSpec() (GH-23410) * There were leaks if Py_tp_bases is used more than once or if some call is failed before setting tp_bases. * There was a crash if the bases argument or the Py_tp_bases slot is not a tuple. * The documentation was not accurate. |