[issue1258] Removal of basestring type

Christian Heimes report at bugs.python.org
Tue Oct 16 01:52:41 CEST 2007


Christian Heimes added the comment:

Guido van Rossum wrote:
> BTW we need a 2to3 fixer for this.  Should be trivial -- just replace
> *all* occurrences of basestring with str.

I believe you that it's trivial for *you* but I've never dealt with the
fixers or the grammar. Fortunately for me I was able to copy the fixer
for standarderror. It toke just some minor tweaks :)

Let's see if the mail interface can handle attachments.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1258>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_basestr.py
Type: text/x-python
Size: 368 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-bugs-list/attachments/20071015/a2badd18/attachment.py 


More information about the Python-bugs-list mailing list