Commit d62522ab authored by Raymond Hettinger's avatar Raymond Hettinger

Issue 11020: command-line pyclbr broken due to missing 2-to-3 conversion.

parent 6c3f0179
...@@ -325,7 +325,7 @@ def _main(): ...@@ -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 ...@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment