import from future

Peter Otten __peter__ at web.de
Mon Jan 29 09:06:49 CET 2007


Marc 'BlackJack' Rintsch wrote:

> In <1170049392.204148.54430 at a34g2000cwb.googlegroups.com>, Dan Bishop
> wrote:
> 
>> Now that nested_scopes and generators are no longer optional, the only
>> thing left is "from __future__ import division", which makes the "/"
>> operator on integers give the same result as for floats.
> 
> From 2.5 on we have `with_statement`::

...and absolute_import.

Peter





More information about the Python-list mailing list