1. 14 Jul, 2019 1 commit
    • Zac Hatfield-Dodds's avatar
      bpo-26967: fix flag grouping with allow_abbrev=False (GH-14316) · dffca9e9
      Zac Hatfield-Dodds authored
      
      
      The `allow_abbrev` option for ArgumentParser is documented and intended to disable support for unique prefixes of --options, which may sometimes be ambiguous due to deferred parsing.
      
      However, the initial implementation also broke parsing of grouped short flags, such as `-ab` meaning `-a -b` (or `-a=b`).  Checking the argument for a leading `--` before rejecting it fixes this.
      
      This was prompted by pytest-dev/pytest#5469, so a backport to at least 3.8 would be great 😄  
      And this is my first PR to CPython, so please let me know if I've missed anything!
      
      
      https://bugs.python.org/issue26967
      dffca9e9
  2. 13 Jul, 2019 10 commits
  3. 12 Jul, 2019 3 commits
  4. 11 Jul, 2019 8 commits
  5. 10 Jul, 2019 4 commits
  6. 09 Jul, 2019 8 commits
  7. 08 Jul, 2019 5 commits
  8. 07 Jul, 2019 1 commit