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.

作者 amaury.forgeotdarc
收信人 amaury.forgeotdarc, vstinner
日期 2008-10-07.13:05:58
SpamBayes Score 0.027750133
Marked as misclassified
Message-id <1223384761.41.0.362907022937.issue3975@psf.upfronthosting.co.za>
In-reply-to
内容
The patch goes in the good direction, here are some remarks:

- The two calls to open() are missing the O_BINARY flag, necessary on
Windows to avoid newline translation. This may be important for some codecs.

- the GIL should be released around calls to open(); searching the whole
sys.path can be long.

Besides this, the "char* filename" is relevant only on utf8-encoded
filesystems, and will not work on windows with non-ascii filenames. But
this is another issue.
历史
日期 用户 动作 参数
2008-10-07 13:06:01amaury.forgeotdarc修改recipients: + amaury.forgeotdarc, vstinner
2008-10-07 13:06:01amaury.forgeotdarc修改messageid: <1223384761.41.0.362907022937.issue3975@psf.upfronthosting.co.za>
2008-10-07 13:05:58amaury.forgeotdarc链接issue3975 messages
2008-10-07 13:05:58amaury.forgeotdarc创建