jonschull
jonschull
I am having the same problem. In the following code, the OPTIONS were copied from Generate Options output. Yet as you can see the hierarchical option (among others) do not...
Not just 3.5 https://github.com/bcj/AttrDict/issues/34
jeffkayser's solution is helpful for the special case, but the general problem remains: If you set the default sequence_type to list, empty tuples are silently converted to lists. This is...
jeff Kayser's solution does not in fact workl (neither does changing the the default in /attrdict/dictionary.py) append silently fails: >>> d = AttrDict() d._setattr('_sequence_type', list) d.l = [1, 2, 3]...
Thanks jonathanStrong. Backatcha. It's new, so comments welcome. #from attrdict import AttrDict class AttrDict(dict): #http://code.activestate.com/recipes/576972-attrdict/; def __init__(self, *a, **kw): dict.__init__(self, *a, **kw) self.__dict__ = self verbose=False class AttrThing(AttrDict): """ AttrThing...
***@***.*** cell: 585-738-6696 Co-Founder, e-NABLE: volunteers worldwide making free, 3D printed prosthetics Innovation Fellow, JMK Innovation Fund Sent from iPhone: beware tyops. On Fri, Dec 8, 2023 at 9:33 AM...