Message5268
| Author |
kellrott |
| Recipients |
fwierzbicki, kellrott |
| Date |
2009年10月26日.21:47:26 |
| SpamBayes Score |
4.7805093e-12 |
| Marked as misclassified |
No |
| Message-id |
<1256593647.11.0.255316439054.issue1427@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I've confirmed that in the original code a list was passed to the
'value' field. In python this didn't cause any problems, despite the
fact that the official AST description for the value field of an Assign
is for a single expression, and not for a list of expressions. The type
checking in Java caused the bad assignment to default to None.
Fixing this issue would only be useful if Jython needs to handle badly
formed AST trees the same way as Python. Otherwise, raising an
exception for a bad assignment might be worth while. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年10月26日 21:47:27 | kellrott | set | messageid: <1256593647.11.0.255316439054.issue1427@psf.upfronthosting.co.za> |
| 2009年10月26日 21:47:27 | kellrott | set | recipients:
+ kellrott, fwierzbicki |
| 2009年10月26日 21:47:27 | kellrott | link | issue1427 messages |
| 2009年10月26日 21:47:26 | kellrott | create |
|