[New-bugs-announce] [issue47079] Integral.denominator shouldn't return an int

Sergey B Kirpichev report at bugs.python.org
Sun Mar 20 23:48:09 EDT 2022


New submission from Sergey B Kirpichev <skirpichev at gmail.com>:

As the __int__() method is required, I believe it can return self(1) instead.

Also, probably +self normalization could be avoided in the Integral.numerator().

----------
components: Library (Lib)
messages: 415660
nosy: Sergey.Kirpichev
priority: normal
severity: normal
status: open
title: Integral.denominator shouldn't return an int
type: behavior
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47079>
_______________________________________


More information about the New-bugs-announce mailing list