消息 [157030]
"It is exposed as types.DictProxyType in Python 2..."
Yes, but the purpose of the issue is to enable its constructor. You cannot instanciate a DictProxy in Python 2:
>>> import types
>>> types.DictProxyType
<type 'dictproxy'>
>>> types.DictProxyType({})
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: cannot create 'dictproxy' instances |
|
| 日期 |
用户 |
动作 |
参数 |
| 2012-03-29 11:08:38 | vstinner | 修改 | recipients:
+ vstinner, gvanrossum, georg.brandl, rhettinger, pitrou, giampaolo.rodola, eric.araujo, r.david.murray, michael.foord, skrah, eric.snow, poq, Jim.Jewett |
| 2012-03-29 11:08:38 | vstinner | 修改 | messageid: <1333019318.43.0.133762034784.issue14386@psf.upfronthosting.co.za> |
| 2012-03-29 11:08:37 | vstinner | 链接 | issue14386 messages |
| 2012-03-29 11:08:37 | vstinner | 创建 | |
|