Skip to content

Conversation

@jogo
Copy link
Contributor

@jogo jogo commented Feb 22, 2017

multiline dictionary comprehensions cause inspect.getblock to fail, so
in case of a TokenError, guess the last line based on max(linenos).

fixes #118

multiline dictionary comprehensions cause inspect.getblock to fail, so
in case of a TokenError, guess the last line based on max(linenos).
@planrich
Copy link
Contributor

Thanks, I have added a longer comment explaining some details and referring to the issue #118

@jogo jogo deleted the dictcomp branch February 23, 2017 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vmprofshow breaks on multiline dictionary comprehensions

2 participants