[issue9742] Python 2.7: math module fails to build on Solaris 9
Doug Shea
report at bugs.python.org
Tue Nov 23 19:37:35 CET 2010
Doug Shea <doug.shea at gmail.com> added the comment:
It's actually not quite a solution, either. Working your changes into the build process, I *do* get a math module... but it does *not* have a round function.
> python
Python 2.7 (r27, Nov 23 2010, 11:54:39)
[GCC 3.3.2] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>> import math;
>>> print math.round(2.5);
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'round'
>>> print math.floor(2.5);
2.0
A step in the right direction, though, I'd think. Thanks.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9742>
_______________________________________
More information about the Python-bugs-list
mailing list