summaryrefslogtreecommitdiffstats
path: root/Misc/ACKS
Commit message (Collapse)AuthorAgeFilesLines
* gh-90467: StreamReaderProtocol - add strong reference to created task ↵Miss Islington (bot)2022-08-301-0/+2
| | | | | | | | | (GH-96323) (#96344) (cherry picked from commit e860e521ec0d84e175269aeb15cf24bd6053ad17) Co-authored-by: Kirill <iam@python273.pw> Co-authored-by: Kirill <iam@python273.pw>
* GH-96179: Fix misleading example on the bisect documentation (GH-96228)Miss Islington (bot)2022-08-241-0/+1
| | | | | | The `movies[bisect(movies, 1960, key=by_year)]` will actually return only movies **after** 1960. (cherry picked from commit 4317b25a2323ae4be04574e45de0e335c571c463) Co-authored-by: prego <pedropregueiro@gmail.com>
* gh-95423: Update winreg.DeleteKeyEx documentation and remove dynamic ↵Steve Dower2022-08-031-0/+1
| | | | | function load (GH-95521) Co-authored-by: Derek Kim <ddkim1024@gmail.com>
* gh-79009: sqlite3.iterdump now correctly handles tables with autoincrement ↵Miss Islington (bot)2022-06-191-0/+1
| | | | | | | | (GH-9621) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> (cherry picked from commit affa9f22cfd1e83a5fb413e5ce2feef9ea1a49ac) Co-authored-by: itssme <itssme3000@gmail.com>
* gh-57539: Increase calendar test coverage (GH-93468) (GH-93564)Miss Islington (bot)2022-06-071-0/+1
| | | | | | | | (cherry picked from commit f0d0be3493fc5855eccfe0fbb3f25bf12760041f) Co-authored-by: Sean Fleming Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-93065: Fix HAMT to iterate correctly over 7-level deep trees (GH-93066) ↵Miss Islington (bot)2022-05-241-0/+1
| | | | | | | | | | | | (GH-93145) Also while there, clarify a few things about why we reduce the hash to 32 bits. Co-authored-by: Eli Libman <eli@hyro.ai> Co-authored-by: Yury Selivanov <yury@edgedb.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit c1f5c903a7e4ed27190488f4e33b00d3c3d952e5)
* gh-78157: [Enum] nested classes will not be members in 3.13 (GH-92366)Ethan Furman2022-05-061-0/+1
| | | | | | | - add member() and nonmember() functions - add deprecation warning for internal classes in enums not becoming members in 3.13 Co-authored-by: edwardcwang
* gh-91996: Add an HTTPMethod StrEnum to http (GH-91997)cibofo2022-05-051-0/+1
| | | | | | | * Add HTTPMethod enum to http Create a StrEnum for the 9 common HTTP methods. Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
* bpo-43827: Make arguments to abc.ABCMeta.__new__ pos-only (#25385)Vlad Hoi2022-05-051-0/+1
| | | To avoid conflicts with `__init__subclass__`.
* gh-91928: Add `datetime.UTC` alias for `datetime.timezone.utc` (GH-91973)Kabir Kwatra2022-05-031-0/+1
| | | | | | | | | ### fixes #91928 `UTC` is now module attribute aliased to `datetime.timezone.utc`. You can now do the following: ```python from datetime import UTC ```
* gh-70363: Implement `io.IOBase` interface for `SpooledTemporaryFile` (GH-29560)Carey Metcalfe2022-05-031-0/+1
| | | | | | | | | | | | | | | | Since the underlying file-like objects (either `io.BytesIO`, or a true file object) all implement the `io.IOBase` interface, the `SpooledTemporaryFile` should as well. Additionally, since the underlying file object will either be an instance of an `io.BufferedIOBase` (for binary mode) or an `io.TextIOBase` (for text mode), methods for these classes were also implemented. In every case, the required methods and properties are simply delegated to the underlying file object. Co-authored-by: Gary Fernie <Gary.Fernie@skyscanner.net> Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* bpo-46785: Fix race condition between os.stat() and unlink on Windows (GH-31858)Itai Steinherz2022-05-021-0/+1
|
* Revert "gh-85567: Register a cleanup function to close files for FileType ↵Victor Stinner2022-04-211-1/+0
| | | | | objects in argparse (#32257)" (#91771) This reverts commit 328dbc051f84bd5fdf61101bb4fa61d85f8b7feb.
* gh-85567: Register a cleanup function to close files for FileType objects in ↵achhina2022-04-181-0/+1
| | | | | | | argparse (#32257) * bpo-41395: Register a cleanup function to close files for FileType objects in argparse * Added import as top level import, and renamed file as fh.
* bpo-41233: Add links to errnos referenced in exceptions docs (GH-21380)yyyyyyyan2022-04-051-0/+1
| | | | Co-authored-by: Andrew Kuchling <amk@amk.ca> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* bpo-46484:Add test for Calendar.iterweekdays (GH-30825)1809092022-04-041-0/+1
|
* bpo-14265: Adds fully qualified test name to unittest output (GH-32138)Sam Ezeh2022-03-291-0/+1
| | | Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* bpo-31582: Created a new documentation section describing sys.path ↵Russel Webber2022-03-231-0/+1
| | | | initialization (GH-31082)
* bpo-433030: Add support of atomic grouping in regular expressions (GH-31982)Serhiy Storchaka2022-03-211-0/+1
| | | | | | | | * Atomic grouping: (?>...). * Possessive quantifiers: x++, x*+, x?+, x{m,n}+. Equivalent to (?>x+), (?>x*), (?>x?), (?>x{m,n}). Co-authored-by: Jeffrey C. Jacobs <timehorse@users.sourceforge.net>
* bpo-46421: Fix unittest filename evaluation when called as a module (GH-30654)Bader Zaidan2022-03-171-0/+1
|
* bpo-39829: Fix `__len__()` is called twice in list() constructor (GH-31816)Crowthebird2022-03-141-1/+1
|
* bpo-46581: Propagate private vars via _GenericAlias.copy_with (GH-31061)Matt Bogosian2022-03-101-0/+1
| | | | | | | | | | GH-26091 added the _typevar_types and _paramspec_tvars instance variables to _GenericAlias. However, they were not propagated consistently. This commit addresses the most prominent deficiency identified in bpo-46581 (namely their absence from _GenericAlias.copy_with), but there could be others. Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-43292: Fix file leak in `ET.iterparse()` when not exhausted (GH-31696)Jacob Walls2022-03-071-0/+1
| | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-45735: Promise the long-time truth that `args=list` works (GH-30982)Charlie Zhao2022-02-261-0/+1
| | | | | | For threads, and for multiprocessing, it's always been the case that ``args=list`` works fine when passed to ``Process()`` or ``Thread()``, and such code is common in the wild. But, according to the docs, only a tuple can be used. This brings the docs into synch with reality. Doc changes by Charlie Zhao. Co-authored-by: Tim Peters <tim.peters@gmail.com>
* bpo-39327: Close file descriptors as soon as possible in shutil.rmtree ↵Lital Natan2022-02-201-0/+1
| | | | | | | | | (GH-31384) It fixes the "Text File Busy" OSError when using 'rmtree' on a windows-managed filesystem in via the VirtualBox shared folder (and possible other scenarios like a windows-managed network file system).
* bpo-46333: Honor `module` parameter in ForwardRef (GH-30536)aha792022-02-171-0/+1
| | | | | | | | | The `module` parameter carries semantic information about the forward ref. Forward refs are different if they refer to different module even if they have the same name. This affects the `__eq__`, `__repr__` and `__hash__` methods. Co-authored-by: Andreas Hangauer <andreas.hangauer@siemens.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* bpo-46066: Deprecate kwargs syntax for TypedDict definitions (GH-31126)97littleleaf112022-02-171-0/+1
| | | | | | Closes python/typing#981 https://bugs.python.org/issue46066
* bpo-46730: Add more info to @property AttributeError messages (GH-31311)Alex-Blade2022-02-161-0/+1
| | | On `obj.read_only_property = x`, raise `AttributeError: property 'read_only_property' of 'A' object has no setter`.
* bpo-46407: Optimizing some modulo operations (GH-30653)Crowthebird2022-01-281-0/+1
| | | | | | | Added new internal functions to compute mod without also computing the quotient. The loops can be leaner then, which leads to modestly but reliably faster execution in contexts that know they don't need the quotient. Code by Jeremiah Vivian (Pascual).
* bpo-46434: Handle missing docstrings in pdb help (GH-30705)Tom Sparrow2022-01-211-0/+1
|
* bpo-45554: Document multiprocessing.Process.exitcode values (GH-30142)John Marshall2022-01-181-0/+1
| | | | | This addresses [bpo-45554]() by expanding the `exitcode` documentation to also describe what `exitcode` will be in cases of normal termination, `sys.exit()` called, and on uncaught exceptions. Automerge-Triggered-By: GH:pitrou
* bpo-46297: Fix interpreter crash on startup with multiple PythonPaths set in ↵Daniel2022-01-071-0/+1
| | | | registry (GH-30466)
* bpo-46055: Speed up binary shifting operators (GH-30044)Xinhang Xu2021-12-271-0/+1
| | | Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
* bpo-45917: Add math.exp2() method - return 2 raised to the power of x (GH-29829)Gideon2021-11-291-0/+1
| | | Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
* bpo-44904: Fix classmethod property bug in doctest module (GH-28838)Alex Waygood2021-10-281-0/+1
| | | | | | | | The doctest module raised an error if a docstring contained an example that attempted to access a classmethod property. (Stacking '@classmethod' on top of `@property` has been supported since Python 3.9; see https://docs.python.org/3/howto/descriptor.html#class-methods.) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-45012: Release GIL around stat in os.scandir (GH-28085)Stanisław Skonieczny2021-09-071-0/+1
| | | | | Releasing GIL allows other threads to continue its work when os.scandir is fetching DirEntry.stat info from file system.
* bpo-45034: Fix how upper limit is formatted for `struct.pack("H", ...)` ↵Nikita Sobolev2021-09-071-0/+1
| | | | | | (GH-28178) Co-authored-by: Mark Dickinson <dickinsm@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Update ACKS (GH-27988)Soumendra Ganguly2021-08-271-0/+1
|
* bpo-16580: [doc] Add examples to int.to_bytes and int.from_bytes (GH-27760)Gautam Chaudhuri2021-08-151-0/+1
| | | | | | | | | | * added code equivs. for to_bytes and from_bytes Based on woparry's patch[1] from the relevant issue thread[2]. [1]: https://bugs.python.org/file30372/issue16580.patch [2]: https://bugs.python.org/issue16580 Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
* bpo-26228: Fix pty EOF handling (GH-12049)Zephyr Shannon2021-08-111-0/+1
| | | | | | | | | | On non-Linux POSIX platforms, like FreeBSD or macOS, the FD used to read a forked PTY may signal its exit not by raising an error but by sending empty data to the read syscall. This case wasn't handled, leading to hanging `pty.spawn` calls. Co-authored-by: Reilly Tucker Siemens <reilly@tuckersiemens.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* closes bpo-39091: Fix segfault when Exception constructor returns ↵Noah2021-08-031-0/+1
| | | | | non-exception for gen.throw. (#17658) Co-authored-by: Benjamin Peterson <benjamin@python.org>
* bpo-44792: Improve syntax errors for if expressions (GH-27506)Miguel Brito2021-08-021-0/+1
|
* bpo-44666: Use default encoding as fallback for compile_file (GH-27236)Stefan Hoelzl2021-07-301-0/+1
| | | | | | | When sys.stdout.encoding is None compile_file will fall back to sys.getdefaultencoding to encode/decode error messages. Co-authored-by: Stefan Hoelzl <stefan.hoelzl@posteo.de> Co-authored-by: Mickaël Schoentgen <contact@tiger-222.fr>
* [Enum] improve test, add andrei kulakov to ACKS (GH-26726)Ethan Furman2021-06-151-0/+1
|
* bpo-44357:Add `math.cbrt()` function: Cube Root (GH-26622)Ajith Ramachandran2021-06-101-0/+1
| | | | | | * Add math.cbrt() function: Cube Root Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
* Add bpo-42914 to What's New (GH-25124)Wm. Keith van der Meulen2021-06-031-0/+1
| | | | | BPO-42914 was not added to the What's New in #24864. This includes it in the "Improved Modules" section. Automerge-Triggered-By: GH:gpshead
* bpo-43558: Add note about base class initialization to dataclasses doc ↵dhoekstra20002021-05-101-0/+1
| | | | (GH-25967)
* bpo-44059: Register the SerenityOS Browser in the webbrowser module (GH-25947)Linus Groh2021-05-061-0/+1
| | | Automerge-Triggered-By: GH:gpshead
* bpo-32822: Add finally with return/break/continue to the tutorial (#25600)Roberto Hueso2021-05-041-0/+1
| | | | | This documents in the tutorial docs the behavior of a finally clause in case it should re-raise an exception but contains a return/break/continue statement.
* bpo-41100: Update Misc/ACKS (GH-25808)Ned Deily2021-05-021-0/+4
|