Author ncoghlan
Recipients benjamin.peterson, larry, ncoghlan
Date 2013-03-21.01:44:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363830244.29.0.269960742525.issue17490@psf.upfronthosting.co.za>
In-reply-to
Content
Updated patch attached. The complexity grew a bit, as it turned out to be useful for the converter functions to be able to tell the difference between top level conversions and recursive invocations. I also realised that:

- the complex number conversion currently allows arbitrarily deep nesting of addition and subtraction
- handling this properly made an exception based "Failed to convert" API far more sensible

The docstrings are updated, but ast.convert_node is tested only indirectly through the ast.literal_eval tests and the main docs haven't been updated at all.

At this point, I'm most interested in feedback from Larry as to whether or not this is helpful to him in implementing argument clinic.
History
Date User Action Args
2013-03-21 01:44:04ncoghlansetrecipients: + ncoghlan, larry, benjamin.peterson
2013-03-21 01:44:04ncoghlansetmessageid: <1363830244.29.0.269960742525.issue17490@psf.upfronthosting.co.za>
2013-03-21 01:44:04ncoghlanlinkissue17490 messages
2013-03-21 01:44:04ncoghlancreate