[Python-checkins] r88207 - in python/branches/py3k: Lib/pyclbr.py Misc/NEWS
raymond.hettinger
python-checkins at python.org
Thu Jan 27 01:06:54 CET 2011
Author: raymond.hettinger
Date: Thu Jan 27 01:06:54 2011
New Revision: 88207
Log:
Issue #11020: Command-line pyclbr was broken because of missing 2-to-3
conversion.
(Patch reviewed by David Murray.)
Modified:
python/branches/py3k/Lib/pyclbr.py
python/branches/py3k/Misc/NEWS
Modified: python/branches/py3k/Lib/pyclbr.py
==============================================================================
--- python/branches/py3k/Lib/pyclbr.py (original)
+++ python/branches/py3k/Lib/pyclbr.py Thu Jan 27 01:06:54 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/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS (original)
+++ python/branches/py3k/Misc/NEWS Thu Jan 27 01:06:54 2011
@@ -16,6 +16,9 @@
Library
-------
+- Issue #11020: Command-line pyclbr was broken because of missing 2-to-3
+ conversion.
+
- Issue #11019: Fixed BytesGenerator so that it correctly handles a Message
with a None body.
More information about the Python-checkins
mailing list