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 pitrou
Recipients mark.dickinson, pitrou, scoder, serhiy.storchaka, vstinner
Date 2014-09-26.11:19:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <54254BDC.7000102@free.fr>
In-reply-to <1411729047.39.0.0647147756114.issue22501@psf.upfronthosting.co.za>
Content
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* :-)
History
Date User Action Args
2014-09-26 11:19:58pitrousetrecipients: + pitrou, mark.dickinson, scoder, vstinner, serhiy.storchaka
2014-09-26 11:19:58pitroulinkissue22501 messages
2014-09-26 11:19:58pitroucreate