Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upbpo-37798: Add C fastpath for statistics.NormalDist.inv_cdf() #15266
Conversation
corona10
requested a review
from python/windows-team
as a
code owner
Aug 14, 2019
the-knights-who-say-ni
added
the
CLA signed
label
Aug 14, 2019
bedevere-bot
added
the
awaiting review
label
Aug 14, 2019
corona10
force-pushed the
corona10:bpo-37798
branch
3 times, most recently
from
8f96826
to
fa18af8
Aug 14, 2019
tirkarthi
reviewed
Aug 14, 2019
corona10
changed the title
bpo-37998: Add C fastpath for statistics.NormalDist.inv_cdf()
bpo-37798: Add C fastpath for statistics.NormalDist.inv_cdf()
Aug 14, 2019
corona10
force-pushed the
corona10:bpo-37798
branch
4 times, most recently
from
5a77376
to
ba81a90
Aug 14, 2019
This comment has been minimized.
This comment has been minimized.
|
The usual way we do this is to define the function in pure python. Then, somewhere below that definition, try to import the C accelerator function in its place. For examples, see line 458 in Lib/collections/__init__.py for _count_elements() or line 579 in Lib/heapq.py |
rhettinger
self-assigned this
Aug 15, 2019
corona10
force-pushed the
corona10:bpo-37798
branch
from
ba81a90
to
9663297
Aug 15, 2019
This comment has been minimized.
This comment has been minimized.
|
Thanks a lot. |
rhettinger
reviewed
Aug 15, 2019
corona10
force-pushed the
corona10:bpo-37798
branch
from
9663297
to
ccec88f
Aug 15, 2019
rhettinger
requested changes
Aug 15, 2019
bedevere-bot
removed
the
awaiting review
label
Aug 15, 2019
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Aug 15, 2019
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
bedevere-bot
added
the
awaiting changes
label
Aug 15, 2019
corona10
force-pushed the
corona10:bpo-37798
branch
from
ccec88f
to
ba6bc56
Aug 15, 2019
This comment has been minimized.
This comment has been minimized.
|
I have made the requested changes; please review again |
bedevere-bot
added
awaiting change review
and removed
awaiting changes
labels
Aug 15, 2019
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Aug 15, 2019
|
Thanks for making the requested changes! @rhettinger: please review the changes made to this pull request. |
This comment has been minimized.
This comment has been minimized.
|
@rhettinger Can you please take a look? |
rhettinger
requested changes
Aug 22, 2019
bedevere-bot
removed
the
awaiting change review
label
Aug 22, 2019
bedevere-bot
added
the
awaiting changes
label
Aug 22, 2019
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Aug 22, 2019
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
This comment has been minimized.
This comment has been minimized.
|
Thanks for doing this. I think we're getting close :-) |
This comment has been minimized.
This comment has been minimized.
|
Thanks for the review, I will take look at! |
corona10
force-pushed the
corona10:bpo-37798
branch
from
ba6bc56
to
a921c83
Aug 23, 2019
corona10
force-pushed the
corona10:bpo-37798
branch
from
a921c83
to
c004470
Aug 23, 2019
This comment has been minimized.
This comment has been minimized.
|
@rhettinger I've updated the PR! |
corona10 commentedAug 14, 2019
•
edited
https://bugs.python.org/issue37798