消息 [175529]
The following from the changeset left me with questions:
-from _functools import partial, reduce
+try:
+ from _functools import reduce
+except ImportError:
+ pass
* Why the try block when there wasn't one before?
* Should reduce be added to __all__ only conditionally?
* Should the pure Python partial only be used if _functools.partial is not available?
* Should _functools.partial be removed? |
|
| 日期 |
用户 |
动作 |
参数 |
| 2012-11-13 23:48:20 | eric.snow | 修改 | recipients:
+ eric.snow, rhettinger, ncoghlan, pitrou, jackdied, ezio.melotti, eric.araujo, Thorney, python-dev |
| 2012-11-13 23:48:20 | eric.snow | 修改 | messageid: <1352850500.03.0.69135934184.issue12428@psf.upfronthosting.co.za> |
| 2012-11-13 23:48:19 | eric.snow | 链接 | issue12428 messages |
| 2012-11-13 23:48:19 | eric.snow | 创建 | |
|