New submission from Steve Dower <steve.do...@python.org>:

Because code.replace() manually creates a new code object (that is, with 
arbitrary co_code rather than via the compiler), it should raise code.__new__ 
with its arguments.

----------
assignee: steve.dower
messages: 357529
nosy: steve.dower
priority: normal
severity: normal
status: open
title: code.replace() does not raise audit event
versions: Python 3.8, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38922>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to