Branch: refs/heads/master
  Home:   https://github.com/django/django
  Commit: 58a086acfbec833f44cd53e984972250bbb67457
      
https://github.com/django/django/commit/58a086acfbec833f44cd53e984972250bbb67457
  Author: Aymeric Augustin <aymeric.augus...@m4x.org>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M django/core/signing.py

  Log Message:
  -----------
  Required serializer to use bytes in loads/dumps

loads has no way to tell if it should provide text or bytes to the
serializer; bytes are more reasonnable for a serialized representation,
and are the only option for pickled data.

dumps can perform conversions on the value it receives from the
serializer; but for consistency it seems better to require bytes too.

The current code would cause an exception when loading pickled session
data. See next commit.

Also fixed a bug when checking for compressed data.


  Commit: 58337b32236eb57d82bf62ed077add3ec69e37f2
      
https://github.com/django/django/commit/58337b32236eb57d82bf62ed077add3ec69e37f2
  Author: Aymeric Augustin <aymeric.augus...@m4x.org>
  Date:   2012-10-28 (Sun, 28 Oct 2012)

  Changed paths:
    M django/contrib/sessions/tests.py

  Log Message:
  -----------
  Marked cookies-based session expiry test as an expected failure.

Refs #19201.


Compare: https://github.com/django/django/compare/611c4d6f1c24...58337b32236e

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to