This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Dennis Sweeney, Guido.van.Rossum, Mark.Shannon, Yonatan Goldschmidt, ammar2, chris.jerdonek, corona10, erlendaasland, gvanrossum, hauntsaninja, pablogsal, petr.viktorin, rhettinger, scoder, serhiy.storchaka, vstinner
Date 2021-05-20.20:24:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Mark: Can you please document your change on types.CodeType? In:


The change broke the Genshi project:

in this Genshi function:

    def build_code_chunk(code, filename, name, lineno):
        params =  [0, code.co_nlocals, code.co_kwonlyargcount,
                  code.co_stacksize, code.co_flags | 0x0040,
                  code.co_code, code.co_consts, code.co_names,
                  code.co_varnames, filename, name, lineno,
                  code.co_lnotab, (), ()]
        if hasattr(code, "co_posonlyargcount"):
            # PEP 570 added "positional only arguments"
            params.insert(2, code.co_posonlyargcount)
        return CodeType(*params)
Date User Action Args
2021-05-20 20:24:45vstinnersetrecipients: + vstinner, gvanrossum, rhettinger, scoder, petr.viktorin, chris.jerdonek, Mark.Shannon, serhiy.storchaka, Guido.van.Rossum, ammar2, corona10, pablogsal, Dennis Sweeney, erlendaasland, Yonatan Goldschmidt, hauntsaninja
2021-05-20 20:24:45vstinnersetmessageid: <>
2021-05-20 20:24:45vstinnerlinkissue40222 messages
2021-05-20 20:24:45vstinnercreate