[Python-checkins] r88208 - in python/branches/release31-maint: Lib/pyclbr.py Misc/NEWS
raymond.hettinger
python-checkins at python.org
Thu Jan 27 01:12:08 CET 2011
Author: raymond.hettinger
Date: Thu Jan 27 01:12:08 2011
New Revision: 88208
Log:
Issue 11020: command-line pyclbr broken due to missing 2-to-3 conversion.
Modified:
python/branches/release31-maint/Lib/pyclbr.py
python/branches/release31-maint/Misc/NEWS
Modified: python/branches/release31-maint/Lib/pyclbr.py
==============================================================================
--- python/branches/release31-maint/Lib/pyclbr.py (original)
+++ python/branches/release31-maint/Lib/pyclbr.py Thu Jan 27 01:12:08 2011
@@ -325,7 +325,7 @@
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):
Modified: python/branches/release31-maint/Misc/NEWS
==============================================================================
--- python/branches/release31-maint/Misc/NEWS (original)
+++ python/branches/release31-maint/Misc/NEWS Thu Jan 27 01:12:08 2011
@@ -37,6 +37,9 @@
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.
More information about the Python-checkins
mailing list