[issue35168] shlex punctuation_chars inconsistency

2018-11-06 Thread tphh
tphh added the comment: So a documentation update and a better run time error message which clarifies that shlex.punctuation_chars is read-only? -- ___ Python tracker <https://bugs.python.org/issue35

[issue35168] shlex punctuation_chars inconsistency

2018-11-05 Thread tphh
New submission from tphh : The newly added shlex.punctuation_chars is special compared to the other public instance variables: It can ONLY be used when constructing a shlex instance, unlike other public instance variables, such as commenters, which can ONLY be set later. >>> s = sh