[Python-checkins] r58494 - peps/trunk/pep-3137.txt
guido.van.rossum
python-checkins at python.org
Tue Oct 16 18:58:38 CEST 2007
Author: guido.van.rossum
Date: Tue Oct 16 18:58:38 2007
New Revision: 58494
Modified:
peps/trunk/pep-3137.txt
Log:
Add removal of basestring.
Modified: peps/trunk/pep-3137.txt
==============================================================================
--- peps/trunk/pep-3137.txt (original)
+++ peps/trunk/pep-3137.txt Tue Oct 16 18:58:38 2007
@@ -282,6 +282,13 @@
contiguous array of bytes at all. Therefore, the PEP 3118 buffer API
will be removed from the str type.
+The ``basestring`` Type
+-----------------------
+
+The ``basestring`` type will be removed from the language. Code that
+used to say ``isinstance(x, basestring)`` should be changed to use
+``isinstance(x, str)`` instead.
+
Pickling
--------
More information about the Python-checkins
mailing list