➜

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.

作者 georg.brandl
收信人
日期 2007-02-26.10:30:35
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
内容
Okay, I looked at the patch, and apart from a refleak in one of the compiler methods I couldn't find anything wrong.
I then manually applied the rest of my set comprehension patch. The result is attached.

Grammar, AST and compilation for comprehensions are now really unified.

It passes the tests for listcomps, genexps and setcomps.

I couldn't check properly for refleaks since e.g. test_genexps leaks in the branch head, as well as some other tests. I'm currently searching for the offending revision(s)...
File Added: new-set-comps.diff
历史
日期 用户 动作 参数
2007-08-23 15:56:35admin链接issue1660500 messages
2007-08-23 15:56:35admin创建