Re: [Python-Dev] TLSAbruptCloseError

2007-06-12 Thread Martin v. Löwis
> Any thoughts? My main thought: this posting is off-topic for python-dev. This list is for the development of Python itself; use comp.lang.python for discussing development *with* Python. However, this may still be the wrong place - perhaps you better ask in a Java forum? Regards, Martin ___

[Python-Dev] Representation of 'nan'

2007-06-12 Thread Pete Shinners
The repr() for a float of 'inf' or 'nan' is generated as a string (not a string literal). Perhaps this is only important in how one defines repr(). I've filed a bug, but am not sure if there is a clear solution. https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1732212&group_id=5470 #

[Python-Dev] minimal configuration for python on a DSP (C64xx family of TI)

2007-06-12 Thread Roland Geibel
Dear all. We want to make python run on DSP processors (C64xx family of TI). Which would be a minimal configuration (of modules, C-files, ... ) to make it start running (without all of the things useful to add, once it runs). Any hints welcome Roland Geibel [EMAIL PROTECTED] Heut

Re: [Python-Dev] 2.5 slower than 2.4 for some things?

2007-06-12 Thread Christian K
ocean wrote: >> I've had a report from a user that Plex runs about half >> as fast in 2.5 as it did in 2.4. In particular, the >> NFA-to-DFA conversion phase, which does a lot of >> messing about with dicts representing mappings between >> sets of states. That was me. >> Does anyone in the Minist

Re: [Python-Dev] 2.5 slower than 2.4 for some things?

2007-06-12 Thread Greg Ewing
ocean wrote: > So, probably hash, comparation mechanizm of old/new style class has changed. > # improved for new style class, worse for old style class. Maybe optimized > for new style class? Thanks -- it looks like there's a simple solution that will make Plex even faster! I'll pass this on to t

[Python-Dev] Requesting commit access to python sandbox. Cleanup urllib2 - Summer of Code 2007 Project

2007-06-12 Thread Senthil Kumaran
Hi, I am a student participant of Google Summer of Code 2007 and I am working on the cleanup task of urllib2, with Skip as my mentor. I would like to request for a commit access to the Python Sandbox for implementing the changes as part of the project. I have attached by SSH Public keys. preferred

[Python-Dev] [RFC] urlparse - parse query facility

2007-06-12 Thread Senthil Kumaran
Hi all, This mail is a request for comments on changes to urlparse module. We understand that urlparse returns the 'complete query' value as the query component and does not provide the facilities to separate the query components. User will have to use the cgi module (cgi.parse_qs) to get the query

Re: [Python-Dev] Question about dictobject.c:lookdict_string

2007-06-12 Thread Eyal Lotem
On 6/11/07, Carl Friedrich Bolz <[EMAIL PROTECTED]> wrote: > Eyal Lotem wrote: > > My question is specifically regarding the transition back from > > lookdict_string (the initial value) to the general lookdict. > > > > Currently, when a string-only dict is trying to look up any > > non-string, it r

Re: [Python-Dev] 2.5 slower than 2.4 for some things?

2007-06-12 Thread ocean
> I've had a report from a user that Plex runs about half > as fast in 2.5 as it did in 2.4. In particular, the > NFA-to-DFA conversion phase, which does a lot of > messing about with dicts representing mappings between > sets of states. > > Does anyone in the Ministry for Making Python Blazingly >

Re: [Python-Dev] Instance variable access and descriptors

2007-06-12 Thread Brian Harring
On Tue, Jun 12, 2007 at 08:10:26PM +1200, Greg Ewing wrote: > Phillip J. Eby wrote: > > ...at the cost of slowing down access to properties and __slots__, by > > adding an *extra* dictionary lookup there. > > Rather than spend time tinkering with the lookup order, > it might be more productive to

Re: [Python-Dev] Instance variable access and descriptors

2007-06-12 Thread Greg Ewing
Phillip J. Eby wrote: > ...at the cost of slowing down access to properties and __slots__, by > adding an *extra* dictionary lookup there. Rather than spend time tinkering with the lookup order, it might be more productive to look into implementing a cache for attribute lookups. That would help w

[Python-Dev] 2.5 slower than 2.4 for some things?

2007-06-12 Thread Greg Ewing
I've had a report from a user that Plex runs about half as fast in 2.5 as it did in 2.4. In particular, the NFA-to-DFA conversion phase, which does a lot of messing about with dicts representing mappings between sets of states. Does anyone in the Ministry for Making Python Blazingly fast happen t