Movatterモバイル変換
[0]ホーム
[Python-Dev] Add a frozendict builtin type
Mark Shannonmark at hotpy.org
Tue Feb 28 13:32:10 CET 2012
Hi,I don't know if an implementation of the frozendict actually exists,but if anyone is planning on writing one then can I suggest that theytake a look at my new dict implementation:http://bugs.python.org/issue13903https://bitbucket.org/markshannon/cpython_new_dict/Making dicts immutable (at the C level) is quite easy with my new implementation.Cheers,Mark.
More information about the Python-Devmailing list
[8]ページ先頭