Monitor performance issues & errors in your code

Python at StackOverflow

Episode #86, published Thu, Nov 24, 2016, recorded Wed, Nov 2, 2016

If you run into a problem with some API or Python code what do you do to solve it? I personally throw a few keywords into google, sometimes even before checking the full docs.

Why does this work? Because invariably an excellent conversation and answer from StackOverflow comes back with just what I need.

This week you'll meet Martijn Pieters. One of the top Python contributors at StackOverflow with over 16,500 questions answered and a reputation of over 500,000.

Links from the show:

Martijn Pieters on the web: zopatista.com
Martijn Pieters on StackOverflow: stackoverflow.com/users/100297/martijn-pieters
Martijn Pieters on Twitter: @zopatista
Scaling Mercurial at Facebook: code.facebook.com/posts/218678814984400/scaling-mercurial-at-facebook

Top Questions:
Set literal gives different result from set function call:
stackoverflow.com/questions/40226063/set-literal-gives-different-result-from-set-function-call
What is a metaclass in Python?:
stackoverflow.com/questions/100003/what-is-a-metaclass-in-python
Asking the user for input until they give a valid response:
stackoverflow.com/questions/23294658/asking-the-user-for-input-until-they-give-a-valid-response
Accessing class variables from a list comprehension in the class definition:
stackoverflow.com/questions/13905741/accessing-class-variables-from-a-list-comprehension-in-the-class-definition
Why is Python 3.x's super() magic?: stackoverflow.com/questions/19608134/why-is-python-3-xs-super-magic
Why is "1000000000000000 in range(1000000000000001)" so fast in Python 3?:
stackoverflow.com/questions/30081275/why-is-1000000000000000-in-range1000000000000001-so-fast-in-python-3/
Why does range(0) == range(2, 2, 2) equal True in Python 3? :
stackoverflow.com/questions/35004162/why-does-range0-range2-2-2-equal-true-in-python-3/
Why is the order in dictionaries and sets arbitrary?:
stackoverflow.com/questions/15479928/why-is-the-order-in-dictionaries-and-sets-arbitrary



Want to go deeper? Check out our courses

Martijn Pieters
Martijn Pieters
Martijn Pieters is a community moderator and prolific Python expert on Stack Overflow. He works at Facebook, where he helps keep source control systems in working order.
Episode sponsored by
Ads served ethically
Talk Python's Mastodon Michael Kennedy's Mastodon