Averroes / simplejson

MIT License
0 stars 0 forks source link

simplejson does not work under Python 2.3 #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

>>> import simplejson

What is the expected output?

No errors.

What do you see instead?

ImportError: No module named decimal

What version of the product are you using? On what operating system?

Latest (2.1.1) on Windows using Python 2.3.5

Please provide any additional information below.

easy_install allowed this module to be downloaded and installed without error 
(apart from warning about optimisations being disabled).

It would be nice if simplejson did support Python 2.3.x but it is recognised 
that this is now an exceedingly old version and that this might not be possible.

However, it would be nice if simplejson performed a version check and stated 
via a suitable exception that doesn't support Python versions < 2.4.x

Original issue reported on code.google.com by drk...@gmail.com on 18 Jun 2010 at 9:00

GoogleCodeExporter commented 9 years ago
I don't think setuptools/distutils supports pinning to a minimum version of 
python. Do other packages do this? The documentation and project page state 
that compatibility is maintained with Python 2.5+ (although practically 
speaking it does still work on Python 2.4). If there's a standard way to do 
this I'd implement it, but I'm not aware of one.

Original comment by bob.ippo...@gmail.com on 12 Jul 2010 at 6:00