39. Python under PyCScope

Audience level:
Python Internals
March 11th 8:05 a.m. – 8:10 a.m.


CScope has been around for years, and is a very useful tool to get a handle on C source code. Pycscope is an attempt to bring those benefits to the world of Python. Unfortunately, the existing version is woefully out of date. We take a walk through an attempt to update it, correct some flaws and make it more generally useful to us, while giving us a view into the Python parser.


  • What is Cscope
  • Why use it for Python?
  • How does it work?
  • How does pycscope do its job?
  • A closer look at parsing python
  • Enhancing it to search for symbols in strings
  • Questions