lxml/lxml — pull request #25 by rctay (2012-01-05 09:49:14+00:00)
Title: de-duplicate libc definitions

Here's another go at it, but this time only for libc due to the magnitude of the changes.

Introduce the include file `imports.pxi` for cimports from cython's libc definitions, and use these functions without any qualifiers (eg `cstd.fread`).

The good thing about this is that we only have one long import statements in one place, and the code looks closer to how we would write it in C (eg. `fread` instead of `cstd.fread`). On the downside it's not clear where the definition is found when perusing an included file (for example, `iterparse.pxi`). But I think it's a good trade-off.