[Python-3000-checkins] r55886 - in python/branches/p3yk: Lib/test/test_peepholer.py Python/compile.c Python/peephole.c

2007-06-11 Thread georg.brandl
Author: georg.brandl Date: Mon Jun 11 09:26:37 2007 New Revision: 55886 Modified: python/branches/p3yk/Lib/test/test_peepholer.py python/branches/p3yk/Python/compile.c python/branches/p3yk/Python/peephole.c Log: Optimize access to True and False in the compiler (if True) and the peepholer

[Python-3000-checkins] Python Regression Test Failures basics (1)

2007-06-11 Thread Neal Norwitz
test_grammar test_opcodes test_dict test_builtin test_exceptions test test_exceptions failed -- Traceback (most recent call last): File "/tmp/python-test-3.0/local/lib/python3.0/test/test_exceptions.py", line 186, in testSettingException test_capi1() File "/tmp/python-test-3.0/local/lib/py

[Python-3000-checkins] Python Regression Test Failures opt (1)

2007-06-11 Thread Neal Norwitz
test_grammar test_opcodes test_dict test_builtin test_exceptions test test_exceptions failed -- Traceback (most recent call last): File "/tmp/python-test-3.0/local/lib/python3.0/test/test_exceptions.py", line 186, in testSettingException test_capi1() File "/tmp/python-test-3.0/local/lib/py

[Python-3000-checkins] Python Regression Test Failures refleak (1)

2007-06-11 Thread Neal Norwitz
test_threading_local leaked [-91, 91, 0] references, sum=0 test_urllib2_localnet leaked [3, 3, 3] references, sum=9 ___ Python-3000-checkins mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000-checkins

[Python-3000-checkins] r55891 - python/branches/py3k-struni/Objects/typeobject.c

2007-06-11 Thread walter.doerwald
Author: walter.doerwald Date: Mon Jun 11 16:03:45 2007 New Revision: 55891 Modified: python/branches/py3k-struni/Objects/typeobject.c Log: __module__ is a unicode string now: use PyUnicode_CompareWithASCIIString() instead of strcmp(). Simplify repr formatting. Modified: python/branches/py3k-

[Python-3000-checkins] Python Regression Test Failures all (1)

2007-06-11 Thread Neal Norwitz
test_grammar test_opcodes test_dict test_builtin test_exceptions test test_exceptions failed -- Traceback (most recent call last): File "/tmp/python-test-3.0/local/lib/python3.0/test/test_exceptions.py", line 186, in testSettingException test_capi1() File "/tmp/python-test-3.0/local/lib/py

[Python-3000-checkins] r55892 - in python/branches/py3k-struni: Lib/test/test_descr.py Objects/typeobject.c

2007-06-11 Thread walter.doerwald
Author: walter.doerwald Date: Mon Jun 11 16:55:19 2007 New Revision: 55892 Modified: python/branches/py3k-struni/Lib/test/test_descr.py python/branches/py3k-struni/Objects/typeobject.c Log: Check unicode identifier directly instead of converting it to an 8bit string first. Modified: python

[Python-3000-checkins] r55893 - python/branches/py3k-struni/Objects/funcobject.c

2007-06-11 Thread walter.doerwald
Author: walter.doerwald Date: Mon Jun 11 17:00:18 2007 New Revision: 55893 Modified: python/branches/py3k-struni/Objects/funcobject.c Log: Simplify error formatting (no default encoding required). Modified: python/branches/py3k-struni/Objects/funcobject.c =

[Python-3000-checkins] r55894 - python/branches/py3k-struni/Objects/object.c

2007-06-11 Thread walter.doerwald
Author: walter.doerwald Date: Mon Jun 11 17:37:20 2007 New Revision: 55894 Modified: python/branches/py3k-struni/Objects/object.c Log: Simplify error formatting. Modified: python/branches/py3k-struni/Objects/object.c

[Python-3000-checkins] r55895 - python/branches/py3k-struni/Objects/typeobject.c

2007-06-11 Thread walter.doerwald
Author: walter.doerwald Date: Mon Jun 11 17:47:13 2007 New Revision: 55895 Modified: python/branches/py3k-struni/Objects/typeobject.c Log: Simplify error formatting and type_repr(). Modified: python/branches/py3k-struni/Objects/typeobject.c

[Python-3000-checkins] r55897 - python/branches/py3k-struni/Python/symtable.c

2007-06-11 Thread walter.doerwald
Author: walter.doerwald Date: Mon Jun 11 18:03:16 2007 New Revision: 55897 Modified: python/branches/py3k-struni/Python/symtable.c Log: Simplify ste_repr(). Modified: python/branches/py3k-struni/Python/symtable.c == -

[Python-3000-checkins] r55898 - python/branches/py3k-struni/Python/symtable.c

2007-06-11 Thread walter.doerwald
Author: walter.doerwald Date: Mon Jun 11 18:06:26 2007 New Revision: 55898 Modified: python/branches/py3k-struni/Python/symtable.c Log: Simplify error formatting. Fix error message in check_unoptimized(). Modified: python/branches/py3k-struni/Python/symtable.c

[Python-3000-checkins] r55899 - python/branches/py3k-struni/Python/symtable.c

2007-06-11 Thread walter.doerwald
Author: walter.doerwald Date: Mon Jun 11 18:08:41 2007 New Revision: 55899 Modified: python/branches/py3k-struni/Python/symtable.c Log: Use PyErr_Format() directly instead of PyOS_snprintf()+PyErr_SetString(). Modified: python/branches/py3k-struni/Python/symtable.c ===

[Python-3000-checkins] r55900 - python/branches/py3k-struni/Python/symtable.c

2007-06-11 Thread walter.doerwald
Author: walter.doerwald Date: Mon Jun 11 18:12:10 2007 New Revision: 55900 Modified: python/branches/py3k-struni/Python/symtable.c Log: Fix PyErr_Format() call (missing exception class). Remove unused variable. Modified: python/branches/py3k-struni/Python/symtable.c =

[Python-3000-checkins] r55902 - python/branches/py3k-struni/Objects/classobject.c python/branches/py3k-struni/Objects/descrobject.c python/branches/py3k-struni/Objects/unicodeobject.c

2007-06-11 Thread walter.doerwald
Author: walter.doerwald Date: Mon Jun 11 18:36:59 2007 New Revision: 55902 Modified: python/branches/py3k-struni/Objects/classobject.c python/branches/py3k-struni/Objects/descrobject.c python/branches/py3k-struni/Objects/unicodeobject.c Log: Add a format specifier %V to PyUnicode_FromForm

[Python-3000-checkins] r55903 - python/branches/py3k-struni/Doc/api/concrete.tex

2007-06-11 Thread walter.doerwald
Author: walter.doerwald Date: Mon Jun 11 18:43:18 2007 New Revision: 55903 Modified: python/branches/py3k-struni/Doc/api/concrete.tex Log: Document PyUnicode_FromFormat(). Modified: python/branches/py3k-struni/Doc/api/concrete.tex ==

[Python-3000-checkins] r55904 - python/branches/py3k-struni/Doc/api/concrete.tex

2007-06-11 Thread walter.doerwald
Author: walter.doerwald Date: Mon Jun 11 18:44:48 2007 New Revision: 55904 Modified: python/branches/py3k-struni/Doc/api/concrete.tex Log: Add versionadded notes to PyUnicode_FromString(), PyUnicode_FromFormat() and PyUnicode_FromFormatV(). Modified: python/branches/py3k-struni/Doc/api/concre

[Python-3000-checkins] r55905 - in python/branches/p3yk: Doc/lib/libfuncs.tex Doc/ref/ref3.tex Include/abstract.h Include/longobject.h Lib/test/output/test_class Lib/test/test_class.py Lib/test/test_f

2007-06-11 Thread georg.brandl
Author: georg.brandl Date: Mon Jun 11 19:02:26 2007 New Revision: 55905 Modified: python/branches/p3yk/Doc/lib/libfuncs.tex python/branches/p3yk/Doc/ref/ref3.tex python/branches/p3yk/Include/abstract.h python/branches/p3yk/Include/longobject.h python/branches/p3yk/Lib/test/output/te

[Python-3000-checkins] r55906 - python/branches/p3yk/Doc/lib/libfuncs.tex

2007-06-11 Thread georg.brandl
Author: georg.brandl Date: Mon Jun 11 19:04:44 2007 New Revision: 55906 Modified: python/branches/p3yk/Doc/lib/libfuncs.tex Log: int(x, 0) does not "guess". Modified: python/branches/p3yk/Doc/lib/libfuncs.tex == --- p

[Python-3000-checkins] r55907 - python/branches/p3yk/Include/object.h

2007-06-11 Thread georg.brandl
Author: georg.brandl Date: Mon Jun 11 19:05:47 2007 New Revision: 55907 Modified: python/branches/p3yk/Include/object.h Log: Add a comment to explain that nb_oct and nb_hex are nonfunctional. Modified: python/branches/p3yk/Include/object.h =

Re: [Python-3000-checkins] r55871 - in python/branches/p3yk: Doc/lib/libctypes.tex Doc/lib/libthreading.tex Doc/lib/liburllib2.tex Doc/whatsnew/whatsnew26.tex Include/pyport.h Lib/_strptime.py Lib/cty

2007-06-11 Thread Guido van Rossum
As of this revision, I get a build error on my ubuntu desktop: building '_testcapi' extension gcc -pthread -fPIC -fno-strict-aliasing -g -Wall -Wstrict-prototypes -I. -I/usr/local/google/home/guido/python/py3k/./Include -I./Include -I. -I/usr/local/include -I/usr/local/google/home/guido/python/py3

Re: [Python-3000-checkins] r55871 - in python/branches/p3yk: Doc/lib/libctypes.tex Doc/lib/libthreading.tex Doc/lib/liburllib2.tex Doc/whatsnew/whatsnew26.tex Include/pyport.h Lib/_strptime.py Lib/cty

2007-06-11 Thread Neal Norwitz
This was due to a patch Martin applied for T_LONGLONG for structmember (or something like that). He said he would fix it soon. The same problem occurs on the trunk. n -- On 6/11/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: > As of this revision, I get a build error on my ubuntu desktop: > >

[Python-3000-checkins] r55908 - python/branches/p3yk/Lib/abc.py

2007-06-11 Thread guido.van.rossum
Author: guido.van.rossum Date: Mon Jun 11 19:49:18 2007 New Revision: 55908 Modified: python/branches/p3yk/Lib/abc.py Log: Get rid of unused imports and comment. Modified: python/branches/p3yk/Lib/abc.py == --- python

[Python-3000-checkins] r55910 - python/branches/p3yk/Lib/abc.py

2007-06-11 Thread guido.van.rossum
Author: guido.van.rossum Date: Mon Jun 11 22:05:17 2007 New Revision: 55910 Modified: python/branches/p3yk/Lib/abc.py Log: _Abstract.__new__ now requires either no arguments or __init__ overridden. Modified: python/branches/p3yk/Lib/abc.py =

[Python-3000-checkins] r55911 - in python/branches/p3yk/Lib: _abcoll.py collections.py test/test_collections.py

2007-06-11 Thread guido.van.rossum
Author: guido.van.rossum Date: Mon Jun 11 22:07:49 2007 New Revision: 55911 Added: python/branches/p3yk/Lib/_abcoll.py (contents, props changed) Modified: python/branches/p3yk/Lib/collections.py python/branches/p3yk/Lib/test/test_collections.py Log: Move the collections ABCs to a separa

[Python-3000-checkins] r55912 - python/branches/p3yk/Lib/os.py

2007-06-11 Thread guido.van.rossum
Author: guido.van.rossum Date: Mon Jun 11 22:09:31 2007 New Revision: 55912 Modified: python/branches/p3yk/Lib/os.py Log: Rewrite the _Environ class to use the new collections ABCs. Modified: python/branches/p3yk/Lib/os.py ==

[Python-3000-checkins] r55914 - in python/branches/p3yk: Lib/test/test_super.py Objects/typeobject.c Python/bltinmodule.c Python/compile.c Python/symtable.c

2007-06-11 Thread guido.van.rossum
Author: guido.van.rossum Date: Mon Jun 11 23:19:50 2007 New Revision: 55914 Added: python/branches/p3yk/Lib/test/test_super.py (contents, props changed) Modified: python/branches/p3yk/Objects/typeobject.c python/branches/p3yk/Python/bltinmodule.c python/branches/p3yk/Python/compile.c

[Python-3000-checkins] r55916 - python/branches/py3k-struni/Modules/binascii.c

2007-06-11 Thread walter.doerwald
Author: walter.doerwald Date: Mon Jun 11 23:48:58 2007 New Revision: 55916 Modified: python/branches/py3k-struni/Modules/binascii.c Log: Remove unused code. Modified: python/branches/py3k-struni/Modules/binascii.c ==

[Python-3000-checkins] r55918 - python/branches/py3k-struni/Python/frozen.c

2007-06-11 Thread guido.van.rossum
Author: guido.van.rossum Date: Tue Jun 12 02:25:52 2007 New Revision: 55918 Modified: python/branches/py3k-struni/Python/frozen.c Log: Update the frozen bytecode for __hello__. Modified: python/branches/py3k-struni/Python/frozen.c ==

[Python-3000-checkins] r55917 - python/branches/py3k-struni/Lib/modulefinder.py

2007-06-11 Thread guido.van.rossum
Author: guido.van.rossum Date: Tue Jun 12 02:25:08 2007 New Revision: 55917 Modified: python/branches/py3k-struni/Lib/modulefinder.py Log: Some quick fixes of code that was sorting dict.keys() etc. Modified: python/branches/py3k-struni/Lib/modulefinder.py =

[Python-3000-checkins] r55919 - in python/branches/py3k-struni: Objects/fileobject.c Python/ast.c Tools/freeze/bkfile.py Tools/freeze/freeze.py Tools/freeze/makefreeze.py Tools/freeze/makemakefile.py

2007-06-11 Thread guido.van.rossum
Author: guido.van.rossum Date: Tue Jun 12 02:28:30 2007 New Revision: 55919 Modified: python/branches/py3k-struni/Objects/fileobject.c python/branches/py3k-struni/Python/ast.c python/branches/py3k-struni/Tools/freeze/bkfile.py python/branches/py3k-struni/Tools/freeze/freeze.py pytho

Re: [Python-3000-checkins] r55919 - in python/branches/py3k-struni: Objects/fileobject.c Python/ast.c Tools/freeze/bkfile.py Tools/freeze/freeze.py Tools/freeze/makefreeze.py Tools/freeze/makemakefile

2007-06-11 Thread Guido van Rossum
This submitted two things I meant to submit separately; here are the comments: fileobject.c: make PyFile_FromFile() work (more or less) by calling io.open() and closing the input file. ast.c: When the input is known to be UTF-8, ignore an encoding declaration. (This was a hack to make the freeze

[Python-3000-checkins] r55920 - python/branches/py3k-struni/Lib/test/test_frozen.py

2007-06-11 Thread guido.van.rossum
Author: guido.van.rossum Date: Tue Jun 12 02:41:02 2007 New Revision: 55920 Modified: python/branches/py3k-struni/Lib/test/test_frozen.py Log: Seems this test is just fine. It fails because __phello__.spam doesn't exist, but that seems a separate issue. Modified: python/branches/py3k-struni/

[Python-3000-checkins] r55921 - python/branches/py3k-struni/Lib/test/test_frozen.py

2007-06-11 Thread guido.van.rossum
Author: guido.van.rossum Date: Tue Jun 12 02:41:35 2007 New Revision: 55921 Modified: python/branches/py3k-struni/Lib/test/test_frozen.py Log: Duh. Delete the outdated comment too. Modified: python/branches/py3k-struni/Lib/test/test_frozen.py =

[Python-3000-checkins] Python Regression Test Failures basics (1)

2007-06-11 Thread Neal Norwitz
test_grammar test_opcodes test_dict test_builtin test_exceptions test test_exceptions failed -- Traceback (most recent call last): File "/tmp/python-test-3.0/local/lib/python3.0/test/test_exceptions.py", line 186, in testSettingException test_capi1() File "/tmp/python-test-3.0/local/lib/py

[Python-3000-checkins] Python Regression Test Failures opt (1)

2007-06-11 Thread Neal Norwitz
test_grammar test_opcodes test_dict test_builtin test_exceptions test test_exceptions failed -- Traceback (most recent call last): File "/tmp/python-test-3.0/local/lib/python3.0/test/test_exceptions.py", line 186, in testSettingException test_capi1() File "/tmp/python-test-3.0/local/lib/py

[Python-3000-checkins] Python Regression Test Failures refleak (1)

2007-06-11 Thread Neal Norwitz
test_threading_local leaked [0, -1, 1] references, sum=0 test_urllib2_localnet leaked [3, 3, 3] references, sum=9 ___ Python-3000-checkins mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000-checkins

[Python-3000-checkins] Python Regression Test Failures all (1)

2007-06-11 Thread Neal Norwitz
test_grammar test_opcodes test_dict test_builtin test_exceptions test test_exceptions failed -- Traceback (most recent call last): File "/tmp/python-test-3.0/local/lib/python3.0/test/test_exceptions.py", line 186, in testSettingException test_capi1() File "/tmp/python-test-3.0/local/lib/py

[Python-3000-checkins] r55923 - python/branches/p3yk/Lib/plat-mac/aepack.py

2007-06-11 Thread guido.van.rossum
Author: guido.van.rossum Date: Tue Jun 12 06:15:24 2007 New Revision: 55923 Modified: python/branches/p3yk/Lib/plat-mac/aepack.py Log: I'm guessing this module broke when Neal ripped out the types module -- it used 'list' both as a local variable and as the built-in list type. Renamed the local

[Python-3000-checkins] r55925 - python/branches/py3k-struni/Python/codecs.c python/branches/py3k-struni/Python/import.c

2007-06-11 Thread martin.v.loewis
Author: martin.v.loewis Date: Tue Jun 12 07:53:00 2007 New Revision: 55925 Modified: python/branches/py3k-struni/Python/codecs.c python/branches/py3k-struni/Python/import.c Log: Revert 55876. Use PyUnicode_AsEncodedString instead. Modified: python/branches/py3k-struni/Python/codecs.c =