https://github.com/fschutt/pyo3-bug
PyO3 bug
https://github.com/fschutt/pyo3-bug
Last synced: about 1 month ago
JSON representation
PyO3 bug
- Host: GitHub
- URL: https://github.com/fschutt/pyo3-bug
- Owner: fschutt
- Created: 2021-05-12T19:01:40.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-12T19:03:50.000Z (about 5 years ago)
- Last Synced: 2025-10-14T07:18:21.688Z (8 months ago)
- Language: Rust
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pyo3-bug
Bug example for PyO3 bug:
```python
from azul import *
wrapper = Wrapper()
child = Child()
print(child.flag) # ok: prints True (default)
print(wrapper.child.flag) # ok: prints True (default)
# set both to False
child.flag = False
wrapper.child.flag = False
print(child.flag) # ok: prints False (changed)
print(wrapper.child.flag) # error: still prints True (not changed)
```