pyo3/guide/src
Gregory Szorc 410c9f13c9 macros: raise AttributeError on property deletion requests
The setter function will receive a NULL value on deletion requests.
This wasn't properly handled before, leading to a panic.

The new code raises AttributeError in this scenario instead.

A test for the behavior has been added. Documentation has also
been updated to reflect the behavior.
2021-08-13 21:01:00 -07:00
..
building_and_distribution guide: rewrite "Building and Distribution" chapter 2021-08-01 16:59:47 +01:00
class pyfn: deprecate name argument 2021-05-20 08:54:29 +01:00
conversions Add optional support for conversion from `indexmap::IndexMap` (#1728) 2021-07-22 08:15:26 +01:00
ecosystem Add documentation to call async python from rust 2021-08-12 00:22:10 +01:00
SUMMARY.md guide: rewrite "Building and Distribution" chapter 2021-08-01 16:59:47 +01:00
advanced.md auto-initialize: add CHANGELOG and docs 2021-01-04 21:08:08 +00:00
building_and_distribution.md pyo3-build-config: improve test coverage 2021-08-06 12:55:03 +01:00
changelog.md Add CHANGELOG to the guide 2020-09-05 14:44:39 +01:00
class.md macros: raise AttributeError on property deletion requests 2021-08-13 21:01:00 -07:00
conversions.md Start splitting long guide pages into subchapters 2020-09-01 22:44:27 +01:00
debugging.md Make tons of small fixes in the guide 2019-05-06 09:46:47 +02:00
ecosystem.md guide: organise more chapters into sublevels 2021-01-26 22:09:02 +00:00
exception.md guide: automatically set pyo3 version in links and cargo toml 2021-04-03 07:05:10 +01:00
faq.md guide: rewrite "Building and Distribution" chapter 2021-08-01 16:59:47 +01:00
features.md document + refactor numcomplex/bigint dependencies 2021-06-07 22:16:23 +02:00
function.md Rewrite `module.md` for clarity and add tip on code organization (#1693) 2021-07-22 08:10:32 +01:00
index.md Start splitting long guide pages into subchapters 2020-09-01 22:44:27 +01:00
migration.md pyproto: deprecate py_methods 2021-04-20 00:21:19 +01:00
module.md Rewrite `module.md` for clarity and add tip on code organization (#1693) 2021-07-22 08:10:32 +01:00
parallelism.md guide: automatically set pyo3 version in links and cargo toml 2021-04-03 07:05:10 +01:00
python_from_rust.md guide: automatically set pyo3 version in links and cargo toml 2021-04-03 07:05:10 +01:00
rust_cpython.md Add CHANGELOG to the guide 2020-09-05 14:44:39 +01:00
trait_bounds.md Add `wrap_pyfunction` macro to prelude 2021-06-24 22:34:55 +08:00
types.md guide: automatically set pyo3 version in links and cargo toml 2021-04-03 07:05:10 +01:00