main
Name already in use
Commits on Feb 20, 2023
-
gh-101907: Stop using
_Py_OPCODE
and_Py_OPARG
macros (GH-101912)* gh-101907: Removes use of non-standard C++ extension from Include/cpython/code.h * Make cases_generator correct on Windows
-
gh-101819: Adapt _io types to heap types, batch 1 (GH-101949)
Adapt StringIO, TextIOWrapper, FileIO, Buffered*, and BytesIO types. Automerge-Triggered-By: GH:erlend-aasland
-
gh-101981: Build macOS as recommended by the devguide (GH-102070)
Automerge-Triggered-By: GH:erlend-aasland
-
gh-97786: Fix compiler warnings in pytime.c (#101826)
Fixes compiler warnings in pytime.c.
Commits on Feb 19, 2023
-
gh-101578: Amend PyErr_{Set,Get}RaisedException docs (#101962)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
-
-
gh-85417: Clarify behaviour on branch cuts in cmath module (#102046)
This PR updates the cmath module documentation to reflect the reality that Python is almost always (and as far as I can tell, that "almost" can be omitted) running on a machine whose C double supports signed zeros. * Removes misleading references to functions being continuous from above / below / the left / the right at branch cuts * Expands the note on branch cuts at the top of the module documentation to explain the double-sided sign-of-zero-based behaviour
-
Add missing 'is' to
cmath.log()
docstring (#102049)Fix missing 'is' in cmath.log() docstring
-
gh-100210: Correct the comment link for unescaping HTML (#100212)
gh-100210: correct the comment link for unescaping HTML
-
-
-
Commits on Feb 18, 2023
Commits on Feb 17, 2023
-
-
gh-101992: update plistlib examples to be runnable (#101994)
* gh-101992: update plistlib examples to be runnable * Update Doc/library/plistlib.rst --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
-
gh-100809: Fix handling of drive-relative paths in pathlib.Path.absol…
…ute() (GH-100812) Resolving the drive independently uses the OS API, which ensures it starts from the current directory on that drive.
-
gh-101360: Fix anchor matching in pathlib.PureWindowsPath.match() (GH…
…-101363) Use `fnmatch` to match path and pattern anchors, just as we do for other path parts. This allows patterns such as `'*:/Users/*'` to be matched.
-
Docs: fix typos in PyFunction_WatchCallback docs and in 3.12 NEWS (GH…
…-101980) - possitibility => possibility - disaallowed => disallowed
-
gh-101758: Fix Refleak-Related Failures in test_singlephase_variants (g…
Commits on Feb 16, 2023
-
gh-101758: Add _PyState_AddModule() Back for the Stable ABI (gh-101956)
We're adding the function back, only for the stable ABI symbol and not as any form of API. I had removed it yesterday. This undocumented "private" function was added with the implementation for PEP 3121 (3.0, 2007) for internal use and later moved out of the limited API (3.6, 2016) and then into the internal API (3.9, 2019). I removed it completely yesterday, including from the stable ABI manifest (where it was added because the symbol happened to be exported). It's unlikely that anyone is using _PyState_AddModule(), especially any stable ABI extensions built against 3.2-3.5, but we're playing it safe. #101758
-
GH-96764: rewrite
asyncio.wait_for
to useasyncio.timeout
(#98518)Changes `asyncio.wait_for` to use `asyncio.timeout` as its underlying implementation.
-
gh-93573: Replace wrong example domains in configparser doc (GH-93574)
* Replace bitbucket.org domain by forge.example * Update example to python.org * Use explicitly invalid domain topsecret.server.com domain is not controled by PSF. It's replaced by invalid topsecret.server.example domain. It follows RFC 2606, which advise .example as TLD for documentation.
-
gh-101881: Support (non-)blocking read/write functions on Windows pip…
…es (GH-101882) * fileutils: handle non-blocking pipe IO on Windows Handle erroring operations on non-blocking pipes by reading the _doserrno code. Limit writes on non-blocking pipes that are too large. * Support blocking functions on Windows Use the GetNamedPipeHandleState and SetNamedPipeHandleState Win32 API functions to add support for os.get_blocking and os.set_blocking.