[New-bugs-announce] [issue3756] re.escape() does not work with bytes()

Andrew McNamara report at bugs.python.org
Tue Sep 2 04:19:41 CEST 2008


New submission from Andrew McNamara <andrewm at object-craft.com.au>:

In python 2, re.escape() works with either str or unicode, but in 
python 3, re.escape() no longer works correctly with the bytes type.

----------
components: Regular Expressions
messages: 72309
nosy: andrewmcnamara
severity: normal
status: open
title: re.escape() does not work with bytes()
type: behavior
versions: Python 3.0

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3756>
_______________________________________


More information about the New-bugs-announce mailing list