Message327987
Adding a new 'type' function or factor is certainly possible, and probably will be free of backward compatibility issues. But so far no other custom type has been added to argparse.
https://bugs.python.org/issue23884 - rejects adding a DateTime class
https://bugs.python.org/issue22884 - there are several outstanding issue dealing with the FileType class. That hasn't aged well, since file IO standards have changed over the years. |
|
Date |
User |
Action |
Args |
2018-10-18 16:57:30 | paul.j3 | set | recipients:
+ paul.j3, rhettinger, bob.ippolito, bethard, bradengroom, derelbenkoenig |
2018-10-18 16:57:30 | paul.j3 | set | messageid: <1539881850.35.0.788709270274.issue35005@psf.upfronthosting.co.za> |
2018-10-18 16:57:30 | paul.j3 | link | issue35005 messages |
2018-10-18 16:57:30 | paul.j3 | create | |
|