[issue6719] pdb messes up when debugging an non-ascii program

2010-07-30 Thread Georg Brandl
Georg Brandl added the comment: Thanks, applied in r83269. -- nosy: +georg.brandl resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue6719] pdb messes up when debugging an non-ascii program

2009-09-07 Thread Ilya Sandler
Ilya Sandler added the comment: Here is what's happening: when pdb starts up it sets tracing and several trace events happen before the pdb reaches the first line of the debugged program. So, pdb has some logic to ignore certain events on startup (_wait_for_main_pyfile). On normal startup only

[issue6719] pdb messes up when debugging an non-ascii program

2009-08-17 Thread samuel de framond
New submission from samuel de framond : consider a program like this one: File: ./test.py #/usr/bin/env python #coding: utf8 print 'qwerty' - Here is a shell (e.g. bash) session: $ python -m pdb ./test.py --Return-- > /usr/lib/python2.6/encodings/__init__.py(