[Python-3000-checkins] r56950 - python/branches/py3k/Lib/test/pystone.py

2007-08-12 Thread neal.norwitz
Author: neal.norwitz Date: Sun Aug 12 09:02:50 2007 New Revision: 56950 Modified: python/branches/py3k/Lib/test/pystone.py Log: Get pystone working with lazy map. Modified: python/branches/py3k/Lib/test/pystone.py == -

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

2007-08-12 Thread martin.v.loewis
Author: martin.v.loewis Date: Sun Aug 12 09:06:14 2007 New Revision: 56951 Modified: python/branches/py3k/Lib/idlelib/OutputWindow.py Log: Don't try to convert str to Unicode anymore. Modified: python/branches/py3k/Lib/idlelib/OutputWindow.py ==

[Python-3000-checkins] r56952 - python/branches/py3k/Objects/floatobject.c

2007-08-12 Thread neal.norwitz
Author: neal.norwitz Date: Sun Aug 12 09:11:25 2007 New Revision: 56952 Modified: python/branches/py3k/Objects/floatobject.c Log: Fix memory leak Modified: python/branches/py3k/Objects/floatobject.c == --- python/branc

Re: [Python-3000-checkins] r56940 - in python/branches/py3k: Demo/scripts/newslist.py Demo/scripts/pp.py Doc/dist/dist.tex Doc/howto/doanddont.tex Doc/lib/libdoctest.tex Doc/lib/libexcs.tex Doc/lib/li

2007-08-12 Thread Georg Brandl
neal.norwitz schrieb: > Author: neal.norwitz > Date: Sun Aug 12 02:43:29 2007 > New Revision: 56940 > Log: > Kill execfile(), use exec() instead > Modified: python/branches/py3k/Demo/scripts/newslist.py > === > --- python/branches/py3k/Demo/scripts/newslist.py

[Python-3000-checkins] r56954 - in python/branches/py3k-buffer: Include/object.h Modules/arraymodule.c Objects/abstract.c Objects/bufferobject.c Objects/bytesobject.c Objects/memoryobject.c Objects/un

2007-08-12 Thread travis.oliphant
Author: travis.oliphant Date: Sun Aug 12 10:24:12 2007 New Revision: 56954 Modified: python/branches/py3k-buffer/Include/object.h python/branches/py3k-buffer/Modules/arraymodule.c python/branches/py3k-buffer/Objects/abstract.c python/branches/py3k-buffer/Objects/bufferobject.c pytho

[Python-3000-checkins] r56955 - in python/branches/py3k: Doc/api/exceptions.tex Include/pyerrors.h Modules/_bsddb.c Modules/_ctypes/callbacks.c Modules/mmapmodule.c Modules/posixmodule.c Objects/unico

2007-08-12 Thread skip.montanaro
Author: skip.montanaro Date: Sun Aug 12 13:44:53 2007 New Revision: 56955 Modified: python/branches/py3k/Doc/api/exceptions.tex python/branches/py3k/Include/pyerrors.h python/branches/py3k/Modules/_bsddb.c python/branches/py3k/Modules/_ctypes/callbacks.c python/branches/py3k/Modules

[Python-3000-checkins] r56957 - python/branches/py3k/Lib/imghdr.py python/branches/py3k/Lib/sndhdr.py

2007-08-12 Thread barry.warsaw
Author: barry.warsaw Date: Sun Aug 12 16:37:20 2007 New Revision: 56957 Modified: python/branches/py3k/Lib/imghdr.py python/branches/py3k/Lib/sndhdr.py Log: Compare what's read from files against proper byte literals. Neither of these modules have unittests AFAICT, and I'm not improving thi

[Python-3000-checkins] r56958 - python/branches/py3k/Modules/posixmodule.c

2007-08-12 Thread neal.norwitz
Author: neal.norwitz Date: Sun Aug 12 18:56:02 2007 New Revision: 56958 Modified: python/branches/py3k/Modules/posixmodule.c Log: Fix memory leak Modified: python/branches/py3k/Modules/posixmodule.c == --- python/branc

[Python-3000-checkins] r56959 - python/branches/py3k/Modules/posixmodule.c

2007-08-12 Thread neal.norwitz
Author: neal.norwitz Date: Sun Aug 12 19:09:36 2007 New Revision: 56959 Modified: python/branches/py3k/Modules/posixmodule.c Log: Fix memory leak in an error condition Modified: python/branches/py3k/Modules/posixmodule.c =

Re: [Python-3000-checkins] r56940 - in python/branches/py3k: Demo/scripts/newslist.py Demo/scripts/pp.py Doc/dist/dist.tex Doc/howto/doanddont.tex Doc/lib/libdoctest.tex Doc/lib/libexcs.tex Doc/lib/li

2007-08-12 Thread Neal Norwitz
On 8/12/07, Georg Brandl <[EMAIL PROTECTED]> wrote: > neal.norwitz schrieb: > > Author: neal.norwitz > > Date: Sun Aug 12 02:43:29 2007 > > New Revision: 56940 > > > Log: > > Kill execfile(), use exec() instead > > > Modified: python/branches/py3k/Demo/scripts/newslist.py > > ==

Re: [Python-3000-checkins] r56940 - in python/branches/py3k: Demo/scripts/newslist.py Demo/scripts/pp.py Doc/dist/dist.tex Doc/howto/doanddont.tex Doc/lib/libdoctest.tex Doc/lib/libexcs.tex Doc/lib/li

2007-08-12 Thread Georg Brandl
Neal Norwitz schrieb: > On 8/12/07, Georg Brandl <[EMAIL PROTECTED]> wrote: >> neal.norwitz schrieb: >> > Author: neal.norwitz >> > Date: Sun Aug 12 02:43:29 2007 >> > New Revision: 56940 >> >> > Log: >> > Kill execfile(), use exec() instead >> >> > Modified: python/branches/py3k/Demo/scripts/newsl

[Python-3000-checkins] r56961 - python/branches/py3k/Objects/unicodeobject.c

2007-08-12 Thread neal.norwitz
Author: neal.norwitz Date: Sun Aug 12 19:21:38 2007 New Revision: 56961 Modified: python/branches/py3k/Objects/unicodeobject.c Log: Add comment that should be addressed Modified: python/branches/py3k/Objects/unicodeobject.c ==

[Python-3000-checkins] r56962 - python/branches/py3k/Modules/_fileio.c

2007-08-12 Thread neal.norwitz
Author: neal.norwitz Date: Sun Aug 12 19:23:54 2007 New Revision: 56962 Modified: python/branches/py3k/Modules/_fileio.c Log: Cleanup a little. Use bit fields for flags to reduce memory usage. Return booleans where they are documented. Although a boolean for seekable seems a bit odd when it ca

Re: [Python-3000-checkins] r56940 - in python/branches/py3k: Demo/scripts/newslist.py Demo/scripts/pp.py Doc/dist/dist.tex Doc/howto/doanddont.tex Doc/lib/libdoctest.tex Doc/lib/libexcs.tex Doc/lib/li

2007-08-12 Thread Guido van Rossum
if you read carefully the io module exports several classes that can be thought of as ABCs: IOBase, RawIOBase, BufferedIOBase, TextIOBase. All that's lacking in these is an abstract method or two. My intent is to add these (if it doesn't cause circularities at boot time). I'm torn about whether ex

Re: [Python-3000-checkins] r56962 - python/branches/py3k/Modules/_fileio.c

2007-08-12 Thread Guido van Rossum
On 8/12/07, neal.norwitz wrote: > Author: neal.norwitz > Date: Sun Aug 12 19:23:54 2007 > New Revision: 56962 > > Modified: >python/branches/py3k/Modules/_fileio.c > Log: > Cleanup a little. > Use bit fields for flags to reduce memory usage. Isn't that premature optimization? How many file ob

Re: [Python-3000-checkins] r56961 - python/branches/py3k/Objects/unicodeobject.c

2007-08-12 Thread Guido van Rossum
On 8/12/07, neal.norwitz wrote: > Author: neal.norwitz > Date: Sun Aug 12 19:21:38 2007 > New Revision: 56961 > > Modified: >python/branches/py3k/Objects/unicodeobject.c > Log: > Add comment that should be addressed > > Modified: python/branches/py3k/Objects/unicodeobject.c > =

Re: [Python-3000-checkins] r56962 - python/branches/py3k/Modules/_fileio.c

2007-08-12 Thread Guido van Rossum
On 8/12/07, neal.norwitz wrote: > @@ -337,6 +338,8 @@ > else > self->seekable = 1; > } > + /* XXX(nnorwitz): should this return an int rather than a bool, > + since seekable could be -1, 0, or 1? */ > return PyBool_FromLong((lo

[Python-3000-checkins] r56971 - python/branches/py3k/Modules/_tkinter.c

2007-08-12 Thread martin.v.loewis
Author: martin.v.loewis Date: Mon Aug 13 07:41:41 2007 New Revision: 56971 Modified: python/branches/py3k/Modules/_tkinter.c Log: Use Tcl_SetObjResult instead of Tcl_SetResult. Modified: python/branches/py3k/Modules/_tkinter.c ==

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

2007-08-12 Thread martin.v.loewis
Author: martin.v.loewis Date: Mon Aug 13 08:26:48 2007 New Revision: 56978 Modified: python/branches/py3k/Lib/idlelib/OutputWindow.py Log: Allow str8 in .write(). Modified: python/branches/py3k/Lib/idlelib/OutputWindow.py ===

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

2007-08-12 Thread martin.v.loewis
Author: martin.v.loewis Date: Mon Aug 13 08:02:38 2007 New Revision: 56975 Modified: python/branches/py3k/Lib/idlelib/OutputWindow.py Log: Make assertion error be more verbose. Modified: python/branches/py3k/Lib/idlelib/OutputWindow.py =

[Python-3000-checkins] r56974 - python/branches/py3k/Lib/idlelib/PyParse.py

2007-08-12 Thread martin.v.loewis
Author: martin.v.loewis Date: Mon Aug 13 08:02:09 2007 New Revision: 56974 Modified: python/branches/py3k/Lib/idlelib/PyParse.py Log: Fix typo. Modified: python/branches/py3k/Lib/idlelib/PyParse.py == --- python/branc

[Python-3000-checkins] r56973 - python/branches/py3k/Modules/_tkinter.c

2007-08-12 Thread martin.v.loewis
Author: martin.v.loewis Date: Mon Aug 13 08:01:43 2007 New Revision: 56973 Modified: python/branches/py3k/Modules/_tkinter.c Log: Create Unicode objects. Modified: python/branches/py3k/Modules/_tkinter.c == --- python

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

2007-08-12 Thread martin.v.loewis
Author: martin.v.loewis Date: Mon Aug 13 08:03:15 2007 New Revision: 56976 Modified: python/branches/py3k/Lib/idlelib/PyShell.py Log: Expect that source strings are Unicode. Modified: python/branches/py3k/Lib/idlelib/PyShell.py =