Antoine Pitrou <pit...@free.fr> added the comment:

Doc/library/stdtypes.rst needs a "versionadded" tag for the additional 
semantics.

Also, the patch doesn't compile fine on current default:

In file included from Objects/unicodeobject.c:487:0:
Objects/stringlib/find.h: In function ‘stringlib_parse_args_finds_byte’:
Objects/stringlib/find.h:158:5: attention : implicit declaration of function 
‘stringlib_parse_args_finds’
In file included from Objects/unicodeobject.c:497:0:
Objects/stringlib/find.h: Hors de toute fonction :
Objects/stringlib/find.h:151:1: erreur: redefinition of 
‘stringlib_parse_args_finds_byte’
Objects/stringlib/find.h:151:1: note: previous definition of 
‘stringlib_parse_args_finds_byte’ was here

I'd say you need to either define your function as 
STRINGLIB(parse_args_finds_byte) (to avoid name collisions), or avoid defining 
it if STRINGLIB_IS_UNICODE.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12170>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to