summaryrefslogtreecommitdiffstats
path: root/Misc/ACKS
Commit message (Collapse)AuthorAgeFilesLines
* gh-71936: Fix race condition in multiprocessing.Pool (GH-124973)Petr Viktorin2024-11-131-0/+1
| | | | | | | | | | | | | | | | | | * gh-71936: Fix race condition in multiprocessing.Pool Proxes of shared objects register a Finalizer in BaseProxy._incref(), and it will call BaseProxy._decref() when it is GCed. This may cause a race condition with Pool(maxtasksperchild=None) on Windows. A connection would be closed and raised TypeError when a GC occurs between _ConnectionBase._check_writable() and _ConnectionBase._send_bytes() in _ConnectionBase.send() in the second or later task, and a new object is allocated that shares the id() of a previously deleted one. Instead of using the id() of the token (or the proxy), use a unique, non-reusable number. Co-Authored-By: Akinori Hattori <hattya@gmail.com>
* gh-125916: Allow functools.reduce() 'initial' to be a keyword argument (#125917)Sayandip Dutta2024-11-121-0/+1
|
* gh-58749: Remove incorrect language spec claims about the global statement ↵Beomsoo Kim2024-11-121-0/+1
| | | | | | | | (GH-126523) * Removes erroneous explanation of the `global` statement restrictions; a name declared as global can be subsequently bound using any kind of name binding operation. * Updates `test_global.py` to also test various name-binding scenarios for global variables to ensure correct behavior
* gh-126072: Set docstring attribute for module and class (#126231)Xuanteng Huang2024-11-081-0/+1
|
* gh-126417: Register multiprocessing proxy types to an appropriate ↵Stephen Morton2024-11-051-0/+1
| | | | collections.abc class (#126419)
* gh-120754: Add a strace helper and test set of syscalls for open().read(), ↵Cody Maloney2024-11-031-0/+1
| | | | Take 2 (#123413)
* gh-61011: Fix inheritance of nested mutually exclusive groups in argparse ↵Serhiy Storchaka2024-10-111-0/+1
| | | | | | | | | (GH-125210) Previously, all nested mutually exclusive groups lost their connection to the group containing them and were displayed as belonging directly to the parser. Co-authored-by: Danica J. Sutherland <djsutherland@users.noreply.github.com>
* gh-124609: Fix _Py_ThreadId for Windows builds using MinGW (#124663)Tony Roberts2024-09-271-0/+1
|
* gh-102450: Add ISO-8601 alternative for midnight to `fromisoformat()` calls. ↵TizzySaurus2024-09-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#105856) * Add NEWS.d entry * Allow ISO-8601 24:00 alternative to midnight on datetime.time.fromisoformat() * Allow ISO-8601 24:00 alternative to midnight on datetime.datetime.fromisoformat() * Add NEWS.d entry * Improve error message when hour is 24 and minute/second/microsecond is not 0 * Add tests for 24:00 fromisoformat * Remove duplicate call to days_in_month() by storing in variable * Add Python implementation * Fix Lint * Fix differing error msg in datetime.fromisoformat implementations when 24hrs has non-zero time component(s) * Fix using time components inside tzinfo in Python implementation * Don't parse tzinfo in C implementation when invalid iso midnight * Remove duplicated variable in datetime test assertion line * Add self to acknowledgements * Remove duplicate NEWS entry * Linting * Add missing test case for when wrapping the year makes it invalid (too large)
* gh-116622: Complete Android documentation (#124259)Malcolm Smith2024-09-231-0/+1
| | | | | Co-authored-by: Russell Keith-Magee <russell@keith-magee.com> Co-authored-by: T. Wouters <thomas@python.org> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* gh-124248: Fix crash in struct when processing 0p fields (#124251)Brian Schubert2024-09-201-0/+1
|
* Revert "GH-120754: Add a strace helper and test set of syscalls for o… ↵Shantanu2024-08-241-1/+0
| | | | | | | (#123303) Revert "GH-120754: Add a strace helper and test set of syscalls for open().read() (#121143)" This reverts commit e38d0afe3548b856ccf0b05c01ed3eefc69cb3e7.
* GH-120754: Add a strace helper and test set of syscalls for open().read() ↵Cody Maloney2024-08-241-0/+1
| | | | (#121143)
* gh-100256: Skip inaccessible registry keys in the WinAPI mimetype ↵Lucas Esposito2024-08-071-0/+1
| | | | implementation (GH-122047)
* gh-121746: Bind Alt+Enter to "accept" in the REPL (GH-121754)Rodrigo Girão Serrão2024-07-151-0/+1
|
* gh-120868: Fix breaking change in `logging.config` when using `QueueHandler` ↵Janek Nouvertné2024-06-271-0/+1
| | | | (GH-120872)
* gh-120495: Fix incorrect exception handling in Tab Nanny (#120498)Wulian2332024-06-151-0/+1
| | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* Add Tian Gao to CODEOWNERS and ACKS (GH-120166)Tian Gao2024-06-061-0/+1
|
* gh-115225: Raise error on unsupported ISO 8601 time strings (#119339)benchatt2024-06-051-0/+1
| | | | | | | | Some time strings that contain fractional hours or minutes are permitted by ISO 8601, but such strings are very unlikely to be intentional. The current parser does not parse such strings correctly or raise an error. This change raises a ValueError when hours or minutes contain a decimal mark. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* gh-119189: Fix the power operator for Fraction (GH-119242)Joshua Herman2024-05-311-0/+1
| | | | | | When using the ** operator or pow() with Fraction as the base and an exponent that is not rational, a float, or a complex, the fraction is no longer converted to a float.
* Fix typos in HISTORY documentation (#119453)Xie Yanbo2024-05-271-0/+1
|
* gh-114099: Formalize Tier 3 status of iOS (GH-118020)Russell Keith-Magee2024-04-211-0/+1
|
* gh-115178: Add Counts of UOp Pairs to pystats (GH-115181)Jeff Glass2024-04-161-0/+1
|
* gh-117534: Add checking for input parameter in iso_to_ymd (#117543)Vlad48962024-04-091-0/+1
| | | | | | | Moves the validation for invalid years in the C implementation of the `datetime` module into a common location between `fromisoformat` and `fromisocalendar`, which improves the error message and fixes a failed assertion when parsing invalid ISO 8601 years using one of the "ISO weeks" formats. --------- Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* gh-117349: Micro-optimize a few `os.path` functions (#117350)Nice Zombies2024-04-021-0/+1
| | | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Barney Gale <barney.gale@gmail.com> Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
* gh-89547: Support for nesting special forms like Final (#116096)Mehdi Drissi2024-03-121-0/+1
|
* gh-100985: Consistently wrap IPv6 IP address during CONNECT (GH-100986)Derek Higgins2024-02-171-0/+1
| | | | | | Update _get_hostport to always remove square brackets from IPv6 addresses. Then add them if needed in "CONNECT .." and "Host: ".
* Add Peter L to ACKS (GH-115222)Peter Lazorchak2024-02-091-0/+1
|
* gh-95649: Document that asyncio contains uvloop code (#107536)Alois Klink2024-01-121-0/+1
| | | | | | | | Some of the asyncio SSL changes in GH-31275 [1] were taken from v0.16.0 of the uvloop project [2]. In order to comply with the MIT license, we need to just need to document the copyright information. [1]: https://github.com/python/cpython/pull/31275 [2]: https://github.com/MagicStack/uvloop/tree/v0.16.0
* gh-111488: Changed error message in case of no 'in' keyword after 'for' in ↵Grigoriev Semyon2024-01-061-0/+1
| | | | cmp (#113656)
* gh-113637: Let c_annotations.py to handle the spacing of Limited/Unstable ↵Ege Akman2024-01-031-0/+1
| | | | API & Stable ABI translation strings (#113638)
* add Ujan to ACKS for work on enum docs (GH-113301)Ethan Furman2023-12-201-0/+1
|
* gh-102130: Support tab completion in cmd for Libedit. (GH-107748)Constantin Hong2023-12-051-0/+1
| | | | | --- Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
* gh-111699: Move smtpd note to dedicated section in What's New Python 3.12 ↵Matt Prodani2023-11-301-0/+1
| | | | | | | doc (GH-112544) Relocate smtpd deprecation notice to it's own section rather than under 'locale' in docs for What's New in Python 3.12 doc
* gh-63284: Add support for TLS-PSK (pre-shared key) to the ssl module (#103181)Grant Ramsay2023-11-271-0/+1
| | | | | | | | Add support for TLS-PSK (pre-shared key) to the ssl module. --------- Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> Co-authored-by: Gregory P. Smith <greg@krypto.org>
* gh-90890: New methods to access mailbox.Maildir message info and flags (#103905)Stephen Gildea2023-11-111-0/+1
| | | | | | | | | | | | | | | New methods to access mailbox.Maildir message info and flags: get_info, set_info, get_flags, set_flags, add_flag, remove_flag. These methods speed up accessing a message's info and/or flags and are useful when it is not necessary to access the message's contents, as when iterating over a Maildir to find messages with specific flags. --------- * Add more str type checking * modernize to f-strings instead of % Co-authored-by: Gregory P. Smith <greg@krypto.org>
* GH-94438: Restore ability to jump over None tests (GH-111237)Savannah Ostrowski2023-10-241-0/+1
|
* gh-82367: Use `FindFirstFile` Win32 API in `ntpath.realpath()` (GH-110298)박문식2023-10-051-0/+1
| | | | | | | * Use `FindFirstFile` Win32 API to fix a bug where `ntpath.realpath()` breaks out of traversing a series of paths where a (handled) `ERROR_ACCESS_DENIED` or `ERROR_SHARING_VIOLATION` occurs. * Update docs to reflect that `ntpath.realpath()` eliminates MS-DOS style names.
* gh-109812: Fix phrasing for `collections.Counter` (gh-109813)Jacob Coffee2023-09-281-0/+1
|
* Docs: Update Donghee Na's name (#109743)Hugo van Kemenade2023-09-221-1/+1
|
* ACKS: Fix ordering; Correct Itamar Oren's surname; Add Adam Turner (#109737)Adam Turner2023-09-221-3/+3
|
* gh-109375: Fix bug where pdb registers an alias without an associated ↵buermarc2023-09-141-0/+1
| | | | command (#109376)
* gh-107932: Fix dis module for bytecode that does not have an associated ↵Corvin2023-08-251-0/+1
| | | | source line (GH-107988)
* gh-108111: Flush gzip write buffer before seeking, fixing bad writes (#108341)Chris Markiewicz2023-08-241-0/+1
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* gh-107995: Fix doctest collection of functools.cached_property objects (#107996)Tyler Smart2023-08-181-0/+1
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-107089: Improve Shelf.clear method performance (gh-107090)James Cave2023-07-291-0/+1
|
* gh-69714: Make `calendar` module fully tested (#93655)Bart Skowron2023-07-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are 3 paths to use `locale` argument in `calendar.Locale{Text|HTML}Calendar.__init__(..., locale=None)`: (1) `locale=None` -- denotes the "default locale"[1] (2) `locale=""` -- denotes the native environment (3) `locale=other_valid_locale` -- denotes a custom locale So far case (2) is covered and case (1) is in 78935daf5a (same branch). This commit adds a remaining case (3). [1] In the current implementation, this translates into the following approach: GET current locale IF current locale == "C" THEN SET current locale TO "" GET current locale ENDIF * Remove unreachable code (and increase test coverage) This condition cannot be true. `_locale.setlocale()` from the C module raises `locale.Error` instead of returning `None` for `different_locale.__enter__` (where `self.oldlocale` is set). * Expand the try clause to calls to `LocaleTextCalendar.formatmonthname()`. This method temporarily changes the current locale to the given locale, so `_locale.setlocale()` may raise `local.Error`. Co-authored-by: Rohit Mediratta <rohitm@gmail.com> Co-authored-by: Jessica McKellar <jesstess@mit.edu> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* gh-106634: Corrected minor asyncio doc issues (#106671)Chris Brett2023-07-131-0/+1
|
* gh-106503: asyncio._SelectorSocketTransport: fix cyclic reference on ↵Andrew Geng2023-07-071-0/+1
| | | | close(). (#106504)
* gh-106075: add `asyncio.taskgroups.__all__` to `asyncio.__all__` (#106090)James Webber2023-06-261-0/+1
| | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>