[Distutils] [Python-Dev] PEP 365 (Adding the pkg_resources module)

Paul Moore p.f.moore at gmail.com
Wed Mar 19 10:43:16 CET 2008

On 19/03/2008, Phillip J. Eby <pje at telecommunity.com> wrote:
>  >I don't particularly want to use undocumented functions - even within
>  >the module that defines them.
> Er, you could always document them, you know.  I just didn't get
>  around to it before the whole "setuptools flap of 2005" wiped out my
>  motivation to do any further work on Python 2.5.  For the most part,
>  they do have docstrings.  I just never did the LaTeX work on
>  them.  And now, you can use reST instead of LaTeX.  :)

I could, but the problem is I don't really follow the code. My
motivation is to add useful functions, not document stuff that's
already there. You mentioned using get_loader to implement
resource_string. OK, but I'd have done something a lot simpler than
the code of get_loader, and I don't understand why the code in there
is necessary.

Never mind, I'll implement what I'm planning on using my own code, and
ignore trying to understand the (corner cases of the) undocumented
functions. Looking at the pkg_resources code, I'd have had the same
issues there trying to disentangle the "simple bits" from the
infrastructure, as you suggested, so that's probably a better approach


More information about the Distutils-SIG mailing list