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


Groups > comp.lang.python > #53166 > unrolled thread

Re: python3 integer division debugging

Started byrandom832@fastmail.us
First post2013-08-28 11:24 -0400
Last post2013-08-28 11:24 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#53166 — Re: python3 integer division debugging

Fromrandom832@fastmail.us
Date2013-08-28 11:24 -0400
SubjectRe: python3 integer division debugging
Message-ID<mailman.315.1377703457.19984.python-list@python.org>
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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web