Kuba Kończyk <jakam...@users.sourceforge.net> added the comment: Updated patch with tests and documentation.It fixes the issue by leaving argument checking to exec and eval functions.The result is a more readable error messages when invoking run/runeval with incorrect arguments (see discussion above) and also ability to run pdb on an open file objects.
---------- keywords: +patch versions: +Python 2.4, Python 2.5, Python 2.7, Python 3.0, Python 3.1, Python 3.2 Added file: http://bugs.python.org/file14959/bdb-run.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1472251> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com