On Fri, 26 Mar 2004 11:19:14 -0800 Guido van Rossum <guido at python.org> wrote: > > > No, I want to reserve the leading dot for attribute assignment to > > > a special object specified by a 'with' statement, e.g. > > > > > > with self: > > > .foo = [1, 2, 3] > > > .bar(4, .foo) > > > > Have you been reading the Prothon docs? ;^) > > No, I've expressed this idea before, and they probably saw it. Plus, > this is in VB so neither of us can claim to have invented it. :-) > > http://freespace.virgin.net/s.cowan/vbhowto/how_to/vb_controls/with_statement.htm > > (And "with" was in Pascal 30+ years ago, without the leading dot.) Pascal being my first compiled language I am well aware. As for VB, well if it's good enough for VB, then hell.. ;^) For some reason I thought there was a philosophical objection to 'with' in Python. Must have been an urban myth I guess. -Casey
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4