Skip to content

Exception utils as vm methods#3133

Merged
youknowone merged 1 commit into
RustPython:mainfrom
youknowone:exception-utils-as-vm-methods
Oct 13, 2021
Merged

Exception utils as vm methods#3133
youknowone merged 1 commit into
RustPython:mainfrom
youknowone:exception-utils-as-vm-methods

Conversation

@youknowone

@youknowone youknowone commented Sep 25, 2021

Copy link
Copy Markdown
Member

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.

1 participant