[Python-3000] re.escape() fails when passed bytes()

Andrew McNamara andrewm at object-craft.com.au
Tue Sep 2 04:37:39 CEST 2008


In Python 2, re.escape() works with either str or unicode, but in Python
3, it no longer works with bytes().

I've created issue 3756 to track this:

    http://bugs.python.org/issue3756

-- 
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/


More information about the Python-3000 mailing list