Skip to content

Commit 803d1b6

Browse files
Merge branch 'main' into list_signatures
2 parents f16b520 + ccf9411 commit 803d1b6

File tree

171 files changed

+1636
-873
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

171 files changed

+1636
-873
lines changed

pyrightconfig.stricter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"stubs/auth0-python",
2727
"stubs/Authlib",
2828
"stubs/aws-xray-sdk",
29+
"stubs/behave",
2930
"stubs/boltons",
3031
"stubs/braintree",
3132
"stubs/cffi",
@@ -78,7 +79,6 @@
7879
"stubs/pycurl",
7980
"stubs/Pygments",
8081
"stubs/PyMySQL",
81-
"stubs/python-dateutil",
8282
"stubs/python-jose",
8383
"stubs/pywin32",
8484
"stubs/PyYAML",

stdlib/@tests/stubtest_allowlists/common.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,8 +436,11 @@ os._wrap_close.write # Methods that come from __getattr__() at runtime
436436
os._wrap_close.writelines # Methods that come from __getattr__() at runtime
437437
os.PathLike.__class_getitem__ # PathLike is a protocol; we don't expect all PathLike classes to implement class_getitem
438438

439+
_pickle.Pickler.reducer_override # Can be added by subclasses
440+
pickle.Pickler.reducer_override # Can be added by subclasses
439441
pickle._Pickler\..* # Best effort typing for undocumented internals
440442
pickle._Unpickler\..* # Best effort typing for undocumented internals
443+
441444
shutil.rmtree # function with attributes, which we approximate with a callable protocol
442445
socketserver.BaseServer.get_request # Not implemented, but expected to exist on subclasses.
443446
ssl.PROTOCOL_SSLv2 # Depends on the existence and flags of SSL

stdlib/@tests/stubtest_allowlists/darwin-py310.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ tarfile.TarFile.makelink_with_filter
6464

6565
# Incompatible changes introduced in Python 3.10.20
6666
# (Remove once 3.10.20 becomes available for GitHub Actions)
67+
email._header_value_parser.make_parenthesis_pairs
6768
html.parser.HTMLParser.__init__ # parameter `scripting`
6869
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
6970
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification

stdlib/@tests/stubtest_allowlists/darwin-py311.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ tarfile.TarFile.makelink_with_filter
3535

3636
# Incompatible changes introduced in Python 3.11.15
3737
# (Remove once 3.11.15 becomes available for GitHub Actions)
38+
email._header_value_parser.make_parenthesis_pairs
3839
html.parser.HTMLParser.__init__ # parameter `scripting`
3940
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
4041
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification

stdlib/@tests/stubtest_allowlists/darwin-py312.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ tarfile.TarFile.makelink_with_filter
2222

2323
# Incompatible changes introduced in Python 3.12.13
2424
# (Remove once 3.12.13 becomes available for GitHub Actions)
25+
email._header_value_parser.make_parenthesis_pairs
2526
html.parser.HTMLParser.__init__ # parameter `scripting`
2627
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
2728
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification

stdlib/@tests/stubtest_allowlists/linux-py310.txt

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
# =========
2-
# Temporary
3-
# =========
4-
5-
# Incompatible changes introduced in Python 3.10.20
6-
# (Remove once 3.10.20 becomes available for GitHub Actions)
7-
html.parser.HTMLParser.__init__ # parameter `scripting`
8-
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
9-
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
10-
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
11-
xml.parsers.expat.XMLParserType.SetAllocTrackerMaximumAmplification
12-
13-
141
# =============================================================
152
# Allowlist entries that cannot or should not be fixed; <= 3.12
163
# =============================================================

stdlib/@tests/stubtest_allowlists/linux-py311.txt

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
# =========
2-
# Temporary
3-
# =========
4-
5-
# Incompatible changes introduced in Python 3.11.15
6-
# (Remove once 3.11.15 becomes available for GitHub Actions)
7-
html.parser.HTMLParser.__init__ # parameter `scripting`
8-
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
9-
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
10-
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
11-
xml.parsers.expat.XMLParserType.SetAllocTrackerMaximumAmplification
12-
13-
141
# =============================================================
152
# Allowlist entries that cannot or should not be fixed; <= 3.12
163
# =============================================================

stdlib/@tests/stubtest_allowlists/linux-py312.txt

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,3 @@
1-
# =========
2-
# Temporary
3-
# =========
4-
5-
# Incompatible changes introduced in Python 3.12.13
6-
# (Remove once 3.12.13 becomes available for GitHub Actions)
7-
html.parser.HTMLParser.__init__ # parameter `scripting`
8-
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
9-
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification
10-
xml.parsers.expat.XMLParserType.SetAllocTrackerActivationThreshold
11-
xml.parsers.expat.XMLParserType.SetAllocTrackerMaximumAmplification
12-
13-
141
# =============================================================
152
# Allowlist entries that cannot or should not be fixed; <= 3.12
163
# =============================================================

stdlib/@tests/stubtest_allowlists/win32-py310.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ tarfile.TarFile.makelink_with_filter
6464

6565
# Incompatible changes introduced in Python 3.10.20
6666
# (Remove once 3.10.20 becomes available for GitHub Actions)
67+
email._header_value_parser.make_parenthesis_pairs
6768
html.parser.HTMLParser.__init__ # parameter `scripting`
6869
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
6970
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification

stdlib/@tests/stubtest_allowlists/win32-py311.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ tarfile.TarFile.makelink_with_filter
3535

3636
# Incompatible changes introduced in Python 3.11.15
3737
# (Remove once 3.11.15 becomes available for GitHub Actions)
38+
email._header_value_parser.make_parenthesis_pairs
3839
html.parser.HTMLParser.__init__ # parameter `scripting`
3940
pyexpat.XMLParserType.SetAllocTrackerActivationThreshold
4041
pyexpat.XMLParserType.SetAllocTrackerMaximumAmplification

0 commit comments

Comments
 (0)