Re: [Python-3000] Should len() clip to sys.maxsize or raiseOverflowError?

2008-09-03 Thread Hagen Fürstenau
> That said, I would actually be okay with the status quo (which does > raise an OverflowError) as long as we commit to fixing this properly > in 2.7 / 3.1, by removing the range restriction (like we've done for > other int operations a long time ago). What should be done when __len__() returns a

Re: [Python-3000] Should len() clip to sys.maxsize or raiseOverflowError?

2008-09-03 Thread Guido van Rossum
2008/9/3 Hagen Fürstenau <[EMAIL PROTECTED]>: >> That said, I would actually be okay with the status quo (which does >> raise an OverflowError) as long as we commit to fixing this properly >> in 2.7 / 3.1, by removing the range restriction (like we've done for >> other int operations a long time ag

Re: [Python-3000] Should len() clip to sys.maxsize or raiseOverflowError?

2008-09-03 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Guido van Rossum wrote: > That said, I would actually be okay with the status quo (which does > raise an OverflowError) as long as we commit to fixing this properly > in 2.7 / 3.1, by removing the range restriction (like we've done for > other int oper

[Python-3000] bsddb finished for 2.6/3.0 (and ": str() on a bytes instance")

2008-09-03 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 With this email I confirm that bsddb work for 2.6/3.0 rc1 is done. I have some issues with the buildbots, nevertheless. See: , for example. """ Re-running failed test

Re: [Python-3000] bsddb finished for 2.6/3.0 (and ": str() on a bytes instance")

2008-09-03 Thread Christian Heimes
Jesus Cea wrote: I can't reproduce the issue in my local Python3.0 development version (here, all tests passes fine). Any suggestion?. Yeah, use my byte warning mode of Python 3.0. Before your time in the core team I had a long discussion with Guido and a few others. The conclusion of the dis

Re: [Python-3000] bsddb finished for 2.6/3.0 (and ": str() on a bytes instance")

2008-09-03 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian Heimes wrote: > Jesus Cea wrote: >> I can't reproduce the issue in my local Python3.0 development version >> (here, all tests passes fine). Any suggestion?. > > Yeah, use my byte warning mode of Python 3.0. Before your time in the > core tea

Re: [Python-3000] bsddb finished for 2.6/3.0 (and ": str() on a bytes instance")

2008-09-03 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sep 3, 2008, at 5:31 PM, Jesus Cea wrote: Christian Heimes wrote: Jesus Cea wrote: I can't reproduce the issue in my local Python3.0 development version (here, all tests passes fine). Any suggestion?. Yeah, use my byte warning mode of Pytho

Re: [Python-3000] bsddb finished for 2.6/3.0 (and ": str() on a bytes instance")

2008-09-03 Thread Jesus Cea
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Barry Warsaw wrote: > and I know Brett agrees, so that's it. On IRC, I've just asked Benjamin > to do the honors for 3.0 and Brett will add the deprecations for 2.6. I just committed the fix for bsddb testsuite in Python 3.0 branch: http://www.python

Re: [Python-3000] bsddb finished for 2.6/3.0 (and ": str() on a bytes instance")

2008-09-03 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sep 3, 2008, at 7:01 PM, Jesus Cea wrote: Barry Warsaw wrote: and I know Brett agrees, so that's it. On IRC, I've just asked Benjamin to do the honors for 3.0 and Brett will add the deprecations for 2.6. I just committed the fix for bsddb t

[Python-3000] PEP 3108 and the demise of bsddb3

2008-09-03 Thread skip
>From issue3769: Skip> Remind me why we want to get rid of bsddb? Benjamin> The reasons are enumerated in PEP 3108. Not much justification and no references to outside discussion for such a heavily used package which has been part of Python for a long time in one form or another. I fin

Re: [Python-3000] PEP 3108 and the demise of bsddb3

2008-09-03 Thread Brett Cannon
On Wed, Sep 3, 2008 at 7:33 PM, <[EMAIL PROTECTED]> wrote: > > >From issue3769: > >Skip> Remind me why we want to get rid of bsddb? > >Benjamin> The reasons are enumerated in PEP 3108. > > Not much justification and no references to outside discussion for such a > heavily used package whic

Re: [Python-3000] PEP 3108 and the demise of bsddb3

2008-09-03 Thread Raymond Hettinger
Skip> Remind me why we want to get rid of bsddb? Benjamin> The reasons are enumerated in PEP 3108. Not much justification and no references to outside discussion for such a heavily used package which has been part of Python for a long time in one form or another. Well said. Raymond _

[Python-3000] Not releasing rc1 tonight

2008-09-03 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm not going to release rc1 tonight. There are too many open release blockers that I don't want to defer, and I'd like the buildbots to churn through the bsddb removal on all platforms. Let me first thank Benjamin, Brett, Mark and Antoine for

[Python-3000] Problem with grammar for 'except'?

2008-09-03 Thread Brett Cannon
I gave a talk last night at the Vancouver Python users group on 2.6/3.0, and I tried the following code and it failed during a live demo:: >>> try: pass ... except Exception, Exception: pass File "", line 2 except Exception, Exception: pass ^ Syntax

Re: [Python-3000] [Python-Dev] Not releasing rc1 tonight

2008-09-03 Thread Raymond Hettinger
[Barry] I'm not going to release rc1 tonight. Can I go ahead with some bug fixes and doc improvements or should I wait until after Friday? Raymond ___ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-30

Re: [Python-3000] Problem with grammar for 'except'?

2008-09-03 Thread Raymond Hettinger
[Brett] I gave a talk last night at the Vancouver Python users group on 2.6/3.0, and I tried the following code and it failed during a live demo:: >>> try: pass ... except Exception, Exception: pass File "", line 2 except Exception, Exception: pass ^ Sy

Re: [Python-3000] PEP 3108 and the demise of bsddb3

2008-09-03 Thread Gregory P. Smith
On Wed, Sep 3, 2008 at 8:36 PM, Raymond Hettinger <[EMAIL PROTECTED]> wrote: >> Skip> Remind me why we want to get rid of bsddb? >> >> Benjamin> The reasons are enumerated in PEP 3108. >> >> Not much justification and no references to outside discussion for such a >> heavily used package which

Re: [Python-3000] Fwd: Beta 3 planned for this Wednesday (OT: Beta 3 planned for this Wednesday)

2008-09-03 Thread Gregory P. Smith
I agree that this should go in. zlib should return bytes. other read functions and similar modules like bz2module already return bytes. unless i hear objections, i'll commit this in about 12 hours. On Wed, Aug 20, 2008 at 12:20 AM, Anand Balachandran Pillai <[EMAIL PROTECTED]> wrote: > Hi, > >

Re: [Python-3000] Fwd: Beta 3 planned for this Wednesday (OT: Beta 3 planned for this Wednesday)

2008-09-03 Thread Anand Balachandran Pillai
On Thu, Sep 4, 2008 at 10:47 AM, Gregory P. Smith <[EMAIL PROTECTED]> wrote: > I agree that this should go in. zlib should return bytes. other read > functions and similar modules like bz2module already return bytes. > unless i hear objections, i'll commit this in about 12 hours. +1 :) > Rega