Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | 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 |
| |