This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, yselkowitz
Date 2008-08-27.13:30:17
SpamBayes Score 1.60149e-05
Marked as misclassified No
Message-id <1219843819.02.0.659834997528.issue3626@psf.upfronthosting.co.za>
In-reply-to
Content
cygwin has also a nasty bug:
    printf("%ls", wide_string)
fails for strings of length 1. %S has the same problem.

$ ./python.exe ab
./python: can't open file 'ab': [Errno 2] No such file or directory

$ ./python.exe a
./python

The output stops at "./python", probably because stderr has an error
flag set.

Since %ls is only used in Modules/main.c, the best is probably to
replace it with something else. And since cygwin has no function of the
family of wprintf or fputws, PyUnicode is probably the way to go.
History
Date User Action Args
2008-08-27 13:30:19amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, yselkowitz
2008-08-27 13:30:19amaury.forgeotdarcsetmessageid: <1219843819.02.0.659834997528.issue3626@psf.upfronthosting.co.za>
2008-08-27 13:30:18amaury.forgeotdarclinkissue3626 messages
2008-08-27 13:30:17amaury.forgeotdarccreate