From 4ef50a5e3391f3f7d2043edd150385f57eb16f29 Mon Sep 17 00:00:00 2001 From: Ask Solem Date: Sat, 4 Aug 2012 14:22:21 +0100 Subject: Use pickle protocol 2 by default, allow setting PICKLE_PROTOCOL environment variable to change --- docs/userguide/serialization.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/userguide/serialization.rst') diff --git a/docs/userguide/serialization.rst b/docs/userguide/serialization.rst index c39cc3cc..d07c98a5 100644 --- a/docs/userguide/serialization.rst +++ b/docs/userguide/serialization.rst @@ -44,6 +44,10 @@ Each option has its advantages and disadvantages. smaller messages when sending binary files, and a slight speedup over `JSON` processing. + By default Kombu uses pickle protocol 2, but this can be changed + using the :envvar:`PICKLE_PROTOCOL` environment variable or by changing + the global :data:`kombu.serialization.pickle_protocol` flag. + `yaml` -- YAML has many of the same characteristics as `json`, except that it natively supports more data types (including dates, recursive references, etc.) -- cgit v1.2.1