Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-43868: Remove PyOS_ReadlineFunctionPointer from the stable ABI list#25442

Merged
encukou merged 3 commits into
python:masterpython/cpython:masterfrom
encukou:PyOS_ReadlineFunctionPointerencukou/cpython:PyOS_ReadlineFunctionPointerCopy head branch name to clipboard
Apr 23, 2021
Merged

bpo-43868: Remove PyOS_ReadlineFunctionPointer from the stable ABI list#25442
encukou merged 3 commits into
python:masterpython/cpython:masterfrom
encukou:PyOS_ReadlineFunctionPointerencukou/cpython:PyOS_ReadlineFunctionPointerCopy head branch name to clipboard

Conversation

@encukou

@encukou encukou commented Apr 16, 2021

Copy link
Copy Markdown
Member

The inclusion of PyOS_ReadlineFunctionPointer in python3dll.c was a mistake.

According to PEP 384:

functions expecting FILE* are not part of the ABI, to avoid depending
on a specific version of the Microsoft C runtime DLL on Windows.

https://bugs.python.org/issue43868

The inclusion of PyOS_ReadlineFunctionPointer in python3dll.c was a mistake.

According to PEP 384:
> functions expecting FILE* are not part of the ABI, to avoid depending
> on a specific version of the Microsoft C runtime DLL on Windows.

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM: https://bugs.python.org/issue43868#msg391237

I just propose to mention the change in What's New in Python 3.10.

@@ -0,0 +1,3 @@
:c:func:`PyOS_ReadlineFunctionPointer` is no longer exported by

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think that it's worth it to be mentioned in C API Changes of What's New in Python 3.10?
https://docs.python.org/dev/whatsnew/3.10.html#id2 ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that sounds reasonable. Thanks for the catch!

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the What's New entry ;-)

@encukou encukou merged commit 91b69b7 into python:master Apr 23, 2021
@encukou encukou deleted the PyOS_ReadlineFunctionPointer branch April 23, 2021 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.