~/talk

Python Peculiarities

Talkat PyCon Israel 2017 · 2017-06-11..06-13· [python]
slides:none on file

Using import can silently overwrite local variables (os.name replaces a local name), a numeric literal split like 5 .5 or similar confuses the parser and raises a syntax error, a shared default list persists across calls so appending twice yields [42, 42], a trailing comma creates tuple so calling .extend on that value fails, and the REPL binds the previous result to REPL _ stores last result* so chained multiplications produce 30 here. Use static analysis and PyCharm to catch these.

AI-written summary · about

  1. 0:00Introduction
  2. 1:03How it works
  3. 1:57Dont cheat
  4. 4:24Always has a poor name
  5. 5:23Syntax error
  6. 7:17Default parameters
  7. 11:39braces
  8. 13:42chameleon
  9. 16:04Johnny Cash
  10. 18:46Throwdown
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.