[Edu-sig] Changing to future division sitewide

Kirby Urner urnerk@qwest.net
Sun, 12 May 2002 08:01:51 -0700

>Presumably this is going to involve doing more than one thing if it
>ieven possible. We could always tell our students to put "from
>__future__ import division" at the start of every program without
>explaining it, but that's the kind a black magic we hoped to avoid by
>using Python rather than, say, C.
>Yours hopefully,

The place to start is with the -Qnew switch on the command
line in 2.2 or 2.2.1

I just tried it in a DOS box (python -Qnew) and it worked
(3/4 returned .75).  Then I put it in the command used to
boot idle and that worked too, including in a module.
Presumably works with forked idle as well.