Skip to content

Exception utils as vm methods #3133

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

Merged

Conversation

youknowone
Copy link
Member

@youknowone youknowone commented Sep 25, 2021

based on #3131

Why putting these functions in impl VirtualMachine but not in impl PyException?
These functions are natively free function in CPython - not methods of PyException.

On the other hand, VirtualMachine already includes a lot of public CPython utility functions related to vm.

@youknowone youknowone force-pushed the exception-utils-as-vm-methods branch 2 times, most recently from ffd9379 to 5a5f77c Compare October 1, 2021 12:59
@youknowone youknowone marked this pull request as ready for review October 1, 2021 12:59
@youknowone youknowone force-pushed the exception-utils-as-vm-methods branch from 5a5f77c to 98dcf60 Compare October 1, 2021 13:36
@youknowone youknowone force-pushed the exception-utils-as-vm-methods branch from 98dcf60 to 3954433 Compare October 10, 2021 09:32
@youknowone youknowone force-pushed the exception-utils-as-vm-methods branch from 3954433 to 256de1e Compare October 12, 2021 20:54
@youknowone youknowone merged commit c39d143 into RustPython:main Oct 13, 2021
@youknowone youknowone deleted the exception-utils-as-vm-methods branch October 13, 2021 13:35
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.

None yet

1 participant