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 mark.dickinson
Recipients hroncok, loganjerry, mark.dickinson, rhettinger, vstinner
Date 2020-03-09.20:54:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583787292.35.0.0284879593513.issue39918@roundup.psfhosted.org>
In-reply-to
Content
The lines here look odd to me: https://github.com/python/cpython/blob/363fab83b8a0e6d924c7a7c577feec6a2812bb8c/Modules/_randommodule.c#L290-L291

    args[0] = arg;
    n = PyObject_Vectorcall(_randomstate_global->Long___abs__, args, 0,
                                         NULL);

Should that 0 in the PyObject_Vectorcall be a 1 instead?
History
Date User Action Args
2020-03-09 20:54:52mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, vstinner, hroncok, loganjerry
2020-03-09 20:54:52mark.dickinsonsetmessageid: <1583787292.35.0.0284879593513.issue39918@roundup.psfhosted.org>
2020-03-09 20:54:52mark.dickinsonlinkissue39918 messages
2020-03-09 20:54:52mark.dickinsoncreate