Dirk Pranke
Dirk Pranke
Thanks for reporting the issue. I have reproduced it locally (thanks to the easy repro!). I am a bit surprised that this hasn't been reported before. It looks like `json.dumps(MyFloat(1))`...
> I did some searching ... Thanks for those leads! :). > Is there any reason why using `float.__str__(MyFloat(1))` directly to sidestep any customization would cause problems? I have no...
Whoops, sorry for not replying earlier :(. Can you install setuptools first, and then try to install json5? I've never actually seen a situation where you had `pip` installed but...
> Then I ran python -c 'import setuptools' and got an ImportError I'm afraid I don't know how to help here, sorry. I don't know how packages would get imported...
Hi! Great question (and sorry for the delay in replying). This project is mostly a test case for parser generator I'm working on, and so raw speed is less important...
Hi, Sorry for the delay in replying. Sheesh it's been a long time since I've updated this. As noted originally, this project was originally intended as a test case for...
Not currently, no.
Unfortunately, no, not currently. In order to do that you need to preserve the whole parse tree, which certainly doesn't work inside the existing simple load/dump API. I would like...
Agreed. (Sorry for not responding sooner. I'm still mulling over what an API like this might look like.)
@qneill Thanks for the pointer. I'm looking at that now, and it does seem to be at least reasonable well-worked out.