[Patches] [ python-Patches-876178 ] input() vs __future__

SourceForge.net noreply at sourceforge.net
Tue Jan 13 11:17:35 EST 2004


Patches item #876178, was opened at 2004-01-13 16:17
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=876178&group_id=5470

Category: Core (C code)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Hudson (mwh)
Assigned to: Nobody/Anonymous (nobody)
Summary: input() vs __future__

Initial Comment:
There's a thread on comp.lang.python about input()s
lack of interaction with __future__ statements:

>>> from __future__ import division
>>> input('blah: ')
blah: 1/2
0

This simple patch fixes that.  Not sure how to write a
testcase, though.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=876178&group_id=5470



More information about the Patches mailing list