~/talk

Fantastic Bugs (and how I find them)

Talkat PyCon Latam 2021 · 2021-08-27..08-28· [testing, open-source]
slides:none on file

Uses property-based testing (Hypothesis) and the Hypothesis ghostwriter with pytest to generate inputs and find real failures: sorted() misbehaves with NaN/infinities, list equality relies on element identity causing surprising json round‑trip inequality, range(len) overflows on extremely large ranges, json encoder’s allow_nan option and non‑finite numbers break round trips, Decimal’s signaling NaNs are unhashable, and a generated Python source fuzz finds parser segfaults — demonstrates concrete tests, code snippets, and debugging steps that reproduce each bug.

AI-written summary · about

  1. 0:00Intro
  2. 1:50What is testing
  3. 3:19Sorting tests
  4. 5:04Automated testing
  5. 12:00Propertybased testing
  6. 12:36Hypothesis ghostwriter
  7. 20:44Length overflow
  8. 25:59Performance optimizations
  9. 28:24Decimal type
  10. 30:59Frog type
  11. 32:44Final examples
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.