Re: [Python-Dev] json decoder speedups, any time left for 2.6?

2008-09-24 Thread Nick Coghlan
Bob Ippolito wrote:
 How much time do I
 have left to get this into Python 2.6?

Zero I'm afraid - with rc1 out, it's release blocker bugs only. Anything
which can be deferred to the 2.6.1 release without causing any major
harm is definitely out - and while a 2x speedup is very nice, it isn't
something to be squeezing in post-rc1.

Still, that should make for a nice incremental improvement when 2.6.1
rolls around.

Cheers,
Nick.

-- 
Nick Coghlan   |   [EMAIL PROTECTED]   |   Brisbane, Australia
---
http://www.boredomandlaziness.org
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] json decoder speedups, any time left for 2.6?

2008-09-24 Thread Barry Warsaw

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sep 24, 2008, at 5:47 AM, Nick Coghlan wrote:


Bob Ippolito wrote:

How much time do I
have left to get this into Python 2.6?


Zero I'm afraid - with rc1 out, it's release blocker bugs only.  
Anything

which can be deferred to the 2.6.1 release without causing any major
harm is definitely out - and while a 2x speedup is very nice, it isn't
something to be squeezing in post-rc1.

Still, that should make for a nice incremental improvement when 2.6.1
rolls around.


I concur.
- -Barry

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (Darwin)

iQCVAwUBSNo9PHEjvBPtnXfVAQKJZQP/dGcmjO7P9RKIcYsFAwmDdVlCfn2WiGQt
WlNgJiIq5tnq4WSyRQMNeDAWZfheq/vHqlDMU6OunIz5jcv0cVNmKkfcW+pTl9Yc
7Ur6mejeAUYrg2jHkimhMv0wpX/lJ+7CrWD1c+3PK+tQD0GgWfen+/xzCkGqlbc8
ompjNE1WPPs=
=Jm8s
-END PGP SIGNATURE-
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] json decoder speedups, any time left for 2.6?

2008-09-24 Thread Bob Ippolito
On Wed, Sep 24, 2008 at 6:14 AM, Barry Warsaw [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Sep 24, 2008, at 5:47 AM, Nick Coghlan wrote:

 Bob Ippolito wrote:

 How much time do I
 have left to get this into Python 2.6?

 Zero I'm afraid - with rc1 out, it's release blocker bugs only. Anything
 which can be deferred to the 2.6.1 release without causing any major
 harm is definitely out - and while a 2x speedup is very nice, it isn't
 something to be squeezing in post-rc1.

 Still, that should make for a nice incremental improvement when 2.6.1
 rolls around.

 I concur.

Ok, no problem. The speedup is about 3x now on the trunk ;) I think
that further optimization will require some more C hacking, but 2.6.1
should give me plenty of time to get around to some of that.

-bob
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] json decoder speedups, any time left for 2.6?

2008-09-24 Thread Alex Martelli
Meanwhile, can you please release (wherever you normally release
things;-) the pure-Python version as well?  I'd like to play around
with it in Google App Engine opensource sandboxes (e.g., cfr.
gae-json-rest -- I'll be delighted to add you to that project if you
want of course;-) and that requires Python 2.5 and only pure-Python
add-ons... thanks!

Alex


On Wed, Sep 24, 2008 at 8:08 AM, Bob Ippolito [EMAIL PROTECTED] wrote:
 On Wed, Sep 24, 2008 at 6:14 AM, Barry Warsaw [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Sep 24, 2008, at 5:47 AM, Nick Coghlan wrote:

 Bob Ippolito wrote:

 How much time do I
 have left to get this into Python 2.6?

 Zero I'm afraid - with rc1 out, it's release blocker bugs only. Anything
 which can be deferred to the 2.6.1 release without causing any major
 harm is definitely out - and while a 2x speedup is very nice, it isn't
 something to be squeezing in post-rc1.

 Still, that should make for a nice incremental improvement when 2.6.1
 rolls around.

 I concur.

 Ok, no problem. The speedup is about 3x now on the trunk ;) I think
 that further optimization will require some more C hacking, but 2.6.1
 should give me plenty of time to get around to some of that.

 -bob
 ___
 Python-Dev mailing list
 Python-Dev@python.org
 http://mail.python.org/mailman/listinfo/python-dev
 Unsubscribe: 
 http://mail.python.org/mailman/options/python-dev/aleaxit%40gmail.com

___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] json decoder speedups, any time left for 2.6?

2008-09-24 Thread Bob Ippolito
http://pypi.python.org/pypi/simplejson

The _speedups module is optional.

On Wed, Sep 24, 2008 at 8:42 AM, Alex Martelli [EMAIL PROTECTED] wrote:
 Meanwhile, can you please release (wherever you normally release
 things;-) the pure-Python version as well?  I'd like to play around
 with it in Google App Engine opensource sandboxes (e.g., cfr.
 gae-json-rest -- I'll be delighted to add you to that project if you
 want of course;-) and that requires Python 2.5 and only pure-Python
 add-ons... thanks!

 Alex


 On Wed, Sep 24, 2008 at 8:08 AM, Bob Ippolito [EMAIL PROTECTED] wrote:
 On Wed, Sep 24, 2008 at 6:14 AM, Barry Warsaw [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On Sep 24, 2008, at 5:47 AM, Nick Coghlan wrote:

 Bob Ippolito wrote:

 How much time do I
 have left to get this into Python 2.6?

 Zero I'm afraid - with rc1 out, it's release blocker bugs only. Anything
 which can be deferred to the 2.6.1 release without causing any major
 harm is definitely out - and while a 2x speedup is very nice, it isn't
 something to be squeezing in post-rc1.

 Still, that should make for a nice incremental improvement when 2.6.1
 rolls around.

 I concur.

 Ok, no problem. The speedup is about 3x now on the trunk ;) I think
 that further optimization will require some more C hacking, but 2.6.1
 should give me plenty of time to get around to some of that.

 -bob
 ___
 Python-Dev mailing list
 Python-Dev@python.org
 http://mail.python.org/mailman/listinfo/python-dev
 Unsubscribe: 
 http://mail.python.org/mailman/options/python-dev/aleaxit%40gmail.com


___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] ',' precedence in documentation

2008-09-24 Thread Jason Orendorff
What I really want is for the need to be less common.  What if assert
recognized certain commonly used expression types and actually
generated appropriate error messages?

   assert foo.answer == 42
  AssertionError: expected foo.answer == 42; actual: 'a suffusion of yellow'

Maybe that's too magical.  :(  Failing that, I wish the message could
look sort of like a comment.

assert cond || message

Yes, I know that symbol is used for something else in other languages...

-j
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com