where to view open() function's C implementation source code ?

Roy Smith roy at panix.com
Tue Dec 18 09:28:19 EST 2012


In article <ad040201-ba94-496c-bb17-7433b0e09d9d at googlegroups.com>,
 iMath <redstone-cold at 163.com> wrote:

> � 2012”N12ŒŽ18“��Š�“�UTC+8‰�Œ�1时35分58秒,Roy Smith写道:
> > In article <f3af9605-2dc7-40a9-861f-52724d29bf1e at googlegroups.com>,
> > 
> >  iMath <redstone-cold at 163.com> wrote:
> > 
> > 
> > 
> > > where to view  open() function's C implementation source code ?
> > 
> > 
> > 
> > http://www.python.org/download/releases/
> > 
> > 
> > 
> > Download the source for the version you're interested in.
> 
> but which python module is  open() in ?

I met you half-way, I showed you where the source code is.  Now you 
need to come the other half and look at the code.  Maybe start by 
grepping the entire source tree for "open"?



More information about the Python-list mailing list