New submission from Brynjar Smári Bjarnason: 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)]) ---------- components: Distutils messages: 226873 nosy: binnisb, dstufft, eric.araujo priority: normal severity: normal status: open title: namedtuples bug between 3.3.2 and 3.4.1 type: behavior versions: Python 3.3, Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22409> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com