Message226873
| Author |
binnisb |
| Recipients |
binnisb, dstufft, eric.araujo |
| Date |
2014年09月14日.15:55:46 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1410710146.94.0.736559829031.issue22409@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
In Python 3.4.1 installed with Anaconda. I tried the following
(expecting an OrderedDict as result):
>>>from collections import namedtuple
>>>NT = namedtuple("NT",["a","b"])
>>>nt = NT(1,2)
>>>print(vars(nt))
{}
so the result is an empty dict. In Python 3.3.2 (downgraded in the
same Anaconda environment) results in:
>>>print(vars(nt))
OrderedDict([('a', 1), ('b', 2)]) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年09月14日 15:55:47 | binnisb | set | recipients:
+ binnisb, eric.araujo, dstufft |
| 2014年09月14日 15:55:46 | binnisb | set | messageid: <1410710146.94.0.736559829031.issue22409@psf.upfronthosting.co.za> |
| 2014年09月14日 15:55:46 | binnisb | link | issue22409 messages |
| 2014年09月14日 15:55:46 | binnisb | create |
|