Documentation on Whitespace and Quoting in Generation Expressions is unclear
I asked a question on Stack Overflow where I'm trying to understand the behavior of whitespace in generator expressions. Essentially, my experience is that at least some whitespace behaves exactly as I'd naively expect and causes no issues in my builds. However, the documentation suggests that using whitespace in a generator expression is wrong. I'm trying to understand if the behavior I'm seeing is:
- As-designed: There are some cases where whitespace is allowed and it is not considered bad practice to use whitespace, in which case maybe the documentation should be enhanced to clarify when whitespace is acceptable?
- Accidental: The white space should be causing problems, but there is a bug in the code that is allowing them to be parsed differently. Users should not use whitespace at all because (as one of the commenters suggests) the developers may fix this issue in the next version.