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

This commit is contained in:
Raymond Hettinger 2011-01-27 00:12:08 +00:00
parent 6c3f01791b
commit d62522ab56
2 changed files with 4 additions and 1 deletions

View File

@ -325,7 +325,7 @@ def _main():
else:
path = []
dict = readmodule_ex(mod, path)
objs = dict.values()
objs = list(dict.values())
objs.sort(key=lambda a: getattr(a, 'lineno', 0))
for obj in objs:
if isinstance(obj, Class):

View File

@ -37,6 +37,9 @@ Core and Builtins
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
with non-ASCII characters in their path names.