]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Victor Stinner [Mon, 5 Dec 2022 15:37:40 +0000 (16:37 +0100)]
gh-99892: test_unicodedata: skip test on download failure (#100011)
Skip test_normalization() of test_unicodedata if it fails to download
NormalizationTest.txt file from pythontest.net.
Victor Stinner [Mon, 5 Dec 2022 14:41:44 +0000 (15:41 +0100)]
gh-100008: Document Python build requirements (#100009)
Document also configure --without-freelists option added to Python
3.11.
Victor Stinner [Mon, 5 Dec 2022 13:23:35 +0000 (14:23 +0100)]
gh-100005: Skip test_script_as_dev_fd() on FreeBSD (#100006)
On FreeBSD, skip test_script_as_dev_fd() of test_cmd_line_script if
fdescfs is not mounted (at /dev/fd).
Ethan Furman [Mon, 5 Dec 2022 10:35:31 +0000 (02:35 -0800)]
gh-93464: [Enum] Add versionchanged tag (#99997)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Ikko Ashimine [Mon, 5 Dec 2022 05:42:38 +0000 (14:42 +0900)]
no-issue: Fix typo in pycore_object.h (gh-99994)
Felix Ye [Sun, 4 Dec 2022 20:24:18 +0000 (15:24 -0500)]
gh-98248: Normalizing the error messages in function struct.pack (GH-98252)
Provide consistent and informative error messages in function struct.pack when its integral arguments are not in range.
Géry Ogam [Sun, 4 Dec 2022 19:49:31 +0000 (20:49 +0100)]
[Enum] Fix typos in the documentation (GH-99960)
AlexTate [Sun, 4 Dec 2022 19:37:55 +0000 (12:37 -0700)]
gh-98458: unittest: bugfix for infinite loop while handling chained exceptions that contain cycles (#98459)
* Bugfix addressing infinite loop while handling self-referencing chained exception in TestResult._clean_tracebacks()
* Bugfix extended to properly handle exception cycles in _clean_tracebacks. The "seen" set follows the approach used in the TracebackException class (thank you @iritkatriel for pointing it out)
* adds a test for a single chained exception that holds a self-loop in its __cause__ and __context__ attributes
Itamar Ostricher [Sun, 4 Dec 2022 12:38:21 +0000 (04:38 -0800)]
GH-91054: Reset static events counts in code watchers tests (#99978)
Serhiy Storchaka [Sun, 4 Dec 2022 12:28:56 +0000 (14:28 +0200)]
gh-60203: Always pass True/False as boolean arguments in tests (GH-99983)
Unless we explicitly test non-bool values.
Brian Skinn [Sun, 4 Dec 2022 00:48:41 +0000 (19:48 -0500)]
gh-85747: "Preface" section of asyncio-eventloop.rst: Switch to active voice and suggest other edits (#99784)
Serhiy Storchaka [Sat, 3 Dec 2022 19:52:21 +0000 (21:52 +0200)]
bpo-15999: Accept arbitrary values for boolean parameters. (#15609)
builtins and extension module functions and methods that expect boolean values for parameters now accept any Python object rather than just a bool or int type. This is more consistent with how native Python code itself behaves.
Alexander Kanavin [Sat, 3 Dec 2022 16:53:20 +0000 (17:53 +0100)]
gh-99934: test_marshal.py: add more elements in test_deterministic_sets (GH-99935)
Existing elements do produce different output on x86_64, but they
do not on x86. Let's make the data longer to ensure it differs.
Kumar Aditya [Sat, 3 Dec 2022 06:15:36 +0000 (11:45 +0530)]
GH-66285: remove redundant `time.sleep` from `test_fork_signal_handling` (GH-99963)
Guido van Rossum [Sat, 3 Dec 2022 03:57:30 +0000 (19:57 -0800)]
GH-98831: Support cache effects in super- and macro instructions (#99601)
Eric Snow [Fri, 2 Dec 2022 18:36:57 +0000 (11:36 -0700)]
gh-99741: Clean Up the _xxsubinterpreters Module (gh-99940)
This cleanup up resolves a few subtle bugs and makes the implementation for multi-phase init much cleaner.
https://github.com/python/cpython/issues/99741
Irit Katriel [Fri, 2 Dec 2022 17:43:10 +0000 (17:43 +0000)]
gh-99955: standardize return values of functions in assembler and optimizer. (#99956)
Eric Snow [Fri, 2 Dec 2022 17:39:17 +0000 (10:39 -0700)]
gh-99741: Fix the Cross-Interpreter Data API (gh-99939)
There were some minor issues that showed up while I was working on porting _xxsubinterpreters to multi-phase init. This fixes them.
https://github.com/python/cpython/issues/99741
Itamar Ostricher [Fri, 2 Dec 2022 17:28:27 +0000 (09:28 -0800)]
GH-91054: Add code object watchers API (GH-99859)
* Add API to allow extensions to set callback function on creation and destruction of PyCodeObject
Co-authored-by: Ye11ow-Flash <janshah@cs.stonybrook.edu>
Pablo Galindo Salgado [Thu, 1 Dec 2022 13:05:56 +0000 (13:05 +0000)]
gh-99894: Ensure the local names don't collide with the test file in traceback suggestion error checking (#99895)
Co-authored-by: Victor Stinner <vstinner@python.org>
Serhiy Storchaka [Thu, 1 Dec 2022 12:54:51 +0000 (14:54 +0200)]
gh-99612: Fix PyUnicode_DecodeUTF8Stateful() for ASCII-only data (GH-99613)
Previously *consumed was not set in this case.
C.A.M. Gerlach [Thu, 1 Dec 2022 07:19:41 +0000 (01:19 -0600)]
Doc: Add summary line to isolation_level & autocommit sqlite3.connect params (#99917)
Add summary lines to isolation_level and autocommit connect() params
Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
ram vikram singh [Wed, 30 Nov 2022 22:52:21 +0000 (04:22 +0530)]
GH-98906 ```re``` module: ```search() vs. match()``` section should mention ```fullmatch()``` (GH-98916)
Mention fullmatch along with search and match.
Serhiy Storchaka [Wed, 30 Nov 2022 21:04:30 +0000 (23:04 +0200)]
gh-89189: More compact range iterator (GH-27986)
Géry Ogam [Wed, 30 Nov 2022 19:44:10 +0000 (20:44 +0100)]
bpo-47220: Document the optional callback parameter of weakref.WeakMethod (GH-25491)
Michael Droettboom [Wed, 30 Nov 2022 19:17:08 +0000 (14:17 -0500)]
GH-99905: Fix output of misses in summarize_stats.py execution counts (GH-99906)
This was an indentation error introduced in
2844aa6a
Victor Stinner [Wed, 30 Nov 2022 17:17:50 +0000 (18:17 +0100)]
gh-99845: PEP 670: Convert PyObject macros to functions (#99850)
Convert macros to static inline functions to avoid macro pitfalls,
like duplication of side effects:
* _PyObject_SIZE()
* _PyObject_VAR_SIZE()
The result type is size_t (unsigned).
Victor Stinner [Wed, 30 Nov 2022 16:22:52 +0000 (17:22 +0100)]
gh-99845: Use size_t type in __sizeof__() methods (#99846)
The implementation of __sizeof__() methods using _PyObject_SIZE() now
use an unsigned type (size_t) to compute the size, rather than a signed
type (Py_ssize_t).
Cast explicitly signed (Py_ssize_t) values to unsigned type
(Py_ssize_t).
Irit Katriel [Wed, 30 Nov 2022 16:16:54 +0000 (16:16 +0000)]
GH-99877)
Arne de Laat [Wed, 30 Nov 2022 15:27:28 +0000 (16:27 +0100)]
Fix typo in exception message in `multiprocessing.pool` (#99900)
Irit Katriel [Wed, 30 Nov 2022 12:37:30 +0000 (12:37 +0000)]
gh-87092: move all localsplus preparation into separate function called from assembler stage (GH-99869)
Pablo Galindo Salgado [Wed, 30 Nov 2022 11:36:06 +0000 (11:36 +0000)]
gh-99891: Fix infinite recursion in the tokenizer when showing warnings (GH-99893)
Automerge-Triggered-By: GH:pablogsal
Géry Ogam [Wed, 30 Nov 2022 11:33:50 +0000 (12:33 +0100)]
gh-99824: Document that sqlite3.connect implicitly open a transaction if autocommit=False (#99825)
Authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Kumar Aditya [Wed, 30 Nov 2022 11:25:16 +0000 (16:55 +0530)]
GH-81057: remove static state from suggestions.c (#99411)
dmjohnsson23 [Wed, 30 Nov 2022 11:14:41 +0000 (04:14 -0700)]
Improve zip64 limit error message (#95892)
Wenzel Jakob [Wed, 30 Nov 2022 08:33:32 +0000 (09:33 +0100)]
gh-98253: Break potential reference cycles in external code worsened by typing.py lru_cache (#98591)
Dong-hee Na [Tue, 29 Nov 2022 22:58:20 +0000 (07:58 +0900)]
gh-99127: Allow some features of syslog to the main interpreter only (gh-99128)
Pete Wicken [Tue, 29 Nov 2022 21:32:18 +0000 (21:32 +0000)]
gh-82836: fix private network check (#97733)
Fixes private checks for network objects. The previous method would incorrectly return True for a private check in cases such as "0.0.0.0/0".
Géry Ogam [Tue, 29 Nov 2022 20:34:52 +0000 (21:34 +0100)]
Docs: improve accuracy of socketserver reference (#24767)
Yilei "Dolee" Yang [Tue, 29 Nov 2022 20:30:58 +0000 (12:30 -0800)]
whatsnew-3.10: Mention PEP 647 in the Release highlights section. (#99853)
Mention PEP 647 in the Release highlights section.
Also re-ordered the list so it matches the order in the details sections below.
Sam Ezeh [Tue, 29 Nov 2022 16:21:01 +0000 (16:21 +0000)]
gh-90717: Update the documentation for the altchars paremeter in base64 library (GH-94187)
Victor Stinner [Tue, 29 Nov 2022 11:15:21 +0000 (12:15 +0100)]
gh-99845: Clean up _PyObject_VAR_SIZE() usage (#99847)
* code_sizeof() now uses an unsigned type (size_t) to compute the result.
* Fix _PyObject_ComputedDictPointer(): cast _PyObject_VAR_SIZE() to
Py_ssize_t, rather than long: it's a different type on 64-bit Windows.
* Clarify that _PyObject_VAR_SIZE() uses an unsigned type (size_t).
Victor Stinner [Tue, 29 Nov 2022 11:12:17 +0000 (12:12 +0100)]
gh-99845: Change _PyDict_KeysSize() return type to size_t (#99848)
* Change _PyDict_KeysSize() and shared_keys_usable_size() return type
from signed (Py_ssize_t) to unsigned (size_t) type.
* new_values() argument type is now unsigned (size_t).
* init_inline_values() now uses size_t rather than int for the 'i'
iterator variable.
* type.__sizeof__() implementation now uses unsigned (size_t) type.
Kumar Aditya [Tue, 29 Nov 2022 10:07:37 +0000 (15:37 +0530)]
GH-91375: Port `_asyncio` static types to heap types and module state (#99122)
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Serhiy Storchaka [Tue, 29 Nov 2022 07:59:56 +0000 (09:59 +0200)]
gh-99593: Add tests for Unicode C API (part 1) (GH-99651)
Add tests for functions corresponding to the str class methods.
Serhiy Storchaka [Tue, 29 Nov 2022 07:46:52 +0000 (09:46 +0200)]
gh-99344, gh-99379, gh-99382: Fix issues in substitution of ParamSpec and TypeVarTuple (GH-99412)
* Fix substitution of TypeVarTuple and ParamSpec together in user generics.
* Fix substitution of ParamSpec followed by TypeVarTuple in generic aliases.
* Check the number of arguments in substitution in user generics containing a
TypeVarTuple and one or more TypeVar.
cemysce [Mon, 28 Nov 2022 18:25:03 +0000 (13:25 -0500)]
gh-99811: Use correct variable to search for time in format string (GH-99812)
Use correct variable to search for asctime
Matthew Hughes [Mon, 28 Nov 2022 18:08:08 +0000 (18:08 +0000)]
`fnmatch` docs: link to `fnmatch.filter()`, not `builtins.filter()` (#99819)
Victor Stinner [Mon, 28 Nov 2022 16:42:22 +0000 (17:42 +0100)]
Use _Py_RVALUE() in macros (#99844)
The following macros are modified to use _Py_RVALUE(), so they can no
longer be used as l-value:
* DK_LOG_SIZE()
* _PyCode_CODE()
* _PyList_ITEMS()
* _PyTuple_ITEMS()
* _Py_SLIST_HEAD()
* _Py_SLIST_ITEM_NEXT()
_PyCode_CODE() is private and other macros are part of the internal
C API.
David Miguel Susano Pinto [Mon, 28 Nov 2022 16:05:21 +0000 (16:05 +0000)]
Grammatical improvements for ctypes 'winmode' documentation (GH-19167)
Victor Stinner [Mon, 28 Nov 2022 15:40:08 +0000 (16:40 +0100)]
gh-89653: PEP 670: Convert macros to functions (#99843)
Convert macros to static inline functions to avoid macro pitfalls,
like duplication of side effects:
* DK_ENTRIES()
* DK_UNICODE_ENTRIES()
* PyCode_GetNumFree()
* PyFloat_AS_DOUBLE()
* PyInstanceMethod_GET_FUNCTION()
* PyMemoryView_GET_BASE()
* PyMemoryView_GET_BUFFER()
* PyMethod_GET_FUNCTION()
* PyMethod_GET_SELF()
* PySet_GET_SIZE()
* _PyHeapType_GET_MEMBERS()
Changes:
* PyCode_GetNumFree() casts PyCode_GetNumFree.co_nfreevars from int
to Py_ssize_t to be future proof, and because Py_ssize_t is
commonly used in the C API.
* PyCode_GetNumFree() doesn't cast its argument: the replaced macro
already required the exact type PyCodeObject*.
* Add assertions in some functions using "CAST" macros to check
the arguments type when Python is built with assertions
(debug build).
* Remove an outdated comment in unicodeobject.h.
Zackery Spytz [Mon, 28 Nov 2022 10:46:40 +0000 (02:46 -0800)]
bpo-31718: Fix io.IncrementalNewlineDecoder SystemErrors and segfaults (#18640)
Co-authored-by: Oren Milman <orenmn@gmail.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Georg Brandl [Mon, 28 Nov 2022 09:41:24 +0000 (10:41 +0100)]
bpo-41825: restructure docs for the os.wait*() family (GH-22356)
Petr Viktorin [Mon, 28 Nov 2022 08:22:08 +0000 (09:22 +0100)]
gh-99249: Clarify "read-only" slots tp_bases & tp_mro (GH-99342)
These slots are marked "should be treated as read-only" in the
table at the start of the document. That doesn't say anything about
setting them in the static struct.
`tp_bases` docs did say that it should be ``NULL`` (TIL!). If you
ignore that, seemingly nothing bad happens. However, some slots
may not be inherited, depending on which sub-slot structs are present.
(FWIW, NumPy sets tp_bases and is affected by the quirk -- though to
be fair, its DUAL_INHERIT code probably predates tp_bases docs, and
also the result happens to be benign.)
This patch makes things explicit.
It also makes the summary table legend easier to scan.
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Furkan Onder [Mon, 28 Nov 2022 06:49:10 +0000 (09:49 +0300)]
gh-51524: Fix bug when calling trace.CoverageResults with valid infile (#99629)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Erlend E. Aasland [Sun, 27 Nov 2022 21:08:30 +0000 (22:08 +0100)]
Docs: both sqlite3 "point examples" now adapt to str (#99823)
Sam Ezeh [Sun, 27 Nov 2022 17:58:39 +0000 (17:58 +0000)]
gh-91340: Document multiprocessing.set_start_method force parameter (GH-32339)
#91340
https://bugs.python.org/issue47184
Automerge-Triggered-By: GH:kumaraditya303
Hugo van Kemenade [Sun, 27 Nov 2022 17:48:29 +0000 (19:48 +0200)]
Docs: Move .PHONY to each section to avoid copy/paste omissions (#99396)
Nikita Sobolev [Sun, 27 Nov 2022 11:15:26 +0000 (14:15 +0300)]
gh-99677: Deduplicate self-type in `mro` in `inspect._getmembers` (#99678)
Closes #99677
Anthony Sottile [Sun, 27 Nov 2022 11:01:02 +0000 (06:01 -0500)]
gh-99815: remove unused 'invalid' sentinel value and code that checks for it in inspect.signature parsing (GH-21104)
Ronald Oussoren [Sun, 27 Nov 2022 10:56:14 +0000 (11:56 +0100)]
GH-87235: Make sure "python /dev/fd/9 9</path/to/script.py" works on macOS (#99768)
On macOS all file descriptors for a particular file in /dev/fd
share the same file offset, that is ``open("/dev/fd/9", "r")`` behaves
more like ``dup(9)`` than a regular open.
This causes problems when a user tries to run "/dev/fd/9" as a script
because zipimport changes the file offset to try to read a zipfile
directory. Therefore change zipimport to reset the file offset after
trying to read the zipfile directory.
Yonatan Goldschmidt [Sun, 27 Nov 2022 10:39:23 +0000 (12:39 +0200)]
Remove unused local variables in inspect.py (#24218)
Brad Wolfe [Sun, 27 Nov 2022 10:25:12 +0000 (11:25 +0100)]
gh-85988: Change documentation for sys.float_info.rounds (GH-99675)
* Change documentation for sys.float_info.rounds
Change the documentation for sys.float_info.rounds to remove
references to C99 section 5.2.4.2.2 and instead place the
available values inline.
* Correction to previous documentation change
Newlines were not preserved in generated HTML on previous
commit. I have changes the list to a comma-separated list
of values and their meanings.
* Clarify source for value of FLT_ROUNDS
Clarify the source of the FLT_ROUNDS value and
change 'floating-point addition' to 'floating-point
arithmetic' to indicate that the rounding mode
applies to all arithmetic operations.
George Zhang [Sun, 27 Nov 2022 06:38:39 +0000 (01:38 -0500)]
doc: Remove backslashes in doctest grammar docs (#29346)
Zackery Spytz [Sun, 27 Nov 2022 06:27:41 +0000 (22:27 -0800)]
bpo-43327: Fix the docs for PyImport_ImportFrozenModuleObject() (#24659)
The docs stated that PyImport_ImportFrozenModuleObject() returns a
new reference, but it actually returns an int.
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Kumar Aditya [Sun, 27 Nov 2022 05:54:48 +0000 (11:24 +0530)]
GH-66285: fix forking in asyncio (#99769)
Closes #66285
Nick Drozd [Sat, 26 Nov 2022 22:33:25 +0000 (16:33 -0600)]
bpo-45975: Simplify some while-loops with walrus operator (GH-29347)
Ivan Savov [Sat, 26 Nov 2022 22:24:04 +0000 (17:24 -0500)]
gh-89682: [doc] reword docstring of __contains__ to clarify that it returns a bool (GH-29043)
Jason R. Coombs [Sat, 26 Nov 2022 21:57:20 +0000 (16:57 -0500)]
gh-88330: Add more detail about what is a resource. (#99801)
Jason R. Coombs [Sat, 26 Nov 2022 18:05:41 +0000 (13:05 -0500)]
gh-98108: Add limited pickleability to zipfile.Path (GH-98109)
* gh-98098: Move zipfile into a package.
* Moved test_zipfile to a package
* Extracted module for test_path.
* Add blurb
* Add jaraco as owner of zipfile.Path.
* Synchronize with minor changes found at jaraco/zipp@
d9e7f4352d .
* gh-98108: Sync with zipp 3.9.1 adding pickleability.
busywhitespace [Sat, 26 Nov 2022 18:01:08 +0000 (19:01 +0100)]
gh-99795: Fix typo in importlib.resources.abc (GH-99796)
Changing TraversableReader to TraversableResources at one place of the documentation.
See #99795 for more details.
Jason R. Coombs [Sat, 26 Nov 2022 18:00:05 +0000 (13:00 -0500)]
Fix zipfile packaging after GH-98103 (GH-99797)
* Add zipfile and test_zipfile to list of packages. Fixes regression introduced in #98103.
* Restore support for py -m test.test_zipfile
Sam Ezeh [Sat, 26 Nov 2022 17:57:05 +0000 (17:57 +0000)]
gh-91078: Return None from TarFile.next when the tarfile is empty (GH-91850)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Jason R. Coombs [Sat, 26 Nov 2022 14:44:13 +0000 (09:44 -0500)]
gh-98098: Create packages from zipfile and test_zipfile (gh-98103)
* gh-98098: Move zipfile into a package.
* Moved test_zipfile to a package
* Extracted module for test_path.
* Add blurb
* Add jaraco as owner of zipfile.Path.
* Synchronize with minor changes found at jaraco/zipp@
d9e7f4352d .
Jason R. Coombs [Sat, 26 Nov 2022 13:28:49 +0000 (08:28 -0500)]
gh-97966: Restore prior expectation that uname_result._fields and ._asdict would include the processor. (gh-98343)
Sam James [Sat, 26 Nov 2022 13:08:49 +0000 (13:08 +0000)]
gh-99086: Fix -Wstrict-prototypes, -Wimplicit-function-declaration warnings in configure.ac (#99406)
Follow up to
12078e78f6e4a21f344e4eaff529e1ff3b97734f .
Nikita Sobolev [Sat, 26 Nov 2022 09:33:48 +0000 (12:33 +0300)]
gh-99502: mention bytes-like objects as input in `secrets.compare_digest` (GH-99512)
Now it is in sync with https://docs.python.org/3/library/hmac.html#hmac.compare_digest
It is the same function, just re-exported. So, I guess they should mention the same input types.
TheShermanTanker [Sat, 26 Nov 2022 09:31:42 +0000 (17:31 +0800)]
GH-95896: posixmodule.c: fix osdefs.h inclusion to not depend on compiler (#95897)
Co-authored-by: Steve Dower <steve.dower@python.org>
Terry Jan Reedy [Sat, 26 Nov 2022 00:03:16 +0000 (19:03 -0500)]
Fix typo in `__match_args__` doc (#99785)
A opy of #98549, whose author (@icecream17) uses a school computer that blocks the CLA site. I did not mention this in commit comment above so CLA bot does not pick up the name and request the CLA again.
Victor Stinner [Fri, 25 Nov 2022 23:30:37 +0000 (00:30 +0100)]
gh-98724: Fix warnings on Py_SETREF() usage (#99781)
Cast argument to the expected type.
Barney Gale [Fri, 25 Nov 2022 19:15:57 +0000 (19:15 +0000)]
gh-99029: Fix handling of `PureWindowsPath('C:\<blah>').relative_to('C:')` (GH-99031)
`relative_to()` now treats naked drive paths as relative. This brings its
behaviour in line with other parts of pathlib, and with `ntpath.relpath()`,
and so allows us to factor out the pathlib-specific implementation.
Stanley [Fri, 25 Nov 2022 19:10:22 +0000 (11:10 -0800)]
gh-64019: Have attribute table in `inspect` docs link to module attributes instead of listing them (GH-98116)
Co-authored-by: Michael Anckaert <michael.anckaert@sinax.be>
Gary Donovan [Fri, 25 Nov 2022 18:03:20 +0000 (05:03 +1100)]
Fix typo on inline comment for email.generator (GH-98210)
Trivial change to comment - no issue or new entry necessary
Zackery Spytz [Fri, 25 Nov 2022 17:39:48 +0000 (09:39 -0800)]
bpo-40882: Fix a memory leak in SharedMemory on Windows (GH-20684)
In multiprocessing.shared_memory.SharedMemory(), the temporary view
returned by MapViewOfFile() should be unmapped when it is no longer
needed.
Erlend E. Aasland [Fri, 25 Nov 2022 13:07:28 +0000 (14:07 +0100)]
gh-96168: Add sqlite3 row factory how-to (#99507)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Zackery Spytz [Fri, 25 Nov 2022 12:55:26 +0000 (04:55 -0800)]
bpo-38031: Fix a possible assertion failure in _io.FileIO() (#GH-5688)
Zackery Spytz [Fri, 25 Nov 2022 09:21:25 +0000 (01:21 -0800)]
bpo-41260: C impl of datetime.date.strftime() takes different keyword arg (GH-21712)
Victor Stinner [Thu, 24 Nov 2022 21:17:33 +0000 (22:17 +0100)]
Revert "gh-98724: Fix Py_CLEAR() macro side effects" (#99737)
Revert "gh-98724: Fix Py_CLEAR() macro side effects (#99100)"
This reverts commit
c03e05c2e72f3ea5e797389e7d1042eef85ad37a .
colorfulappl [Thu, 24 Nov 2022 19:56:50 +0000 (03:56 +0800)]
gh-64490: Fix bugs in argument clinic varargs processing (#32092)
Kumar Aditya [Thu, 24 Nov 2022 17:34:21 +0000 (23:04 +0530)]
GH-66285: Revert "fix forking in asyncio" (#99756)
Zachary Ware [Thu, 24 Nov 2022 16:18:40 +0000 (10:18 -0600)]
Fix rendering of audioop license in Doc/license.rst (GH-99752)
Also some cosmetic blank line additions for consistency with the
formatting of the rest of the file.
Kumar Aditya [Thu, 24 Nov 2022 16:06:06 +0000 (21:36 +0530)]
GH-66285: skip asyncio fork tests for platforms without md5 hash (#99745)
Such buildbots (at the time of writing, only "AMD64 RHEL8 FIPS Only Blake2 Builtin Hash 3.x") cannot use multiprocessing with a fork server, so just skip the test there.
Guido van Rossum [Thu, 24 Nov 2022 15:32:58 +0000 (07:32 -0800)]
GH-79033: Fix asyncio.Server.wait_closed() (#98582)
It was a no-op when used as recommended (after close()).
I had to debug one test (test__sock_sendfile_native_failure) --
the cleanup sequence for the test fixture was botched.
Hopefully that's not a portend of problems in user code --
this has never worked so people may well be doing this wrong. :-(
Co-authored-by: kumar aditya
colorfulappl [Thu, 24 Nov 2022 14:01:26 +0000 (22:01 +0800)]
gh-99240: Fix double-free bug in Argument Clinic str_converter generated code (GH-99241)
Fix double-free bug mentioned at https://github.com/python/cpython/issues/99240,
by moving memory clean up out of "exit" label.
Automerge-Triggered-By: GH:erlend-aasland
colorfulappl [Thu, 24 Nov 2022 12:24:18 +0000 (20:24 +0800)]
gh-64490: Fix refcount error when arguments are packed to tuple in argument clinic (#99233)
Irit Katriel [Thu, 24 Nov 2022 10:59:07 +0000 (10:59 +0000)]
gh-99708: fix bug where compiler crashes on if expression with an empty body block (GH-99732)
zhanpon [Thu, 24 Nov 2022 09:10:38 +0000 (18:10 +0900)]
gh-94808: [coverage] Add an asynchronous generator test where the generator is already running (#97672)
SQLPATCH [Thu, 24 Nov 2022 09:04:19 +0000 (17:04 +0800)]
gh-98872: Fix a possible resource leak in Python 3.11.0 (GH-99047)
Issue: #98872
Automerge-Triggered-By: GH:kumaraditya303
David Hewitt [Thu, 24 Nov 2022 08:21:59 +0000 (08:21 +0000)]
gh-99706: unicodeobject: Fix padding in `PyASCIIObject.state` (GH-99707)
Kumar Aditya [Thu, 24 Nov 2022 06:56:54 +0000 (12:26 +0530)]
add Kumar Aditya as `asyncio` codeowner (GH-99744)
Automerge-Triggered-By: GH:kumaraditya303