Prev: Cross-platform detection of exceptions raised during file accessvia os, shutil, codecs, etc.
Next: using reverse in list of tuples
From: Leon on 9 Jun 2010 20:28 Hi, there, I'm trying to read the source code of python. I read around, and am kind of lost, so where to start? Any comments are welcomed, thanks in advance.
From: Steven D'Aprano on 9 Jun 2010 20:35 On Wed, 09 Jun 2010 17:28:28 -0700, Leon wrote: > Hi, there, > I'm trying to read the source code of python. I read around, and am kind > of lost, so where to start? > > Any comments are welcomed, thanks in advance. How would you read any other source code? -- Steven
From: geremy condra on 9 Jun 2010 20:59 On Wed, Jun 9, 2010 at 5:28 PM, Leon <qjing.li(a)gmail.com> wrote: > Hi, there, > I'm trying to read the source code of python. > I read around, and am kind of lost, so where to start? > > Any comments are welcomed, thanks in advance. Are you trying to find out more about python-the-language, or the interpreter, or the stdlib, or trying to make some specific change, or...? Geremy Condra
From: rantingrick on 9 Jun 2010 21:09 On Jun 9, 7:28 pm, Leon <qjing...(a)gmail.com> wrote: > I'm trying to read the source code of python. > I read around, and am kind of lost, so where to start? Leon, if you are a Python newbie and cannot understand/comprehend Python's syntax read the tutorial first.
From: Terry Reedy on 10 Jun 2010 01:00
On 6/9/2010 8:35 PM, Steven D'Aprano wrote: > On Wed, 09 Jun 2010 17:28:28 -0700, Leon wrote: > >> Hi, there, >> I'm trying to read the source code of python. I read around, and am kind >> of lost, so where to start? >> >> Any comments are welcomed, thanks in advance. > > How would you read any other source code? I would begin at the beginning, whatever that might be. But the Python source tree is rather opaque in some respects compared to other stuff I have read. The individual files I have read are much better organized. |