[issue10896] trace module compares directories as strings (--ignore-dir)
Vladimir Rutsky
report at bugs.python.org
Wed Jan 19 16:10:13 CET 2011
Vladimir Rutsky <rutsky.vladimir at gmail.com> added the comment:
Sorry I was wrong - patch don't fix original issue.
Case should be normalized not only for directories provided through --ignore-dir, but also for directories obtained from __file__. In my tests on Windows Ignore.names(self, filename, modulename) receives `filename''s argument like:
C:\Python26\Lib\site-packages\shapely\__init__.pyc
Attaching patch fixes this issue for me (for Python 2.7 from http://svn.python.org/projects/python/branches/release27-maint, patch attached by SilentGhost is for 3.X I think).
----------
nosy: +SilentGhost
Added file: http://bugs.python.org/file20452/trace_ignore_case_fix.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10896>
_______________________________________
More information about the Python-bugs-list
mailing list