[issue5656] Coverage execution fails for files not encoded with utf-8
New submission from Maru Newby : Running the tests with coverage against files using non-utf8 encoding was raising an exception that prevented coverage output from being displayed (patch is attached). The coverage output was also being polluted with failed attempts to display modules that were created during the testing in temporary paths. A patch is attached that prevents coverage output from being attempted for such files. -- components: Tests files: trace_detect_encoding.patch keywords: patch messages: 85065 nosy: maru severity: normal status: open title: Coverage execution fails for files not encoded with utf-8 type: crash versions: Python 3.1 Added file: http://bugs.python.org/file13553/trace_detect_encoding.patch ___ Python tracker <http://bugs.python.org/issue5656> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5656] Coverage execution fails for files not encoded with utf-8
Changes by Maru Newby : Added file: http://bugs.python.org/file13554/trace_ignore_temp_path.patch ___ Python tracker <http://bugs.python.org/issue5656> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5215] change value of local variable in debug
Maru Newby added the comment: Modifications to the f_locals dict are only saved at the end of traceback, and each traceback function was using the f_locals accessor that returns the dict state as of the start of traceback. The provided patch caches f_locals on setup and ensures that all traceback functions share that cached dict, ensuring that modifications are no longer overwritten by a function using the unmodified dict. -- keywords: +patch nosy: +maru Added file: http://bugs.python.org/file13561/pdb_cache_f_locals.patch ___ Python tracker <http://bugs.python.org/issue5215> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5142] pdb feature request: Ability to skip standard lib modules and other selected packages/modules
Maru Newby added the comment: Added a skip keyword argument to Bdb and Pdb class constructors to allow skipping of modules based on a list of glob-style matches (see fnmatch), as per the following example: import pdb;Pdb(skip=['django.command*']).set_trace() -- keywords: +patch nosy: +maru Added file: http://bugs.python.org/file13587/pdb_skip_modules.patch ___ Python tracker <http://bugs.python.org/issue5142> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com