This is a rare problem, but an important one to resolve.
There is a canonical question with a highly upvoted (+285) accepted answer. That answer also has a highly upvoted comment (+50). When I look at answers I always look for upvoted comments so I don't miss important insights. I expect other users do exactly the same.
Why there's a problem
I happen to disagree with the comment. Syntactic sugar refers to "cleaner syntax" to achieve the same thing. Here, there's a material non-O(1) difference in performance between the two methods.
Why it matters
Fast-forward 5 years to today, and a couple of answers are influenced by that highly upvoted comment. One user explicitly references it. I would be surprised if this were an isolated instance.
You can look at the comment streams and post revisions to determine the confusion (and effort/time to correct) this causes.
What I've tried to fix the problem
- Ask advice in Python chat room (where I've also shared this Meta). The
onetwo users who responded agree with the technical inaccuracy. - Add a comment to the canonical answer. With no upvotes, this is hidden by default. The response from the one who commented yielded no result in terms of rewording / removal.
- Edit: I have now posted a question for clarification.
If only the comment was in the answer...
If the problem was content within an Answer, the solution is clear:
- If the answerer is active on SO, ping them and hope they respond. If they don't, downvote and move on. One downvote might not matter in the short-term, but it's what we can do as good SO citizens.
- If the answerer is no longer active on SO, liaise with other members of the community (e.g. Python chat or Meta) and update the incorrect advice if there's a consensus. This has been done before to good effect.
With a comment, these options are not available. Flagging, I believe, is inappropriate as mods are not meant to make judgements on technical accuracy. Is there any better course of action I can take?
list(generator expression)
in Python 3?