Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.python Subject: Re: Set a flag on the function or a global? Date: Mon, 15 Jun 2015 19:04:28 -0700 Organization: A noiseless patient Spider Lines: 6 Message-ID: <87y4jks91v.fsf@jester.gateway.sonic.net> References: <557f6676$0$21718$c3e8da3@news.astraweb.com> <87381strn6.fsf@jester.gateway.sonic.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="6ccd71891c5af5a40d6c4fb25cbad45d"; logging-data="445"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Q0VmC99zq92lzWGQNtGJA" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:NftODs75K8wELuh0/kCel77pFog= sha1:1e0H7G+j2bWW9KC7+dkZPambjDE= Xref: csiph.com comp.lang.python:92657 Ethan Furman writes: >> edir_(obj) = dunders. > `edir_` ? What a horrible name. I hate trailing underscores. Too easy to miss. They've worked ok for me at various times. edir_u (for unfiltered) is another idea.