Message160806
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 :) |
|
Date |
User |
Action |
Args |
2012-05-16 06:08:44 | Marcelo.Delgado | set | recipients:
+ Marcelo.Delgado, ezio.melotti, mrabarnett |
2012-05-16 06:08:44 | Marcelo.Delgado | set | messageid: <1337148524.71.0.147542533467.issue14825@psf.upfronthosting.co.za> |
2012-05-16 06:08:44 | Marcelo.Delgado | link | issue14825 messages |
2012-05-16 06:08:44 | Marcelo.Delgado | create | |
|