Message212672
The disadvantage of sre_deprecate_pattern_keyword-3.4.patch is that it creates false signature for SRE_Pattern.match(). Default value of first argument is exposed as None, but actually this parameter is mandatory and None is not valid value for it. I afraid the only way to get rid of false signature (and keep backward compatibility) is to revert converting to Argument Clinic. And here is a patch which do this. | |
| Date | User | Action | Args | | 2014-03-03 21:20:56 | serhiy.storchaka | set | recipients: + serhiy.storchaka, loewis, georg.brandl, terry.reedy, pitrou, taleinat, larry, benjamin.peterson, ezio.melotti, mrabarnett, Arfrever | | 2014-03-03 21:20:56 | serhiy.storchaka | link | issue20283 messages | | 2014-03-03 21:20:55 | serhiy.storchaka | create | | |