Why prematurely clone `self.config` in `update_config()`?
オープン
- 主要言語
- Python
- スター
- 653
- フォーク
- 217
- 平均マージ
- 2日 21時間
- マージ済み PR(30日)
- 2
説明
In `Configurable.update_config()#L214` https://github.com/ipython/traitlets/blob/4da01bfdd675783ab64a21df015e49378d91cbd2/traitlets/config/configurable.py#L206-L218
the `config` attribute is deep-cloned before `_load_config()` has the chance to validate config-values.
In case of trait-errors, this clone is wasted.
Was that on purpose?
コントリビューションガイド
評価
この issue はまだ評価されていません。