[pypy-issue] Issue #2311: from __future__ import division does not work when run from $PYTHONSTARTUP (pypy/pypy)
issues-reply at bitbucket.org
Sat May 28 16:05:24 EDT 2016
New issue 2311: from __future__ import division does not work when run from $PYTHONSTARTUP
I am building 5.1.2 by hand to test, but I haven't found any recent tickets that seem on point for this. This is the stock MacPorts build out of MacOS 10.9.
% cat test.py
from __future__ import division
% PYTHONSTARTUP=test.py pypy
Python 2.7.10 (b0a649e90b6642251fb4a765fe5b27a97b1319a9, May 08 2016, 04:42:24)
[PyPy 5.1.1 with GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
['__builtins__', '__doc__', '__name__', '__package__', 'division']
>>>> from __future__ import division
More information about the pypy-issue