Message204678
For a programmer who needs to turn off this abbreviation matching now, a simple solution is to subclass ArgumentParser:
class MyParser(ArgumentParser):
def _get_option_tuples(self, option_string):
return []
This could be the place to implement more specialized matching (e.g. do not match on strings like '--sync'). |
|
Date |
User |
Action |
Args |
2013-11-28 17:15:48 | paul.j3 | set | recipients:
+ paul.j3, bethard, eric.smith, r.david.murray, eli.bendersky, daniel.ugra, BreamoreBoy, tshepang, jens.jaehrig, jpaugh, Michael.Edwards |
2013-11-28 17:15:48 | paul.j3 | set | messageid: <1385658948.15.0.910049002143.issue14910@psf.upfronthosting.co.za> |
2013-11-28 17:15:48 | paul.j3 | link | issue14910 messages |
2013-11-28 17:15:47 | paul.j3 | create | |
|