◐ Shell
reader mode source ↗
Skip to content

bpo-40801: Add operator.as_float#20481

Closed
mdickinson wants to merge 3 commits into
python:mainfrom
mdickinson:feature/operator-as-float
Closed

bpo-40801: Add operator.as_float#20481
mdickinson wants to merge 3 commits into
python:mainfrom
mdickinson:feature/operator-as-float

Conversation

@mdickinson

@mdickinson mdickinson commented May 28, 2020

Copy link
Copy Markdown
Member

This PR exposes PyFloat_AsDouble to Python level in the form operator.as_float. This provides a way for Python code to emulate the implicit float conversions that Python itself does at C level.

https://bugs.python.org/issue40801

@mdickinson mdickinson added the type-feature A feature request or enhancement label May 28, 2020
@mdickinson mdickinson marked this pull request as draft May 29, 2020 09:59
@mdickinson

Copy link
Copy Markdown
Member Author

Converted this PR to draft; the feature is still under discussion.

@mdickinson mdickinson closed this Jun 12, 2021
@mdickinson mdickinson deleted the feature/operator-as-float branch June 12, 2021 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants