#18022: Django 1.4 never uses python's standard json module
--------------------------------------+------------------------------------
Reporter: Clueless | Owner: nobody
Type: Bug | Status: new
Component: Core (Serialization) | Version: 1.4
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by Clueless):
I may have been mistaken. The `__version__ = json.__version__` line
definitely used to cause a NameError and there's no way `__version__` was
set successfully, but that doesn't happen until after everything from
`json` is loaded and `use_system_version` is set. It looks like
`__version__` never gets set, and the fix in #17018 never accomplished
anything, but you do end up getting the rest of standard library json as
expected.
Still worth merging to get the correct `__version__` but it's not
particularly critical.
--
Ticket URL: <https://code.djangoproject.com/ticket/18022#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.