Skip to content

During python runtime, can python inspect rust types wrapped by #[pyclass]? #3003

Answered by adamreichold
jymchng asked this question in Questions
Discussion options

You must be logged in to vote

There are no security boundaries between Python code and native extensions, c.f. ctypes.string_at which can be used to read arbitrary memory.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@jymchng
Comment options

@birkenfeld
Comment options

@jymchng
Comment options

@jymchng
Comment options

Answer selected by jymchng
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #3002 on March 04, 2023 13:02.