Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I'm learning Python and I find it's a pretty cool language, Python makes a lot of things simpler. Now I'm quite interested in the implementation details of Python, the programming language.

So, is there anything like Dig Into Python Source Code or any documentation, blogs about explaining the source code of Python?

Thanks.

share|improve this question
 
You mean interpreter code or library code? –  MadeOfAir Sep 6 at 3:29
 
I think he refers to library code –  Diego Sep 6 at 3:36
 
@MadeOfAir@Diego yeah, the library code. –  AmareKnight Sep 6 at 3:48
 
Then google is your friend. I really don't get it. You want to know about a specific library or functionality, then search for it with python stuck to the search term. Of course, you do not want to read blindly through the whole standard library code. That might be a waste of time. –  MadeOfAir Sep 6 at 4:30
 
@MadeOfAir In fact what I want is something like stackoverflow.com/questions/327311/… In this way I can learn how Python is built ,how the built-in functions and data-structures are implemented and so on. –  AmareKnight Sep 6 at 5:09

2 Answers

There's the Python Enhancement Proposals (PEP) so you can see the rationale behind certain design choices in the language: http://www.python.org/dev/peps/

share|improve this answer

You should start here: http://docs.python.org/devguide/

There you will find the link to the entire source-code which you can get using git:

hg clone http://hg.python.org/cpython
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.