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 hauntsaninja
Recipients docs@python, hauntsaninja
Date 2022-02-23.03:31:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645587117.9.0.320928426769.issue46831@roundup.psfhosted.org>
In-reply-to
Content
https://github.com/python/cpython/blob/cf345e945f48f54785799390c2e92c5310847bd4/Python/compile.c#L2537
```
    /* ultimately generate code for:
         <name> = __build_class__(<func>, <name>, *<bases>, **<keywords>)
       where:
         <func> is a function/closure created from the class body;
            it has a single argument (__locals__) where the dict
            (or MutableSequence) representing the locals is passed
```

`func` currently takes zero arguments. This was changed in https://github.com/python/cpython/commit/e8e14591ebb729b4fa19626ce245fa0811cf6f32 in Python 3.4
History
Date User Action Args
2022-02-23 03:31:57hauntsaninjasetrecipients: + hauntsaninja, docs@python
2022-02-23 03:31:57hauntsaninjasetmessageid: <1645587117.9.0.320928426769.issue46831@roundup.psfhosted.org>
2022-02-23 03:31:57hauntsaninjalinkissue46831 messages
2022-02-23 03:31:57hauntsaninjacreate