[issue1258] Removal of basestring type

Guido van Rossum report at bugs.python.org
Wed Oct 24 21:57:40 CEST 2007


Guido van Rossum added the comment:

2007/10/15, Christian Heimes <report at bugs.python.org>:
>
> 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.

It did. :-) I renamed it to fix_basestring and submitted it.  See:

Committed revision 58644.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1258>
__________________________________


More information about the Python-bugs-list mailing list