3. Changes to Locales and UTF-8 Mode
PYTHONUTF8=1
python -X utf8
4. The Built-in Breakpoint Function
1 Introducing the Breakpoint Function
imoprt pdb;
pdb.set_trace()
export PYTHONBREAKPOINT=0
4 Customizing the Debugger
5 Remote Debugging with Breakpoint
gunicorn -b localhost:8080-w 4 --env PYTHONBREAKPOINT=web_pdb.set_trace wsgi_debug:app
7. performance inprovements
2 Will you see an Improvement in Speed?
python -m perf timeit -s 's="asdf"*100' -- 's.find("s")'
pip install performance
pyperformance run --python=python3.7 -o 7.json