summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gh-87961: Remove outdated notes from functions that aren't in the Limited ↵Petr Viktorin2022-06-083-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 Heimes2022-06-082-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 Aasland2022-06-083-8/+22
|
* GH-93521: For dataclasses, filter out `__weakref__` slot if present in bases ↵Bluenix2022-06-083-4/+61
| | | | (GH-93535)
* gh-93370: Deprecate sqlite3.version and sqlite3.version_info (#93482)Kalyan2022-06-077-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 Katriel2022-06-071-2/+7
|
* Fix `PurePath.relative_to` links in the pathlib documentation. (GH-93268)jacksonriley2022-06-071-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 Badaracco2022-06-075-13/+117
|
* gh-84461: Emscripten's faccessat() does not accept flags (GHß92353)Christian Heimes2022-06-071-0/+3
|
* gh-93162: test_config_queue_handler requires threading (GH-93572)Christian Heimes2022-06-071-0/+1
|
* Fix MSVC compiler warnings in ceval.c (#93569)Ken Jin2022-06-071-2/+2
|
* Shrink the LOAD_METHOD cache by one codeunit. (#93537)Mark Shannon2022-06-078-18/+12
|
* gh-88831: In docs for asyncio.create_task, explain why strong references to ↵Andreas Grommek2022-06-072-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 Kemenade2022-06-073-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 Sajip2022-06-078-31/+325
| | | | | | | (GH-93269) Also, provide getHandlerByName() and getHandlerNames() APIs. Closes #93162.
* gh-79096: Protect cookie file created by {LWP,Mozilla}CookieJar.save() ↵Pascal Wittmann2022-06-073-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 Rizzo2022-06-072-1/+2
|
* Grammar fix to socket error string (GH-93523)Evorage2022-06-071-1/+1
|
* Fix contributor name in WhatsNew 3.11 (GH-93556)Samodya Abeysiriwardane2022-06-071-1/+1
|
* bpo-42658: Use LCMapStringEx in ntpath.normcase to match OS behaviour for ↵AN Long2022-06-065-9/+138
| | | | case-folding (GH-32010)
* gh-89018: Improve documentation of `sqlite3` exceptions (#27645)Erlend Egeberg Aasland2022-06-061-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 Volochii2022-06-066-2/+24
|
* [docs] fix some asyncio.Barrier.wait docs grammar (GH-93552)Thomas Grainger2022-06-061-2/+2
|
* Remove action=None kwarg from Barrier docs (GH-93538)Thomas Grainger2022-06-061-1/+1
|
* gh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534)Christian Heimes2022-06-0620-5/+81
| | | WASI does not have the ``chmod(2)`` syscall yet.
* gh-83728: Add hmac.new default parameter deprecation (GH-91939)Stanley2022-06-061-0/+2
|
* asyncio.Barrier docs: Fix typo (#93371)Omer Katz2022-06-061-1/+1
| | | taks -> tasks
* gh-90473: Skip POSIX tests that don't apply to WASI (GH-93536)Christian Heimes2022-06-061-2/+9
|
* GH-92308 What's New: list pending removals in 3.13 and future versions (#92562)Hugo van Kemenade2022-06-061-0/+55
|
* gh-90473: WASI requires proper open(2) flags (GH-93529)Christian Heimes2022-06-063-2/+9
|
* gh-93247: Fix assert function in asyncio locks test (#93248)Cyker Way2022-06-061-1/+1
|
* Document LOAD_FAST_CHECK opcode (#93498)Dennis Sweeney2022-06-051-0/+11
|
* gh-89973: Fix re.error in the fnmatch module. (GH-93072)Serhiy Storchaka2022-06-053-7/+140
| | | | | | Character ranges with upper bound less that lower bound (e.g. [c-a]) are now interpreted as empty ranges, for compatibility with other glob pattern implementations. Previously it was re.error.
* gh-90473: wasmtime does not support absolute symlinks (GH-93490)Christian Heimes2022-06-055-23/+20
|
* gh-93442: Add test for _Py_CAST(nullptr). (gh-93505)Neil Schemenauer2022-06-051-0/+3
|
* gh-93442: Make C++ version of _Py_CAST work with 0/NULL. (#93500)Neil Schemenauer2022-06-053-0/+21
| | | | | | | | | | | | Add C++ overloads for _Py_CAST_impl() to handle 0/NULL. This will allow C++ extensions that pass 0 or NULL to macros using _Py_CAST() to continue to compile. Without this, you get an error like: invalid ‘static_cast’ from type ‘int’ to type ‘_object*’ The modern way to use a NULL value in C++ is to use nullptr. However, we want to not break extensions that do things the old way. Co-authored-by: serge-sans-paille
* [doc] Correct a grammatical error in a docstring. (GH-93441)Colin Delahunty2022-06-041-1/+1
|
* Fix missing word in sys.float_info docstring (GH-93489)Mark Dickinson2022-06-041-1/+1
|
* gh-92886: Fix test that fails when running with `-O` in `test_imaplib.py` ↵jackh-ncl2022-06-042-0/+2
| | | | (#93237)
* netrc: Remove unused "import shlex" (#93311)Ulises Ojeda2022-06-041-1/+1
|
* GH-93444: remove redundant fields from basicblock: b_nofallthrough, b_exit, ↵Irit Katriel2022-06-032-78/+75
| | | | b_return (GH-93445)
* gh-93156 - fix negative indexing into absolute `pathlib.PurePath().parents` ↵Barney Gale2022-06-033-0/+9
| | | | | | | | | | | (GH-93273) When a `_PathParents` object has a drive or a root, the length of the object is *one less* than than the length of `self._parts`, which resulted in an off-by-one error when `path.parents[-n]` was fed through to `self._parts[:-n - 1]`. In particular, `path.parents[-1]` was a malformed path object with spooky properties. This is addressed by adding `len(self)` to negative indices.
* gh-84461: Skip dtrace/network tests that are enabled by -u all (GH-93473)Christian Heimes2022-06-032-0/+7
|
* gh-93382: Cache result of `PyCode_GetCode` in codeobject (GH-93383)Ken Jin2022-06-035-4/+21
| | | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
* test.pythoninfo: Fix typo, Py_REF_DEBUG => Py_TRACE_REFS (#93467)Victor Stinner2022-06-031-1/+1
|
* gh-93433: Fix dis doc example output (GH-93434)Ken Jin2022-06-031-10/+18
|
* gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993)Petr Viktorin2022-06-034-4/+46
|
* remove redundant argument to log_helper (GH-93440)Pieter Eendebak2022-06-031-5/+5
|
* gh-92932: dis._unpack_opargs should handle EXTENDED_ARG_QUICK (gh-92945)Dong-hee Na2022-06-033-1/+25
|
* gh-91320: Fix more old-style cast warnings in C++ (#93285)Victor Stinner2022-06-023-4/+4
| | | | Use _PyObject_CAST() in the public C API to fix C++ compiler warnings: "use of old-style cast" (clang -Wold-style-cast).