Comments (3)
Thanks for the report. Strangely, all of the tests are passing. Will investigate.
[bob@xiao tmp]$ curl -s http://pypi.python.org/packages/source/s/simplejson/simplejson-2.5.1.tar.gz | tar zxf -
[bob@xiao tmp]$ cd simplejson-2.5.1/
[bob@xiao simplejson-2.5.1]$ python setup.py test
running test
..........................................................................................................................................................................
----------------------------------------------------------------------
Ran 170 tests in 2.055s
OK
http://travis-ci.org/#!/simplejson/simplejson/jobs/1298709
http://travis-ci.org/#!/simplejson/simplejson/jobs/1298710
from simplejson.
Please try again, I just cut another release where I can't reproduce this bug.
[bob@xiao ~]$ pip install --upgrade simplejson
Downloading/unpacking simplejson
Downloading simplejson-2.5.2.tar.gz (53Kb): 53Kb downloaded
Running setup.py egg_info for package simplejson
Installing collected packages: simplejson
Found existing installation: simplejson 2.5.1
Uninstalling simplejson:
Successfully uninstalled simplejson
Running setup.py install for simplejson
building 'simplejson._speedups' extension
/usr/bin/llvm-gcc -fno-strict-aliasing -O3 -w -pipe -march=core2 -msse4 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/local/Cellar/python/2.7.2/include/python2.7 -c simplejson/_speedups.c -o build/temp.macosx-10.4-x86_64-2.7/simplejson/_speedups.o
/usr/bin/llvm-gcc -bundle -undefined dynamic_lookup -L/usr/local/Cellar/readline/6.2.2/lib build/temp.macosx-10.4-x86_64-2.7/simplejson/_speedups.o -o build/lib.macosx-10.4-x86_64-2.7/simplejson/_speedups.so
Successfully installed simplejson
Cleaning up...
[bob@xiao ~]$ python -c 'import simplejson as json; print json.loads(json.dumps({}))'
{}
from simplejson.
the 2.5.2 version is working, thank you
from simplejson.
Related Issues (20)
- GA test simplejson on python 3.10 is failed HOT 1
- decimal.Decimal serialization error in Google Cloud Run HOT 2
- Design Question about `JSONDecodeError` HOT 8
- Any plans to simplify customising `float` representation? HOT 3
- `loads()` returns ValueError when the invalid unicode escape sequence is given HOT 1
- Comment error HOT 1
- Passing a NamedTuple **class** rather than instance to `.dumps` results in an error HOT 3
- Support 128-bit integers using int_as_string_bitcount HOT 1
- Support Pyodide/ Jupyterlite HOT 3
- simplejson/_speedups.c is missing in 3.18.2 sdist HOT 4
- using generators - missing iterencode _one_shot argument HOT 1
- Is it possible to serialize a class without instanciating a dict? (ie: use a generator) HOT 1
- Support Python 3.12 + provide cp312 wheels HOT 1
- JSON is not a subset of YAML HOT 3
- Simplejson not working (Python) HOT 1
- Add support for UUID HOT 1
- Broken support for encoding MagicMock objects HOT 1
- Would you be open for a PR with a "preprocess" object hook in the encoder? HOT 4
- 3.19.1 contained a breaking change by changing `allow_nan` to default to false HOT 7
- Decoding error when loading Infinity HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simplejson.