#12980: locale formats should use raw strings
-----------------------------+----------------------------------------------
   Reporter:  loewis         |                Owner:  nobody    
     Status:  new            |            Milestone:            
  Component:  Uncategorized  |              Version:  1.2-beta  
   Keywords:                 |                Stage:  Unreviewed
  Has_patch:  0              |           Needs_docs:  0         
Needs_tests:  0              |   Needs_better_patch:  0         
-----------------------------+----------------------------------------------
 In a number of locale formats.py files, single backslashes are used to
 escape letters from datetime formatting. However, in some cases, these
 escapes now form Python escape characters (e.g. in es/locale.py, which
 contains backslash-a, denoting the BEL control character).

 This patch uses raw strings in all cases where single backslashes are
 used, even if they wouldn't be strictly necessary. The only exception are
 files that already use double backslashes.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12980>
Django <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 django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to