Spaces in object attribute

Mark McEahern marklists at mceahern.com
Thu Jan 10 12:31:43 EST 2002


Alex Martelli wrote:
> What would you like to see this rule replaced with?  Always forbidden
> except where mandatory?  Apart from breaking existing programs, this
> would tend to produce very "crunched-up" lines in many cases.  Forbidden
> in some cases, still optional in others?  I suspect it would be very hard
> to formulate the rule about those "some cases" so that simplicity is
> kept while obtaining the effect you desire (whatever, in detail, that is).

How about overloading whitespace?

  http://www.research.att.com/~bs/whitespace98.pdf

;-)

// mark





More information about the Python-list mailing list