On 21 Apr, 00:54, Dan Bishop <[EMAIL PROTECTED]> wrote:
>
> We wouldn't even need that.  Just a new source encoding.  Then we
> could write:
>
> # -*- coding: end-block -*-

[...]

Someone at EuroPython 2007 did a lightning talk showing working code
which provided C-style block structuring using this mechanism. My
brother then jokingly suggested to Martijn Faassen that if someone
plugged the 2to3 converter in as a source file encoding handler, his
worries about migrating to Python 3 would disappear. I'm waiting to
see if anyone actually bothered to make that happen, albeit for
amusement purposes only.

Paul

P.S. EuroPython 2008 is now accepting talks, especially ones on the
language, Python 3000, and other implementations. See http://www.europython.org/
for details!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to