standard libraries don't behave like standard 'libraries'

Diez B. Roggisch deets at nospam.web.de
Thu Nov 12 14:07:48 CET 2009


> 
> ok let me make it more clear..
> forget how you use python now.. i am talking about __futuristic__
> python programming.
 >
> 
> there is no more python2.x or python3.x or python y.x releases. there
> is only updates of python and standard library say 1.1.5 and 1.1.6.
> let the difference be an old xml library updated with a new regex
> support.
> 
> i am coding my program now.
> i want my application to be compatible with 1.1.5 library
> 
> use library 1.1.5
> import blah form blahblah
> ...
> ...
> 
> i cannot use regex feature of xml in this application
> i then update my library in the evening
> now both the libraries are present in my system.
> now i try using the new feature
> 
> use library 1.1.6 #thats all now i get all features
> import blah from blahblah

This is not futuristic, this is state of the art with PyPI & setuptools.

You still haven't addressed all the issues that arise though, regarding 
different python interpreter versions having different syntax and ABI.

Diez



More information about the Python-list mailing list