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


Groups > comp.lang.python > #43947

Different cache filename

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.010
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'bytecode': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:Different': 0.16; 'module': 0.19; 'load': 0.23; 'header :User-Agent:1': 0.23; 'header:X-Complaints-To:1': 0.27; 'file': 0.32; 'could': 0.34; 'created': 0.35; 'there': 0.35; 'hi,': 0.36; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'tell': 0.60; 'received:186': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Fabian PyDEV <pydev@hotmail.com>
Subject Different cache filename
Date Sat, 20 Apr 2013 00:37:39 -0500
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host 186.68.114.214
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0
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.847.1366436271.3114.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1366436271 news.xs4all.nl 2307 [2001:888:2000:d::a6]:40046
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:43947

Show key headers only | View raw


Hi,

when load a module "mymodule.py" with importlib.machinery.SourceFileLoader a bytecode file is created as mymodule.cpython-33.pyc.

If I load a module "mymodule.ext.py" the same way the same bytecode file is created as mymodule.cpython-33.pyc.

Is there any way I could tell python to generate the bycode file as mymodule.ext.cpython-33.pyc?

Regards,
Fabian

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


Thread

Different cache filename Fabian PyDEV <pydev@hotmail.com> - 2013-04-20 00:37 -0500

csiph-web