Message409221
> I believe that the behavior is so deeply ingrained in how argparse
> works that it can't be changed.
I think so as well. Handling arguments with a dash prefiew could be viewed as fundamental design flaw except for the fact that the module has been so successful (both before and after landing in the standard library).
I've come to believe that argparse is very difficult to change without risk of breaking many existing tools that depend on argparse working exactly the way it does now.
Also, this issue is over a decade old and no clear solution has emerged.
> at this point installing modules from PyPI is sufficiently easy
> that I'm not sure it makes sense to advocate for another command
> line parser in the stdlib.
I agree. It would be a hard sell at this point.
Let's close this one. I don't think it is going to get solved. |
|
Date |
User |
Action |
Args |
2021-12-26 23:41:14 | rhettinger | set | recipients:
+ rhettinger, cben, amcnabb, bethard, eric.smith, orivej, eric.araujo, r.david.murray, memeplex, gfxmonk, evaned, andersk, abacabadabacaba, gdb, nelhage, drm, davidben, martin.panter, paul.j3, skilletaudio, Christophe.Guillon, danielsh, spaceone, Clint Olsen, porton, Socob, maggyero, karzes, xtreak, fennec15, gaborjbernat |
2021-12-26 23:41:14 | rhettinger | set | messageid: <1640562074.51.0.982578051047.issue9334@roundup.psfhosted.org> |
2021-12-26 23:41:14 | rhettinger | link | issue9334 messages |
2021-12-26 23:41:14 | rhettinger | create | |
|