#20560: django.utils.simplejson
--------------------------------------+--------------------
     Reporter:  aburgel               |      Owner:  nobody
         Type:  Bug                   |     Status:  new
    Component:  Core (Serialization)  |    Version:  1.4
     Severity:  Normal                |   Keywords:  json
 Triage Stage:  Unreviewed            |  Has patch:  1
Easy pickings:  0                     |      UI/UX:  0
--------------------------------------+--------------------
 The fix for #17071 introduces a NameError which gets swallowed. This
 prevents django.utils.simplejson from using the builtin json library.

 It tries to set the module's version to the version of the imported
 library, like so:

 `__version__ = json.__version__`

 But it uses a `from json import *` instead of a `import json`, so you get
 a NameError.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20560>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/050.fe1ddfb8f1b47b43dc4468afa98fa2df%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to