mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Issue 11020: command-line pyclbr broken due to missing 2-to-3 conversion.
This commit is contained in:
parent
6c3f01791b
commit
d62522ab56
2 changed files with 4 additions and 1 deletions
|
@ -325,7 +325,7 @@ def _main():
|
||||||
else:
|
else:
|
||||||
path = []
|
path = []
|
||||||
dict = readmodule_ex(mod, path)
|
dict = readmodule_ex(mod, path)
|
||||||
objs = dict.values()
|
objs = list(dict.values())
|
||||||
objs.sort(key=lambda a: getattr(a, 'lineno', 0))
|
objs.sort(key=lambda a: getattr(a, 'lineno', 0))
|
||||||
for obj in objs:
|
for obj in objs:
|
||||||
if isinstance(obj, Class):
|
if isinstance(obj, Class):
|
||||||
|
|
|
@ -37,6 +37,9 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #11020: Command-line pyclbr was broken because of missing 2-to-3
|
||||||
|
conversion.
|
||||||
|
|
||||||
- Issue #10974: IDLE no longer crashes if its recent files list includes files
|
- Issue #10974: IDLE no longer crashes if its recent files list includes files
|
||||||
with non-ASCII characters in their path names.
|
with non-ASCII characters in their path names.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue