[issue2811] doctest doesn't treat unicode literals as specified by the file declared encoding

2008-05-10 Thread Paulo Eduardo Neves
New submission from Paulo Eduardo Neves [EMAIL PROTECTED]: Doctest doesn't obey the specified file encoding for unicode literals. I've put the minimum test case that demonstrate the error in the attached file. The program has the # -*- coding: utf-8 -*- as the first line and is saved

Python in Optimized mode with /usr/bin/env

2005-11-22 Thread Paulo Eduardo Neves
This is more of a shell or env question, but I believe others here have gone through this. I want to run an optimized python using the portable /usr/bin/env, but the obvious ways aren't working. #!/usr/bin/env python -O when I run ./test.py I get: /usr/bin/env: python -O: No such file or

Re: Well written open source Python apps

2005-10-18 Thread Paulo Eduardo Neves
This is an old thread in this subject that I bookmarked: http://groups.google.com/group/comp.lang.python/browse_thread/thread/984262217c1b3727/8793a0b7722bb32f -- http://mail.python.org/mailman/listinfo/python-list

Re: python -i (interactive environment)

2005-03-07 Thread Paulo Eduardo Neves
When I'm using pyunit and want to stop in a point during the test (skipping all the framework initialization), I just start the debugger: import pdb pdb.set_trace() You'll get the debugger prompt. -- http://mail.python.org/mailman/listinfo/python-list