Alternate indent proposal for python 3000

Paul Boddie paul at boddie.org.uk
Mon Apr 21 05:01:08 EDT 2008


On 21 Apr, 00:54, Dan Bishop <danb... at yahoo.com> 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!



More information about the Python-list mailing list