pyo3/pyo3-macros-backend
Icxolu a7a5c10b8a
add pyclass `hash` option (#4206)
* add pyclass `hash` option

* add newsfragment

* require `frozen` option for `hash`

* simplify `hash` without `frozen` error message

Co-authored-by: David Hewitt <mail@davidhewitt.dev>

* require `eq` for `hash`

* prevent manual `__hash__` with `#pyo3(hash)`

* combine error messages

---------

Co-authored-by: David Hewitt <mail@davidhewitt.dev>
2024-06-01 14:20:20 +00:00
..
src add pyclass `hash` option (#4206) 2024-06-01 14:20:20 +00:00
Cargo.toml feature gate `PyCell` (#4177) 2024-05-12 18:30:08 +00:00
LICENSE-APACHE tidy up some file locations after dual licensing 2023-08-16 08:22:51 +01:00
LICENSE-MIT tidy up some file locations after dual licensing 2023-08-16 08:22:51 +01:00