Incompatibility with pypy interpreter
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by running test/test_jsonobjects.py with PyPy and inspect the failing import in src/jsonconversion/encoder.py, with test/testing_utils.py showing how the encoder is used. The work is done when the tests run under PyPy without relying on the unavailable json.encoder member.
Written by the indexing model from the issue text.
Description
When trying to use jsonconversion with the pypy interpreter (e.g. pypy3.6 /custom/patch/python-jsonconversion/test/test_jsonobjects.py) the following error occurs:
File "/home/basti/develop/python-jsonconversion/test/test_jsonobjects.py", line 12, in <module>
from testing_utils import convert_with_assertion
File "/home/basti/develop/python-jsonconversion/test/testing_utils.py", line 17, in <module>
from jsonconversion.encoder import JSONObjectEncoder
File "/home/basti/develop/python-jsonconversion/src/jsonconversion/encoder.py", line 13, in <module>
from json.encoder import JSONEncoder, _make_iterencode, encode_basestring, encode_basestring_ascii, INFINITY
ImportError: cannot import name '_make_iterencode'
The '_make_iterencode' is a protected member os json.encoder. Is there a possibility to only use the public API of json.encoder?
- Dominant language
- Python
- Stars
- 9
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Similar issues
-
Add: hunch Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
AbdelStark/awesome-typesafe#104 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DiamondLightSource/dodal#2211 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
openml/openml-python#1749 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sipyourdrink-ltd/bernstein#6191 ·