[issue39566] inspect.Signature.__init__ asks for parameters as dict but treats as list

2020-02-05 Thread Nicholas Matthews
New submission from Nicholas Matthews : The class inspect.Signature asks for parameters of type dict in python 3.8+ (and OrderedDict in earlier versions); however the __init__ function iterates over parameters as if it were a list, specifically: for param in parameters: name = param.name

[issue39566] inspect.Signature.__init__ asks for parameters as dict but treats as list

2020-02-06 Thread Nicholas Matthews
Nicholas Matthews added the comment: I originally filed an issue believing the documentation for inspect.Signature was incorrect; I now think I misread the documentation. (Apologies, I'm used to a different docstring format) -- ___ Python tr

[issue36947] Fix 3.3.3.1 Metaclasses Documentation

2019-05-17 Thread Nicholas Matthews
New submission from Nicholas Matthews : Currently the final sentence of the second paragraph reads: "In the following example, both MyClass and MySubclass are instances of Meta:" It should read something like: "In the following example, both MyClass and MySubclass have the metac

[issue36947] [Good first issue] Fix 3.3.3.1 Metaclasses Documentation

2019-05-17 Thread Nicholas Matthews
Nicholas Matthews added the comment: Ok, I will create a PR soon and update the issue. -- ___ Python tracker <https://bugs.python.org/issue36947> ___ ___ Pytho

[issue36947] [Good first issue] Fix 3.3.3.1 Metaclasses Documentation

2019-05-17 Thread Nicholas Matthews
Nicholas Matthews added the comment: Thanks for the clarification. For the first point on the correctness of the original text, that makes sense, could you link me to any relevant documentation for further reading? On the second point "Meta modifies the creation of the classes thems