Message250170
No, the clinic code is not updated at build time. Your should either update clinic code just after patching Modules/fcntlmodule.c (Python 3 is needed), or update clinic code at patch creation time and include changes of generated clinic files in the patch.
Generated clinic files contain a code for argument parsing (PyArg_ParseTuple...).
I don't know if there is easy way to make this change conditionally for FreeBSD/OSX. The only way that I know is writing custom converters.
Perhaps the original commit log is outdated. What was the type of code at the time of this log? Now it is unsigned int and this doesn't make sign extension when casted to unsigned long. While the code parameter is in the range 0..0xffffffff, unpatched code shouldn't have any visible effects. |
|
Date |
User |
Action |
Args |
2015-09-08 08:06:37 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, larry, koobs |
2015-09-08 08:06:37 | serhiy.storchaka | set | messageid: <1441699597.53.0.464316912063.issue25026@psf.upfronthosting.co.za> |
2015-09-08 08:06:37 | serhiy.storchaka | link | issue25026 messages |
2015-09-08 08:06:37 | serhiy.storchaka | create | |
|