[issue38397] __init_subclass__ causes TypeError when used with more standard library metaclasses (such as EnumMeta)

2019-10-13 Thread retnikt
Change by retnikt : -- type: -> behavior ___ Python tracker <https://bugs.python.org/issue38397> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue38397] __init_subclass__ causes TypeError when used with more standard library metaclasses (such as EnumMeta)

2019-10-07 Thread retnikt
retnikt added the comment: I can (and will) submit a PR for this, by the way. -- ___ Python tracker <https://bugs.python.org/issue38397> ___ ___ Python-bug

[issue38397] __init_subclass__ causes TypeError when used with more standard library metaclasses (such as EnumMeta)

2019-10-07 Thread retnikt
New submission from retnikt : Essentially the same as https://bugs.python.org/issue29581 (more detail is there), but for the additional meta-classes enum.EnumMeta and probably typing.NamedTupleMeta (discussion needed - is there a use-case for this?) The __new__ method on these metaclasses

[issue37717] argparse subcommand docs has non-existent parameter "action"

2019-07-30 Thread retnikt
New submission from retnikt : In the library documentation for argparse, the section for ArgumentParser.add_subparsers ( https://docs.python.org/3/library/argparse.html#sub-commands ) states that there is a parameter for 'action' with the description 'the basic type of action to be taken