Comparing types

Chris Angelico rosuav at gmail.com
Mon Feb 18 01:50:25 EST 2013


On Mon, Feb 18, 2013 at 9:13 AM, Rick Johnson
<rantingrickjohnson at gmail.com> wrote:
> And if you look in the modules "_sre.py", "sre_parse.py", and "sre_constants.py you cannot find the symbol "SRE_Pattern" anywhere -- almost seems like magic huh? Heck the only "_sre.py" file i could find was waaaay down here:
>
>  ...\Lib\site-packages\isapi\test\build\bdist.win32\winexe\temp\_sre.py
>
> What were they doing, trying to bury it deeper than Jimmy Hoffa? Maybe one of my fellow Pythonistas would like to explain that mess?

I have ~/cpython/Modules/_src.c and .o in my build directory. I
suspect that that might be where it is.

ChrisA



More information about the Python-list mailing list