Re: GNOME goal for 3.8: Python 3 -- impact for pygobject itself
- From: Frederic Peters <fpeters gnome org>
- To: desktop-devel-list gnome org
- Subject: Re: GNOME goal for 3.8: Python 3 -- impact for pygobject itself
- Date: Mon, 5 Nov 2012 17:53:15 +0100
Colin Walters wrote:
> The whole thing is just so horrible...Python upstream should have just
> accepted they made a different (but closely related) programming
> language and said "python" is always python2, and "python3" is 3, or
> they should have made a python2 symlink upstream for the old branch, so
> python2 users knew where to find it reliably.
This happened a bit late but http://www.python.org/dev/peps/pep-0394/
defines exactly this.
This PEP provides a convention to ensure that Python scripts can
continue to be portable across *nix systems, regardless of the
default version of the Python interpreter (i.e. the version invoked
by the python command).
- python2 will refer to some version of Python 2.x
- python3 will refer to some version of Python 3.x
- python should refer to the same target as python2 but may refer to
python3 on some bleeding edge distributions
Fred
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]