Message174009
The implementation of dict.fromkeys() assumes that the new dictionary is empty. That's not the case if we tweak __new__. Attached example shows 'dictresize(mp, 0)' being called with 'mp' being dictionary of 10 items. This causes an infinite uninterruptible loop. |
|
Date |
User |
Action |
Args |
2012-10-28 08:04:26 | arigo | set | recipients:
+ arigo |
2012-10-28 08:04:26 | arigo | set | messageid: <1351411466.77.0.264436866601.issue16345@psf.upfronthosting.co.za> |
2012-10-28 08:04:26 | arigo | link | issue16345 messages |
2012-10-28 08:04:26 | arigo | create | |
|