Le samedi 1 décembre 2012 19:43:12 UTC+1, Aymeric Augustin a écrit :
>
> Hello,
>
> Django 1.5 beta 1 contains a regression for users who install Django or 
> their projects under non-ASCII paths: 
> https://code.djangoproject.com/ticket/19357 Unfortunately, the patch 
> isn't going to be trivial. I'd like to have some feedback before making 
> changes.
> (...)
>
> 2) Keep filesystem paths handling in unicode. In general, it's a good 
> practice to work in unicode and convert at the edges ("unicode sandwich"). 
> But in this case, it also means deviating from Python's behavior. This 
> would be a major change in Django's APIs, and one whose consequences 
> haven't been well anticipated. I haven't explored this solution.
>

I've just uploaded a patch on the ticket that implements that approach. I'm 
rather confident about it, but of course, it has to be thoroughly tested.

Claude 

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-developers/-/_Q-QNYKxNWMJ.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to