News

Python’s development team chose defaults that reflect the most common real-world scenarios. But if you do need to tweak the way garbage collection works, you can use Python’s gc module.
You can define Python classes in PyO3 modules. If you add the # [pyclass] attribute to a Rust struct or a fieldless enum, they can be treated as the basic data structure for a class.