[Python-Dev] Re: .DLL vs .PYD search order

M.-A. Lemburg mal@lemburg.com
Fri, 03 Dec 1999 15:14:09 +0100


Guido van Rossum wrote:
> 
> [Greg]
> > > I'd rather see the builtin machinery move to Python, regardless of what
> > > system is used and/or what features are added.
> 
> [Marc]
> > In the long run that's probably the right direction, but right now
> > we are only talking a very small set of additional features,
> > which can easily be added to the existing code without too much
> > fuzz.
> 
> I disagree.  We should do the redisign right rather than tweaking the
> existing code.

Ok, then...
 
> > IMHO, we should retreat to a more centralized interface,
> > one which more resembles a manager rather than the agent
> > interface implemented in imputil.py. Add-ons can then
> > register themselves to say "hey, I can handle pyz-archives"
> > or "I know how to import .so modules" or "I provide a
> > search function which you can call to have me scan
> > my module container (directory, web-site, archive)".
> 
> This makes sense.
> 
> > The manager would take care of what to call and in which
> > order, plus delegate requests to add-ons which implement
> > the needed logic, e.g. add-ons for signature checking, unzipping
> > archives, file system lookup tables, etc.
> >
> > It could also trace its actions and then keep an on-disk
> > knowledge base for what it did in the past to find certain
> > modules under certain conditions.
> >
> > Anyway, all this is extra magic for some future version of
> > Python.
> 
> I would say the manager API design and a basic set of specific
> handlers should go into 1.6.

BTW, is there a timeline for the 1.6 release ? I mean which
things will have to be in 1.6 ?

Some recent topics as hints:

1. Unicode
2. Import Manager API + default handlers
3. Python style coercion at C type level
4. Rich comparisons
5. __doc__ string extraction tool

-- 
Marc-Andre Lemburg
______________________________________________________________________
Y2000:                                                    28 days left
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/