Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #21266
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!tudelft.nl!txtfeed1.tudelft.nl!multikabel.net!newsfeed10.multikabel.net!xlned.com!feeder5.xlned.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <bob@brasko.net> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'package,': 0.03; 'ok.': 0.04; 'subject:Error': 0.05; 'subject:when': 0.07; ':-(': 0.09; 'received:10.50': 0.09; 'subject:modules': 0.09; 'stored': 0.13; 'subject:file': 0.13; 'bytecode': 0.16; 'loaded,': 0.16; 'needed?': 0.16; 'one-': 0.16; 'sajip': 0.16; 'vinay': 0.16; 'cc:addr:python-list': 0.16; "wouldn't": 0.17; 'url:bugs': 0.17; 'wrote:': 0.18; 'loading': 0.18; 'thanks,': 0.19; 'cc:no real name:2**0': 0.21; 'received:209.85.210.174': 0.21; 'received:mail- iy0-f174.google.com': 0.21; 'header:In-Reply-To:1': 0.22; 'fix': 0.25; 'expect': 0.25; 'resolution': 0.26; 'cc:2**0': 0.26; 'module': 0.26; 'load': 0.26; 'ram': 0.29; 'cc:addr:python.org': 0.29; 'context,': 0.30; 'hours,': 0.30; 'over.': 0.30; '(as': 0.31; 'tue,': 0.32; 'header:User-Agent:1': 0.33; 'file': 0.34; 'all.': 0.34; 'probably': 0.35; 'url:python': 0.35; 'aspect': 0.37; 'run': 0.37; 'but': 0.37; 'received:google.com': 0.37; 'subject:with': 0.37; 'received:209.85': 0.38; 'could': 0.38; 'think': 0.38; 'files': 0.39; 'url:org': 0.39; 'subject:from': 0.39; 'received:209': 0.39; 'hit': 0.40; 'quick': 0.61; 'header:Received:6': 0.61; 'darn': 0.84; 'impact.': 0.91; 'to:addr:yahoo.co.uk': 0.91 |
| Received-SPF | pass (google.com: domain of bob@brasko.net designates 10.50.89.137 as permitted sender) client-ip=10.50.89.137; |
| Authentication-Results | mr.google.com; spf=pass (google.com: domain of bob@brasko.net designates 10.50.89.137 as permitted sender) smtp.mail=bob@brasko.net |
| Date | Tue, 6 Mar 2012 08:41:32 -0500 |
| From | Bob Rossi <bob@brasko.net> |
| To | Vinay Sajip <vinay_sajip@yahoo.co.uk> |
| Subject | Re: Error with co_filename when loading modules from zip file |
| References | <mailman.410.1330979936.3037.python-list@python.org> <c1e15a96-3e77-4d7e-b684-d1b8a2bd49b1@p13g2000yqd.googlegroups.com> <mailman.418.1331001742.3037.python-list@python.org> <6c8fd85f-b489-450e-82a4-ee01b231a09f@n12g2000yqb.googlegroups.com> |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-1 |
| Content-Disposition | inline |
| Content-Transfer-Encoding | 8bit |
| In-Reply-To | <6c8fd85f-b489-450e-82a4-ee01b231a09f@n12g2000yqb.googlegroups.com> |
| User-Agent | Mutt/1.5.21 (2010-09-15) |
| X-Gm-Message-State | ALoCoQkhwoTcT0Eb6keHmP02skIWWgXSEH+ckILftaA5nkOre0nfsXjtipNkuNnTGZAwEAIIB28g |
| Cc | python-list@python.org |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.12 |
| 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.423.1331041428.3037.python-list@python.org> (permalink) |
| Lines | 31 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1331041428 news.xs4all.nl 6935 [2001:888:2000:d::a6]:42587 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:21266 |
Show key headers only | View raw
On Tue, Mar 06, 2012 at 02:38:50AM -0800, Vinay Sajip wrote: > On Mar 6, 2:40 am, Bob Rossi <b...@brasko.net> wrote: > > > Darn it, this was reported in 2007 > > http://bugs.python.org/issue1180193 > > and it was mentioned the logging package was effected. > > > > Yikes. > > > > I will think about this, but don't expect any quick resolution :-( I > think the right fix would be not in the logging package, but in the > module loading machinery (as mentioned on that issue). > > I wouldn't worry about the performance aspect - once the logging > package is loaded, there's no performance impact. That's a tiny one- > off hit which you will probably not notice at all. OK. Do you know where the bytecode gets stored when you load a py file from a zip? My program can potentially run for hours, from an embedded context, and could call into the logger and other py files over and over. Are the bytecode files stored in RAM one time, or recomputed each time they are needed? Thanks, Bob
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Error with co_filename when loading modules from zip file Bob <bob@brasko.net> - 2012-03-05 15:36 -0500
Re: Error with co_filename when loading modules from zip file Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2012-03-05 14:22 -0800
Re: Error with co_filename when loading modules from zip file Bob Rossi <bob@brasko.net> - 2012-03-05 21:14 -0500
Re: Error with co_filename when loading modules from zip file Bob Rossi <bob@brasko.net> - 2012-03-05 21:40 -0500
Re: Error with co_filename when loading modules from zip file Vinay Sajip <vinay_sajip@yahoo.co.uk> - 2012-03-06 02:38 -0800
Re: Error with co_filename when loading modules from zip file Bob Rossi <bob@brasko.net> - 2012-03-06 08:41 -0500
Re: Error with co_filename when loading modules from zip file Peter Otten <__peter__@web.de> - 2012-03-06 14:59 +0100
csiph-web