~/talk

Working with Time Zones: Everything You Wish You Didn't Need to Know

Talkat PyCon US 2023 · 2023-04-19..04-27· [web-platform, python]
links:none on file
slides:none on file

Python now ships a concrete time zone implementation called zoneinfo that uses the IANA database and a pip fallback package called tzdata; it handles ambiguous and imaginary times via the fold attribute (PEP 495) and exposes different equality/arithmetic semantics that can produce non‑transitive equality among datetimes. The talk demonstrates where naive UTC storage breaks, shows surprising historical skips and repeats, compares pytz ergonomics, and supplies migration shims and practical rules that actually work in tests.

AI-written summary · about

  1. 0:00Introduction
  2. 0:58Basics
  3. 6:33Why work with time zones
  4. 9:06Time zone abstractions
  5. 11:43Time zone types
  6. 16:18Fold
  7. 17:56Local Time
  8. 20:39Bring Your Own Data
  9. 21:44Python Time Zones
  10. 25:22ZoneInfo
  11. 25:50Walltime semantics
  12. 26:43Absolute time semantics
  13. 28:46PiTZ Deprecation
~/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.