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 eric.araujo
Recipients alexis, eric.araujo, tarek, trevor, vinay.sajip
Date 2011-08-31.15:52:41
SpamBayes Score 5.5402347e-06
Marked as misclassified No
Message-id <1314805962.42.0.125362083441.issue12386@psf.upfronthosting.co.za>
In-reply-to
Content
> I only meant that when writing data resources, one might reasonably
> use 'wb', but when writing scripts, which are text, 'w' is more
> appropriate.

I don’t see why.  All text is bytes, so we can do all I/O in bytes when writing resources and avoid special-casing.

> BTW, IIRC I have fixed it in the pythonv branch.
> https://bitbucket.org/vinay.sajip/pythonv

A link to a specific changeset or file would be great.

[trevor]
> i see the same behavior - the error occurs leaving an empty RESOURCES file

Do you see that when running a test, a command or some other code?
History
Date User Action Args
2011-08-31 15:52:42eric.araujosetrecipients: + eric.araujo, vinay.sajip, tarek, alexis, trevor
2011-08-31 15:52:42eric.araujosetmessageid: <1314805962.42.0.125362083441.issue12386@psf.upfronthosting.co.za>
2011-08-31 15:52:41eric.araujolinkissue12386 messages
2011-08-31 15:52:41eric.araujocreate