STINNER Victor <vstin...@python.org> added the comment:
Does the code really hang? Or does it complete if you wait for an infinite amount of time? I understand that your concern is that bytes.find() is inefficient for a very specific pattern. ---------- nosy: +vstinner _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41972> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com