Message337679
This is was closed and tagged as resolved in 2012. The status has not been changed since then.
Using dict(a=1, ...) provides a workaround, but only when the keys are valid as variable names. The general workaround is something like
helper([
(1, 'a'),
(2, 'b'),
#etc
])
The helper is necessary:
>>> [(1, 2)] * 5
[(1, 2), (1, 2), (1, 2), (1, 2), (1, 2)]
>>> dict([(1, 2)] * 5)
{1: 2} |
|
Date |
User |
Action |
Args |
2019-03-11 15:46:12 | jfine2358 | set | recipients:
+ jfine2358, rhettinger, terry.reedy, gregory.p.smith, jcea, benjamin.peterson, r.david.murray, ebfe, Ramchandra Apte, Albert.Ferras, remi.lapeyre |
2019-03-11 15:46:12 | jfine2358 | set | messageid: <1552319172.11.0.9037401197.issue16385@roundup.psfhosted.org> |
2019-03-11 15:46:12 | jfine2358 | link | issue16385 messages |
2019-03-11 15:46:12 | jfine2358 | create | |
|