Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #28327
| References | (2 earlier) <c989c63e-59da-410a-a89c-fcfccf92e8e3@q9g2000pbo.googlegroups.com> <mailman.116.1346618956.27098.python-list@python.org> <680feff1-8d8e-4f6d-8521-1e875479d1f7@k9g2000pbr.googlegroups.com> <mailman.118.1346622469.27098.python-list@python.org> <63ca5a36-04d4-489a-b82e-9bb8e86bdc5e@v19g2000pbt.googlegroups.com> |
|---|---|
| Date | 2012-09-03 09:28 +1000 |
| Subject | Re: newbie ``print`` question |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.120.1346628500.27098.python-list@python.org> (permalink) |
On Mon, Sep 3, 2012 at 9:20 AM, gwhite <gwhite@ti.com> wrote: > I guess you're saying 3.x will just ignore: > > from __future__ import print_function > > I'll risk being silly, and thus ask: but what if when I get to 3.x > there is no __future__, as it is now "present?" Do I need to strip > out the line? > > What would happen when I finally started running 3.3, and a new > __future__ was made that broke the old syntax? Do I need to strip out > the line? > > I'm probably over thinking it. I don't know what I am doing. lol! The __future__ statement is guaranteed to be supported forever afterwards. And new ones won't do anything unless you explicitly put them into your code. It's quite a good system, imo. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
newbie ``print`` question gwhite <gwhite@ti.com> - 2012-09-02 10:23 -0700
Re: newbie ``print`` question Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-02 18:41 +0100
Re: newbie ``print`` question Joel Goldstick <joel.goldstick@gmail.com> - 2012-09-02 13:44 -0400
Re: newbie ``print`` question gwhite <gwhite@ti.com> - 2012-09-02 12:46 -0700
Re: newbie ``print`` question mblume <foobar@invalid.invalid> - 2012-09-02 17:49 +0000
Re: newbie ``print`` question gwhite <gwhite@ti.com> - 2012-09-02 11:51 -0700
Re: newbie ``print`` question Chris Rebert <clp2@rebertia.com> - 2012-09-02 10:55 -0700
Re: newbie ``print`` question gwhite <gwhite@ti.com> - 2012-09-02 11:51 -0700
Re: newbie ``print`` question gwhite <gwhite@ti.com> - 2012-09-02 12:26 -0700
Re: newbie ``print`` question gwhite <gwhite@ti.com> - 2012-09-02 12:34 -0700
Re: newbie ``print`` question Dave Angel <d@davea.name> - 2012-09-02 15:41 -0400
Re: newbie ``print`` question gwhite <gwhite@ti.com> - 2012-09-02 12:50 -0700
Re: newbie ``print`` question Dave Angel <d@davea.name> - 2012-09-02 16:15 -0400
Re: newbie ``print`` question gwhite <gwhite@ti.com> - 2012-09-02 13:58 -0700
Re: newbie ``print`` question MRAB <python@mrabarnett.plus.com> - 2012-09-02 23:43 +0100
Re: newbie ``print`` question gwhite <gwhite@ti.com> - 2012-09-02 16:33 -0700
Re: newbie ``print`` question MRAB <python@mrabarnett.plus.com> - 2012-09-03 01:12 +0100
Re: newbie ``print`` question Terry Reedy <tjreedy@udel.edu> - 2012-09-02 16:49 -0400
Re: newbie ``print`` question gwhite <gwhite@ti.com> - 2012-09-02 14:18 -0700
Re: newbie ``print`` question Chris Angelico <rosuav@gmail.com> - 2012-09-03 07:47 +1000
Re: newbie ``print`` question gwhite <gwhite@ti.com> - 2012-09-02 16:20 -0700
Re: newbie ``print`` question Chris Angelico <rosuav@gmail.com> - 2012-09-03 09:28 +1000
Re: newbie ``print`` question Terry Reedy <tjreedy@udel.edu> - 2012-09-02 14:33 -0400
Re: newbie ``print`` question gwhite <gwhite@ti.com> - 2012-09-02 12:18 -0700
Re: newbie ``print`` question Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-02 16:37 -0400
Re: newbie ``print`` question gwhite <gwhite@ti.com> - 2012-09-02 14:04 -0700
csiph-web