lambda expressions do not properly generate closures.
Bug #407838 reported by
Bradley M. Kuhn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pynie |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Lambda expressions currently fail basic closure tests on trunk. The included patch uses a newclosure Parrot opcode to force creation of a closure each time the lambda is evaluated, allowing lambda closure to function properly. This patch causes that part of the functions.py test to pass now.
Changed in pynie: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
BTW, the patch is copyrighted by me and licensed under Artistic- 2.0-or- later.