~/talk

¡Mangle You A Python Interpreter for New Behaviour!

Talkat PyCon Australia 2015 · 2015-07-31..08-04· [python]
links:none on file
slides:none on file

Implements two hacks: quiet_None (a context/decorator that makes None accept calls) using CTypes and sys.getframe, demoed working; question_dot (safe attribute access) implemented by adding a new token/AST node and compiler output in PyPy but the planned source-code‑codec approach to transparently run it on CPython 2.7 fails; changes touch the parser and compiler, leave a stack-value bug, and require toggling via context or custom build. Repos and slides are provided for the partial proofs of concept.

AI-written summary · about

  1. 0:00Intro
  2. 2:14Quiet None
  3. 3:22callable None
  4. 5:20quietNone
  5. 8:31quietNone explanation
  6. 10:23I wrote this
  7. 11:17Deconstructing Functional Programming
  8. 12:00Newspeak
  9. 13:14None
  10. 13:36SafeNavigation
  11. 13:57SafeAttributeAccess
  12. 14:44len method
  13. 16:52pep 463
  14. 20:55middle way
  15. 21:40partial demo
  16. 25:05Why I decided not to do it
  17. 26:59Im not racist
  18. 27:12Why do you hate python
  19. 27:34Forward compatible
  20. 28:00Roast peps
  21. 28:43lisp envy
  22. 29:23Javascript
  23. 30:32Podgill
  24. 31:41I love Python
  25. 31:53What could I do
  26. 32:17Fix the stack problem
  27. 32:34Get the source codec hack
  28. 33:31Whats next
  29. 33:47What Id like to do
  30. 34:02Time Spent
  31. 34:42Restartable Exceptions
  32. 36:49Macropi
~/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.