[issue28884] Python 3.5.2 non-segfaulting bugs (from PyPy)
Armin Rigo
report at bugs.python.org
Tue Dec 6 06:55:34 EST 2016
Armin Rigo added the comment:
(B2) fcntl.ioctl(x, y, buf, mutate_flag): mutate_flag is there for the case
of buf being a read-write buffer, which is then mutated in-place.
But if we call with a read-only buffer, mutate_flag is ignored (instead
of rejecting a True value)---ioctl(x, y, "foo", True) will not actually
mutate the string "foo", but the True is completely ignored. (I think
this is a bug introduced during the Argument Clinic refactoring.)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28884>
_______________________________________
More information about the Python-bugs-list
mailing list