Mark Dickinson <[email protected]> added the comment:
Alexander: range *does* still accept such arguments (in 2.7); just not floats:
>>> from decimal import Decimal
>>> range(Decimal(20), Decimal(20))
[]
>>> range(Decimal('1e100'), Decimal('1e100'))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: range() integer start argument expected, got Decimal.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue1533>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com