Jason R. Coombs <[email protected]> added the comment:
I suspect this patch may fix the problem. I haven't yet had time to test it.
Index: Lib/pdb.py
===================================================================
--- Lib/pdb.py (revision 77683)
+++ Lib/pdb.py (working copy)
@@ -1200,7 +1200,7 @@
self._wait_for_mainpyfile = 1
self.mainpyfile = self.canonic(filename)
self._user_requested_quit = 0
- statement = 'execfile( "%s")' % filename
+ statement = 'execfile(%r)' % filename
self.run(statement)
# Simplified interface
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue7750>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com