New submission from Steve Dower <[email protected]>:
encodings.search_function is triggering this assertion at Python/ceval.c#L4055:
TARGET(JUMP_ABSOLUTE) {
PREDICTED(JUMP_ABSOLUTE);
assert(oparg < INSTR_OFFSET()); <<<
It seems to be saying that absolute jumps should only go backwards?
The assertion is triggering reliably in a Windows debug build (including as
part of the build process, which means we can't release right now). I don't see
anything Windows-specific here though, so I assume it's core and may just be a
codepath in encodings that Linux doesn't use?
----------
components: Interpreter Core
messages: 403495
nosy: steve.dower
priority: release blocker
severity: normal
stage: test needed
status: open
title: Assert oparg < INSTR_OFFSET()
type: compile error
versions: Python 3.11
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue45415>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com