Re: where to view open() function's C implementation source code �
rurpy at yahoo.com
rurpy at yahoo.com
Tue Dec 18 23:49:58 EST 2012
On 12/18/2012 04:55 PM, iMath wrote:
> > 在 2012年12月19日星期三UTC+8上午4时57分37秒,ru... at yahoo.com写道:
> >[...]
>> >> There is no need to download the source. You can browse the
>> >> source code online. For the v3.0.0 version of open():
>> >> hg.python.org/cpython/file/bd8afb90ebf2/Modules/_io/_iomodule.c
>> >>
>> >> For 2.7.3 I think what you want is the builtin_open() function in
>> >> http://hg.python.org/cpython/file/70274d53c1dd/Python/bltinmodule.c
>> >> and the file object and open_the_file() function in
>> >> http://hg.python.org/cpython/file/70274d53c1dd/Objects/fileobject.c
>> >>
>> >> Hope this helps.
> >
> > thanks very much !
Your welcome.
I noticed that you, like me, are using Google Groups. You
might want to read this page about posting from Google Groups:
http://wiki.python.org/moin/GoogleGroupsPython
It will help you avoid double posts and other Google Groups
posting problems that annoy other people here.
More information about the Python-list
mailing list