]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
On int to the negative integral power, let float handle it instead of
authorGuido van Rossum <guido@python.org>
Thu, 12 Jul 2001 11:19:45 +0000 (11:19 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 12 Jul 2001 11:19:45 +0000 (11:19 +0000)
commitb82fedc7d8789f82e04ad16fc0e516224a1fd0e3
tree7b9fc1d2cccc6300e6ef9306ba5cae0a2901732f
parente9880c81b92a4bc72c541e8d89e1872b4816baa4
On int to the negative integral power, let float handle it instead of
raising an error.  This was one of the two issues that the VPython
folks were particularly problematic for their students.  (The other
one was integer division...)  This implements (my) SF patch #440487.
Objects/intobject.c