You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
String does not set allow_None=True for default of None #104
I can't think of any reason why not. The current logic doesn't do that, but it doesn't have a comment saying why it works in this strange way, which makes me think it wasn't intentional.
Activity
jbednar commentedon Mar 5, 2015
Can't that just safely be deleted, along with the explicit argument?
philippjfr commentedon Mar 6, 2015
Hmm, is it really redundant though? Parameter sets:
Do we want this behavior for String?
jbednar commentedon Mar 6, 2015
I can't think of any reason why not. The current logic doesn't do that, but it doesn't have a comment saying why it works in this strange way, which makes me think it wasn't intentional.
[-]Redundant line in ``String.__init__``[/-][+]String does not set allow_None=True for default of None[/+]Allow a String to be None if its default is None (as for Parameter); f…