Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hack __text_signature__ back to working with abi3 #1201

Merged
merged 1 commit into from
Sep 20, 2020

Conversation

alex
Copy link
Contributor

@alex alex commented Sep 19, 2020

No description provided.

@alex alex force-pushed the abi3-text-signature branch from bcef541 to 4e70273 Compare September 19, 2020 15:25
@alex
Copy link
Contributor Author

alex commented Sep 19, 2020

This gross hack seems to break PyPy -- not a big surprise. I guess I'll just disable it there.

@alex alex force-pushed the abi3-text-signature branch from 4e70273 to 36ddd9e Compare September 19, 2020 15:38
Copy link
Member

@kngwyu kngwyu left a comment

Choose a reason for hiding this comment

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

Thanks, looks nice as a remedy 👍

Comment on lines 70 to 71
// Ignored because heap types don't have working __text_signature__:
// https://github.com/python/cpython/blob/master/Objects/typeobject.c#L864-L870
Copy link
Member

Choose a reason for hiding this comment

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

It's also outdated?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ooops. Fixed.

@alex alex force-pushed the abi3-text-signature branch from 36ddd9e to 9d85591 Compare September 19, 2020 15:44
@kngwyu kngwyu merged commit e33e58f into PyO3:abi3 Sep 20, 2020
@alex alex deleted the abi3-text-signature branch September 20, 2020 12:59
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.

2 participants