<p dir="ltr">You seem to be defining a (restricted subset of an existing) language;<br>
which will need version strings and ABI tags for compatibility purposes:</p>
<p dir="ltr">* Build Tags (for Python variants):<br>
   *<a href="https://www.python.org/dev/peps/pep-0425/"> https</a><a href="https://www.python.org/dev/peps/pep-0425/">://</a><a href="https://www.python.org/dev/peps/pep-0425/">www.python.org</a><a href="https://www.python.org/dev/peps/pep-0425/">/dev/peps/pep-0425/</a> <br>
     * Python tag<br>
     * ABI tag<br>
     * Platform tag<br>
  *<a href="https://www.python.org/dev/peps/pep-0513/"> https://www.python.org/dev/peps/pep-0513/</a> manylinux1<br>
  *<a href="https://www.python.org/dev/peps/pep-3149/"> https://www.python.org/dev/peps/pep-3149/</a> .so file tags<br>
  * RestrictedPython does not have ABI tags</p>
<p dir="ltr">An Android CPython build discussion about just exposing an extra attribute in the platform module (the Android build also ships without some modules IIRC):<br>
* <a href="https://mail.python.org/pipermail/python-dev/2014-August/135606.html">https://mail.python.org/pipermail/python-dev/2014-August/135606.html</a><br>
* <a href="https://mail.python.org/pipermail/python-dev/2014-August/thread.html#135640">https://mail.python.org/pipermail/python-dev/2014-August/thread.html#135640</a></p>
<p dir="ltr">On 11 April 2016 at 15:46, Jon Ribbens <<a href="mailto:jon%2Bpython-dev@unequivocal.co.uk">jon+python-dev@unequivocal.co.uk</a>> wrote:<br>
> It's trying to alter<br>
> the global Python environment so that arbitrary code can be executed,<br>
> whereas I am not even trying to allow execution of arbitrary code and<br>
> am not altering the global environment.</p>
<p dir="ltr">However, it's not at all clear (to me at least) what you *are* trying<br>
to do. You're limiting the subset of Python that people can use,<br>
understood. And you're trying to ensure that people can't do "bad<br>
things". Again, understood. But what subset are you actually allowing,<br>
and what things are you trying to protect against? (For example, I<br>
can't calculate sin(1.2) using the math module - why is that not<br>
alllowed? It's just as safe as using the built in exponential<br>
operator, and indeed I could write a sin() function in pure Python,<br>
although it would be too slow to be useful, unlike math.sin...)</p>
<p dir="ltr">It feels at the moment as if I'm playing a game where I don't know the<br>
rules, and every time I think I scored a point, the rules are changed<br>
to retroactively disallow it.</p>
<p dir="ltr">Paul<br>
_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev">https://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe:<a href="https://mail.python.org/mailman/options/python-dev/wes.turner%40gmail.com"> https://mail.python.org/mailman/options/python-dev/wes.turner%40gmail.com</a><br>
</p>