##// END OF EJS Templates
rust-cpython: make PySharedRef::try_borrow_mut() return BorrowMutError...
rust-cpython: make PySharedRef::try_borrow_mut() return BorrowMutError As I said, it shouldn't be an error of Python layer, but is something like a coding error. Returning BorrowMutError makes more sense. There's a weird hack to propagate the borrow-by-leaked state to RefCell to obtain BorrowMutError. If we don't like it, maybe we can add our own BorrowMutError.

File last commit:

r38029:e51c91c1 default
r44688:9804badd default
Show More
changelog
5 lines | 164 B | text/plain | TextLexer
mercurial (__VERSION__) __CODENAME__; urgency=medium
* Automated build performed by upstream.
-- Mercurial Devel <mercurial-devel@mercurial-scm.org> __DATE__