STINNER Victor <vstin...@python.org> added the comment:
> Argument Clinic and the inspect module do not support this case. That's why I used -1 and None. > But -1 and None are incorrect values for many parameters, and even if they > would be correct, they are not default values. By default, if you do not > specify some argument, the value of the corresponding attribute would not be > changed. If you consider that this issue matters, you may hack the code to accept None as if no parameter was passed (pass NULL). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42291> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com