You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
extract will return literals that are part of an expression #415
Ungh, I think fixing this will require one of the following:
A dirty hack (lookahead/lookbehind in the token stream to make sure we're not in, or going to be in, an expression)
Rewriting the extractor to use the AST module instead of the token stream (likely slower, though probably not by an awful lot). Also, I don't think it's much of an issue, but this would make parsing (more?) Python version dependent.
Activity
asottile commentedon Jun 7, 2016
fwiw, xgettext also picks up the first one but not the second one -- I still think picking up the first one is bug as well :)
akx commentedon Jul 15, 2016
Ungh, I think fixing this will require one of the following:
I'd honestly go with the second option.