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.

作者 gvanrossum
收信人
日期 2007-03-15.21:06:22
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
内容
Here's a new patch, which generates correct code for all variants of the class header syntax.

For now, I've implemented __build_class__ in Python; the built-in function by that name imports the build_class module and calls its build_class function.  (I'll later redo this in C.)

This is still rough; I didn't even delete the old BUILD_CLASS opcode.  But only a few unit tests fail (especially the ast and compiler tests).  There are no unit tests for the new functionality.  There is no documentation.

Failing tests:
    test_ast test_compiler test_ctypes test_descr test_grp test_pep292


File Added: meta.patch
历史
日期 用户 动作 参数
2007-08-23 15:57:34admin链接issue1681101 messages
2007-08-23 15:57:34admin创建