Gregory Beauregard <greg at greg.red> added the comment: I get no attribute error with this code in 3.9 or 3.10. ---------- nosy: +GBeauregard _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue45443> _______________________________________