Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
simplejson
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenVMS
Python
Modules
simplejson
Commits
e0df12197a0d
Commit
e0df12197a0d
authored
13 years ago
by
Bob Ippolito
Browse files
Options
Downloads
Patches
Plain Diff
bump to 2.3.3 and clean up indent code
parent
eaf2d7c95497
No related branches found
No related tags found
No related merge requests found
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
CHANGES.txt
+6
-1
6 additions, 1 deletion
CHANGES.txt
conf.py
+1
-1
1 addition, 1 deletion
conf.py
setup.py
+1
-1
1 addition, 1 deletion
setup.py
simplejson/__init__.py
+4
-4
4 additions, 4 deletions
simplejson/__init__.py
simplejson/encoder.py
+1
-3
1 addition, 3 deletions
simplejson/encoder.py
with
13 additions
and
10 deletions
CHANGES.txt
+
6
−
1
View file @
e0df1219
Version 2.3.3 released 2012-02-27
* Allow unknown numerical types for indent parameter
https://github.com/simplejson/simplejson/pull/29
Version 2.3.2 released 2011-12-30
* Fix crashing regression in speedups introduced in 2.3.1
...
...
This diff is collapsed.
Click to expand it.
conf.py
+
1
−
1
View file @
e0df1219
...
...
@@ -44,7 +44,7 @@
# The short X.Y version.
version
=
'
2.3
'
# The full version, including alpha/beta/rc tags.
release
=
'
2.3.
2
'
release
=
'
2.3.
3
'
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
e0df1219
...
...
@@ -7,7 +7,7 @@
DistutilsPlatformError
IS_PYPY
=
hasattr
(
sys
,
'
pypy_translation_info
'
)
VERSION
=
'
2.3.
2
'
VERSION
=
'
2.3.
3
'
DESCRIPTION
=
"
Simple, fast, extensible JSON encoder/decoder for Python
"
LONG_DESCRIPTION
=
open
(
'
README.rst
'
,
'
r
'
).
read
()
...
...
This diff is collapsed.
Click to expand it.
simplejson/__init__.py
+
4
−
4
View file @
e0df1219
...
...
@@ -97,7 +97,7 @@
$ echo
'
{ 1.2:3.4}
'
| python -m simplejson.tool
Expecting property name: line 1 column 2 (char 2)
"""
__version__
=
'
2.3.
2
'
__version__
=
'
2.3.
3
'
__all__
=
[
'
dump
'
,
'
dumps
'
,
'
load
'
,
'
loads
'
,
'
JSONDecoder
'
,
'
JSONDecodeError
'
,
'
JSONEncoder
'
,
...
...
This diff is collapsed.
Click to expand it.
simplejson/encoder.py
+
1
−
3
View file @
e0df1219
...
...
@@ -170,5 +170,5 @@
self
.
use_decimal
=
use_decimal
self
.
namedtuple_as_object
=
namedtuple_as_object
self
.
tuple_as_array
=
tuple_as_array
try
:
if
indent
is
not
None
and
not
isinstance
(
indent
,
basestring
)
:
indent
=
indent
*
'
'
...
...
@@ -174,6 +174,4 @@
indent
=
indent
*
'
'
except
TypeError
:
pass
self
.
indent
=
indent
if
separators
is
not
None
:
self
.
item_separator
,
self
.
key_separator
=
separators
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment