This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients Zuzu_Typ, josh.r, skrah
Date 2019-03-20.17:36:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1553103362.91.0.0273071954173.issue36379@roundup.psfhosted.org>
In-reply-to
Content
Like Josh I don't quite understand the problem description. This
for example works:

>>> class C(int):
...     def __ipow__(self, other, mod=None):
...         return pow(self, other, mod)
... 
>>> 
>>> x = C(10)
>>> x
10
>>> x **= 3
>>> x
1000
History
Date User Action Args
2019-03-20 17:36:02skrahsetrecipients: + skrah, josh.r, Zuzu_Typ
2019-03-20 17:36:02skrahsetmessageid: <1553103362.91.0.0273071954173.issue36379@roundup.psfhosted.org>
2019-03-20 17:36:02skrahlinkissue36379 messages
2019-03-20 17:36:02skrahcreate