specs: _concrete should never be cleared when copying Specs
This commit is contained in:
parent
acdb391931
commit
7f224b616d
@ -2709,17 +2709,17 @@ def _dup(self, other, deps=True, cleardeps=True, caches=None):
|
|||||||
deptypes = deps
|
deptypes = deps
|
||||||
self._dup_deps(other, deptypes, caches)
|
self._dup_deps(other, deptypes, caches)
|
||||||
|
|
||||||
|
self._concrete = other._concrete
|
||||||
|
|
||||||
if caches:
|
if caches:
|
||||||
self._hash = other._hash
|
self._hash = other._hash
|
||||||
self._cmp_key_cache = other._cmp_key_cache
|
self._cmp_key_cache = other._cmp_key_cache
|
||||||
self._normal = other._normal
|
self._normal = other._normal
|
||||||
self._concrete = other._concrete
|
|
||||||
self._full_hash = other._full_hash
|
self._full_hash = other._full_hash
|
||||||
else:
|
else:
|
||||||
self._hash = None
|
self._hash = None
|
||||||
self._cmp_key_cache = None
|
self._cmp_key_cache = None
|
||||||
self._normal = False
|
self._normal = False
|
||||||
self._concrete = False
|
|
||||||
self._full_hash = None
|
self._full_hash = None
|
||||||
|
|
||||||
return changed
|
return changed
|
||||||
|
Loading…
Reference in New Issue
Block a user