[Tutor] What is in future?
Gregor Lingl
glingl@aon.at
Fri, 19 Oct 2001 22:39:02 +0200
This is a multi-part message in MIME format.
------=_NextPart_000_0014_01C158EE.D9E70020
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi!
Can anyone explain the following:
Python 2.2b1 (#25, Oct 19 2001, 11:44:52) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
IDLE 0.8 -- press F1 for help
>>> from __future__ import true_division
SyntaxError: future feature true_division is not defined (<pyshell#0>, =
line 1)
>>>=20
Thanks
Gregor Lingl
------=_NextPart_000_0014_01C158EE.D9E70020
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Courier New" size=3D2>Hi!</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Can anyone explain the=20
following:</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Python 2.2b1 (#25, Oct 19 2001, =
11:44:52)=20
[MSC 32 bit (Intel)] on win32<BR>Type "copyright", "credits" or =
"license" for=20
more information.<BR>IDLE 0.8 -- press F1 for help<BR>>>> from=20
__future__ import true_division<BR>SyntaxError: future feature =
true_division is=20
not defined (<pyshell#0>, line 1)<BR>>>> </FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Thanks</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Gregor =
Lingl</FONT></DIV></BODY></HTML>
------=_NextPart_000_0014_01C158EE.D9E70020--