Samodya Abeysiriwardane
74039330f2
Fix contributor name in WhatsNew 3.11 (GH-93556)
2022-06-07 12:05:00 +08:00
AN Long
3256b178ed
bpo-42658: Use LCMapStringEx in ntpath.normcase to match OS behaviour for case-folding (GH-32010)
2022-06-07 00:47:27 +01:00
Erlend Egeberg Aasland
bb0b768946
gh-89018: Improve documentation of `sqlite3` exceptions ( #27645 )
...
- Order exceptions as in PEP 249
- Reword descriptions, so they match the current behaviour
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-06-06 23:47:15 +02:00
Illia Volochii
d1e2e0e1b2
gh-93475: Expose FICLONE and FICLONERANGE constants in fcntl ( #93478 )
2022-06-06 23:21:58 +02:00
Thomas Grainger
46fde1feb5
[docs] fix some asyncio.Barrier.wait docs grammar (GH-93552)
2022-06-06 20:10:42 +02:00
Thomas Grainger
71c8f96971
Remove action=None kwarg from Barrier docs (GH-93538)
2022-06-06 19:28:05 +02:00
Christian Heimes
22fed605e0
gh-90473: Make chmod a dummy on WASI, skip chmod tests (GH-93534)
...
WASI does not have the ``chmod(2)`` syscall yet.
2022-06-06 19:24:11 +02:00
Stanley
56b5daf159
gh-83728: Add hmac.new default parameter deprecation (GH-91939)
2022-06-06 18:47:40 +02:00
Omer Katz
8584981a58
asyncio.Barrier docs: Fix typo ( #93371 )
...
taks -> tasks
2022-06-06 07:39:51 -07:00
Christian Heimes
80a39daecd
gh-90473: Skip POSIX tests that don't apply to WASI (GH-93536)
2022-06-06 16:31:59 +02:00
Hugo van Kemenade
86a5e22dfe
GH-92308 What's New: list pending removals in 3.13 and future versions ( #92562 )
2022-06-06 12:12:03 +02:00
Christian Heimes
4c71d22c4f
gh-90473: WASI requires proper open(2) flags (GH-93529)
2022-06-06 12:08:07 +02:00
Cyker Way
9081bbd036
gh-93247: Fix assert function in asyncio locks test ( #93248 )
2022-06-05 18:19:18 -07:00
Dennis Sweeney
4082c8e298
Document LOAD_FAST_CHECK opcode ( #93498 )
2022-06-05 11:24:09 -04:00
Serhiy Storchaka
0902c3d8ed
gh-89973: Fix re.error in the fnmatch module. (GH-93072)
...
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.
2022-06-05 11:46:29 +03:00
Christian Heimes
6f8367d348
gh-90473: wasmtime does not support absolute symlinks (GH-93490)
2022-06-05 09:59:47 +02:00
Neil Schemenauer
713eb184b5
gh-93442: Add test for _Py_CAST(nullptr). (gh-93505)
2022-06-05 12:53:16 +09:00
Neil Schemenauer
8bcc3fa345
gh-93442: Make C++ version of _Py_CAST work with 0/NULL. ( #93500 )
...
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
2022-06-04 18:49:39 -07:00
Colin Delahunty
3d647e70cf
[doc] Correct a grammatical error in a docstring. (GH-93441)
2022-06-04 17:42:08 +01:00
Mark Dickinson
e12f34b6d8
Fix missing word in sys.float_info docstring (GH-93489)
2022-06-04 17:28:14 +01:00
jackh-ncl
8150b8cf7f
gh-92886: Fix test that fails when running with `-O` in `test_imaplib.py` ( #93237 )
2022-06-03 20:15:58 -07:00
Ulises Ojeda
3284f86b51
netrc: Remove unused "import shlex" ( #93311 )
2022-06-03 20:14:58 -07:00
Irit Katriel
1713ff09d6
GH-93444: remove redundant fields from basicblock: b_nofallthrough, b_exit, b_return (GH-93445)
2022-06-03 22:43:22 +01:00
Barney Gale
f32e6b48d1
gh-93156 - fix negative indexing into absolute `pathlib.PurePath().parents` (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.
2022-06-03 14:33:20 -07:00
Christian Heimes
1a8a0ddb1c
gh-84461: Skip dtrace/network tests that are enabled by -u all (GH-93473)
2022-06-03 22:14:31 +02:00
Ken Jin
d52ffc1d1f
gh-93382: Cache result of `PyCode_GetCode` in codeobject (GH-93383)
...
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
2022-06-04 00:41:18 +08:00
Victor Stinner
d8f40ead92
test.pythoninfo: Fix typo, Py_REF_DEBUG => Py_TRACE_REFS ( #93467 )
2022-06-03 15:46:41 +02:00
Ken Jin
debf4c1ec5
gh-93433: Fix dis doc example output (GH-93434)
2022-06-03 18:02:58 +08:00
Petr Viktorin
b9509ba7a9
gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993)
2022-06-03 11:43:35 +02:00
Pieter Eendebak
5a80e8580e
remove redundant argument to log_helper (GH-93440)
2022-06-03 08:40:05 +01:00
Dong-hee Na
b013804134
gh-92932: dis._unpack_opargs should handle EXTENDED_ARG_QUICK (gh-92945)
2022-06-03 11:29:27 +09:00
Victor Stinner
941d7054c1
gh-91320: Fix more old-style cast warnings in C++ ( #93285 )
...
Use _PyObject_CAST() in the public C API to fix C++ compiler
warnings: "use of old-style cast" (clang -Wold-style-cast).
2022-06-03 00:59:57 +02:00
Christian Heimes
069c96f84c
gh-90473: Skip and document more failing tests on WASI (GH-93436)
...
- Mark more ``umask()`` cases
- ``dup()`` is not supported
- ``/dev/null`` is not available
- document missing features
- mark more modules as not available
2022-06-03 00:44:48 +02:00
Irit Katriel
94b1586ca5
gh-93356: Lay out exception handling code at end of code unit (GH-92769)
2022-06-02 14:13:43 +01:00
Christian Heimes
af5bb1fba4
gh-84461: Skip new async logging tests on Emscripten (GH-93427)
2022-06-02 09:35:06 +02:00
Eric V. Smith
ee70c70aa9
gh-93418: Fix an assert when an f-string expression is followed by an '=', but no closing brace. (gh-93419)
2022-06-01 19:20:06 -04:00
Pablo Galindo Salgado
8a221a8537
gh-92597: Improve error message for AST nodes with invalid ranges (GH-93398)
2022-06-01 13:51:17 +01:00
Éric
8aa9d40b00
gh-90300: split --help output into separate options ( #30331 )
...
Make --help output shorter and add new help options.
--help-env, --help-xoptions and --help-all command-line options are
added to complement --help.
2022-06-01 05:50:01 -04:00
Vinay Sajip
132e563703
[doc] Improve discoverability of links between logging documents. (GH-93405)
2022-06-01 08:29:13 +01:00
Ezio Melotti
5247389369
Remove the execution bit to some socket-related files. ( #93368 )
2022-06-01 09:11:46 +02:00
Wei-Ting Yang
e7aab7c92a
gh-93372: Fix typo in os.rename documentation (GH-93401)
2022-06-01 09:54:31 +03:00
Noah Kantrowitz
8241a6971e
📝 Make sure the phrase "constant-time compare" actually appears in the docs (GH-93396)
...
This is purely for SEO as this is the actual generic name for this kind of method and it currently does not appear in a Google search for "python constant time compare". Not creating an issue or setting this up for backports as its trivial (I think) and not a functional change.
2022-05-31 18:35:28 -07:00
Pablo Galindo Salgado
705eaec28f
gh-92597: Ensure that AST nodes without explicit end positions can be compiled (GH-93359)
2022-06-01 00:00:47 +01:00
ynfle
fc694364cc
gh-93391: fix typo in `array` docs (GH-93392)
...
Fixes #93391
Automerge-Triggered-By: GH:rhettinger
2022-05-31 14:52:03 -07:00
Moshe Kaplan
e6e81602f4
[doc] logging.rst - Change link to point directly to the Google Group. (GH-93390)
2022-05-31 22:46:52 +01:00
Dennis Sweeney
f425f3bb27
gh-93143: Avoid NULL check in LOAD_FAST based on analysis in the compiler (GH-93144)
2022-05-31 16:32:30 -04:00
Christian Heimes
8a5e3c2ec6
gh-69093: Fix Setup.local.in rule for _sqlite3 (GH-93380)
2022-05-31 21:23:49 +02:00
Serhiy Storchaka
07df8d5b2c
gh-93283: Improve error message for f-string with invalid conversion character (GH-93349)
2022-05-31 20:38:29 +03:00
Carl Bordum Hansen
bb900712a5
Remove VOC reference (93333)
...
VOC has been archived by the BeeWare project, and they are instead
embedding CPython, rather than transpiling to Java bytecode.
2022-05-31 10:29:21 -07:00
Mark Shannon
eb618d5ff0
GH-93354: Use exponential backoff to avoid excessive specialization attempts. (GH-93355)
2022-05-31 11:58:26 +01:00