A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/1999-September/000934.html below:

[Python-Dev] Towards a Python based import scheme

[Python-Dev] Towards a Python based import scheme [Python-Dev] Towards a Python based import schemeM.-A. Lemburg mal@lemburg.com
Wed, 15 Sep 1999 22:01:01 +0200
Back again...

To get a little more constructive I've started hacking away 
on Greg Stein's imputil.py to make it work with my DateTime
package. The DateTime packages does a lot of from...import...
and intra-package imports, plus it loads a shared lib as
extension.

The original version of imputil I fetched from Greg's page
did work out of the box (from...import... hassles) and
obviously did not support in-package shared libs. I've added
both features so that the test script in DateTime can run
successfully.

Things that remain are:
· the win32 registry stuff (needs C code)
· the Mac fork stuff (needs C code)
· a working __path__ implementation (is anyone using this attribute
  which only is available in packages ?)
· probably a whole bunch of other quirks
· some speedups (there currently are too many stat()s)

Please give it a try:

	http://starship.skyport.net/~lemburg/imputil.py

in color:

	http://starship.skyport.net/~lemburg/imputil.py.html

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




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4