Author paul.j3
Recipients ascola, eric.smith, paul.j3, rhettinger, xmorel
Date 2020-12-08.23:01:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1607468502.97.0.825209787665.issue42572@roundup.psfhosted.org>
In-reply-to
Content
One caution - the type parameter is a callable (function) that takes one string as argument.  I proposed `pathlib.Path` because it does that, returning a Path object.  It's a class instance creator.  I believe the module has other class initiators.

bool() has confused many users.  While it returns a bool class instance, True or False, the only string that returns False is the empty one, with argparse can't supply. It does not convert strings like 'False' or 'no' to boolean False.
History
Date User Action Args
2020-12-08 23:01:42paul.j3setrecipients: + paul.j3, rhettinger, eric.smith, xmorel, ascola
2020-12-08 23:01:42paul.j3setmessageid: <1607468502.97.0.825209787665.issue42572@roundup.psfhosted.org>
2020-12-08 23:01:42paul.j3linkissue42572 messages
2020-12-08 23:01:42paul.j3create