[Python-checkins] r68869 - python/branches/py3k/Doc/library/pickle.rst
alexandre.vassalotti
python-checkins at python.org
Fri Jan 23 05:46:05 CET 2009
Author: alexandre.vassalotti
Date: Fri Jan 23 05:46:05 2009
New Revision: 68869
Log:
Remove obsolete note on binary-mode vs. text-mode file.
Modified:
python/branches/py3k/Doc/library/pickle.rst
Modified: python/branches/py3k/Doc/library/pickle.rst
==============================================================================
--- python/branches/py3k/Doc/library/pickle.rst (original)
+++ python/branches/py3k/Doc/library/pickle.rst Fri Jan 23 05:46:05 2009
@@ -130,16 +130,6 @@
The highest protocol version available. This value can be passed as a
*protocol* value.
-.. note::
-
- Be sure to always open pickle files created with protocols >= 1 in binary mode.
- For the old ASCII-based pickle protocol 0 you can use either text mode or binary
- mode as long as you stay consistent.
-
- A pickle file written with protocol 0 in binary mode will contain lone linefeeds
- as line terminators and therefore will look "funny" when viewed in Notepad or
- other editors which do not support this format.
-
.. data:: DEFAULT_PROTOCOL
The default protocol used for pickling. May be less than HIGHEST_PROTOCOL.
More information about the Python-checkins
mailing list