Closed
Description
Building from #3835 (comment) and https://pyo3.rs/v0.20.3/building_and_distribution#missing-features
We have some #[pyclass]
options which do not work on older ABI3 versions:
#[pyo3(text_signature = "...")]
does not work on classes until Python 3.10 or greater.#[pyclass(dict)]
and#[pyclass(weakref)]
options on classes are not supported until Python 3.9 or greater.
At the moment I think these conditions fail silently (they compile but the runtime behaviour is missing). The proc macros should instead detect these cases and emit a helpful warning.