[Python-checkins] r74741 - in python/branches/py3k: Lib/pdb.py Misc/NEWS
benjamin.peterson
python-checkins at python.org
Fri Sep 11 23:17:13 CEST 2009
Author: benjamin.peterson
Date: Fri Sep 11 23:17:13 2009
New Revision: 74741
Log:
#6888 fix the alias command with no arguments
Modified:
python/branches/py3k/Lib/pdb.py
python/branches/py3k/Misc/NEWS
Modified: python/branches/py3k/Lib/pdb.py
==============================================================================
--- python/branches/py3k/Lib/pdb.py (original)
+++ python/branches/py3k/Lib/pdb.py Fri Sep 11 23:17:13 2009
@@ -841,8 +841,7 @@
def do_alias(self, arg):
args = arg.split()
if len(args) == 0:
- keys = self.aliases.keys()
- keys.sort()
+ keys = sorted(self.aliases.keys())
for alias in keys:
print("%s = %s" % (alias, self.aliases[alias]), file=self.stdout)
return
Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS (original)
+++ python/branches/py3k/Misc/NEWS Fri Sep 11 23:17:13 2009
@@ -70,6 +70,8 @@
Library
-------
+- Issue #6888: pdb's alias command was broken when no arguments were given.
+
- Issue #6857: Default format() alignment should be '>' for Decimal
instances.
More information about the Python-checkins
mailing list