Skip to content

Support of PyPy interpreter (smmap, gitdb, and GitPython) #49

Open
@zougloub

Description

@zougloub

I was hoping to get this to run under PyPy but this is happening.

======================================================================
FAIL: test_basics (smmap.test.test_buf.TestBuf)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "smmap-5.0.0/smmap/test/test_buf.py", line 114, in test_basics
    assert manager.collect()
AssertionError

I may take a look and suggest a fix, but maybe a someone who knows the codebase can figure this problem out easily?

Edit: the code makes a heavy use of del expecting instant behavior, but this is not automatic under pypy. See http://docs.cython.org/en/latest/src/userguide/pypy.html

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions