Change by tholl :
--
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue42924>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from tholl :
`bytearray_repeat` uses `ob_bytes` rather than `ob_start` as its source data
for copying, leading to incorrect results in some edge cases where the two are
distinct. It should probably use `PyByteArray_AS_STRING(self)` just like
`bytearray_irepeat` and basically
tholl added the comment:
I probably should have done this earlier, but here's a small test case that
reproduces the issue. The assert fails in vanilla Python 3.8, but passes with
the patch.
--
type: -> behavior
Added file: https://bugs.python.org/file48689/audit
New submission from tholl :
The dlsym operation generally (e.g. when done through a ctypes.CDLL object)
triggers the "ctypes.dlsym" audit event. However, using _ctypes.dlsym directly
does not trigger this event. This appears to be an oversight, given that
_ctypes.dlopen *does* t