STINNER Victor <victor.stin...@gmail.com> added the comment:

> Regardless of whether MAX_STRING_LENGTH is increased, my instinct is that the 
> test should work for long install paths independent of the setting's value.  
> I wonder if there is a way to adjust the test so that the file name can still 
> be checked in such a scenario (i.e. so that we do not simply add "or '...'" 
> logic to the regular expression).

The purpose of the test is to check that the traceback is correct:
it's important to check that the filename ends with "threading.py". If
you don't know in which file the bug occured, the traceback is
useless.

Changing the MAX_STRING_LENGTH should be enough to fix this issue
before Python 3.3 final.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15463>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to