New submission from STINNER Victor:
Attached patch modify the _struct module to use FASTCALL and Argument Clinic.
AC requires a summary line, so I duplicated the first sentence of iter_unpack()
docstring:
iter_unpack(fmt, buffer, /)
Return an iterator yielding tuples unpacked from the given bytes.
Return an iterator yielding tuples unpacked from the given bytes
source according to the format string, like a repeated invocation of
unpack_from(). Requires that the bytes length be a multiple of the
format struct size.
----------
components: Argument Clinic
files: struct_fastcall.patch
keywords: patch
messages: 285663
nosy: haypo, inada.naoki, larry, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Modify the _struct module to use FASTCALL and Argument Clinic
type: performance
versions: Python 3.7
Added file: http://bugs.python.org/file46319/struct_fastcall.patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue29300>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com