Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-90153: whatsnew: "z" option in format spec (GH-93624) | John Belmonte | 2022-06-11 | 1 | -0/+3 |
| | | | Add what's new entry for PEP 682 in Python 3.11. | ||||
* | gh-90473: Skip test_queue when threading is not available (GH-93712) | Christian Heimes | 2022-06-11 | 1 | -3/+2 |
| | |||||
* | gh-84461: Use HOSTRUNNER to run regression tests (GH-93694) | Christian Heimes | 2022-06-11 | 4 | -6/+55 |
| | | | Co-authored-by: Brett Cannon <brett@python.org> | ||||
* | gh-92930: _pickle.c: Acquire strong references before calling save() (GH-92931) | Dennis Sweeney | 2022-06-11 | 3 | -11/+98 |
| | |||||
* | gh-92886: Fix tests that fail when running with optimizations (`-O`) in ↵ | jackh-ncl | 2022-06-10 | 2 | -1/+5 |
| | | | | `test_zipimport.py` (GH-93236) | ||||
* | gh-91317: Document that Path does not collapse initial `//` (GH-32193) | Oleg Iarygin | 2022-06-10 | 2 | -3/+32 |
| | | | | | | | | | | | | | | Documentation for `pathlib` says: > Spurious slashes and single dots are collapsed, but double dots ('..') are not, since this would change the meaning of a path in the face of symbolic links: However, it omits that initial double slashes also aren't collapsed. Later, in documentation of `PurePath.drive`, `PurePath.root`, and `PurePath.name` it mentions UNC but: - this abbreviation says nothing to a person who is unaware about existence of UNC (Wikipedia doesn't help either by [giving a disambiguation page](https://en.wikipedia.org/wiki/UNC)) - it shows up only if a person needs to use a specific property or decides to fully learn what the module provides. For context, see the BPO entry. | ||||
* | gh-93461: Invalidate sys.path_importer_cache entries with relative paths ↵ | Christian Heimes | 2022-06-10 | 5 | -14/+36 |
| | | | | (GH-93653) | ||||
* | GH-93621: reorder code in with/async-with exception exit path to reduce the ↵ | Irit Katriel | 2022-06-10 | 3 | -15/+173 |
| | | | | size of the exception table (GH-93622) | ||||
* | gh-81790: support "UNC" device paths in `ntpath.splitdrive()` (GH-91882) | Barney Gale | 2022-06-10 | 5 | -66/+39 |
| | |||||
* | gh-93671: Avoid exponential backtracking in deeply nested sequence patterns ↵ | Pablo Galindo Salgado | 2022-06-10 | 4 | -3/+36 |
| | | | | | in match statements (GH-93680) Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | gh-93466: Document PyType_Spec doesn't accept repeated slot IDs; raise where ↵ | Petr Viktorin | 2022-06-10 | 5 | -2/+84 |
| | | | | this was problematic (GH-93471) | ||||
* | gh-93491: Add support tier detection to configure (GH-93492) | Christian Heimes | 2022-06-10 | 5 | -1/+196 |
| | | | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Steve Dower <steve.dower@microsoft.com> Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> | ||||
* | gh-90763: Modernise xx template module initialisation (#93078) | Erlend Egeberg Aasland | 2022-06-10 | 2 | -43/+54 |
| | | | | Use C APIs such as PyModule_AddType instead of PyModule_AddObject. Also remove incorrect module decrefs if module fails to initialise. | ||||
* | gh-92434: Silence compiler warning in Modules/_sqlite/connection.c on 32-bit ↵ | neonene | 2022-06-10 | 1 | -1/+1 |
| | | | | systems (#93090) | ||||
* | gh-90549: Fix leak of global named resources using multiprocessing spawn ↵ | Leo Trol | 2022-06-09 | 4 | -2/+54 |
| | | | | | | (#30617) Co-authored-by: XD Trol <milestonejxd@gmail.com> Co-authored-by: Antoine Pitrou <pitrou@free.fr> | ||||
* | gh-90473: Skip get_config_h() tests on WASI (GH-93645) | Christian Heimes | 2022-06-09 | 2 | -2/+7 |
| | |||||
* | gh-90473: disable user site packages on WASI/Emscripten (GH-93633) | Christian Heimes | 2022-06-09 | 3 | -4/+6 |
| | |||||
* | Improve logging documentation with example and additional cookbook re… ↵ | Vinay Sajip | 2022-06-09 | 2 | -2/+99 |
| | | | | (GH-93644) | ||||
* | bpo-45383: Get metaclass from bases in PyType_From* (GH-28748) | Sebastian Berg | 2022-06-09 | 4 | -97/+323 |
| | | | | | | | | | This checks the bases of of a type created using the FromSpec API to inherit the bases metaclasses. The metaclass's alloc function will be called as is done in `tp_new` for classes created in Python. Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> | ||||
* | Doc: Update references and examples of old, unsupported OSes and uarches ↵ | CAM Gerlach | 2022-06-09 | 7 | -18/+29 |
| | | | | (GH-92791) | ||||
* | gh-90494: Reject 6th element of the __reduce__() tuple (GH-93609) | Serhiy Storchaka | 2022-06-09 | 4 | -2/+27 |
| | | | | | copy.copy() and copy.deepcopy() now always raise a TypeError if __reduce__() returns a tuple with length 6 instead of silently ignore the 6th item or produce incorrect result. | ||||
* | gh-93616: Fix env changed issue in test_modulefinder (GH-93617) | Christian Heimes | 2022-06-09 | 2 | -37/+40 |
| | |||||
* | gh-79096: Fix/improve http cookiejar tests (GH-93614) | Christian Heimes | 2022-06-08 | 1 | -18/+14 |
| | | | | | | | | Fixup of GH-93463: - remove stray print - use proper way to check file mode - add working chmod decorator Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | gh-90473: Define HOSTRUNNER for WASI (GH-93606) | Christian Heimes | 2022-06-08 | 2 | -0/+6 |
| | |||||
* | gh-93575: Use correct way to calculate PyUnicode struct sizes (GH-93602) | Christian Heimes | 2022-06-08 | 3 | -5/+23 |
| | | | | | | | * gh-93575: Use correct way to calculate PyUnicode struct sizes * Add comment to keep test_sys and test_unicode in sync * Fix case code < 256 | ||||
* | gh-93180: Update os.copy_file_range() documentation (#93182) | Illia Volochii | 2022-06-08 | 1 | -3/+17 |
| | |||||
* | gh-87961: Remove outdated notes from functions that aren't in the Limited ↵ | Petr Viktorin | 2022-06-08 | 3 | -26/+0 |
| | | | | | | | | | | | | API (GH-93581) * Remove outdated notes from functions that aren't in the Limited API Nowadays everything that *is* in the Limited API has a note added automatically. These notes could mislead people to think that these functions could never be added to the limited API. Remove them. * Also remove forgotten note on tp_vectorcall_offset not being finalized | ||||
* | gh-93584: Make all install+tests targets depends on all (GH-93589) | Christian Heimes | 2022-06-08 | 2 | -12/+18 |
| | | | | | | | | All install targets use the "all" target as synchronization point to prevent race conditions with PGO builds. PGO builds use recursive make, which can lead to two parallel `./python setup.py build` processes that step on each others toes. "test" targets now correctly compile PGO build in a clean repo. | ||||
* | gh-93421: Update sqlite3 cursor.rowcount only after SQLITE_DONE (#93526) | Erlend Egeberg Aasland | 2022-06-08 | 3 | -8/+22 |
| | |||||
* | GH-93521: For dataclasses, filter out `__weakref__` slot if present in bases ↵ | Bluenix | 2022-06-08 | 3 | -4/+61 |
| | | | | (GH-93535) | ||||
* | gh-93370: Deprecate sqlite3.version and sqlite3.version_info (#93482) | Kalyan | 2022-06-07 | 7 | -2/+50 |
| | | | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> | ||||
* | GH-93481: Suppress expected deprecation warning in test_pyclbr (GH-93483) | Irit Katriel | 2022-06-07 | 1 | -2/+7 |
| | |||||
* | Fix `PurePath.relative_to` links in the pathlib documentation. (GH-93268) | jacksonriley | 2022-06-07 | 1 | -2/+2 |
| | | | These are currently broken as they refer to :meth:`Path.relative_to` rather than :meth:`PurePath.relative_to`, and `relative_to` is a method on `PurePath`. | ||||
* | gh-92592: Allow logging filters to return a LogRecord. (GH-92591) | Adrian Garcia Badaracco | 2022-06-07 | 5 | -13/+117 |
| | |||||
* | gh-84461: Emscripten's faccessat() does not accept flags (GHß92353) | Christian Heimes | 2022-06-07 | 1 | -0/+3 |
| | |||||
* | gh-93162: test_config_queue_handler requires threading (GH-93572) | Christian Heimes | 2022-06-07 | 1 | -0/+1 |
| | |||||
* | Fix MSVC compiler warnings in ceval.c (#93569) | Ken Jin | 2022-06-07 | 1 | -2/+2 |
| | |||||
* | Shrink the LOAD_METHOD cache by one codeunit. (#93537) | Mark Shannon | 2022-06-07 | 8 | -18/+12 |
| | |||||
* | gh-88831: In docs for asyncio.create_task, explain why strong references to ↵ | Andreas Grommek | 2022-06-07 | 2 | -1/+19 |
| | | | | | tasks are needed (GH-93258) Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | gh-57539: Increase calendar test coverage (GH-93468) | Hugo van Kemenade | 2022-06-07 | 3 | -0/+15 |
| | | | | | 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> | ||||
* | gh-93162: Add ability to configure QueueHandler/QueueListener together ↵ | Vinay Sajip | 2022-06-07 | 8 | -31/+325 |
| | | | | | | | (GH-93269) Also, provide getHandlerByName() and getHandlerNames() APIs. Closes #93162. | ||||
* | gh-79096: Protect cookie file created by {LWP,Mozilla}CookieJar.save() ↵ | Pascal Wittmann | 2022-06-07 | 3 | -2/+34 |
| | | | | | | | | | | | | | | | | | | | (GH-93463) Note: This change is not effective on Microsoft Windows. Cookies can store sensitive information and should therefore be protected against unauthorized third parties. This is also described in issue #79096. The filesystem permissions are currently set to 644, everyone can read the file. This commit changes the permissions to 600, only the creater of the file can read and modify it. This improves security, because it reduces the attack surface. Now the attacker needs control of the user that created the cookie or a ways to circumvent the filesystems permissions. This change is backwards incompatible. Systems that rely on world-readable cookies will breake. However, one could argue that those are misconfigured in the first place. | ||||
* | gh-86986: bump min sphinx version to 3.2 (GH-93337) | Davide Rizzo | 2022-06-07 | 2 | -1/+2 |
| | |||||
* | Grammar fix to socket error string (GH-93523) | Evorage | 2022-06-07 | 1 | -1/+1 |
| | |||||
* | Fix contributor name in WhatsNew 3.11 (GH-93556) | Samodya Abeysiriwardane | 2022-06-07 | 1 | -1/+1 |
| | |||||
* | bpo-42658: Use LCMapStringEx in ntpath.normcase to match OS behaviour for ↵ | AN Long | 2022-06-06 | 5 | -9/+138 |
| | | | | case-folding (GH-32010) | ||||
* | gh-89018: Improve documentation of `sqlite3` exceptions (#27645) | Erlend Egeberg Aasland | 2022-06-06 | 1 | -19/+51 |
| | | | | | | - Order exceptions as in PEP 249 - Reword descriptions, so they match the current behaviour Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-93475: Expose FICLONE and FICLONERANGE constants in fcntl (#93478) | Illia Volochii | 2022-06-06 | 6 | -2/+24 |
| | |||||
* | [docs] fix some asyncio.Barrier.wait docs grammar (GH-93552) | Thomas Grainger | 2022-06-06 | 1 | -2/+2 |
| | |||||
* | Remove action=None kwarg from Barrier docs (GH-93538) | Thomas Grainger | 2022-06-06 | 1 | -1/+1 |
| |