[Python-3000-checkins] r56922 - in python/branches/py3k: Lib/io.py Modules/_localemodule.c Modules/posixmodule.c Python/pythonrun.c

2007-08-11 Thread martin.v.loewis
Author: martin.v.loewis Date: Sat Aug 11 16:02:14 2007 New Revision: 56922 Modified: python/branches/py3k/Lib/io.py python/branches/py3k/Modules/_localemodule.c python/branches/py3k/Modules/posixmodule.c python/branches/py3k/Python/pythonrun.c Log: Set sys.stdout.encoding properly. Alw

[Python-3000-checkins] r56924 - python/branches/py3k/Modules/arraymodule.c

2007-08-11 Thread martin.v.loewis
Author: martin.v.loewis Date: Sat Aug 11 16:25:27 2007 New Revision: 56924 Modified: python/branches/py3k/Modules/arraymodule.c Log: Fix reference leak. Modified: python/branches/py3k/Modules/arraymodule.c == --- pyth

Re: [Python-3000-checkins] r56922 - in python/branches/py3k: Lib/io.py Modules/_localemodule.c Modules/posixmodule.c Python/pythonrun.c

2007-08-11 Thread Guido van Rossum
Martin, This has broken the build. After "make clean", running "python setup.py" causes a traceback because locale.py imports operator which isn't built yet. locale.py is being imported from io. --Guido On 8/11/07, martin.v.loewis wrote: > Author: martin.v.loewis > Date: Sat Aug 11 16:02:14 200

[Python-3000-checkins] r56926 - python/branches/py3k/Modules/_sqlite/connection.c python/branches/py3k/Modules/_sqlite/cursor.c

2007-08-11 Thread guido.van.rossum
Author: guido.van.rossum Date: Sat Aug 11 17:32:55 2007 New Revision: 56926 Modified: python/branches/py3k/Modules/_sqlite/connection.c python/branches/py3k/Modules/_sqlite/cursor.c Log: A few sqlite files were still using RO instead of READONLY. Modified: python/branches/py3k/Modules/_sql

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

2007-08-11 Thread martin.v.loewis
Author: martin.v.loewis Date: Sat Aug 11 17:36:45 2007 New Revision: 56927 Modified: python/branches/py3k/Lib/io.py Log: Fall back to ascii if the locale module cannot be loaded. Modified: python/branches/py3k/Lib/io.py =

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

2007-08-11 Thread georg.brandl
Author: georg.brandl Date: Sat Aug 11 17:39:18 2007 New Revision: 56928 Modified: python/branches/py3k/Modules/_sqlite/connection.c Log: Fix automatic replacing mistake. Modified: python/branches/py3k/Modules/_sqlite/connection.c ===

Re: [Python-3000-checkins] r56922 - in python/branches/py3k: Lib/io.py Modules/_localemodule.c Modules/posixmodule.c Python/pythonrun.c

2007-08-11 Thread Martin v. Löwis
> This has broken the build. After "make clean", running "python > setup.py" causes a traceback because locale.py imports operator which > isn't built yet. locale.py is being imported from io. I noticed myself - 56927 should fix it. Regards, Martin ___

Re: [Python-3000-checkins] r56928 - python/branches/py3k/Modules/_sqlite/connection.c

2007-08-11 Thread Guido van Rossum
blush :-( On 8/11/07, georg.brandl wrote: > Author: georg.brandl > Date: Sat Aug 11 17:39:18 2007 > New Revision: 56928 > > Modified: >python/branches/py3k/Modules/_sqlite/connection.c > Log: > Fix automatic replacing mistake. > > > Modified: python/branches/py3k/Modules/_sqlite/connection.c

[Python-3000-checkins] r56929 - python/branches/py3k/Lib/textwrap.py

2007-08-11 Thread guido.van.rossum
Author: guido.van.rossum Date: Sat Aug 11 18:40:13 2007 New Revision: 56929 Modified: python/branches/py3k/Lib/textwrap.py Log: Quick fix for a new problem here -- using string.lowercase somehow caused problems. Modified: python/branches/py3k/Lib/textwrap.py ==

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

2007-08-11 Thread neal.norwitz
Author: neal.norwitz Date: Sat Aug 11 20:37:05 2007 New Revision: 56932 Modified: python/branches/py3k/Lib/io.py Log: Fix test_wsgiref that used StringIO and a BufferedReader rather than real files. This code assumed that fileno() would succeed which wasn't the case. Modified: python/branche

[Python-3000-checkins] r56933 - python/branches/py3k/Lib/test/test_doctest.py

2007-08-11 Thread neal.norwitz
Author: neal.norwitz Date: Sat Aug 11 21:27:13 2007 New Revision: 56933 Modified: python/branches/py3k/Lib/test/test_doctest.py Log: Remove unnecessary import Modified: python/branches/py3k/Lib/test/test_doctest.py ==

[Python-3000-checkins] r56934 - python/branches/py3k/Modules/gdbmmodule.c

2007-08-11 Thread martin.v.loewis
Author: martin.v.loewis Date: Sat Aug 11 21:28:53 2007 New Revision: 56934 Modified: python/branches/py3k/Modules/gdbmmodule.c Log: Change module to produce and consume bytes. Modified: python/branches/py3k/Modules/gdbmmodule.c =

[Python-3000-checkins] r56935 - in python/branches/py3k: Lib/test/test_coding.py Parser/tokenizer.c

2007-08-11 Thread neal.norwitz
Author: neal.norwitz Date: Sat Aug 11 23:31:25 2007 New Revision: 56935 Modified: python/branches/py3k/Lib/test/test_coding.py python/branches/py3k/Parser/tokenizer.c Log: Fix problem when exec'ing a string with a coding Modified: python/branches/py3k/Lib/test/test_coding.py ===

[Python-3000-checkins] r56936 - python/branches/py3k/Python/ast.c

2007-08-11 Thread martin.v.loewis
Author: martin.v.loewis Date: Sat Aug 11 23:58:46 2007 New Revision: 56936 Modified: python/branches/py3k/Python/ast.c Log: Remove obsolete ifdef. Modified: python/branches/py3k/Python/ast.c == --- python/branches/py3k

[Python-3000-checkins] r56937 - python/branches/py3k/Lib/test/regrtest.py

2007-08-11 Thread neal.norwitz
Author: neal.norwitz Date: Sun Aug 12 02:00:44 2007 New Revision: 56937 Modified: python/branches/py3k/Lib/test/regrtest.py Log: Make sure to flush output when writing dots during -R runs Modified: python/branches/py3k/Lib/test/regrtest.py ==

[Python-3000-checkins] r56938 - python/branches/py3k/Parser/tokenizer.c

2007-08-11 Thread neal.norwitz
Author: neal.norwitz Date: Sun Aug 12 02:03:22 2007 New Revision: 56938 Modified: python/branches/py3k/Parser/tokenizer.c Log: Fix refleaks from execfile('file that contains a # coding: line') Also simplify logic a bit in fp_setreadl. Modified: python/branches/py3k/Parser/tokenizer.c

[Python-3000-checkins] r56943 - python/branches/py3k/Doc/lib/libfuncs.tex

2007-08-11 Thread neal.norwitz
Author: neal.norwitz Date: Sun Aug 12 03:12:18 2007 New Revision: 56943 Modified: python/branches/py3k/Doc/lib/libfuncs.tex Log: Remove docs for builtin file. Move docs for: long -> int, unichr -> chr, unicode -> str. Modified: python/branches/py3k/Doc/lib/libfuncs.tex ===

[Python-3000-checkins] r56944 - python/branches/py3k/Lib/test/regrtest.py

2007-08-11 Thread neal.norwitz
Author: neal.norwitz Date: Sun Aug 12 03:31:40 2007 New Revision: 56944 Modified: python/branches/py3k/Lib/test/regrtest.py Log: Add -s/--start option that makes it easier to run the tests in batches when one test fails and you want to start running from that point onwards. Modified: python/b

[Python-3000-checkins] r56945 - python/branches/py3k/Lib/idlelib/OutputWindow.py python/branches/py3k/Lib/idlelib/PyShell.py

2007-08-11 Thread kurt.kaiser
Author: kurt.kaiser Date: Sun Aug 12 03:52:35 2007 New Revision: 56945 Modified: python/branches/py3k/Lib/idlelib/OutputWindow.py python/branches/py3k/Lib/idlelib/PyShell.py Log: 1. Catch TypeError exception when writing to OutputWindow 2. PyShell: shell isn't working due to encoding issues.

[Python-3000-checkins] r56946 - python/branches/py3k/Modules/datetimemodule.c

2007-08-11 Thread neal.norwitz
Author: neal.norwitz Date: Sun Aug 12 06:32:26 2007 New Revision: 56946 Modified: python/branches/py3k/Modules/datetimemodule.c Log: Fix the refleak in strftime when converting a %Z with a user defined tzinfo. I inverted some of the conditionals to reduce indent levels. Hopefully this makes it

[Python-3000-checkins] r56947 - python/branches/py3k-buffer/Objects/memoryobject.c

2007-08-11 Thread neal.norwitz
Author: neal.norwitz Date: Sun Aug 12 06:45:32 2007 New Revision: 56947 Modified: python/branches/py3k-buffer/Objects/memoryobject.c Log: Fix object initialization Modified: python/branches/py3k-buffer/Objects/memoryobject.c =

[Python-3000-checkins] r56948 - python/branches/py3k-buffer/Include/object.h

2007-08-11 Thread neal.norwitz
Author: neal.norwitz Date: Sun Aug 12 06:48:44 2007 New Revision: 56948 Modified: python/branches/py3k-buffer/Include/object.h Log: Fix compiler warning (real problem on 64-bit). Modified: python/branches/py3k-buffer/Include/object.h