Python with no significant whitespace

Jeremy Sanders jeremy+plusnews at jeremysanders.net
Wed Jan 26 04:50:19 EST 2005


On Wed, 26 Jan 2005 11:31:18 +0800, mep wrote:

> Hi,all
>     Is there anybody trying to release a modification version to current
> python source code with no significant whitespace, say replacing whitespace
> by {}
> like C or java. I do *NOT* mean whitespace is good or bad, just
> want to know.

It probably would be easy to convert source in the form using brackets to
indented form on the fly, and use exec to interpret the converted form.

You need to do something like convert XXXX { to

XXXX:
 foo

Of course this isn't a good idea.

Jeremy





More information about the Python-list mailing list