Author pitrou
Recipients eric.araujo, ezio.melotti, jcea, max-alleged, petri.lehtinen, pitrou, rhettinger, terry.reedy, vstinner, xuanji
Date 2011-10-18.11:35:27
SpamBayes Score 1.41389e-07
Marked as misclassified No
Message-id <1318937728.78.0.186866014445.issue12170@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-10-18 11:35:28pitrousetrecipients: + pitrou, rhettinger, terry.reedy, jcea, vstinner, ezio.melotti, eric.araujo, xuanji, max-alleged, petri.lehtinen
2011-10-18 11:35:28pitrousetmessageid: <1318937728.78.0.186866014445.issue12170@psf.upfronthosting.co.za>
2011-10-18 11:35:28pitroulinkissue12170 messages
2011-10-18 11:35:27pitroucreate