Matthew Barnett <pyt...@mrabarnett.plus.com> added the comment:
I think what's happening is that in 'compiler_dict' (Python/compile.c), it's checking whether 'elements' has reached a maximum (0xFFFF). However, it's not doing this after incrementing; instead, it's checking before incrementing and resetting 'elements' to 0 when it should be resetting to 1. The 65535th element isn't counted. ---------- nosy: +mrabarnett _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41531> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com