A.M. Kuchling <li...@amk.ca> added the comment:

Does the attached, slightly simpler patch, also fix it?
The patch just sets the .encoding attribute after 
creating it with _SpoofOut().  

The revised patch doesn't seem to break anything on MacOS; I don't have access 
to Windows to test whether it still fixes the bug.

----------
nosy: +akuchling
Added file: http://bugs.python.org/file16319/doctest-patch.txt

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

Reply via email to