This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Py3k doc: "from __future__ import division" not necessary
Type: Stage: resolved
Components: Documentation Versions: Python 3.1
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ezio.melotti Nosy List: ezio.melotti, georg.brandl, jaredgrubb
Priority: normal Keywords:

Created on 2009-12-03 22:30 by jaredgrubb, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg95950 - (view) Author: Jared Grubb (jaredgrubb) Date: 2009-12-03 22:30
In the Python 3.1 docs for the 'dis' module, the following appears:
( http://docs.python.org/3.1/library/dis.html )

BINARY_TRUE_DIVIDE()¶
    Implements TOS = TOS1 / TOS when from __future__ import division is
in effect.

There is always true in 3k, correct? The "when" clause should be removed.
msg95951 - (view) Author: Jared Grubb (jaredgrubb) Date: 2009-12-03 22:32
Ditto on a few dozen lines later:

INPLACE_TRUE_DIVIDE()¶
    Implements in-place TOS = TOS1 / TOS when from __future__ import
division is in effect.
msg97254 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2010-01-05 08:40
Fixed in r77314 (py3k) and r77315 (release31-maint), thanks!
History
Date User Action Args
2022-04-11 14:56:55adminsetgithub: 51681
2010-01-05 08:40:15ezio.melottisetstatus: open -> closed
messages: + msg97254

assignee: georg.brandl -> ezio.melotti
resolution: fixed
stage: resolved
2009-12-07 23:48:03ezio.melottisetpriority: normal
nosy: + ezio.melotti
2009-12-03 22:32:43jaredgrubbsetmessages: + msg95951
2009-12-03 22:30:32jaredgrubbcreate