Menu

#8 Fix for setting non-default keyword chars

Unstable (example)
accepted
None
5
2016-09-10
2014-12-06
No

At the moment it is not possible to use non-default keyword chars, because the default value for the identChars parameter of Keyword.__init__() is determined at function definition time instead of when the function is called, which gives the user no way to redefine DEFAULT_KEYWORD_CHARS before it is used.

The attached patch fixes this.

1 Attachments

Discussion

  • Paul McGuire

    Paul McGuire - 2016-09-10
    • status: open --> accepted
     
  • Paul McGuire

    Paul McGuire - 2016-09-10

    Fixed in latest pyparsing release (2.1.9), sorry for the delay

     

Log in to post a comment.