python3 integer division debugging
random832 at fastmail.us
random832 at fastmail.us
Wed Aug 28 11:24:03 EDT 2013
On Wed, Aug 28, 2013, at 11:15, Neal Becker wrote:
> The change in integer division seems to be the most insidious source of
> silent
> errors in porting code from python2 - since it changes the behaviour or
> valid
> code silently.
>
> I wish the interpreter had an instrumented mode to detect and report such
> problems.
There is such a mode in python2 from version 2.2 through 2.7: -Q warn.
More information about the Python-list
mailing list