[Python-ideas] Accelerated attr lookups

Brett Cannon brett at python.org
Tue Jun 19 20:21:39 CEST 2007

On 6/19/07, Eyal Lotem <eyal.lotem at gmail.com> wrote:


> P.S: I discovered a lot of code duplication (and "went along" and
> duplicated my code in the same spirit), but was wondering if a patch
> that utilized C's preprocessor heavily to prevent code duplication in
> CPython's code, and trusting the "inline" keyword to prevent thousands
> of lines in the same function (ceval.c's opcode switch) would be
> accepted.

Preprocessor stuff is fine.  But 'inline' is not a valid keyword in
C89 so that will not be accepted.


More information about the Python-ideas mailing list