On Mon, Mar 24, 2014 at 1:34 PM, Donald Stufft <don...@stufft.io> wrote:
> Right now users have a singular method for determining what the runtime
> environment looks like for Python, the version. There are processes around
> selecting different Python versions for things, upgrading etc. This isn’t
> a new thing for users. Suddenly having to mess with PYTHONPATH or
> having to figure out if their distro used the “official stdlib” or the 
> “official
> unofficial stdlib” just adds massive confusion.

Various distros of Linux ship modified versions of things. On my
current system (Debian Wheezy), the apt-gettable Python is tagged
"2.7.3-4+deb7u1", so there are already at least some patches that
aren't in vanilla 2.7.3. Presumably the distro could happily just ship
the enhanced stdlib, and you don't need to mess with PYTHONPATH; and a
modified sys.version or other detection method could be used to probe
if you need to be sure.

As has already been pointed out, this can already happen, but in an
ad-hoc way. Making it official or semi-official would mean that a
script written for Debian's "Python 2.7.10" would run on Red Hat's
"Python 2.7.10", which would surely be an advantage.

ChrisA
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to