Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #35058

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

Path csiph.com!usenet.pasdenom.info!gegeweb.org!usenet-fr.net!nerim.net!novso.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.018
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'subject:code': 0.07; 'python': 0.09; 'open()': 0.09; 'dec': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'grepping': 0.16; 'roy': 0.16; 'still,': 0.16; 'subject:where': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'module': 0.19; 'code.': 0.20; 'subject:skip:i 10': 0.22; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'in.': 0.27; 'tree': 0.27; 'message-id:@mail.gmail.com': 0.27; 'received:209.85.212': 0.28; 'source': 0.29; 'maybe': 0.29; 'that.': 0.30; 'subject: ?': 0.30; 'function': 0.30; 'code': 0.31; 'could': 0.32; 'to:addr:python-list': 0.33; 'version': 0.34; 'received:google.com': 0.34; 'received:209.85': 0.35; 'but': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'where': 0.40; 'header:Received:5': 0.40; 'is.': 0.62; 'smith': 0.71; 'article': 0.78; "it'd": 0.84; 'subject:source': 0.84; 'subject:view': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=914vBZTS1oXe7jxn+XZfysDFWtQq3CJxXx5ahB8Vt5s=; b=X4tLTQNa1J578S5pLhcCssvC7/J6SgdENlTyVTah+1AbNTIXbAu2W5l7RL8Gf8hy2x hLmCIBXhkK/jp17W0np+bfv556O20uM61ASBabuydHkHZNVKZgNEbJZBMdsPL7Hq/g1A svXS1lXqEd5eXXpVsrE8GCZe5PwsdbWPoo238Gm3wgsV0s4L5+CMrb0uUwWukn4ZHPsD iW1rS2WeadxWhdBpzcsTDK4SBhui5X3NLLMQa0nm7gPrkyFt/BhB4uR/MyRjXx4guIt8 JLY1NxOPATQxJytq84eDwkdCgRlAg/BUQ71eINCcsiJ3deSgybzFSE5tN2SBKGhGZnmA 59Mg==
MIME-Version 1.0
In-Reply-To <roy-0389D1.09281918122012@news.panix.com>
References <f3af9605-2dc7-40a9-861f-52724d29bf1e@googlegroups.com> <roy-9CAF53.00355818122012@news.panix.com> <ad040201-ba94-496c-bb17-7433b0e09d9d@googlegroups.com> <roy-0389D1.09281918122012@news.panix.com>
Date Wed, 19 Dec 2012 02:03:25 +1100
Subject Re: where to view open() function's C implementation source code ?
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1019.1355843015.29569.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1355843015 news.xs4all.nl 6990 [2001:888:2000:d::a6]:52231
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:35058

Show key headers only | View raw


On Wed, Dec 19, 2012 at 1:28 AM, Roy Smith <roy@panix.com> wrote:
> In article <ad040201-ba94-496c-bb17-7433b0e09d9d@googlegroups.com>,
>  iMath <redstone-cold@163.com> wrote:
>> > 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"?

Ouch, that mightn't be very effective! With some function names, you
could do that. Not so much "open". Still, it'd be a start...

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

where to view  open() function's C implementation source code ? iMath <redstone-cold@163.com> - 2012-12-17 21:25 -0800
  Re: where to view  open() function's C implementation source code ï¼ Roy Smith <roy@panix.com> - 2012-12-18 00:35 -0500
    Re: where to view  open() function's C implementation source code � iMath <redstone-cold@163.com> - 2012-12-17 22:32 -0800
      Re: where to view  open() function's C implementation source code ? Roy Smith <roy@panix.com> - 2012-12-18 09:28 -0500
        Re: where to view open() function's C implementation source code ? Chris Angelico <rosuav@gmail.com> - 2012-12-19 02:03 +1100
        Re: where to view open() function's C implementation source code ? Andrew Robinson <andrew3@r3dsolutions.com> - 2012-12-18 13:09 -0800
    Re: where to view  open() function's C implementation source code � rurpy@yahoo.com - 2012-12-18 12:57 -0800
      Re: where to view  open() function's C implementation source code � rurpy@yahoo.com - 2012-12-18 13:15 -0800
      Re: where to view  open() function's C implementation source code � iMath <redstone-cold@163.com> - 2012-12-18 15:55 -0800
      Re: where to view  open() function's C implementation source code � iMath <redstone-cold@163.com> - 2012-12-18 15:55 -0800
        Re: where to view  open() function's C implementation source code � rurpy@yahoo.com - 2012-12-18 20:49 -0800
  Re: where to view  open() function's C implementation source code ? Terry Reedy <tjreedy@udel.edu> - 2012-12-18 03:55 -0500

csiph-web