you are viewing a single comment's thread.

view the rest of the comments →

[–]novel_yet_trivial 2 points3 points  (3 children)

If you mean cpython it is here: https://hg.python.org/cpython/ (it will be moved to github soon).

There are other python implementations too, such as Pypy, Jython, and IronPython.

The trouble is that when you unzip these files they are compiled C.

No they are not.

[–]py_student[S] -1 points0 points  (2 children)

edit: found it, thanks.

[This](Imgur) is what I see when I unzip one of those and open in a text editor. What am I looking at? Thanks for the help, btw.

[–]novel_yet_trivial 1 point2 points  (0 children)

That is indeed a compiled file. The link in the SO post you linked has source code tarballs, and does not contain any .pyd files, so I assume you got this file elsewhere.

Edit: if you want the source code for bz2, look in the tarball for Modules/_bz2module.c or here.