~/talk

Douglas Bagnall - pyserf - a shortcut for writing C extensions in C

Talkat Kiwi PyCon 2009 · on Saturday, 2009-11-07· [python, compilers-and-language-design]

pyserf is a small Python script that reads a Python-style module outline and emits a ready-to-compile C source file for a Python extension, preserving docstrings and generating type conversion and wrapper code. The talk explains how pyserf parses the outline using Python’s standard parsing modules, how the generated C follows recommended extension patterns so you only need to fill in the function bodies, and uses that generator to demonstrate what writing a C extension by hand requires.

AI-written summary · about

~/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.