Skip to content

Conversation

carlosmn
Copy link
Member

Fortunately pypy provides support for a lot of the CPython API, so the
changes are minimal.

The most important changes are:

  • constructors always get a keyword argument dictionary, even if no
    keyword arguments are passed
  • trying to assign to a read-only attribute raises TypeError instead of
    AttributeError

Apart from that, pypy does not provide MAXPATHLEN. There is a hack in
place currently, but there is only place that's using that macro, and
there shouldn't be a need for it much longer.

This fixes #209.


According to Travis docs, the PPA packages they use have a faulty pypy-dev package currently, so we won't be able to run the tests there 😦

Fortunately pypy provides support for a lot of the CPython API, so the
changes are minimal.

The most important changes are:

- constructors always get a keyword argument dictionary, even if no
  keyword arguments are passed

- trying to assign to a read-only attribute raises TypeError instead of
  AttributeError

Apart from that, pypy does not provide MAXPATHLEN. There is a hack in
place currently, but there is only place that's using that macro, and
there shouldn't be a need for it much longer.

This fixes libgit2#209.
@jdavid jdavid merged commit 30084e0 into libgit2:master Jan 27, 2014
@carlosmn carlosmn deleted the pypy branch January 29, 2014 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support for pypy
2 participants