#17071 closed Bug (fixed)
django.utils.simplejson.__version__ always reports 2.0.7
| Reported by: | Ramiro Morales | Owned by: | nobody |
|---|---|---|---|
| Component: | Core (Serialization) | Version: | dev |
| Severity: | Normal | Keywords: | simplejson |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
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 , 14 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 14 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.