Pull requests

#81 Declined
Repository
thomie thomie
Branch
default
Repository
pypy pypy
Branch
default

Fix named tuples to work with vars().

Author
  1. thomie
Reviewers
Description

This commit fixes a minor difference between CPython's and pypy's namedtuple implementation.

Without this fix pickling a namedtuple with CPython and trying to unpickle with pypy would fail.

Comments (6)

  1. Alex Gaynor

    This is almost certainly not right, our collections.py is a totally unmodified copy of what was in CPython. Either this was an issue fixed in later CPythons, or there's a bug somewhere else.

  2. thomie author

    Ok, you can reject this pull request, I was comparing CPython 2.7.3 to pypy 1.9, which I now see is 2.7.2 compatible.

    Is anyone working on a 2.7.3 pypy release?