Skip to content

Commit 8ae8d50

Browse files
committedJul 27, 2021
Revert "Fixed #1785: module incorrectly excluded from stdlib definition."
This reverts commit 754b55a.
1 parent 3afcb2d commit 8ae8d50

File tree

8 files changed

+1
-8
lines changed

8 files changed

+1
-8
lines changed
 

‎CHANGELOG.md

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ Find out more about isort's release policy [here](https://pycqa.github.io/isort/
99
- Made all exceptions pickleable.
1010
- Fixed #1779: Pylama integration ignores pylama specific isort config overrides.
1111
- Fixed #1781: `--from-first` CLI flag shouldn't take any arguments.
12-
- Fixed #1785: `_ast` module incorrectly excluded from stdlib definition.
1312

1413
### 5.9.2 July 8th 2021
1514
- Improved behavior of `isort --check --atomic` against Cython files.

‎isort/stdlibs/py27.py

-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"UserString",
4141
"W",
4242
"__builtin__",
43-
"_ast",
4443
"_winreg",
4544
"abc",
4645
"aepack",

‎isort/stdlibs/py35.py

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"""
77

88
stdlib = {
9-
"_ast",
109
"_dummy_thread",
1110
"_thread",
1211
"abc",

‎isort/stdlibs/py36.py

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"""
77

88
stdlib = {
9-
"_ast",
109
"_dummy_thread",
1110
"_thread",
1211
"abc",

‎isort/stdlibs/py37.py

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"""
77

88
stdlib = {
9-
"_ast",
109
"_dummy_thread",
1110
"_thread",
1211
"abc",

‎isort/stdlibs/py38.py

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"""
77

88
stdlib = {
9-
"_ast",
109
"_dummy_thread",
1110
"_thread",
1211
"abc",

‎isort/stdlibs/py39.py

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"""
77

88
stdlib = {
9-
"_ast",
109
"_thread",
1110
"abc",
1211
"aifc",

‎scripts/mkstdlibs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class FakeApp:
3131
invdata = fetch_inventory(FakeApp(), "", url)
3232

3333
# Any modules we want to enforce across Python versions stdlib can be included in set init
34-
modules = {"_ast", "posixpath", "ntpath", "sre_constants", "sre_parse", "sre_compile", "sre"}
34+
modules = {"posixpath", "ntpath", "sre_constants", "sre_parse", "sre_compile", "sre"}
3535
for module in invdata["py:module"]:
3636
root, *_ = module.split(".")
3737
if root not in ["__future__", "__main__"]:

0 commit comments

Comments
 (0)
Please sign in to comment.