New submission from Jáchym Barvínek:

0 ** 0 is mathematically undefined and equivalent to 0/0. 0/0 correctly raises 
ZeroDivisionError, but 0 ** 0 == 1. Also 0.0 ** 0 == 0 ** 0.0 == 0.0 ** 0.0 == 
0.0. Similarly for math.pow.

----------
components: Interpreter Core
messages: 279410
nosy: Jáchym Barvínek
priority: normal
severity: normal
status: open
title: 0 ** 0 should raise ArithmeticError
versions: Python 3.5

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

Reply via email to