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

Use fully-qualified Result in pyobject_native_type_base #1402

Merged
merged 2 commits into from
Jan 26, 2021

Conversation

maffoo
Copy link
Contributor

@maffoo maffoo commented Jan 25, 2021

This allows using macros such as create_exception! in modules where Result has been aliased, for example to a single-parameter type with a module-specific error type. And in any event, seems like good macro hygiene to use fully-qualified names wherever possible.

Copy link
Member

@davidhewitt davidhewitt left a comment

Choose a reason for hiding this comment

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

Thanks for the fix, much appreciated!

@davidhewitt davidhewitt merged commit 26368ee into PyO3:master Jan 26, 2021
@kngwyu
Copy link
Member

kngwyu commented Jan 28, 2021

Nice catch 👍🏼

@maffoo maffoo deleted the macro-result branch February 11, 2021 17:07
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.

3 participants