pyo3/guide/src
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
..
building-and-distribution docs: use kebab-case instead of snake_case for guide URLs (#3942) 2024-03-09 20:10:58 +00:00
class add pyclass `hash` option (#4206) 2024-06-01 14:20:20 +00:00
conversions feature gate APIs using `into_gil_ref` (Part 2) (#4166) 2024-05-09 22:21:48 +00:00
ecosystem Fix typo (#4052) 2024-04-11 21:07:56 +00:00
function deprecate implicit default for trailing optional arguments (#4078) 2024-05-10 10:34:58 +00:00
python-from-rust feature gate deprecated more APIs for `Py` (#4169) 2024-05-10 05:54:08 +00:00
SUMMARY.md docs: major rewrite for Bound API (#3906) 2024-03-10 15:51:51 +00:00
advanced.md docs: major rewrite for Bound API (#3906) 2024-03-10 15:51:51 +00:00
async-await.md deprecate implicit default for trailing optional arguments (#4078) 2024-05-10 10:34:58 +00:00
building-and-distribution.md docs: Remove out-dated information for pyenv (#4138) 2024-05-04 07:32:27 +00:00
changelog.md
class.md add pyclass `eq` option (#4210) 2024-05-31 14:13:30 +00:00
contributing.md guide: add contributing page (#2442) 2022-06-08 13:30:11 +00:00
conversions.md guide: use sentence case, move function signatures to own section 2022-08-23 20:49:14 +01:00
debugging.md docs: clarify --pretty option to expand (#3810) 2024-02-11 20:52:49 +00:00
ecosystem.md More typos and grammar. 2022-11-23 07:42:53 +01:00
exception.md feature gate APIs using `into_gil_ref` (Part 2) (#4166) 2024-05-09 22:21:48 +00:00
faq.md Remove deferred reference count increments and make the global reference pool optional (#4095) 2024-05-11 14:48:45 +00:00
features.md Remove deferred reference count increments and make the global reference pool optional (#4095) 2024-05-11 14:48:45 +00:00
function-calls.md docs: major rewrite for Bound API (#3906) 2024-03-10 15:51:51 +00:00
function.md docs: major rewrite for Bound API (#3906) 2024-03-10 15:51:51 +00:00
getting-started.md Include import hook in getting-started.md (#4198) 2024-05-21 18:24:06 +00:00
index.md docs: better document `FromPyObject` for `&str` changes in migration guide (#3974) 2024-03-22 22:16:28 +00:00
memory.md Remove deferred reference count increments and make the global reference pool optional (#4095) 2024-05-11 14:48:45 +00:00
migration.md add pyclass `eq` option (#4210) 2024-05-31 14:13:30 +00:00
module.md Documents experimental-declarative-modules feature (#3953) 2024-03-12 22:57:31 +00:00
parallelism.md Fix lychee for guide (#4130) 2024-04-27 05:12:11 +00:00
performance.md Remove deferred reference count increments and make the global reference pool optional (#4095) 2024-05-11 14:48:45 +00:00
python-from-rust.md docs: major rewrite for Bound API (#3906) 2024-03-10 15:51:51 +00:00
python-typing-hints.md docs: use kebab-case instead of snake_case for guide URLs (#3942) 2024-03-09 20:10:58 +00:00
rust-from-python.md docs: major rewrite for Bound API (#3906) 2024-03-10 15:51:51 +00:00
trait-bounds.md docs: fix typo in trait-bounds.md (#4124) 2024-04-25 15:36:29 +00:00
types.md Fix typo (#4222) 2024-05-31 09:44:09 +00:00