~/talk

Python is Weird

Talkat PyCon.DE 2017 · 2017-10-25..10-27· [python]
links:none on file
slides:none on file

Covers the tokenizer reading left-to-right so odd tokens like ++4; and 0jif.1else-2 become valid, shows how tokenization produces surprising floats and complex-number tokens, walks parser → AST → bytecode with disassembly (OR becomes jump/pop), demonstrates lambda generators and yield-as-default pitfalls, explains modules/classes as dictionary-backed objects and the store_name vs store_fast bytecode difference, mentions work on Jedi sparser and parso at cloudscale.ch and uses CPython internals like build_class to reconstruct classes.

AI-written summary · about

  1. 0:00Intro
  2. 1:41Top Security
  3. 2:42Python
  4. 4:22Tokenizer
  5. 9:22How many spaces
  6. 11:28Parser
  7. 15:11Yield
  8. 16:38Insert
  9. 21:12Classes are Functions
  10. 22:06bytecode differences
  11. 22:57builtins
~/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.