summaryrefslogtreecommitdiffstats
path: root/Misc/ACKS
Commit message (Collapse)AuthorAgeFilesLines
* [3.12] Fix typos in HISTORY documentation (GH-119453) (#119598)Miss Islington (bot)2024-05-271-0/+1
| | | | Co-authored-by: Xie Yanbo <xieyanbo@gmail.com>
* [3.12] gh-117534: Add checking for input parameter in iso_to_ymd (GH-117543) ↵Miss Islington (bot)2024-04-091-0/+1
| | | | | | | | | | | | | | (#117689) gh-117534: Add checking for input parameter in iso_to_ymd (GH-117543) 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. --------- (cherry picked from commit d5f1139c79525b4e7e4e8ad8c3e5fb831bbc3f28) Co-authored-by: Vlad4896 <166005126+Vlad4896@users.noreply.github.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* [3.12] gh-100985: Consistently wrap IPv6 IP address during CONNECT ↵Miss Islington (bot)2024-02-171-0/+1
| | | | | | | | | | (GH-100986) (GH-115591) Update _get_hostport to always remove square brackets from IPv6 addresses. Then add them if needed in "CONNECT .." and "Host: ". (cherry picked from commit 465db27cb983084e718a1fd9519b2726c96935cb) Co-authored-by: Derek Higgins <derekh@redhat.com>
* [3.12] gh-95649: Document that asyncio contains uvloop code (GH-107536) ↵Alois Klink2024-01-141-0/+1
| | | | | | | | | | | | (#114046) 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 (cherry picked from commit dce30c9cbc212e5455e100f35ac6afeb30dfd23e)
* [3.12] gh-113637: Let c_annotations.py to handle the spacing of ↵Miss Islington (bot)2024-01-031-0/+1
| | | | | | Limited/Unstable API & Stable ABI translation strings (GH-113638) (#113676) Co-authored-by: Ege Akman <egeakmanegeakman@hotmail.com>
* [3.12] gh-111699: Move smtpd note to dedicated section in What's New Python ↵Miss Islington (bot)2023-11-301-0/+1
| | | | | | | | | 3.12 doc (GH-112544) (GH-112552) Relocate smtpd deprecation notice to it's own section rather than under 'locale' in docs for What's New in Python 3.12 doc (cherry picked from commit 1ff212debdc094c28928011cff9f4eea8de34d44) Co-authored-by: Matt Prodani <mp5908@nyu.edu>
* [3.12] GH-94438: Restore ability to jump over None tests (GH-111243)Miss Islington (bot)2023-10-241-0/+1
| | | | (cherry picked from commit 6640f1d8d2462ca0877e1d2789e1721767e9caf2) Co-authored-by: Savannah Ostrowski <sostrowski@microsoft.com>
* [3.12] gh-109375: Fix bug where pdb registers an alias without an associated ↵Miss Islington (bot)2023-10-021-0/+1
| | | | | | | | command (GH-109376) (#109429) gh-109375: Fix bug where pdb registers an alias without an associated command (GH-109376) (cherry picked from commit 68a6f21f47e779ddd70e33cf04d170a63f077fcd) Co-authored-by: buermarc <44375277+buermarc@users.noreply.github.com>
* [3.12] Docs: Update Donghee Na's name (GH-109743) (#109758)Hugo van Kemenade2023-09-241-1/+1
| | | | | | | * Update Donghee Na's name in Docs/ * Update Donghee Na's name in Misc/ACKS * Update Donghee Na's name in Misc/NEWS.d/
* [3.12] ACKS: Fix ordering; Correct Itamar Oren's surname; Add Adam Turner ↵Miss Islington (bot)2023-09-221-3/+3
| | | | | | | (GH-109737) (#109741) (cherry picked from commit 3e8fcb7df74248530c4280915c77e69811f69c3f) Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* [3.12] gh-108111: Flush gzip write buffer before seeking, fixing bad writes ↵Miss Islington (bot)2023-08-241-0/+1
| | | | | | | | | (GH-108341) (#108402) gh-108111: Flush gzip write buffer before seeking, fixing bad writes (GH-108341) (cherry picked from commit 2eb60c1934f47671e6b3c9b90b6d9f1912d829a0) Co-authored-by: Chris Markiewicz <effigies@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* [3.12] gh-106634: Corrected minor asyncio doc issues (GH-106671) (#106712)Miss Islington (bot)2023-07-141-0/+1
| | | | | | gh-106634: Corrected minor asyncio doc issues (GH-106671) (cherry picked from commit 4b4a5b70aa8d47b1e2a0582b741c31b786da762a) Co-authored-by: Chris Brett <chrisbrett665@gmail.com>
* [3.12] gh-106503: asyncio._SelectorSocketTransport: fix cyclic reference on ↵Miss Islington (bot)2023-07-071-0/+1
| | | | | | | | close(). (GH-106504) (#106514) gh-106503: asyncio._SelectorSocketTransport: fix cyclic reference on close(). (GH-106504) (cherry picked from commit 3e5ce7968f5ab715f649e296e1f6b499621b8091) Co-authored-by: Andrew Geng <pteromys@gmail.com>
* [3.12] gh-106075: add `asyncio.taskgroups.__all__` to `asyncio.__all__` ↵Miss Islington (bot)2023-06-261-0/+1
| | | | | | | | | (GH-106090) (#106098) gh-106075: add `asyncio.taskgroups.__all__` to `asyncio.__all__` (GH-106090) (cherry picked from commit a12e8ffb49e05a1d1874389318911ce9685db232) Co-authored-by: James Webber <jamestwebber@users.noreply.github.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* gh-96522: Fix deadlock in pty.spawn (#96639)Youfu Zhang2023-05-191-0/+1
|
* Update name in acknowledgements and add mailmap (#103696)Amethyst Reese2023-04-301-1/+1
| | | | | | | | I changed my name last year, and would like to update my name in the acknowledgements and git history accordingly. git-mailmap reference: https://git-scm.com/docs/gitmailmap Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-62432: unittest runner: Exit code 5 if no tests were run (#102051)Stefano Rivera2023-04-271-0/+1
| | | | | | | | As discussed in https://discuss.python.org/t/unittest-fail-if-zero-tests-were-discovered/21498/7 It is common for test runner misconfiguration to fail to find any tests, This should be an error. Fixes: #62432
* GH-103804: Add test for dis.findlinestarts (#103806)Juhi Chandalia2023-04-251-0/+1
|
* gh-103673: Add missing ForkingUnixStreamServer and ForkingUnixDatagramServer ↵jb21702023-04-241-0/+1
| | | | | | | | | | | | | | | | socketservers (#103674) sockserver gains ForkingUnixStreamServer and ForkingUnixDatagramServer classes for consistency with all of the others. Ironically these existed but were buried in our test suite. Addresses #103673 <!-- gh-issue-number: gh-103673 --> * Issue: gh-103673 <!-- /gh-issue-number --> --------- Co-authored-by: Gregory P. Smith <greg@krypto.org> Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* gh-102978: Fix mock.patch function signatures for class and staticmethod ↵Tomas R2023-04-131-0/+1
| | | | | | | decorators (#103228) Fixes unittest.mock.patch not enforcing function signatures for methods decorated with @classmethod or @staticmethod when patch is called with autospec=True.
* gh-103059: Clarify gc.freeze documentation (#103058)raylu2023-04-101-0/+1
|
* gh-86094: Add support for Unicode Path Extra Field in ZipFile (gh-102566)Yeojin Kim2023-04-051-0/+1
|
* gh-66897: Upgrade HTTP CONNECT to protocol HTTP/1.1 (#8305)Michael Handler2023-04-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-22708: Upgrade HTTP CONNECT to protocol HTTP/1.1 (GH-NNNN) Use protocol HTTP/1.1 when sending HTTP CONNECT tunnelling requests; generate Host: headers if one is not already provided (required by HTTP/1.1), convert IDN domains to punycode in HTTP CONNECT requests. * Refactor tests to pass under -bb (fix ByteWarnings); missed some lines >80. * Use consistent 'tunnelling' spelling in Lib/http/client.py * Lib/test/test_httplib: Remove remnant of obsoleted test. * Use dict.copy() not copy.copy() * fix version changed * Update Lib/http/client.py Co-authored-by: bgehman <bgehman@users.noreply.github.com> * Switch to for/else: syntax, as suggested * Don't use for: else: * Sure, fine, w/e * Oops * 1nm to the left --------- Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: bgehman <bgehman@users.noreply.github.com> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
* gh-94440: Fix issue of ProcessPoolExecutor shutdown hanging (#94468)yonatanp2023-03-161-0/+1
| | | | | Fix an issue of concurrent.futures ProcessPoolExecutor shutdown hanging. Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-102356: Add thrashcan macros to filter object dealloc (#102426)Marta Gómez Macías2023-03-051-0/+1
| | | Add thrashcan macros to the deallocator of the filter objects to protect against deeply nested destruction of chains of nested filters.
* gh-101863: Fix wrong comments in EUC-KR codec (gh-102417)Byeongmin Choi2023-03-041-0/+1
|
* gh-101561: Add typing.override decorator (#101564)Steven Troxler2023-02-271-0/+1
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-95675: fix uid and gid at test_add_dir_getmember (gh-102207)SKO2023-02-251-0/+1
| | | Co-authored-by: Seonkyo Ok <seonkyo.ok@linecorp.com>
* gh-81652: Add MAP_ALIGNED_SUPER FreeBSD and MAP_CONCEAL OpenBSD constants ↵Yeojin Kim2023-02-241-0/+1
| | | | (gh-102191)
* gh-95672 fix typo SkitTest to SkipTest (gh-102119)Hyunkyun Moon2023-02-211-0/+1
| | | Co-authored-by: HyunKyun Moon <hyunkyun.moon@linecorp.com>
* gh-101936: Update the default value of fp from io.StringIO to io.BytesIO ↵Vo Hoang Long2023-02-211-0/+1
| | | | | (gh-102100) Co-authored-by: Long Vo <long.vo@linecorp.com>
* gh-101961 fileinput.hookcompressed should not set the encoding value for the ↵Gihwan Kim2023-02-211-0/+1
| | | | binary mode (gh-102068)
* gh-74895: getaddrinfo no longer raises OverflowError (#2435)Radek Smejkal2023-02-141-0/+1
| | | `socket.getaddrinfo()` no longer raises `OverflowError` based on the **port** argument. Error reporting (or not) for its value is left up to the underlying C library `getaddrinfo()` implementation.
* gh-101562: typing: add tests for inheritance with NotRequired & Required in ↵Eclips42023-02-061-0/+1
| | | | parent fields (#101563)
* bpo-33591: Add support for path like objects to `ctypes.CDLL` (#7032)mrh19972023-02-051-0/+1
| | | Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
* GH-88597: Added command line interface to UUID module. (#99463)achhina2023-01-221-0/+1
| | | | | | | | | | | | The `uuid` module now supports command line usage. ```python ❯ ./python.exe -m uuid 5f2d57b1-90e8-417c-ba5d-69b9b6f74289 ❯ ./python.exe -m uuid -h usage: uuid.py [-h] [-u {uuid1,uuid3,uuid4,uuid5}] [-ns NAMESPACE] [-n NAME] ... ```
* gh-88324: Clarify documentation for redirected stdout/stderr when using ↵richardhob2023-01-201-0/+1
| | | | | | | | | | | | subprocess in Linux (#94035) * Update description of stdout, stderr, and stdin. Changes: - Move the ``None`` option (which is default) to the front of the list of input options - Move the ``None`` option description up to make the default behavior more clear (No redirection) - Remove mention of Child File Descriptors from ``None`` option description
* gh-98636: Fix detecting gdbm_compat for _dbm module (#98643)Michał Górny2023-01-111-0/+1
| | | | | | Fix the gdbm_compat library detection logic to actually check for -lgdbm_compat independently of the ndbm detection. This fixes the build failure with `--with-dbmliborder=gdbm`, and implicit fallback to ndbm with the default value.
* gh-95882: fix regression in the traceback of exceptions propagated from ↵Thomas Grainger2023-01-031-0/+1
| | | | inside a contextlib context manager (#95883)
* GH-91054: Add code object watchers API (GH-99859)Itamar Ostricher2022-12-021-0/+2
| | | | | | * Add API to allow extensions to set callback function on creation and destruction of PyCodeObject Co-authored-by: Ye11ow-Flash <janshah@cs.stonybrook.edu>
* gh-84538: add strict argument to pathlib.PurePath.relative_to (GH-19813)domragusa2022-10-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | By default, :meth:`pathlib.PurePath.relative_to` doesn't deal with paths that are not a direct prefix of the other, raising an exception in that instance. This change adds a *walk_up* parameter that can be set to allow for using ``..`` to calculate the relative path. example: ``` >>> p = PurePosixPath('/etc/passwd') >>> p.relative_to('/etc') PurePosixPath('passwd') >>> p.relative_to('/usr') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "pathlib.py", line 940, in relative_to raise ValueError(error_message.format(str(self), str(formatted))) ValueError: '/etc/passwd' does not start with '/usr' >>> p.relative_to('/usr', strict=False) PurePosixPath('../etc/passwd') ``` https://bugs.python.org/issue40358 Automerge-Triggered-By: GH:brettcannon
* gh-95023: Added os.setns and os.unshare functions (#95046)Noam Cohen2022-10-201-0/+1
| | | | | | | | Added os.setns and os.unshare to easily switch between namespaces on Linux. Co-authored-by: Christian Heimes <christian@python.org> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Victor Stinner <vstinner@python.org>
* I changed my surname early this year (#96671)Tshepang Mbambo2022-10-051-1/+1
| | | | | * I recently changed my name * Update ACKS
* gh-97816: Remove unused variables in `mutliprocessing.managers.Server` (#97817)Koki Saito2022-10-041-0/+1
| | | Remove unused local variables.
* gh-96348: Deprecate the 3-arg signature of coroutine.throw and ↵Ofey Chan2022-09-301-0/+1
| | | | generator.throw (GH-96428)
* gh-90467: StreamReaderProtocol - add strong reference to created task (#96323)Kirill2022-08-271-0/+2
|
* GH-96179: Fix misleading example on the bisect documentation (GH-96228)prego2022-08-241-0/+1
| | | | The `movies[bisect(movies, 1960, key=by_year)]` will actually return only movies **after** 1960.
* gh-90536: Add support for the BOLT post-link binary optimizer (gh-95908)Kevin Modzelewski2022-08-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add support for the BOLT post-link binary optimizer Using [bolt](https://github.com/llvm/llvm-project/tree/main/bolt) provides a fairly large speedup without any code or functionality changes. It provides roughly a 1% speedup on pyperformance, and a 4% improvement on the Pyston web macrobenchmarks. It is gated behind an `--enable-bolt` configure arg because not all toolchains and environments are supported. It has been tested on a Linux x86_64 toolchain, using llvm-bolt built from the LLVM 14.0.6 sources (their binary distribution of this version did not include bolt). Compared to [a previous attempt](https://github.com/faster-cpython/ideas/issues/224), this commit uses bolt's preferred "instrumentation" approach, as well as adds some non-PIE flags which enable much better optimizations from bolt. The effects of this change are a bit more dependent on CPU microarchitecture than other changes, since it optimizes i-cache behavior which seems to be a bit more variable between architectures. The 1%/4% numbers were collected on an Intel Skylake CPU, and on an AMD Zen 3 CPU I got a slightly larger speedup (2%/4%), and on a c6i.xlarge EC2 instance I got a slightly lower speedup (1%/3%). The low speedup on pyperformance is not entirely unexpected, because BOLT improves i-cache behavior, and the benchmarks in the pyperformance suite are small and tend to fit in i-cache. This change uses the existing pgo profiling task (`python -m test --pgo`), though I was able to measure about a 1% macrobenchmark improvement by using the macrobenchmarks as the training task. I personally think that both the PGO and BOLT tasks should be updated to use macrobenchmarks, but for the sake of splitting up the work this PR uses the existing pgo task. * Simplify the build flags * Add a NEWS entry * Update Makefile.pre.in Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> * Update configure.ac Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> * Add myself to ACKS * Add docs * Other review comments * fix tab/space issue * Make it more clear that --enable-bolt is experimental * Add link to bolt's github page Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
* gh-95804: Respect MemoryHandler.flushOnClose in logging shutdown. (GH-95857)David Bonner2022-08-101-0/+1
|
* gh-95504: Fix negative numbers in PyUnicode_FromFormat (GH-95848)Petr Viktorin2022-08-101-1/+1
| | | Co-authored-by: philg314 <110174000+philg314@users.noreply.github.com>