[New-bugs-announce] [issue2343] Raise a Py3K warning when using a float where an int is expected

Brett Cannon report at bugs.python.org
Mon Mar 17 19:16:18 CET 2008


New submission from Brett Cannon <brett at python.org>:

Using a float where an int should only be used (e.g., ``[].insert(.5,
0)``) should raise a Py3K warning.

----------
components: Interpreter Core
keywords: 26backport
messages: 63704
nosy: brett.cannon
priority: immediate
severity: normal
status: open
title: Raise a Py3K warning when using a float where an int is expected
versions: Python 2.6

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2343>
__________________________________


More information about the New-bugs-announce mailing list