Martin Thoma

Results 446 comments of Martin Thoma

Here is how you fix the curlpp problem on Ubuntu 16.04: ``` $ sudo apt-get remove libcurlpp0 $ cd [wherever] $ git clone https://github.com/jpbarrette/curlpp.git $ cd curlpp $ cmake ....

I see that you're supporting Python 3.6+. Then I would prefer type annotations instead of stub files. I'll prepare something once I have some time :-)

Does this mean it is impossible to use ujson for Flask in this context, as ujson does not provide a `JSONEncoder` class?

Is this maybe the reason why ujson / ultrajson seems not to be in any benchmark of https://www.techempower.com/benchmarks/#section=data-r19&hw=ph&test=json ?

> UltraJSON aims to have a similar API to the stdlib json library, I guess you can't do it with that either? You can. You can also do it with...

In those cases I don't overwrite the `encode` function, because it already uses the default `json` (or simplejson) module.

Looking at [simplejson.encode](https://github.com/simplejson/simplejson/blob/master/simplejson/encoder.py#L275-L302): Does ujson have something similar to "iterencode"?

With "args", I get the FileNotFoundError again. Please note that I get this error also with ``` pip-compile web/setup.py ``` but this works: ``` cd web pip-compile setup.py ```

I guess not. However, the last commit was in April 2020 :thinking:

I also ran into this issue. In my case, the issue did not happen with 1.0.0 and it get a freezing test (with high CPU usage) with 1.1.0 (it might...