#17071 closed Bug (fixed)
django.utils.simplejson.__version__ always reports 2.0.7
Description (last modified by ) ¶
We try to import a newer or faster version of 'simplejson' or Python 2.6's 'json', but the value of __version__
stays clamped to the value of the version of simplejson we bundle ('2.0.7') even when one of such imports is succesful.
Found this while working on #16850.
Change History (4)
comment:1 by , 13 years ago
Description: | modified (diff) |
---|
comment:2 by , 13 years ago
Triage Stage: | Unreviewed → Accepted |
---|
Note:
See TracTickets
for help on using tickets.
The issue is
__version__
isn't imported by theimport *
statements, because it has a leading underscore.