diff options
author | Raymond Hettinger <python@rcn.com> | 2011-01-27 00:12:08 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2011-01-27 00:12:08 (GMT) |
commit | d62522ab563fa508acbacacab8c343052eb08bb6 (patch) | |
tree | f0b53d22a82964d9b99bfd366433e72bd7876d78 | |
parent | 6c3f01791b9aaaab98bcb14ad81979572ae1abfe (diff) | |
download | cpython-d62522ab563fa508acbacacab8c343052eb08bb6.zip cpython-d62522ab563fa508acbacacab8c343052eb08bb6.tar.gz cpython-d62522ab563fa508acbacacab8c343052eb08bb6.tar.bz2 |
Issue 11020: command-line pyclbr broken due to missing 2-to-3 conversion.
-rw-r--r-- | Lib/pyclbr.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Lib/pyclbr.py b/Lib/pyclbr.py index c87ec66..52cbdd5 100644 --- a/Lib/pyclbr.py +++ b/Lib/pyclbr.py @@ -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): @@ -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. |