[Python-ideas] Migration of /usr/bin/python to python3
Chris Barker
chris.barker at noaa.gov
Wed Mar 11 22:27:55 CET 2015
On Wed, Mar 11, 2015 at 2:19 PM, Ethan Furman <ethan at stoneleaf.us> wrote:
> On 03/11/2015 01:38 PM, M.-A. Lemburg wrote:
> > On 11.03.2015 21:03, David Mertz wrote:
>
> > I think the migration should start with modifying scripts to use
> >
> > #!/usr/bin/env python2
> >
> > when they are Python 2 only (*) and
> >
> > #!/usr/bin/env python3
> >
> > when they are Python 3 only and
> >
> > #!/usr/bin/env python
> >
> > only when they support both Python 2 and 3.
>
and for that matter:
#!/usr/bin/env python3.4
If the minor version matters.
We all should have been doing this for years!
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150311/a33caba8/attachment.html>
More information about the Python-ideas
mailing list