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: 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: References: Date: Wed, 19 Dec 2012 02:03:25 +1100 Subject: Re: where to view open() function's C implementation source code ? From: Chris Angelico 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On Wed, Dec 19, 2012 at 1:28 AM, Roy Smith wrote: > In article , > iMath 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