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/
___
>Actually, it looks to me like the subclass is getting added to the wrong
>set - it should be going into the _abc_cache, not the _abc_registry.
Ah, you're right - that makes a lot more sense. Thanks.
--
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/
_
Andrew McNamara wrote:
> The __subclasscheck__ method of ABCMeta contains the following code:
>
> # Check if it's a subclass of a registered class (recursive)
> for rcls in cls._abc_registry:
> if issubclass(subclass, rcls):
> cls._abc_registry.add(subcl