You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you tried using latest PyO3 main (replace version = "0.x.y" with git = "https://github.com/PyO3/pyo3")?: Yes
Reproducing
git clone https://github.com/fschutt/pyo3-bug
cargo build --release
cd target/release
cp ./azul.dll ./azul.pyd
# put the test.py file in /target/release
python ./test.py # see README
fromazulimport*wrapper=Wrapper()
child=Child()
print(child.flag) # ok: prints True (default)print(wrapper.child.flag) # ok: prints True (default)# set both to Falsechild.flag=Falsewrapper.child.flag=Falseprint(child.flag) # ok: prints False (changed)print(wrapper.child.flag) # error: still prints True (not changed)
Environment
rustc --version
): stable rustc 1.52.1 (9bc8c42bb 2021-05-09)version = "0.x.y"
withgit = "https://github.com/PyO3/pyo3")?
: YesReproducing
Rust code:
Python code:
bug.zip
The text was updated successfully, but these errors were encountered: