Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Dev

Importing extension modules

 

 

Python dev RSS feed   Index | Next | Previous | View Threaded


mal at lemburg

Jul 22, 1999, 1:32 PM

Post #1 of 1 (80 views)
Permalink
Importing extension modules

I'm currently testing a pure Python version of mxDateTime
(my date/time package), which uses a contributed Python version
of the C extension.

Now, to avoid problems with pickled DateTime objects (they include
the complete module name), I would like to name *both* the
Python and the C extension version mxDateTime. With the current
lookup scheme (shared mods are searched before Python modules)
this is no problem since the shared mod is found before the
Python version and used instead, so getting this working is
rather simple.

The question is: will this setup remain a feature in future
versions of Python ? (Does it work this way on all platforms ?)

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

Python dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.