Skip to content
Snippets Groups Projects
Commit 5655142cad2d authored by Bob Ippolito's avatar Bob Ippolito
Browse files

improve Python 3.3 compat #87, bump to 3.3.3

parent 169d110ef130
No related branches found
No related tags found
No related merge requests found
Version 3.3.3 released 2014-02-14
* Improve test suite's Python 3.4 compatibility
https://github.com/simplejson/simplejson/issues/87
Version 3.3.2 released 2014-01-06 Version 3.3.2 released 2014-01-06
* Docstring fix for decoded string types * Docstring fix for decoded string types
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
# The short X.Y version. # The short X.Y version.
version = '3.3' version = '3.3'
# The full version, including alpha/beta/rc tags. # The full version, including alpha/beta/rc tags.
release = '3.3.2' release = '3.3.3'
# There are two options for replacing |today|: either, you set today to some # There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used: # non-false value, then it is used:
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
DistutilsPlatformError DistutilsPlatformError
IS_PYPY = hasattr(sys, 'pypy_translation_info') IS_PYPY = hasattr(sys, 'pypy_translation_info')
VERSION = '3.3.2' VERSION = '3.3.3'
DESCRIPTION = "Simple, fast, extensible JSON encoder/decoder for Python" DESCRIPTION = "Simple, fast, extensible JSON encoder/decoder for Python"
with open('README.rst', 'r') as f: with open('README.rst', 'r') as f:
......
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
Expecting property name: line 1 column 3 (char 2) Expecting property name: line 1 column 3 (char 2)
""" """
from __future__ import absolute_import from __future__ import absolute_import
__version__ = '3.3.2' __version__ = '3.3.3'
__all__ = [ __all__ = [
'dump', 'dumps', 'load', 'loads', 'dump', 'dumps', 'load', 'loads',
'JSONDecoder', 'JSONDecodeError', 'JSONEncoder', 'JSONDecoder', 'JSONDecodeError', 'JSONEncoder',
......
...@@ -20,6 +20,9 @@ ...@@ -20,6 +20,9 @@
else: else:
PY3 = True PY3 = True
if sys.version_info[:2] >= (3, 4):
from importlib import reload as reload_module
else:
from imp import reload as reload_module from imp import reload as reload_module
import codecs import codecs
def b(s): def b(s):
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
s = pickle.dumps(err) s = pickle.dumps(err)
e = pickle.loads(s) e = pickle.loads(s)
self.assertEquals(err.msg, e.msg) self.assertEqual(err.msg, e.msg)
self.assertEquals(err.doc, e.doc) self.assertEqual(err.doc, e.doc)
self.assertEquals(err.pos, e.pos) self.assertEqual(err.pos, e.pos)
self.assertEquals(err.end, e.end) self.assertEqual(err.end, e.end)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment