[Python-3000-checkins] r53989 - in python/branches/p3yk: Lib/test/test_bytes.py Objects/bytesobject.c

2007-02-27 Thread georg.brandl
Author: georg.brandl Date: Tue Feb 27 09:40:54 2007 New Revision: 53989 Modified: python/branches/p3yk/Lib/test/test_bytes.py python/branches/p3yk/Objects/bytesobject.c Log: Implement bytes.fromhex(), with tests. Modified: python/branches/p3yk/Lib/test/test_bytes.py ==

[Python-3000-checkins] r53990 - python/branches/p3yk/Objects/bytesobject.c

2007-02-27 Thread georg.brandl
Author: georg.brandl Date: Tue Feb 27 09:49:18 2007 New Revision: 53990 Modified: python/branches/p3yk/Objects/bytesobject.c Log: Remove a few stray tabs from bytesobject.c. Modified: python/branches/p3yk/Objects/bytesobject.c =

[Python-3000-checkins] r53991 - python/branches/p3yk/Lib/io.py

2007-02-27 Thread guido.van.rossum
Author: guido.van.rossum Date: Tue Feb 27 16:45:13 2007 New Revision: 53991 Modified: python/branches/p3yk/Lib/io.py Log: Added some comments and docstrings. More is needed. Modified: python/branches/p3yk/Lib/io.py =

[Python-3000-checkins] r53992 - python/branches/p3yk/Misc/NEWS

2007-02-27 Thread jeremy.hylton
Author: jeremy.hylton Date: Tue Feb 27 16:53:28 2007 New Revision: 53992 Modified: python/branches/p3yk/Misc/NEWS Log: Add news about nonlocal statement Modified: python/branches/p3yk/Misc/NEWS == --- python/branches/

[Python-3000-checkins] r53995 - in python/branches/p3yk/Lib: io.py test/test_io.py

2007-02-27 Thread guido.van.rossum
Author: guido.van.rossum Date: Tue Feb 27 18:19:33 2007 New Revision: 53995 Modified: python/branches/p3yk/Lib/io.py python/branches/p3yk/Lib/test/test_io.py Log: Mike Verdone's checkpoint, cleaned up. Also implemented Neal's suggestion (add fileno() to SocketIO) and some unrelated changes,

[Python-3000-checkins] r53999 - python/branches/p3yk/Lib/test/test_structmembers.py

2007-02-27 Thread neal.norwitz
Author: neal.norwitz Date: Tue Feb 27 19:58:52 2007 New Revision: 53999 Modified: python/branches/p3yk/Lib/test/test_structmembers.py Log: Fix breakage from removing exceptions module Modified: python/branches/p3yk/Lib/test/test_structmembers.py

[Python-3000-checkins] r54000 - in python/branches/p3yk: Include/pythonrun.h Lib/test/test_bytes.py Objects/bytesobject.c Python/pythonrun.c

2007-02-27 Thread neal.norwitz
Author: neal.norwitz Date: Tue Feb 27 20:02:19 2007 New Revision: 54000 Modified: python/branches/p3yk/Include/pythonrun.h python/branches/p3yk/Lib/test/test_bytes.py python/branches/p3yk/Objects/bytesobject.c python/branches/p3yk/Python/pythonrun.c Log: SF patch #1669633, add methods

[Python-3000-checkins] r54001 - python/branches/p3yk/Modules/getaddrinfo.c python/branches/p3yk/Modules/getnameinfo.c

2007-02-27 Thread neal.norwitz
Author: neal.norwitz Date: Tue Feb 27 20:06:23 2007 New Revision: 54001 Modified: python/branches/p3yk/Modules/getaddrinfo.c python/branches/p3yk/Modules/getnameinfo.c Log: SF patch #1670209, Remove Py_PROTO from socket by Pete Shinners. Modified: python/branches/p3yk/Modules/getaddrinfo.c

[Python-3000-checkins] r54002 - python/branches/p3yk/Python/Python-ast.c

2007-02-27 Thread brett.cannon
Author: brett.cannon Date: Tue Feb 27 21:16:01 2007 New Revision: 54002 Modified: python/branches/p3yk/Python/Python-ast.c Log: Commit version bump. Modified: python/branches/p3yk/Python/Python-ast.c == --- python/bra

[Python-3000-checkins] r54003 - python/branches/p3yk/Lib/httplib.py

2007-02-27 Thread brett.cannon
Author: brett.cannon Date: Tue Feb 27 21:16:38 2007 New Revision: 54003 Modified: python/branches/p3yk/Lib/httplib.py Log: Fix httplib for removal of slicing from exceptions. Modified: python/branches/p3yk/Lib/httplib.py

[Python-3000-checkins] r54004 - python/branches/p3yk/Objects/bytesobject.c

2007-02-27 Thread guido.van.rossum
Author: guido.van.rossum Date: Tue Feb 27 21:57:45 2007 New Revision: 54004 Modified: python/branches/p3yk/Objects/bytesobject.c Log: Fix off-by-one bug in memmove() call in bytes_insert(). Fix by Pete Shinners (for his own bug :-). Modified: python/branches/p3yk/Objects/bytesobject.c ===

[Python-3000-checkins] r54008 - python/branches/p3yk/Lib/test/test_pep352.py

2007-02-27 Thread brett.cannon
Author: brett.cannon Date: Wed Feb 28 01:01:43 2007 New Revision: 54008 Modified: python/branches/p3yk/Lib/test/test_pep352.py Log: Fix test_pep352 to deal with the removal of the 'exceptions' module. Modified: python/branches/p3yk/Lib/test/test_pep352.py =

Re: [Python-3000-checkins] r54008 - python/branches/p3yk/Lib/test/test_pep352.py

2007-02-27 Thread Guido van Rossum
The dependency on __builtins__ is wrong; you should import __builtin__ (no 's') and use that. Also, why the except? On 2/27/07, brett.cannon wrote: > Author: brett.cannon > Date: Wed Feb 28 01:01:43 2007 > New Revision: 54008 > > Modified: >python/branches/p3yk/Lib/test/test_pep352.py > Log:

[Python-3000-checkins] r54009 - python/branches/p3yk/Lib/test/test_pep352.py

2007-02-27 Thread brett.cannon
Author: brett.cannon Date: Wed Feb 28 01:32:07 2007 New Revision: 54009 Modified: python/branches/p3yk/Lib/test/test_pep352.py Log: Use __builtin__, not __builtins__. Modified: python/branches/p3yk/Lib/test/test_pep352.py ===

Re: [Python-3000-checkins] r54008 - python/branches/p3yk/Lib/test/test_pep352.py

2007-02-27 Thread Brett Cannon
On 2/27/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: > The dependency on __builtins__ is wrong; you should import __builtin__ > (no 's') and use that. Thanks, fixed. > > Also, why the except? > Because __builtin__ has non-classes like functions and passing it to issubclass raises a TypeError.

[Python-3000-checkins] r54010 - python/branches/p3yk/Lib/symbol.py

2007-02-27 Thread guido.van.rossum
Author: guido.van.rossum Date: Wed Feb 28 01:40:24 2007 New Revision: 54010 Modified: python/branches/p3yk/Lib/symbol.py Log: Regenerate symbol.py. This fixes test_compiler, test_transformer, and test_parser. Modified: python/branches/p3yk/Lib/symbol.py ===