Skip to content

Conversation

alexmojaki
Copy link
Contributor

Here's what it's all been about! Closes #11827

Example script:

def foo(i):
    x = [[[0]]]
    return x[0][i][0]


def bar():
    return foo(0) + foo(
        1
    ) + foo(2)


bar()

Output:

Screenshot from 2020-02-27 20-51-28

@Carreau Carreau added this to the 8.0 milestone Feb 27, 2020
@Carreau Carreau merged commit 9143dd9 into ipython:master Feb 27, 2020
@Carreau
Copy link
Member

Carreau commented Feb 27, 2020

Whooo !

@alexmojaki
Copy link
Contributor Author

Hooray!

Can you sort out choosing proper colors based on configuration?

@Carreau
Copy link
Member

Carreau commented Feb 27, 2020

Opened #12151 to track that.

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.

Proposal: highlight exact operation in tracebacks
2 participants