Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | gh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534) | Christian Heimes | 2022-06-06 | 20 | -5/+81 |
| | | | WASI does not have the ``chmod(2)`` syscall yet. | ||||
* | gh-83728: Add hmac.new default parameter deprecation (GH-91939) | Stanley | 2022-06-06 | 1 | -0/+2 |
| | |||||
* | asyncio.Barrier docs: Fix typo (#93371) | Omer Katz | 2022-06-06 | 1 | -1/+1 |
| | | | taks -> tasks | ||||
* | gh-90473: Skip POSIX tests that don't apply to WASI (GH-93536) | Christian Heimes | 2022-06-06 | 1 | -2/+9 |
| | |||||
* | GH-92308 What's New: list pending removals in 3.13 and future versions (#92562) | Hugo van Kemenade | 2022-06-06 | 1 | -0/+55 |
| | |||||
* | gh-90473: WASI requires proper open(2) flags (GH-93529) | Christian Heimes | 2022-06-06 | 3 | -2/+9 |
| | |||||
* | gh-93247: Fix assert function in asyncio locks test (#93248) | Cyker Way | 2022-06-06 | 1 | -1/+1 |
| | |||||
* | Document LOAD_FAST_CHECK opcode (#93498) | Dennis Sweeney | 2022-06-05 | 1 | -0/+11 |
| | |||||
* | gh-89973: Fix re.error in the fnmatch module. (GH-93072) | Serhiy Storchaka | 2022-06-05 | 3 | -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 Heimes | 2022-06-05 | 5 | -23/+20 |
| | |||||
* | gh-93442: Add test for _Py_CAST(nullptr). (gh-93505) | Neil Schemenauer | 2022-06-05 | 1 | -0/+3 |
| | |||||
* | gh-93442: Make C++ version of _Py_CAST work with 0/NULL. (#93500) | Neil Schemenauer | 2022-06-05 | 3 | -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 Delahunty | 2022-06-04 | 1 | -1/+1 |
| | |||||
* | Fix missing word in sys.float_info docstring (GH-93489) | Mark Dickinson | 2022-06-04 | 1 | -1/+1 |
| | |||||
* | gh-92886: Fix test that fails when running with `-O` in `test_imaplib.py` ↵ | jackh-ncl | 2022-06-04 | 2 | -0/+2 |
| | | | | (#93237) | ||||
* | netrc: Remove unused "import shlex" (#93311) | Ulises Ojeda | 2022-06-04 | 1 | -1/+1 |
| | |||||
* | GH-93444: remove redundant fields from basicblock: b_nofallthrough, b_exit, ↵ | Irit Katriel | 2022-06-03 | 2 | -78/+75 |
| | | | | b_return (GH-93445) | ||||
* | gh-93156 - fix negative indexing into absolute `pathlib.PurePath().parents` ↵ | Barney Gale | 2022-06-03 | 3 | -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 Heimes | 2022-06-03 | 2 | -0/+7 |
| | |||||
* | gh-93382: Cache result of `PyCode_GetCode` in codeobject (GH-93383) | Ken Jin | 2022-06-03 | 5 | -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 Stinner | 2022-06-03 | 1 | -1/+1 |
| | |||||
* | gh-93433: Fix dis doc example output (GH-93434) | Ken Jin | 2022-06-03 | 1 | -10/+18 |
| | |||||
* | gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993) | Petr Viktorin | 2022-06-03 | 4 | -4/+46 |
| | |||||
* | remove redundant argument to log_helper (GH-93440) | Pieter Eendebak | 2022-06-03 | 1 | -5/+5 |
| | |||||
* | gh-92932: dis._unpack_opargs should handle EXTENDED_ARG_QUICK (gh-92945) | Dong-hee Na | 2022-06-03 | 3 | -1/+25 |
| | |||||
* | gh-91320: Fix more old-style cast warnings in C++ (#93285) | Victor Stinner | 2022-06-02 | 3 | -4/+4 |
| | | | | Use _PyObject_CAST() in the public C API to fix C++ compiler warnings: "use of old-style cast" (clang -Wold-style-cast). |