Commit 7b14aa9
committed
test: add regression test for TupleManager's dunder-name guard
nickname_delimiters/maiden_delimiters' construction already fixed a
latent bug where TupleManager[X](...) leaked __orig_class__ into the
dict itself (commit 5bd82b2), but nothing in the suite pinned it down
directly -- a future "simplification" of __setattr__/__delattr__ back
to bare dict.__setitem__/__delitem__ aliases would silently corrupt
nickname/maiden parsing again with no test catching it. Flagged by a
review agent auditing PR #199.1 parent 8412d3f commit 7b14aa9
1 file changed
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
249 | 274 | | |
250 | 275 | | |
251 | 276 | | |
| |||
0 commit comments