[issue27539] negative Fraction ** negative int not normalized

Vedran Čačić report at bugs.python.org
Sat Jul 23 01:28:44 EDT 2016


Vedran Čačić added the comment:

The .diff format of patch for fractions.py is at 
http://bugs.python.org/file43786/TwCVpiFp.diff

The line numbers in it are the newest I could get (from 
https://hg.python.org/cpython/file/default/Lib/fractions.py).

I would also add the test I was talking about (Fraction(-1, 2) ** -1), if I knew where to do it.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27539>
_______________________________________


More information about the Python-bugs-list mailing list