[Python-3000-checkins] r58673 - in python/branches/py3k: Lib/io.py Modules/_fileio.c

2007-10-26 Thread guido.van.rossum
Author: guido.van.rossum Date: Fri Oct 26 19:19:33 2007 New Revision: 58673 Modified: python/branches/py3k/Lib/io.py python/branches/py3k/Modules/_fileio.c Log: Patch 1330 by Christian Heimes (with some TLC applied by myself). Move most of the messiness with truncate() on Windows into _filei

[Python-3000-checkins] r58674 - in python/branches/py3k: Lib/_abcoll.py Objects/bytesobject.c

2007-10-26 Thread guido.van.rossum
Author: guido.van.rossum Date: Fri Oct 26 19:39:48 2007 New Revision: 58674 Modified: python/branches/py3k/Lib/_abcoll.py python/branches/py3k/Objects/bytesobject.c Log: Patch 1335 by Christian Heimes. Add a bytes iterator (copied from stringobject.c and reindented :-). I (Guido) added a sma

[Python-3000-checkins] r58676 - python/branches/py3k/Lib/test/test_str.py

2007-10-26 Thread guido.van.rossum
Author: guido.van.rossum Date: Fri Oct 26 20:43:10 2007 New Revision: 58676 Removed: python/branches/py3k/Lib/test/test_str.py Log: Delete test_str.py. There's not much there I care about, and it is confused about whether it's testing str8 or str... The stuff that matters is already tested in

[Python-3000-checkins] r58677 - in python/branches/py3k: Doc/c-api/concrete.rst Include/stringobject.h

2007-10-26 Thread guido.van.rossum
Author: guido.van.rossum Date: Fri Oct 26 21:34:40 2007 New Revision: 58677 Modified: python/branches/py3k/Doc/c-api/concrete.rst python/branches/py3k/Include/stringobject.h Log: Kill PyString_Encode(), which isn't used anywhere. (We should also kill the other PyString_ encode/decode APIs, b

[Python-3000-checkins] r58678 - in python/branches/py3k: Lib/test/test_bytes.py Objects/bytesobject.c Objects/stringobject.c

2007-10-26 Thread guido.van.rossum
Author: guido.van.rossum Date: Fri Oct 26 23:46:44 2007 New Revision: 58678 Modified: python/branches/py3k/Lib/test/test_bytes.py python/branches/py3k/Objects/bytesobject.c python/branches/py3k/Objects/stringobject.c Log: Sort the method lists for str8 and bytes so differences are more ap

[Python-3000-checkins] r58679 - python/branches/py3k-pep3137

2007-10-26 Thread guido.van.rossum
Author: guido.van.rossum Date: Fri Oct 26 23:50:10 2007 New Revision: 58679 Added: python/branches/py3k-pep3137/ - copied from r58678, python/branches/py3k/ Log: Create temporary branch for working on PEP 3137 stuff. ___ Python-3000-checkins ma

[Python-3000-checkins] r58680 - in python/branches/py3k-pep3137: Include/stringobject.h Objects/stringobject.c

2007-10-26 Thread guido.van.rossum
Author: guido.van.rossum Date: Sat Oct 27 00:35:34 2007 New Revision: 58680 Modified: python/branches/py3k-pep3137/Include/stringobject.h python/branches/py3k-pep3137/Objects/stringobject.c Log: Killed the remaining PyString_ decode/encode methods. Cleaned up some indentation. Modified: py

[Python-3000-checkins] r58681 - in python/branches/py3k-pep3137: Include/stringobject.h Modules/_sqlite/cache.c Objects/stringobject.c Objects/unicodeobject.c

2007-10-26 Thread guido.van.rossum
Author: guido.van.rossum Date: Sat Oct 27 01:10:44 2007 New Revision: 58681 Modified: python/branches/py3k-pep3137/Include/stringobject.h python/branches/py3k-pep3137/Modules/_sqlite/cache.c python/branches/py3k-pep3137/Objects/stringobject.c python/branches/py3k-pep3137/Objects/unicod

[Python-3000-checkins] r58682 - python/branches/py3k/Modules/_sqlite/connection.c python/branches/py3k/Modules/_sqlite/module.c

2007-10-26 Thread neal.norwitz
Author: neal.norwitz Date: Sat Oct 27 04:50:52 2007 New Revision: 58682 Modified: python/branches/py3k/Modules/_sqlite/connection.c python/branches/py3k/Modules/_sqlite/module.c Log: Use unicode in more places. Fixes a problem with str8 + str in test. Modified: python/branches/py3k/Modules

[Python-3000-checkins] r58683 - python/branches/py3k/Lib/email/test/data/msg_15.txt

2007-10-26 Thread neal.norwitz
Author: neal.norwitz Date: Sat Oct 27 04:55:08 2007 New Revision: 58683 Modified: python/branches/py3k/Lib/email/test/data/msg_15.txt Log: Get test_email to pass. There is a problem reading the data file and making it unicode with the default encoding. I'm not sure if this is a problem in and

[Python-3000-checkins] r58685 - python/branches/py3k/Modules/_testcapimodule.c

2007-10-26 Thread neal.norwitz
Author: neal.norwitz Date: Sat Oct 27 06:01:17 2007 New Revision: 58685 Modified: python/branches/py3k/Modules/_testcapimodule.c Log: Try to get this test to pass on Win64 by making clean for ssize_t Modified: python/branches/py3k/Modules/_testcapimodule.c =

[Python-3000-checkins] r58684 - in python/branches/py3k: Doc/includes/noddy2.c Doc/includes/noddy3.c Doc/includes/noddy4.c Doc/includes/run-func.c Modules/_lsprof.c Objects/exceptions.c Objects/frameo

2007-10-26 Thread neal.norwitz
Author: neal.norwitz Date: Sat Oct 27 06:00:45 2007 New Revision: 58684 Modified: python/branches/py3k/Doc/includes/noddy2.c python/branches/py3k/Doc/includes/noddy3.c python/branches/py3k/Doc/includes/noddy4.c python/branches/py3k/Doc/includes/run-func.c python/branches/py3k/Module

[Python-3000-checkins] r58686 - python/branches/py3k/Modules/_localemodule.c python/branches/py3k/Modules/pwdmodule.c

2007-10-26 Thread neal.norwitz
Author: neal.norwitz Date: Sat Oct 27 07:40:06 2007 New Revision: 58686 Modified: python/branches/py3k/Modules/_localemodule.c python/branches/py3k/Modules/pwdmodule.c Log: Get the locale and pwd tests working on the Solaris box where there are some unicode values used. I'm not sure if this

[Python-3000-checkins] r58687 - in python/branches/py3k: Lib/plat-mac/ic.py Mac/Modules/file/_Filemodule.c

2007-10-26 Thread neal.norwitz
Author: neal.norwitz Date: Sat Oct 27 08:04:52 2007 New Revision: 58687 Modified: python/branches/py3k/Lib/plat-mac/ic.py python/branches/py3k/Mac/Modules/file/_Filemodule.c Log: Get a bunch of tests working on Mac OS. I suspect that a bunch of the ord()s in Lib/plat-mac/ic.py need to be re