[issue34543] _struct.Struct: calling functions without calling __init__ results in SystemError
DeKrain
report at bugs.python.org
Wed Aug 29 13:10:25 EDT 2018
DeKrain <dawidkrainski8 at gmail.com> added the comment:
Well, sometimes when i do
>>> b = bytearray()
>>> s.pack_into(b)
application crashes (because it checks arg #1, which is not initialized).
Also, I imported from _struct, because it's where implementation of Struct really is.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34543>
_______________________________________
More information about the Python-bugs-list
mailing list