Re: [Python-3000] text_zipimport fix

2007-08-03 Thread Guido van Rossum
I've checked this in as r56707. It looks fine at cursory inspection; if someone wants to test the handling of encodings more thoroughly, be my guest. --Guido On 8/3/07, Paul Colomiets <[EMAIL PROTECTED]> wrote: > Hi, > > I've just uploaded patch that fixes test_zipimport. > http://www.python.org/

[Python-3000] text_zipimport fix

2007-08-03 Thread Paul Colomiets
Hi, I've just uploaded patch that fixes test_zipimport. http://www.python.org/sf/1766592 I'm still in doubt of some str/bytes issues. Fix me if I'm wrong. 1. imp.get_magic() should return bytes 2. loader.get_data() should return bytes 3. loader.get_source() should return str with encoding given f