[issue37021] Can _random.getrandbits() be converted to METH_FASTCALL?

2019-05-26 Thread Raymond Hettinger
Raymond Hettinger added the comment: This looks good. Thanks. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue37021] Can _random.getrandbits() be converted to METH_FASTCALL?

2019-05-24 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 561612d8456cfab5672c9b445521113b847bd6b3 by Pablo Galindo in branch 'master': bpo-37021: Port _randommodule to the argument clinic (GH-13532) https://github.com/python/cpython/commit/561612d8456cfab5672c9b445521113b847bd6b3 -- n

[issue37021] Can _random.getrandbits() be converted to METH_FASTCALL?

2019-05-24 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue37021] Can _random.getrandbits() be converted to METH_FASTCALL?

2019-05-23 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +13447 stage: -> patch review ___ Python tracker ___ ___ Pytho

[issue37021] Can _random.getrandbits() be converted to METH_FASTCALL?

2019-05-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If you hate Argument Clinic you can use METH_O and _PyLong_AsInt(). -- ___ Python tracker ___ _

[issue37021] Can _random.getrandbits() be converted to METH_FASTCALL?

2019-05-23 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Sure. The simlest way is to use Argument Clinic. -- ___ Python tracker ___ ___ Python-bugs-li

[issue37021] Can _random.getrandbits() be converted to METH_FASTCALL?

2019-05-23 Thread Raymond Hettinger
Change by Raymond Hettinger : -- components: Extension Modules nosy: rhettinger, serhiy.storchaka, vstinner priority: normal severity: normal status: open title: Can _random.getrandbits() be converted to METH_FASTCALL? type: performance versions: Python 3.8