Message227607
Le 26/09/2014 12:57, Stefan Behnel a écrit :
>
> Question: the module calls long_long() in some places (e.g.
long_abs()) and thus forces the return type to be exactly a PyLong and
not a subtype. My changes use a plain "incref+return input value" in
some places. Should they call long_long() on it instead?
Ah, yes, they should. The return type should not depend on the input
*values* :-) |
|
Date |
User |
Action |
Args |
2014-09-26 11:19:58 | pitrou | set | recipients:
+ pitrou, mark.dickinson, scoder, vstinner, serhiy.storchaka |
2014-09-26 11:19:58 | pitrou | link | issue22501 messages |
2014-09-26 11:19:58 | pitrou | create | |
|