Raymond Hettinger added the comment: This patch segfaults for me (Mac OS 10.12.2 with the default clang-800.0.42.1).
For now, pop() should be omitted. The argument clinic doesn't cope well with optional arguments without a default value. The generated help "pop(self, /, key, default=None)" doesn't really make since because the default is not None, it is a sentinel value. The generated help incorrectly makes it look like OrderedDict.get() which actually does have a default=None. ---------- nosy: +rhettinger _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue29289> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
