• Natanox
    link
    fedilink
    English
    6
    edit-2
    2 days ago

    And switch cases (called match cases) are there as well.

    I use lambdas all the time to shovel GTK signal emitions from worker threads into GLib.idle_add in a single line, works as you’d expect.

    Previous commenters probably didn’t look at Python in a really long time.