[issue1303] adapt str8 constructor to bytes constructor

2007-10-24 Thread Georg Brandl
Georg Brandl added the comment: Okay, committed in r58640. Gregory wrote this in test_bytes: # I've started porting some of those into buffer_tests.py, we should port # the rest that make sense (the code can be cleaned up to use modern # unittest methods at the same time). -- status: op

[issue1303] adapt str8 constructor to bytes constructor

2007-10-24 Thread Guido van Rossum
Guido van Rossum added the comment: Georg, can you check this in even with test_str failing? And who is working on that? If I don't get a name I'll tackle it myself. -- assignee: gvanrossum -> georg.brandl __ Tracker <[EMAIL PROTECTED]>

[issue1303] adapt str8 constructor to bytes constructor

2007-10-23 Thread Georg Brandl
Georg Brandl added the comment: Okay, somebody seems to have started this, so I won't interfere for now. __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bug

[issue1303] adapt str8 constructor to bytes constructor

2007-10-22 Thread Georg Brandl
Georg Brandl added the comment: I'll perhaps find some time today to try and make the tests useful and consistent again. __ Tracker <[EMAIL PROTECTED]> __ __

[issue1303] adapt str8 constructor to bytes constructor

2007-10-22 Thread Brett Cannon
Brett Cannon added the comment: Attached is an updated patch. I didn't touch Georg's code short of tossing in some comments on whether we wanted to sneak around some APIs for performance or not. Anything I added was to make all but one test pass. And that one test is test_str. There is now th

[issue1303] adapt str8 constructor to bytes constructor

2007-10-22 Thread Christian Heimes
Changes by Christian Heimes: -- nosy: +tiran __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue1303] adapt str8 constructor to bytes constructor

2007-10-22 Thread Brett Cannon
Brett Cannon added the comment: The changes to str8 look fine. Now it's time to find out how badly tests break since Georg's patch was generated. =) -- assignee: gvanrossum -> brett.cannon __ Tracker <[EMAIL PROTECTED]>

[issue1303] adapt str8 constructor to bytes constructor

2007-10-19 Thread Brett Cannon
Changes by Brett Cannon: -- nosy: +brett.cannon __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue1303] adapt str8 constructor to bytes constructor

2007-10-19 Thread Brett Cannon
Changes by Brett Cannon: -- keywords: +patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue1303] adapt str8 constructor to bytes constructor

2007-10-19 Thread Georg Brandl
New submission from Georg Brandl: This makes the str8 constructor accept the same kinds of types as the bytes constructor. I had to fix instances of str8("abc") to str8(b"abc") to make tests pass again. The only remaining failure should be test_str -- the string test suite must be thoroughly rede