On Sat, Oct 10, 2009 at 2:49 PM, David Cournapeau firstname.lastname@example.org wrote:
On Sat, Oct 10, 2009 at 1:24 AM, Peter email@example.com wrote:
On Fri, Oct 9, 2009 at 5:56 AM, David Cournapeau firstname.lastname@example.org wrote:
Since inspect is used in quite a few places, and that we only use it to extract arguments from a function, I added a small numpy.lib.inspect module, and ...
Is numpy.lib intended as a public API? How about numpy.lib._inspect instead of numpy.lib.inspect to make it clear this new module is private?
I could see it being used by other packages like scipy for example. Instead of numpy.lib.inspect, we may choose to have something like numpy.lib.compat or something, where we could put several potential cases similar to this one.
Ok, I created a new numpy subpackage numpy.compat, and numpy.compat will contain the public API. The implementation is in numpy.compat._inspect.
Unless someones objects to it, I will include this within the next day or so,