New submission from Arie Bovenberg <a.c.bovenb...@gmail.com>:
Recently, I've identified some __slots__-related mistakes in the stdlib (bpo-46247, bpo-46244, bpo-46246). Looking forward, it'd be wise to automate this check so mistakes don't creep into the code in the future. Implementation-wise, the most straightforward solution would be a single test that walks all Lib/ (sub)modules and checks all classes. Perhaps those with more experience in the test suite can chime in where this check might live ---------- components: Library (Lib), Tests messages: 410023 nosy: ariebovenberg priority: normal severity: normal status: open title: Automatically check for __slots__-mistakes in Lib versions: Python 3.11 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46298> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com