INADA Naoki added the comment: Since `seq` is checked by PyDict_CheckExact(seq) already, ((PyDictObject*)seq)->ma_used may be better. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue29019> _______________________________________