This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Marcelo.Delgado
Recipients Marcelo.Delgado, ezio.melotti, mrabarnett
Date 2012-05-16.06:08:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337148524.71.0.147542533467.issue14825@psf.upfronthosting.co.za>
In-reply-to
Content
I have found inconsistency between running this code in the interactive shell and running it from a file:

Int. Shell:
n**0 ## n is a negative number
result: -1

File:
n**0 ## n is a negative number
result: 1

I am fairly new to Python, so I don't know what result should be the correct one, but if thit IS a mistake i would prefer the result of the Int. Shell :)
History
Date User Action Args
2012-05-16 06:08:44Marcelo.Delgadosetrecipients: + Marcelo.Delgado, ezio.melotti, mrabarnett
2012-05-16 06:08:44Marcelo.Delgadosetmessageid: <1337148524.71.0.147542533467.issue14825@psf.upfronthosting.co.za>
2012-05-16 06:08:44Marcelo.Delgadolinkissue14825 messages
2012-05-16 06:08:44Marcelo.Delgadocreate