[New-bugs-announce] [issue1258] Removal of basestring type

Christian Heimes report at bugs.python.org
Wed Oct 10 23:23:32 CEST 2007

New submission from Christian Heimes:

The patch removes the basestring type from Python 3.0. PyString and
PyUnicode are subclasses of PyBaseObject_Type. Each occurrence of
basestring was replaces with str, mostly isinstance(egg, basestring)
with a few exceptions. PyObject_TypeCheck(args, &PyBaseString_Type) is
replaced with a check for PyUnicode and PyString.

components: Interpreter Core
files: py3k_basestring_removal.patch
messages: 56326
nosy: tiran
severity: normal
status: open
title: Removal of basestring type
versions: Python 3.0

Tracker <report at bugs.python.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: py3k_basestring_removal.patch
Type: text/x-diff
Size: 61579 bytes
Desc: not available
Url : http://mail.python.org/pipermail/new-bugs-announce/attachments/20071010/c6f01d93/attachment-0001.patch 

More information about the New-bugs-announce mailing list