Author: guido.van.rossum
Date: Mon Feb 26 23:21:25 2007
New Revision: 53966
Modified:
python/branches/p3yk/Lib/linecache.py
Log:
Fix another loop over a dict that may change... :-(
Modified: python/branches/p3yk/Lib/linecache.py
==============================================================================
--- python/branches/p3yk/Lib/linecache.py (original)
+++ python/branches/p3yk/Lib/linecache.py Mon Feb 26 23:21:25 2007
@@ -45,7 +45,7 @@
(This is not checked upon each call!)"""
if filename is None:
- filenames = cache.keys()
+ filenames = list(cache.keys())
else:
if filename in cache:
filenames = [filename]
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins