Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #53166

Re: python3 integer division debugging

From random832@fastmail.us
References <kvl470$b86$1@ger.gmane.org>
Subject Re: python3 integer division debugging
Date 2013-08-28 11:24 -0400
Newsgroups comp.lang.python
Message-ID <mailman.315.1377703457.19984.python-list@python.org> (permalink)

Show all headers | View raw


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.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: python3 integer division debugging random832@fastmail.us - 2013-08-28 11:24 -0400

csiph-web