Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #77890
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <i@introo.me> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.093 |
| X-Spam-Evidence | '*H*': 0.81; '*S*': 0.00; 'received:209.85.223': 0.03; 'subject:file': 0.07; 'lie': 0.16; 'received:209.85.223.173': 0.16; 'url:file': 0.16; 'thanks.': 0.20; 'pages,': 0.22; 'subject: .': 0.24; 'typical': 0.24; 'file.': 0.24; 'source': 0.25; 'somewhere': 0.26; 'function': 0.29; 'message-id:@mail.gmail.com': 0.30; 'subject:that': 0.31; 'file': 0.32; 'url:python': 0.33; 'actual': 0.34; 'subject:the': 0.34; 'subject:from': 0.34; 'received:209.85': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'google': 0.35; 'url:org': 0.36; 'should': 0.36; 'received:209': 0.37; 'to:addr :python-list': 0.38; 'structure': 0.39; 'to:addr:python.org': 0.39; 'most': 0.60; 'course': 0.61; 'charset:iso-2022-jp': 0.65; 'reads': 0.68; 'location?': 0.84; 'skip:\x1b 30': 0.84; 'subject:location': 0.84; 'url:cpython': 0.84 |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=ufjvwbhuaSZe3THL4T7NFo21lKcGoI/bu4LrfYC6Hu0=; b=jLxeV33k77Zs2om8GhB2U2LNR/j4tLQaR61JSn9EEHxQtKt/aLV32kyB2oJOwfVQbA YFJCqEzbi14FT44SN2e250OPZavfpD9gSnJ4F5svIgSrP3Bw66yFHnO3K8B2abWKSERB rOBBA2mT8YkdpzannZ3EJa3aQKHONQpoKjl+cEFYxuVlFelEH0+7Ey68bEv76F/YCqAI PvRGjN2SoTxlCQefdQtt52eiwjno45VWNxWaoM7cBYlFyj1rQ76kwvnJoRq0oMgmdsBl Myt1GTjloMws9j4oDiTH9WUDCRvpTstAPc6qwJXJA0GZRCVXqDiGWdFhEupUmKtd8e51 QD7Q== |
| X-Gm-Message-State | ALoCoQkMUDRNA84E5TXtiTjvAFryqYjwiF/Tz5sMU68Fi8YgU4BX/3xbRVb0HE+LL9LBh+qNPMlJ |
| MIME-Version | 1.0 |
| X-Received | by 10.50.18.69 with SMTP id u5mr21926590igd.19.1410790464470; Mon, 15 Sep 2014 07:14:24 -0700 (PDT) |
| X-Originating-IP | [143.89.76.15] |
| Date | Mon, 15 Sep 2014 22:14:24 +0800 |
| Subject | What's the function location that reads the cached .pyc file from disk. |
| From | Shiyao Ma <i@introo.me> |
| To | Python <python-list@python.org> |
| Content-Type | text/plain; charset=ISO-2022-JP |
| Content-Transfer-Encoding | 7bit |
| 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 | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.14028.1410790467.18130.python-list@python.org> (permalink) |
| Lines | 23 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1410790467 news.xs4all.nl 2834 [2001:888:2000:d::a6]:53514 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:77890 |
Show key headers only | View raw
Hi. what's the location of the function that reads the .pyc file ? I bet it should lie in somewhere in https://hg.python.org/cpython/file/322ee2f2e922/Lib/importlib But what's the actual location? Btw, why I need it? I want to know the structure of a .pyc file. Of course the function that reads the .pyc must know something about it. (I am aware of the structure of a typical .pyc file from some clicks of google pages, but I am interested in the *source* and the most authoritative answer, aka, the source code). Thanks. -- 吾輩は猫である。ホームーページはhttp://introo.me。
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
What's the function location that reads the cached .pyc file from disk. Shiyao Ma <i@introo.me> - 2014-09-15 22:14 +0800
csiph-web