New submission from Antony Lee: As suggested on python-ideas, this small patch changes the constructor of inspect.Parameter so that "kind" defaults to "POSITIONAL_OR_KEYWORD", which should make code that needs to construct Parameter objects slightly less verbose (as I believe POSITIONAL_OR_KEYWORD is likely the most common kind).
---------- components: Library (Lib) files: parameter-constructor.patch keywords: patch messages: 206490 nosy: Antony.Lee priority: normal severity: normal status: open title: Changing the signature for Parameter's constructor versions: Python 3.5 Added file: http://bugs.python.org/file33183/parameter-constructor.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20011> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com