<br><br><div class="gmail_quote">On Fri, Mar 21, 2008 at 6:26 PM, Larry Hastings <<a href="mailto:larry@hastings.org">larry@hastings.org</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
I think Python needs a dedicated "pragma" syntax; we already have two<br>
pragma syntaxes ("from __future__ import" and "# coding"), and I think a<br>
syntax designed for expressing pragmas would be much clearer than using<br>
existing language features in weird ways to express pragmas. But that's<br>
a debate for another day.<br>
<br>
Today's topic is much smaller in scope: can I get support for making<br>
"pragma" a reserved keyword in Python? Guido himself suggested doing<br>
that back in August of 2000 during a previous pragma-y discussion:<br>
<br>
<a href="http://mail.python.org/pipermail/python-dev/2000-August/008840.html" target="_blank">http://mail.python.org/pipermail/python-dev/2000-August/008840.html</a><br>
<br>
I'm not proposing that the keyword do anything, just that "pragma" be<br>
reserved for future expansion, and therefore be illegal for use as an<br>
identifier. For now any use of it would be an error.<br>
<br>
If there's some chance it would be accepted, I would happily make the patch.</blockquote><div>If we did this, there'd be a deprecation warning in 2.x, and we'd make keyword in 3.x<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Driving the thin end of the wedge,<br>
<br>
<br>
/larry/<br>
_______________________________________________<br>
Python-3000 mailing list<br>
<a href="mailto:Python-3000@python.org">Python-3000@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-3000" target="_blank">http://mail.python.org/mailman/listinfo/python-3000</a><br>
Unsubscribe: <a href="http://mail.python.org/mailman/options/python-3000/musiccomposition%40gmail.com" target="_blank">http://mail.python.org/mailman/options/python-3000/musiccomposition%40gmail.com</a><br>
</blockquote></div><br>