Chris Lamb wrote:
> Patch attached.
Let's try that again:
--- a/traitlets/traitlets.py
+++ b/traitlets/traitlets.py
@@ -2366,6 +2366,10 @@ class Set(List):
"""
super(Set, self).__init__(trait, default_value, minlen, maxlen,
**kwargs)
+ def make_dynamic_default(self):
+ # Ensure default value is sorted for a reproducible build
+ return sorted(super(Set, self).make_dynamic_default())
+
class Tuple(Container):
"""An instance of a Python tuple."""
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team