#9084: File-based session does not store any data on Windows
-------------------------------------+-------------------------------------
     Reporter:  mizutori             |                    Owner:  joeri
         Type:  Bug                  |                   Status:  closed
    Component:  contrib.sessions     |                  Version:  1.5
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  sprint2013           |             Triage Stage:  Ready for
    Has patch:  1                    |  checkin
  Needs tests:  0                    |      Needs documentation:  0
Easy pickings:  0                    |  Patch needs improvement:  0
                                     |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by me21@…):

 In fact, since MoveFileEx API is considered to be atomic (for example,
 Java uses it: http://bugs.python.org/issue8828#msg146307), Django could
 use it through ctypes interface even now (https://github.com/mitsuhiko
 /python-atomicfile/ - _rename() function - and disregard that its author
 believes it to be non-atomic, it seems to be atomic actually). The
 os.replace() function in Python 3.3 is implemented through MoveFileEx
 anyway.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/9084#comment:23>
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/066.98b75e371706dc0293d1f5e203244a02%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to