This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mastahyeti
Recipients ezio.melotti, mastahyeti, orsenthil, r.david.murray
Date 2012-08-30.19:10:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAE=pOyG6bJrD--raOQkdwyZUUK-B+eMRbgj7DX+gssmERLMVVw@mail.gmail.com>
In-reply-to <1346353420.47.0.00406194791438.issue15824@psf.upfronthosting.co.za>
Content
I can live with that, it just seems that ordinary item assignment is
more pythonic....

On Thu, Aug 30, 2012 at 2:03 PM, R. David Murray <report@bugs.python.org> wrote:
>
> R. David Murray added the comment:
>
> Actually, Senthil is right.  What you want is the _replace method of namedtuple to satisfy your use case.
>
> ----------
> resolution:  -> works for me
> stage:  -> committed/rejected
> status: open -> closed
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue15824>
> _______________________________________
History
Date User Action Args
2012-08-30 19:10:22mastahyetisetrecipients: + mastahyeti, orsenthil, ezio.melotti, r.david.murray
2012-08-30 19:10:21mastahyetilinkissue15824 messages
2012-08-30 19:10:21mastahyeticreate