Ned Batchelder - Machete-mode debugging: Hacking your way out of a tight spot - PyCon 2016

Speaker: Ned Batchelder
When chasing mysterious bugs, it's helpful to use all the tools at your disposal. We'll explore ways to use Python's dynamic tools to help track down the cause of head-scratching problems in large systems. Tools include the inspect module, monkey-patching, trace functions, and the Python mechanisms at work behind them all.
Slides can be found at: speakerdeck.com/pycon2016 and github.com/PyCon/2016-slides

Пікірлер: 8

  • @atlantis_expedition_member4747
    @atlantis_expedition_member47478 жыл бұрын

    Always a pleasure to listen to Ned. He somehow chooses very interesting topics and explains it with unique clarity. We need more Ned

  • @paulallen1597
    @paulallen1597 Жыл бұрын

    Fantastic talk. Always enjoy Ned's talks. 10/10.

  • @paulallen1597
    @paulallen1597 Жыл бұрын

    One comment I wanted to make is on the last question he's asked in the Q&A section: "How do you come up with these kinds of debugging solutions?" I would say, at least, that Ned is able to arrive at these "debugging strategies" because he has studied and worked with the Python language and standard library. He really knows how to use the language and what tools are available in the Python standard library. That allows him to know more about what is "possible" in Python, which IMHO allows him to "think outside the box" as he answered in the talk.

  • @hangugeohaksaeng
    @hangugeohaksaeng8 жыл бұрын

    Awesome talk Ned. Always the highlight of pycon for me. :)

  • @EngIlya
    @EngIlya4 жыл бұрын

    Great talk, pity that video is full of artefacts

  • @qm3ster
    @qm3ster10 ай бұрын

    At 29:05 the comedy isn't the fact they never used the default. The comedy is that python defaults are evaluated at function declaration time and not function call with the argument necessarily missing. So they run way too eagerly and then that function lives with a (random) constant for the duration of the program. Wow.

  • @vcothur7
    @vcothur77 жыл бұрын

    16:22 If I'm not wrong, python has decorators just for this kind of things.

  • @sohangchopra6478

    @sohangchopra6478

    2 жыл бұрын

    Yes it does