pkg_resources.WorkingSet.add_entry inconsistency

Issue #8 resolved
Hanno Schlichting
created an issue

This is a copy of http://bugs.python.org/setuptools/issue62:

On Wed, Feb 25, 2009 at 6:40 PM, Phillip J. Eby
setuptools@bugs.python.orgwrote:

Phillip J. Eby pje@telecommunity.com added the comment:

At 02:58 PM 2/25/2009 +0000, Arve Knudsen wrote:

According to WorkingSet's documentation, it should call
find_distributions with
False for the only-parameter.

Where in the documentation is this? It should be fixed.

In the method's docstring, at least per version 0.6c9.

In reality, it passes True, however.

This is correct.

The documented behaviour is what I was after,

Then you probably want an Environment, not a WorkingSet.

Comments (1)

  1. Log in to comment