Commit 2fc7441
committed
add explicit arg.deleter raising AttributeError for cdef class compat
In Cython cdef class, a property without a deleter raises
NotImplementedError instead of Python's AttributeError. Add an explicit
deleter to BaseInstr.arg that raises AttributeError to keep consistent
behaviour across pure Python and Cython builds.1 parent c979e50 commit 2fc7441
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
788 | 788 | | |
789 | 789 | | |
790 | 790 | | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
791 | 795 | | |
792 | 796 | | |
793 | 797 | | |
| |||
0 commit comments