In message <mailman.987739112.22095.python-list at python.org> Carlos Ribeiro <cribeiro at mail.inet.com.br> wrote: > At 16:11 18/04/01 +0000, David C. Ullrich wrote: > >It's in Delphi all right. Now find five Delphi experts and ask them > >whether they think it's a good idea. > > > Delphi uses static types. So it is possible to know, in a unambiguous way, > what member is being assigned in a "with" clause. > Python uses dynamic types. It is impossible to know in advance which > attribute will be referenced at runtime. Member attributes may be added or > removed from objects on the fly. This would make it impossible to know, > from a simple reading, what attribute is being read - a local one, a global > one, or a member attribute. Thanks, a sensible reason/explanation for it not be a good idea for Python. -- ___ |im ---- ARM Powered ----
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