Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
AFAIK pointer arithmetic with NULL has undefined behavior. There is similar case in list_slice(). ---------- components: +Interpreter Core nosy: +mark.dickinson, serhiy.storchaka type: -> compile error versions: +Python 3.10, Python 3.11, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44707> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com