#5960: AutoEscaping change breaks python 2.3.5 compatability due to use of 
decode
function on unicode objects
------------------------------------------------------+---------------------
Reporter:  Free Neuron <[EMAIL PROTECTED]>  |       Owner:  nobody              
   
  Status:  new                                        |   Component:  Core 
framework         
 Version:  SVN                                        |    Keywords:  decode, 
unicode, escape
   Stage:  Unreviewed                                 |   Has_patch:  0         
             
------------------------------------------------------+---------------------
 
http://code.djangoproject.com/browser/django/trunk/django/utils/safestring.py?rev=6671

 File
 "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3
 /site-packages/django/utils/safestring.py", line 92, in SafeUnicode
      decode = curry(_proxy_method, method = unicode.decode)
 AttributeError: type object 'unicode' has no attribute 'decode'

 Under python 2.3.5 u"a".decode("rot13") throws, under 2.4 it succeeds.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5960>
Django Code <http://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to