[Python-ideas] Correct way for writing Python code without causing interpreter crashes due to parser stack overflow

Michael Selik mike at selik.org
Wed Jun 27 11:23:18 EDT 2018

On Wed, Jun 27, 2018 at 12:04 AM Fiedler Roman <Roman.Fiedler at ait.ac.at>

> Context: we are conducting machine learning experiments that generate some
> kind of nested decision trees. As the tree includes specific decision
> elements (which require custom code to evaluate), we decided to store the
> decision tree (result of the analysis) as generated Python code. Thus the
> decision tree can be transferred to sensor nodes (detectors) that will then
> filter data according to the decision tree when executing the given code.

How do you write tests for the sensor nodes? Do they use code as data for
test cases?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180627/196998b6/attachment.html>

More information about the Python-ideas mailing list