Message4997
| Author |
kellrott |
| Recipients |
kellrott |
| Date |
2009年08月06日.19:01:39 |
| SpamBayes Score |
1.3714335e-08 |
| Marked as misclassified |
No |
| Message-id |
<1249585300.73.0.382712603003.issue1427@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Assignment of a newly created ast Node value fails. The assignment
destination become 'None' rather then accepting the value.
Test case:
Simple code mutation. Trying manipulate the ast tree to change a
methods call like
a.set( 1 )
to the assignment:
a = 1
By running attached code 'astMutationTest.py' ('unparse.py' code is
obtained from Cpython parse demo code)
the python output is:
Before Mutation
a.set(1)
After Mutation
a = 1
But for Jython:
Before Mutation
a.set(1)
After Mutation
None |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年08月06日 19:01:40 | kellrott | set | recipients:
+ kellrott |
| 2009年08月06日 19:01:40 | kellrott | set | messageid: <1249585300.73.0.382712603003.issue1427@psf.upfronthosting.co.za> |
| 2009年08月06日 19:01:40 | kellrott | link | issue1427 messages |
| 2009年08月06日 19:01:39 | kellrott | create |
|