[Python-Dev] Worse news

Thomas Wouters thomas@xs4all.net
Tue, 23 Jan 2001 00:26:02 +0100


On Tue, Jan 23, 2001 at 12:21:14PM +1300, Greg Ewing wrote:
> Thomas Wouters <thomas@xs4all.net>:

> > You can't have doublestar without having star

> What?!? You could in 1.5.2. Has that changed?

Sorry, my bad, I'm wrong. (I just tested this.) I could swear it was that
way, but it's 0:25 right now, after a night with about 2 hours decent sleep,
so ignore my delusions :)

> Anyway, it just looked a bit odd that it seemed to be testing
> for DOUBLESTAR and then adding a DEF_STAR thing to the symtab.
> But I guess I should shut up until I've seen all of the code.

No, it's not doing that. It's adding the symbol name to the symtab, with
DEF_DOUBLESTAR as one of its flags. Not sure what the flag does, but I could
guess. (But see the above mentioned delusions as to why I'm not doing that
out loud anymore :-) The 'if' in front of it adds the symbol to the symtab
with DEF_STAR as a flag, in the case of 'STAR' (rather than DOUBLESTAR).
Really. go check :)

-- 
Thomas Wouters <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!