~/talk

"Adding File System context to pathlib"

Talkat PyCon AU 2024 · 2024-11-22..11-26· [python]
links:none on file
slides:none on file

Claim: move file-system flags from verbs to Path objects so a Path carries case sensitivity and follow symlinks behavior. Prototype: ContextPath subclasses pathlib, threads flags through with_segments, and exercises stat and glob against two TIFFs plus a symlink. Tests show expected results (one vs two matches, symlink vs target stat) so the idea works as a small patch. Next steps are a PEP, decisions on precedence, deprecation path, Windows junctions and loop limits for following symlinks.

AI-written summary · about

  1. 0:00Introduction
  2. 1:09Motivation for pathlib change
  3. 6:30Core problem and solution
  4. 9:44Prototyping context path
  5. 12:39Flags in stat and glob
  6. 15:10Testing context path
  7. 18:46Next steps and adoption
  8. 21:12Future and compatibility
  9. 25:11Closing and Q&A
~/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.