Skip to content

argparse v2.2.3

Latest
Compare
Choose a tag to compare
@trevorld trevorld released this 09 Apr 23:44
  • Character values are now passed as "raw" strings to Python (#51).

    • In particular this avoids triggering an error in Python 3.12
      when creating a string with escapes not supported by
      Python e.g. default = "\\D" will continue to return a
      default value of "\\D" instead of triggering an error.

    • However, this also means that any Python accepted escape
      sequences will no longer be interpreted as an escape sequence.
      If relying on such behaviour you may need to instead use
      the appropriate R escape sequences or Unicode values instead of Python escape sequences:

    • Thanks Matthew Hall (@mdhall272) for bug report.