main
Commits on Feb 14, 2022
-
-
Update the copyright symbols in README.rst (GH-25514)
Updated a couple copyright symbols from (c) to © The rest of the doc are already using © Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
-
Fix missing import in dataclass code snippet (GH-29214)
field was not imported. It has been added now.
-
-
bpo-38619: Update the documentation for UUID.hex (GH-29830)
Explicitly state that it is lowercase. Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
-
Update __main__.rst (GH-30896)
The reference to `venv` appears in the paragraph below, instead of above. Fixed the documentation.
-
Fix a typo in Doc/faq/programming.rst (GH-31243)
is not longer used -> is no longer used
-
Fix minor grammar error (#31325)
"an" followed by consonant should be "a"
-
bpo-46747: Add missing key parameters in the bisect docs (GH-31323)
Added *key* parameter to `bisect.bisect()` and `bisect.insort()` in bisect module docs.
-
-
-
Corrections to format precision description. (GH-31291)
* `precision` field is a decimal integer * clarify that stated limitations are on presentation type rather than input value type. Especially misleading is "precision is not allowed for integer values", since integer value input to a format like `.1f` is fine. * regarding max field size, replace "non-number" with "string", which is the only non-numeric presentation type Automerge-Triggered-By: GH:ericvsmith
Commits on Feb 13, 2022
-
-
-
-
-
bpo-45447: Add syntax highlighting for
.pyifiles in IDLE (GH-28950)Also add .pyi to the python extensions in the "File-open" and "File-save" dialogues. Add util.py to contain objects that are used in multiple idlelib modules and have no dependencies on any of them. Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Commits on Feb 12, 2022
-
bpo-46333: include
moduleinForwardRef.__repr__(#31283)The module parameter carries semantic information about the forward ref. Show to the user that forward refs with same argument but different module are different. Co-authored-by: Andreas Hangauer <andreas.hangauer@siemens.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
-
-
bpo-45948: Remove constructor discrepancy in C version of ElementTree…
….XMLParser (GH-31152) Both implementations accept target=None now.
-
bpo-46586: Fix documentation links (GH-31216)
* Fix enum.property documentation link
Commits on Feb 11, 2022
-
bpo-46483: [doc] pathlib classes no longer support parameterized gene…
…rics (GH-31281) Remove pathlib classes from the list in stdtypes.rst of classes that can be parameterized at runtime.
-
bpo-46615: Don't crash when set operations mutate the sets (GH-31120)
Ensure strong references are acquired whenever using `set_next()`. Added randomized test cases for `__eq__` methods that sometimes mutate sets when called.
-
bpo-46613: Add PyType_GetModuleByDef to the public API (GH-31081)
* Make PyType_GetModuleByDef public (remove underscore) Co-authored-by: Victor Stinner <vstinner@python.org>
-
bpo-45490: Rename static inline functions (GH-31217)
When a static inline function is wrapped by a macro which casts its arguments to the expected type, there is no need that the function has a different name than the macro. Use the same name for the macro and the function to avoid confusion. Rename _PyUnicode_get_wstr_length() to PyUnicode_WSTR_LENGTH(). Don't rename static inline _Py_NewRef() and _Py_XNewRef() functions, since the C API exports Py_NewRef() and Py_XNewRef() functions as regular functions. The name cannot be reused in this case.
-
Fix the signature of multiprocessing.set_executable (GH-31276)
Automerge-Triggered-By: GH:merwok
-
bpo-46246: add missing __slots__ to importlib.metadata.DeprecatedList (…
…GH-30452) Confirmed with @jaraco that this indeed needs a fix. A question that came up while I was digging into the code: I think `SelectableGroups` could similarly use `__slots__ = ()`, since its purpose seems only for convenience around `dict`, not to have attributes of its own. Automerge-Triggered-By: GH:jaraco