durusmail: quixote-users: Renaming _q_getname()
Renaming _q_getname()
2003-03-13
2003-03-13
2003-03-13
2003-03-13
2003-03-13
2003-03-13
Renaming _q_getname()
Andrew Kuchling
2003-03-13
On Thu, Mar 13, 2003 at 10:45:14AM -0500, Greg Ward wrote:
>change is not a big deal.  But preserving backwards compatibility with
>_q_getname() should not be *too* hard, if people want it.  (Assuming
>this is worth doing at all!)

It would be two lines of code for backward compatibility, if we
changed this.  I'm +0 on changing _q_getname to _q_lookup.

If we're changing names, remember that:
 _q_getname is called for names not in _q_exports, and isn't memoized.
 _q_resolve is called for names     in _q_exports, and is    memoized.

Can we pick names that make this distinction slightly clearer?
(_q_resolve has only been in 0.6 betas so far, so we can still change
it.)

--amk                                                    (www.amk.ca)
It serves the purpose of not serving a purpose, surely quite a valid one.
      -- Peter Greenaway, in an interview in _Artforum_, Nov. 83

reply