1. Vinay Sajip
  2. distlib

Commits

Vinay Sajip  committed c9cd5fe

Closes #48: Wrapped set in frozenset() before adding to another set.

  • Participants
  • Parent commits bff28df
  • Branches default

Comments (0)

Files changed (2)

File CHANGES.rst

View file
 
     - Updated ``match_hostname`` to use the latest Python implementation.
 
+- locators
+
+    - Issue #48: Fixed the problem of adding a tuple containing a set
+      (unhashable) to a set, by wrapping with frozenset().
+
+- scripts
+
+    - Updated (inluding launchers) to support providing arguments to
+      interpreters in shebang lines.
+
+    - The launcher sources are now included in the repository and the
+      source distribution (they are to be found in the PC directory).
+
+- docs
+
+    - Numerous documentation updates, not detailed further here.
+
+- tests
+
+    - Numerous test refinements, not detailed further here.
+
+
 0.1.9
 ~~~~~
 

File distlib/locators.py

View file
                 unmatched.add(s)
         if unmatched:
             # can't replace other with provider
-            problems.add(('cantreplace', provider, other, unmatched))
+            problems.add(('cantreplace', provider, other,
+                          frozenset(unmatched)))
             result = False
         else:
             # can replace other with provider