FEEDBACK WANTED: Type/class unification
William Tanksley
wtanksle at dolphin.openprojects.net
Thu Aug 2 17:08:50 EDT 2001
On Thu, 2 Aug 2001 10:07:32 -0400, Steve Holden wrote:
>"William Tanksley" <wtanksle at dolphin.openprojects.net> wrote ...
>> Oops, I just realised that using 'class' as a variable name can't possibly
>> work: the parser can't currently disambiguate
>> class = myClass
>> from a class declaration, since both start with the token "class".
>I've spent a couple of minutes trying to remember if I ever wrote
> self = something
>Nope, don't remember that. Which isn't to say it might not be meaningful in
>some context I haven't imagined.
Bad example. Okay, replace my example with:
class.something = other
There ya go, same ambiguity.
But aside from that, I really dislike the idea of having a forced classname.
> Steve
--
-William "Billy" Tanksley
More information about the Python-list
mailing list