Almad wrote: > However, when constructing dictionary with dictionary in constructor > like d = RegisterMap({'k':'v'}), __setitem__ is not called
why should it do that? dict() is a concrete implementation, not a template class for the creation of dict-like objects. > Or should this be considered as minor bug in Python? no. </F> -- http://mail.python.org/mailman/listinfo/python-list