This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author larry
Recipients larry, loewis, mark.dickinson, pitrou
Date 2009-05-04.08:43:29
SpamBayes Score 0.0017876594
Marked as misclassified No
Message-id <1241426610.71.0.558933409929.issue5880@psf.upfronthosting.co.za>
In-reply-to
Content
Mark Dickinson: no extension module would ever *need* it.  One could
reproduce the functionality with stub intermediary functions, as follows:

PyObject *my_getter_with_context(PyObject *self, void *context) {
  /* ... /
}

PyObject *my_getter_A(PyObject *self) {
  return my_getter_with_context(self, "A");
}


PyObject *my_getter_B(PyObject *self) {
  return my_getter_with_context(self, "B");
}

/* etc. */

The body of Python extension code shows that this facility is rarely
needed.  And folks that need it can roll their own.

It's a minor thing, but I think it's worth doing, if we're willing to
break compatibility in this way.

Anyway, I'm gonna float it on python-dev.
History
Date User Action Args
2009-05-04 08:43:30larrysetrecipients: + larry, loewis, mark.dickinson, pitrou
2009-05-04 08:43:30larrysetmessageid: <1241426610.71.0.558933409929.issue5880@psf.upfronthosting.co.za>
2009-05-04 08:43:29larrylinkissue5880 messages
2009-05-04 08:43:29larrycreate