On Mon, Dec 21, 2009 at 7:02 AM, Mark Dickinson wrote:
> In Python 2.7, PyArg_ParseTuple and friends currently accept a float
> argument where an integer is expected, but produce a
> DeprecationWarning in this case. This can be seen in various places
> in Python proper:
>
itertools.combinati
On Mon, Dec 21, 2009 at 07:02, Mark Dickinson wrote:
> In Python 2.7, PyArg_ParseTuple and friends currently accept a float
> argument where an integer is expected, but produce a
> DeprecationWarning in this case. This can be seen in various places
> in Python proper:
>
> >>> itertools.combinati
In Python 2.7, PyArg_ParseTuple and friends currently accept a float
argument where an integer is expected, but produce a
DeprecationWarning in this case. This can be seen in various places
in Python proper:
>>> itertools.combinations(range(5), 2.0)
__main__:1: DeprecationWarning: integer argumen