Re: [Python-3000] [Python-3000-checkins] r62269 - in python/branches/py3k: Lib/test/test_getargs2.py Objects/abstract.c Python/getargs.c

2008-04-10 Thread Trent Nelson
> > Does this mean that floats can now be used as list indexes? > > Preventing this was the motivation for introducing the nb_index slot. > > > from http://www.python.org/dev/peps/pep-0357 :: > > > > The biggest example of why using nb_int would be a bad > > thing is that float objects alre

Re: [Python-3000] [Python-3000-checkins] r62269 - in python/branches/py3k: Lib/test/test_getargs2.py Objects/abstract.c Python/getargs.c

2008-04-10 Thread Trent Nelson
> > Issue 2440: fix the handling of %n in Python/getargs.c's > convertsimple(), > > extend Objects/abstract.c's PyNumber_Index() to accept PyObjects that > have nb_int slots, > > and update test_getargs2 to test that an exception is thrown when > __int__() returns a non-int object. > > Does this me

Re: [Python-3000] properties on IOBase

2008-04-10 Thread Guido van Rossum
On Thu, Apr 10, 2008 at 1:27 PM, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > On Thu, Apr 10, 2008 at 10:04 AM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > On Wed, Apr 9, 2008 at 7:07 PM, Benjamin Peterson > > <[EMAIL PROTECTED]> wrote: > > > Should IOBase's writeable, readable, and seek

Re: [Python-3000] properties on IOBase

2008-04-10 Thread Benjamin Peterson
On Thu, Apr 10, 2008 at 10:04 AM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Wed, Apr 9, 2008 at 7:07 PM, Benjamin Peterson > <[EMAIL PROTECTED]> wrote: > > Should IOBase's writeable, readable, and seekable methods have > > decorators like the closed method? > > No, read the PEP. I did.

Re: [Python-3000] Implementing % formatting in terms of str.format()

2008-04-10 Thread Eric Smith
Guido van Rossum wrote: > I think there are too many risks with this approach, especially given > that we're keeping % formatting mainly for backwards compatibility > reasons. There will inevitably be corner cases where the conversion > doesn't work exactly the same way as the old code or where the

Re: [Python-3000] [Python-3000-checkins] r62269 - in python/branches/py3k: Lib/test/test_getargs2.py Objects/abstract.c Python/getargs.c

2008-04-10 Thread Amaury Forgeot d'Arc
Hello, > Log: > Issue 2440: fix the handling of %n in Python/getargs.c's convertsimple(), > extend Objects/abstract.c's PyNumber_Index() to accept PyObjects that have > nb_int slots, > and update test_getargs2 to test that an exception is thrown when __int__() > returns a non-int object. Does t

Re: [Python-3000] buildbot failure in ppc Debian unstable 3.0

2008-04-10 Thread Bill Janssen
> Seems like we should revert r62242 test_ssl.py in py3k, commit that, then c= > opy it back to trunk, manually 3to2 it, then check that in, then block that= > particular revision. Then, going forward, if test_ssl.py changes need to = > be made, make them against trunk, and they'll get picked up

Re: [Python-3000] properties on IOBase

2008-04-10 Thread Guido van Rossum
On Wed, Apr 9, 2008 at 7:07 PM, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > Should IOBase's writeable, readable, and seekable methods have > decorators like the closed method? No, read the PEP. -- --Guido van Rossum (home page: http://www.python.org/~guido/) _

Re: [Python-3000] buildbot failure in ppc Debian unstable 3.0

2008-04-10 Thread Trent Nelson
> > Why not revert these, and I understand there's some way of marking > > files to not be merged, now? Please so mark these three files, and > > when it's working in 2.6 again, we can remove the marks. > > Looking at these three, it seems that only > Lib/test/test_ssl.py is broken. Could this b