Refactor "with" parsing code to reduce code duplication.
Refactor "with" parsing code to reduce code duplication.

da-woods/cython,da-woods/cython,scoder/cython,da-woods/cython,scoder/cython,cython/cython,cython/cython,cython/cython,da-woods/cython,scoder/cython,scoder/cython,cython/cython