Tal Einat added the comment: Attached a patch converting deque.__init__ in Modules/_collectionsmodule.c, which completes the conversion of this file.
This patch depends Larry's first patch in issue20341 (Argument Clinic: add "nullable ints"). This functionality is used to simplify the existing code for accepting None for the 'maxlen' argument to deque.__init__. If needed I can supply a patch which does not depend on Larry's patch. ---------- Added file: http://bugs.python.org/file33621/deque_init_with_nullable_Py_ssize_t.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20180> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com