The former. It's porpose is to generate code, not to reproduce the source.<br><br>On Sunday, April 6, 2014, Ethan Furman <<a href="mailto:ethan@stoneleaf.us">ethan@stoneleaf.us</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 04/05/2014 03:08 PM, Guido van Rossum wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Lib2to3 has its own parser and tree so it can reconstruct the file,<br>
with comments. AST just throws away too much.<br>
</blockquote>
<br>
Are you saying it throws away too much for the question at hand, or that it throws away too much and should be modified to not throw away too much?<br>
<br>
--<br>
~Ethan~<br>
______________________________<u></u>_________________<br>
Python-ideas mailing list<br>
<a>Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" target="_blank">https://mail.python.org/<u></u>mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" target="_blank">http://python.org/psf/<u></u>codeofconduct/</a><br>
</blockquote><br><br>-- <br>--Guido van Rossum (on iPad)<br>