Re: [Python-3000-checkins] r56418 ...

2007-07-26 Thread skip
>> Run 2to3 over the Demo/ directory to shut up parse errors from 2to3 >> about lingering print statements. Skip> Shouldn't the list(dictionary.keys()) construct only be applied Skip> where it's needed? Guido> Yeah, but the tool doesn't know when it is or isn't needed. You'd

[Python-3000-checkins] r56555 - python/branches/py3k-struni/runtests.sh

2007-07-26 Thread guido.van.rossum
Author: guido.van.rossum Date: Thu Jul 26 20:43:46 2007 New Revision: 56555 Modified: python/branches/py3k-struni/runtests.sh Log: Don't redirect stdout for test_curses. Kill some dead (commented-out) code. Modified: python/branches/py3k-struni/runtests.sh

[Python-3000-checkins] r56554 - python/branches/py3k-struni/Modules/mmapmodule.c

2007-07-26 Thread guido.van.rossum
Author: guido.van.rossum Date: Thu Jul 26 20:28:23 2007 New Revision: 56554 Modified: python/branches/py3k-struni/Modules/mmapmodule.c Log: Return bytes, not string from read(). Makes test_mmap.py pass. Modified: python/branches/py3k-struni/Modules/mmapmodule.c ==

Re: [Python-3000-checkins] r56418 ...

2007-07-26 Thread Guido van Rossum
Good point. We get lazy when reviewing these things. Feel free to fix it! On 7/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > >> Run 2to3 over the Demo/ directory to shut up parse errors from 2to3 > >> about lingering print statements. > > Skip> Shouldn't the list(dictionary.k

[Python-3000-checkins] r56559 - python/branches/py3k-struni/Lib/io.py

2007-07-26 Thread guido.van.rossum
Author: guido.van.rossum Date: Fri Jul 27 06:38:24 2007 New Revision: 56559 Modified: python/branches/py3k-struni/Lib/io.py Log: Delete redundant read() and close() methods from SocketIO class. Modified: python/branches/py3k-struni/Lib/io.py ===

[Python-3000-checkins] r56563 - python/branches/py3k-struni/Lib/test/test_mailbox.py

2007-07-26 Thread guido.van.rossum
Author: guido.van.rossum Date: Fri Jul 27 07:17:50 2007 New Revision: 56563 Modified: python/branches/py3k-struni/Lib/test/test_mailbox.py Log: SF patch# 1757839 by Alexandre Vassalotti (part 2). Change a bunch of .assert_(X == Y) to .assertEqual(X, Y). Modified: python/branches/py3k-struni/L