You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Convert str(), bytes() and bytearray() to Argument Clinic #85506
Constructors str(), bytes() and bytearray() were not converted to Argument Clinic because it was not possible to generate correct signature for them. But now there is other reason of using Argument Clinic -- it generates more efficient code for parsing arguments.
The proposed PR converts str(), bytes() and bytearray() to Argument Clinic but generated docstrings are not used.
New changeset 12f4334 by Serhiy Storchaka in branch 'master': bpo-41334: Convert constructors of str, bytes and bytearray to Argument Clinic (GH-21535) 12f4334
Activity
serhiy-storchaka commentedon Jul 18, 2020
Constructors str(), bytes() and bytearray() were not converted to Argument Clinic because it was not possible to generate correct signature for them. But now there is other reason of using Argument Clinic -- it generates more efficient code for parsing arguments.
The proposed PR converts str(), bytes() and bytearray() to Argument Clinic but generated docstrings are not used.
serhiy-storchaka commentedon Jul 20, 2020
New changeset 12f4334 by Serhiy Storchaka in branch 'master':
bpo-41334: Convert constructors of str, bytes and bytearray to Argument Clinic (GH-21535)
12f4334