tests fail when run as python -O
Status: Beta
Brought to you by:
patrickdlogan
json.py relies on side affects in assert statements
which are compiled out when python is run with
optimization (-O).
to reproduce: python -O jsontests.py
also, could you have the archive unpack to a directory
that contains the same name as the archive (ie.
json-py-3_4) instead of hosing the current working
directory. it would also be nice if json-py used
distutils (http://docs.python.org/dist/dist.html).
finally, you may want to consider listing json-py in
the cheeseshop (http://cheeseshop.python.org) as it is
becoming the standard place for python software.
thanks,
wes