- Notifications
You must be signed in to change notification settings - Fork1.3k
Add protocol object PyCallable#4654
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
} | ||
#[inline] | ||
pub fn is_callable(&self) -> bool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
The newis_callable
doesn't require vm argument anymore
/// Trace events for sys.settrace and sys.setprofile. | ||
enum TraceEvent { | ||
Call, | ||
Return, | ||
} |
youknowoneMar 7, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
relocatedTraceEvent
because it is use only to call functions now.
if it will be going to be used somewhere else, i will createvm/src/trace.rs
rather than putting it in vm.rs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Great
Uh oh!
There was an error while loading.Please reload this page.
#3244