Commit graph

8 commits

Author SHA1 Message Date
David Hewitt 3a90ff77f4 list,tuple,sequence: add slice indexing 2021-08-26 07:57:12 +01:00
Georg Brandl 79d9741906 Add PyList::slice and fix index types of PyTuple::slice, PyList::insert and PyList::set_item.
NB: the behavior on out-of-range indices hasn't changed;
it was merely wrongly documented before.

See #1667
2021-08-17 09:45:06 +02:00
David Hewitt 977735db20 pymethods: make inventory optional 2021-03-04 19:52:58 +00:00
David Hewitt a7e0c6bfa7 Make exceptions proper native types. 2020-07-18 01:57:39 +01:00
David Hewitt 8f41d56b9e Fix clippy complaint of empty return type 2020-04-08 08:04:29 +01:00
kngwyu c43fb9fcdf Prototype Implementation of RefCell-like PyCell 2020-02-10 16:13:15 +09:00
kngwyu bdb66afe0a Make PyClassShell have dict&weakref 2019-12-08 17:18:25 +09:00
kngwyu 7977fe68e2 Use Unsendable alias instead of Phantomdata<Rc<()>> 2019-10-27 23:12:59 +09:00