Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #8144
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Scott Kitterman <debian@kitterman.com> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Python Policy: Things to consider for Stretch |
| Date | Sun, 24 Jan 2016 04:10:02 +0100 |
| Message-ID | <qUjdU-6VH-9@gated-at.bofh.it> (permalink) |
| References | <qTpEL-7eF-19@gated-at.bofh.it> <qU1TH-8vM-1@gated-at.bofh.it> <qUi89-5WE-1@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Sun Jan 24 03:06:45 2016 |
| Old-Return-Path | <debian@kitterman.com> |
| X-Amavis-Spam-Status | No, score=-12.08 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5 |
| Dkim-Signature | v=1; a=rsa-sha256; c=simple/simple; d=kitterman.com; s=201409; t=1453604775; bh=tdkz/2GUARxEJpx38J0JL17Dtw6RLu3tuxAWWy7Oufg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=rPlwNdwUPJxLK7ucyJZAXR3Eis6lN2yUpk73CAx94w+DjQWwAwAvlcFEscyUdduXZ iiWW9O+mIWZ3TxhZIEl9GUno59v7g68egwFjlThLE53VkGD/h8BeVdUe5sTnNwD/jU tit4dHH71jmdzw1ERYjycLnVAO1dGgs34J9N0fOA= |
| User-Agent | KMail/4.13.3 (Linux/3.13.0-71-generic; KDE/4.13.3; x86_64; ; ) |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; boundary="nextPart3198004.YGkUoNrsaR"; micalg="pgp-sha256"; protocol="application/pgp-signature" |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/13467 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/1597133.3JM6ycrHqJ@kitterma-e6430 |
| Approved | robomod@news.nic.it |
| Lines | 78 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Sat, 23 Jan 2016 22:06:08 -0500 |
| X-Original-Message-ID | <1597133.3JM6ycrHqJ@kitterma-e6430> |
| X-Original-References | <1705132.RfqMtW1P2v@kitterma-e6430> <1788942.Gcc8N3eft8@kitterma-e6430> <20160123205049.09efb0d9@subdivisions.wooz.org> |
| Xref | csiph.com linux.debian.maint.python:8144 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Saturday, January 23, 2016 08:50:49 PM Barry Warsaw wrote: > On Jan 23, 2016, at 03:38 AM, Scott Kitterman wrote: > >Personally I seriously dislike the trend to call Python Python 2 (and I > >still thing approving a pep to invent /usr/bin/python2 because Arch went > >insane was a horrible idea). There's an earlier spot in the document > >where it says that everything refers to python and python3 unless it's > >explicit. I'll make this spot /usr/lib/python2.7/dist-packages and any > >risk of ambiguity is, I think, resolved. > > I'll leave it to you, but my take on it is that "Python" is the generic term > for the language and its specification. "Python 2" v "Python 3" provides > disambiguation when you're talking about specific major versions of the > language. "Python 3.5" and such usually describe specific releases of the > CPython interpreter implementation (note how "CPython" is used to > disambiguate between alternative implementations of the language > specification). Finally, python2.7, python3.4 and such are used to > describe the executables that provide the versions (e.g. mentally prepend > them with /usr/bin). > > All of this, except the last point perhaps, is orthogonal to the > /usr/bin/python2 issue you mention. > > Back to the original point, to me saying "Python" and "Python 3" is > confusing or misleading, given the above definitions. It's confusing > because "Python 3" *is* Python, so what's the difference? It's misleading > because it implies that somehow "Python 3" isn't "Python". > > >> B.2. dh_python2 and dh_python3 > >> > >> Again, I think here you want to say "Python2 and Python3" to disambiguate > >> between generic Python. > > > >If I say Python and Python3, what version can the one that's not Python3 > >possibly be? I don't think it's any less confusing than starting to call > >what we've always called "Python" "Python 2". > > See above, but to rephrase, "Python" is ambiguous in this context because > you could be talking about Python-the-language, not > Python-some-release-version. I don't particularly agree, but if that's correct, then there's a large amount of change needed throughout the policy. These certainly aren't the only places this comes up. Ambiguous or not, I think the policy is mostly consistent in using python and python3 vice python2 and python3. At this point I think internal consistency is probably more important, so if someone wants to go through and make all the python's that should be python2, etc then please send in a patch. Scott K
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Python Policy: Things to consider for Stretch Scott Kitterman <debian@kitterman.com> - 2016-01-21 16:50 +0100
Re: Python Policy: Things to consider for Stretch Barry Warsaw <barry@debian.org> - 2016-01-23 00:00 +0100
Re: Python Policy: Things to consider for Stretch Scott Kitterman <debian@kitterman.com> - 2016-01-23 09:40 +0100
Re: Python Policy: Things to consider for Stretch Barry Warsaw <barry@debian.org> - 2016-01-24 03:00 +0100
Re: Python Policy: Things to consider for Stretch Scott Kitterman <debian@kitterman.com> - 2016-01-24 04:10 +0100
Re: Python Policy: Things to consider for Stretch Ben Finney <ben+debian@benfinney.id.au> - 2016-01-24 06:40 +0100
Re: Python Policy: Things to consider for Stretch Scott Kitterman <debian@kitterman.com> - 2016-01-24 07:10 +0100
Re: Python Policy: Things to consider for Stretch Barry Warsaw <barry@debian.org> - 2016-01-24 19:10 +0100
Re: Python Policy: Things to consider for Stretch Ben Finney <ben+debian@benfinney.id.au> - 2016-01-26 07:00 +0100
Re: Python Policy: Things to consider for Stretch Dmitry Shachnev <mitya57@debian.org> - 2016-01-26 18:00 +0100
Re: Python Policy: Things to consider for Stretch Ben Finney <ben+debian@benfinney.id.au> - 2016-01-27 04:40 +0100
Re: Python Policy: Things to consider for Stretch Scott Kitterman <debian@kitterman.com> - 2016-01-27 05:20 +0100
Re: Python Policy: Things to consider for Stretch Ben Finney <ben+debian@benfinney.id.au> - 2016-01-27 10:50 +0100
Re: Python Policy: Things to consider for Stretch Scott Kitterman <debian@kitterman.com> - 2016-01-29 23:30 +0100
Re: Python Policy: Things to consider for Stretch Ben Finney <ben+debian@benfinney.id.au> - 2016-01-30 00:10 +0100
Re: Python Policy: Things to consider for Stretch Paul Wise <pabs@debian.org> - 2016-02-16 01:10 +0100
Re: Python Policy: Things to consider for Stretch Barry Warsaw <barry@debian.org> - 2016-02-16 01:50 +0100
Re: Python Policy: Things to consider for Stretch Barry Warsaw <barry@debian.org> - 2016-02-16 02:00 +0100
Re: Python Policy: Things to consider for Stretch Paul Wise <pabs@debian.org> - 2016-02-16 02:00 +0100
Re: Python Policy: Things to consider for Stretch Barry Warsaw <barry@debian.org> - 2016-02-16 02:20 +0100
Re: Python Policy: Things to consider for Stretch Ben Finney <ben+debian@benfinney.id.au> - 2016-01-24 06:50 +0100
Re: Python Policy: Things to consider for Stretch Ben Finney <ben+debian@benfinney.id.au> - 2016-01-24 07:00 +0100
Re: Python Policy: Things to consider for Stretch Scott Kitterman <debian@kitterman.com> - 2016-01-24 07:20 +0100
Re: Python Policy: Things to consider for Stretch Ben Finney <ben+debian@benfinney.id.au> - 2016-01-25 06:00 +0100
Re: Python Policy: Things to consider for Stretch Scott Kitterman <debian@kitterman.com> - 2016-01-25 06:30 +0100
Re: Python Policy: Things to consider for Stretch Scott Kitterman <debian@kitterman.com> - 2016-01-24 07:10 +0100
Re: Python Policy: Things to consider for Stretch Scott Kitterman <debian@kitterman.com> - 2016-02-15 23:30 +0100
Re: Python Policy: Things to consider for Stretch Ben Finney <ben+debian@benfinney.id.au> - 2016-02-16 03:50 +0100
csiph-web