[issue5880] Remove unneeded "context" pointer from getters and setters

Larry Hastings report at bugs.python.org
Mon May 4 10:57:52 CEST 2009


Larry Hastings <larry at hastings.org> added the comment:

Oh, and, I looked at pyephem.  It uses the context field to... store an
integer.  In this case, the offset in a structure where it's going to
pull out a value (float or double).  This code would probably be clearer
if forced to make do without the "closure".

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5880>
_______________________________________


More information about the Python-bugs-list mailing list