Does Python really follow its philosophy of "Readability counts"?
kyrie at uh.cu
Sun Jan 25 01:17:37 CET 2009
Quoting "Russ P." <Russ.Paielli at gmail.com>:
> On Jan 23, 6:36 pm, Luis Zarrabeitia <ky... at uh.cu> wrote:
> > > Makes *no* sense? There's *no* good reason *at all* for the original
> > > author to hide or protect internals?
> > My bad, sorry.
> > It makes sense... if the original author is an egotist who believes he
> > control how I use that library.
> If the original author provides you with the source code and the right
> to modify it, he cannot possibly control how you use the library. You
> can trivially disable any access controls. But for some reason that's
> not enough for you.
No, I'm not satisfied with forking python just to use sys._getframe.
> Has it occurred to you that some users might actually *want* access
> controls? Maybe some users want to actually use the library as the
> author intended it to be used. What a bizarre concept!
Then... use it as the author intended. I am _not_ forcing you to use the
Even I run pylint against third party libraries just to assess if the risk of
them messing with someone else's internals is worth taking (as in the case of
inspect.currentframe, which is exactly the same as sys._getframe) or not (random
library downloaded from the net).
> Oh, but only a paranoid fool could possibly want access controls, eh?
> Who's the egotist here?
See? You too changed what I said. Somehow you managed to delete the _other_
situation I gave. Not worth correcting it.
Facultad de Matemática y Computación, UH
More information about the Python-list