Mercurial > hg
diff setup.py @ 44189:4a4c3b9fd91b
rust-cpython: make sure PySharedRef::borrow_mut() never panics
Since it returns a Result, it shouldn't panic depending on where the
borrowing fails.
PySharedRef::borrow_mut() will be renamed to try_borrow_mut() by the next
patch.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 21 Sep 2019 17:27:14 +0900 |
parents | e1b8b4e4f496 |
children | 0ab651b5f77c a7f8160cc4e4 |