New submission from Marcelo Delgado <marde...@gmail.com>:

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 :)

----------
components: Regular Expressions
messages: 160806
nosy: Marcelo.Delgado, ezio.melotti, mrabarnett
priority: normal
severity: normal
status: open
title: Interactive Shell vs Executed code
type: behavior
versions: Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14825>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to