forked from python/cpython
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into pythongh-104114-windowspath-literal-pattern-…
…case
- Loading branch information
Showing
24 changed files
with
351 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
// Auto-generated by Tools/build/generate_opcode_h.py from Lib/opcode.py | ||
|
||
/* Unary Functions: */ | ||
#define INTRINSIC_1_INVALID 0 | ||
#define INTRINSIC_PRINT 1 | ||
#define INTRINSIC_IMPORT_STAR 2 | ||
#define INTRINSIC_STOPITERATION_ERROR 3 | ||
#define INTRINSIC_ASYNC_GEN_WRAP 4 | ||
#define INTRINSIC_UNARY_POSITIVE 5 | ||
#define INTRINSIC_LIST_TO_TUPLE 6 | ||
|
||
#define INTRINSIC_PRINT 1 | ||
#define INTRINSIC_IMPORT_STAR 2 | ||
#define INTRINSIC_STOPITERATION_ERROR 3 | ||
#define INTRINSIC_ASYNC_GEN_WRAP 4 | ||
#define INTRINSIC_UNARY_POSITIVE 5 | ||
#define INTRINSIC_LIST_TO_TUPLE 6 | ||
|
||
#define MAX_INTRINSIC_1 6 | ||
#define MAX_INTRINSIC_1 6 | ||
|
||
|
||
/* Binary Functions: */ | ||
#define INTRINSIC_2_INVALID 0 | ||
#define INTRINSIC_PREP_RERAISE_STAR 1 | ||
|
||
#define INTRINSIC_PREP_RERAISE_STAR 1 | ||
|
||
#define MAX_INTRINSIC_2 1 | ||
|
||
#define MAX_INTRINSIC_2 1 | ||
|
||
typedef PyObject *(*instrinsic_func1)(PyThreadState* tstate, PyObject *value); | ||
typedef PyObject *(*instrinsic_func2)(PyThreadState* tstate, PyObject *value1, PyObject *value2); | ||
|
||
extern const instrinsic_func1 _PyIntrinsics_UnaryFunctions[]; | ||
extern const instrinsic_func2 _PyIntrinsics_BinaryFunctions[]; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
Misc/NEWS.d/next/C API/2023-05-02-21-05-54.gh-issue-104109.0tnDZV.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
We've added ``Py_NewInterpreterFromConfig()`` and ``PyInterpreterConfig`` to | ||
the public C-API (but not the stable ABI; not yet at least). The new | ||
function may be used to create a new interpreter with various features | ||
configured. The function was added to support PEP 684 (per-interpreter | ||
GIL). |
5 changes: 5 additions & 0 deletions
5
Misc/NEWS.d/next/Library/2021-11-19-23-37-18.bpo-45606.UW5XE1.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Fixed the bug in :meth:`pathlib.Path.glob` -- previously a dangling symlink | ||
would not be found by this method when the pattern is an exact match, but | ||
would be found when the pattern contains a wildcard or the recursive | ||
wildcard (``**``). With this change, a dangling symlink will be found in | ||
both cases. |
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/Library/2023-05-01-17-58-28.gh-issue-103963.XWlHx7.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Make :mod:`dis` display the names of the args for :opcode:`CALL_INTRINSIC_*`. |
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/Security/2023-05-01-15-03-25.gh-issue-104049.b01Y3g.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Do not expose the local on-disk location in directory indexes | ||
produced by :class:`http.client.SimpleHTTPRequestHandler`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.