[issue16516] argparse types (and actions) must be hashable

2017-10-08 Thread Joel Nothman
Joel Nothman added the comment: Clearly this is not in high demand -- ___ Python tracker <https://bugs.python.org/issue16516> ___ ___ Python-bugs-list mailin

[issue16516] argparse types (and actions) must be hashable

2012-11-20 Thread Joel Nothman
New submission from Joel Nothman: The argparse documentation states that "type= can take any callable that takes a single string argument and returns the converted value". The following is an exception: >>> import argparse >>> ap = argparse.ArgumentPars