Re: [Python-Dev] namedtuples bug between 3.3.2 and 3.4.1

2014-09-15 Thread Antony Lee
FWIW I cannot reproduce the bug with Anaconda's Python 3.4.1 (from a miniconda install): $ python Python 3.4.1 |Continuum Analytics, Inc.| (default, Sep 2 2014, 14:00:37) [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> fro

Re: [Python-Dev] namedtuples bug between 3.3.2 and 3.4.1

2014-09-14 Thread Antoine Pitrou
On Mon, 15 Sep 2014 02:13:53 +1000 Chris Angelico wrote: > On Sun, Sep 14, 2014 at 8:13 PM, Brynjar Smári Bjarnason > wrote: > > I am using Python 3.4.1 installed with Anaconda. I tried the following > > (expecting an OrderedDict as result): > > > from collections import namedtuple > NT =

Re: [Python-Dev] namedtuples bug between 3.3.2 and 3.4.1

2014-09-14 Thread Chris Angelico
On Sun, Sep 14, 2014 at 8:13 PM, Brynjar Smári Bjarnason wrote: > I am using 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)) > {} >