Éric Araujo <mer...@netwok.org> added the comment:

> 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?

----------

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

Reply via email to