DLR-RM / DLR-RM/python-jsonconversion

Incompatibility with pypy interpreter

オープン
#2 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Python
スター
9
フォーク
3
PR マージ指標
30日以内にマージされた PR はありません

説明

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
from testing_utils import convert_with_assertion
File "/home/basti/develop/python-jsonconversion/test/testing_utils.py", line 17, in
from jsonconversion.encoder import JSONObjectEncoder
File "/home/basti/develop/python-jsonconversion/src/jsonconversion/encoder.py", line 13, in
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?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。