Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #93600
| Path | csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!newsreader4.netcologne.de!news.netcologne.de!bcyclone01.am1.xlned.com!bcyclone01.am1.xlned.com!newsfeed.xs4all.nl!newsfeed8.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.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'rename': 0.07; 'cc:addr :python-list': 0.09; 'fetch': 0.09; 'imports': 0.09; 'subject:dependencies': 0.09; 'subject:module': 0.09; 'python': 0.10; 'another?': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'list.)': 0.16; 'something.': 0.16; 'subject:issues': 0.16; 'top-post': 0.16; 'worst': 0.16; 'wrote:': 0.16; 'case.': 0.18; 'module,': 0.18; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'am,': 0.23; 'references': 0.23; 'somewhere': 0.24; 'header:In-Reply-To:1': 0.24; 'module': 0.25; 'fri,': 0.27; 'packaging': 0.27; 'message-id:@mail.gmail.com': 0.27; 'issue,': 0.27; 'module.': 0.27; 'code': 0.30; "i'd": 0.31; 'received:google.com': 0.35; "isn't": 0.35; 'but': 0.36; 'there': 0.36; 'modules': 0.36; 'subject:: ': 0.37; 'expect': 0.37; 'say': 0.37; 'version': 0.38; 'end': 0.39; 'along': 0.39; 'some': 0.40; 'your': 0.60; 'virtually': 0.66; 'answer.': 0.72; 'jul': 0.72; 'chrisa': 0.84; 'to:none': 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:cc :content-type; bh=ZbhGxIaDzwcV7b+lL2w2F0FSlIkw8E54Yb5gkoLA9dc=; b=KmJn5UQ1nR5t+LGCMkZz9kQjuagaCALQowWhf8ODCDuT7uUWW48mhabPINY4NyA5kf zjKpyOGqKnW4ipOCCeBEvI+HcBmra3jh5jsxZ5kq2EHfvL71jINevawjGkZmGWRZFAwb IlOsW4wRKm8ecBHZFDZUJNaY72uSmimCGUoMRnDNbxw2p91xuBmm1ZQ75x7INCFZBZol FoMSE0njUg1TwkNkdGn5KXjLEzWdmh/yNKtEj3sF40MLLbDchtbLDxJ9LOeEms9bFi4J ZrrMTS7N8e++9n7jqIcrrJ6hvcYrfjSWbuFIyOnZql9oOnpn5NOiTqQ+sntJQcryrERr qkGA== |
| MIME-Version | 1.0 |
| X-Received | by 10.50.7.104 with SMTP id i8mr2003300iga.50.1436471999856; Thu, 09 Jul 2015 12:59:59 -0700 (PDT) |
| In-Reply-To | <85B68343-326C-4768-A236-3459299AD129@free.fr> |
| References | <10ADE079-3F0F-4EA8-9312-06F7FCDB6130@free.fr> <CAPTjJmoJnNRzoQGBgK8qGaqv7zSeQ7HcHhiGO6ijiPt29QmmhA@mail.gmail.com> <85B68343-326C-4768-A236-3459299AD129@free.fr> |
| Date | Fri, 10 Jul 2015 05:59:59 +1000 |
| Subject | Re: module dependencies issues |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| 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.370.1436472009.3674.python-list@python.org> (permalink) |
| Lines | 16 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1436472009 news.xs4all.nl 2829 [2001:888:2000:d::a6]:60808 |
| X-Complaints-To | abuse@xs4all.nl |
| X-Received-Bytes | 4053 |
| X-Received-Body-CRC | 886805619 |
| Xref | csiph.com comp.lang.python:93600 |
Show key headers only | View raw
On Fri, Jul 10, 2015 at 5:55 AM, Cyril Scetbon <cyril.scetbon@free.fr> wrote: > It's just a sample. I'd like to get a general answer. So think about the worst case. (Please don't top-post on this list.) The worst case is virtually impossible to handle. Somewhere along the way, you need to say "import B" and Python has to go and fetch up some module. There has to be exactly one module under that name. This isn't a packaging issue, it's an issue with how Python references modules: there can be only one! Highlander: The System Modules Dictionary! How do you expect the end result to work? Will it be that your code imports one version of a module, but other code imports another? You would have to rename one of them or something. ChrisA
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Re: module dependencies issues Chris Angelico <rosuav@gmail.com> - 2015-07-10 05:59 +1000
Re: module dependencies issues Marko Rauhamaa <marko@pacujo.net> - 2015-07-09 23:36 +0300
Re: module dependencies issues Chris Angelico <rosuav@gmail.com> - 2015-07-10 06:47 +1000
Re: module dependencies issues Marko Rauhamaa <marko@pacujo.net> - 2015-07-10 00:11 +0300
Re: module dependencies issues Chris Angelico <rosuav@gmail.com> - 2015-07-10 07:20 +1000
Re: module dependencies issues Marko Rauhamaa <marko@pacujo.net> - 2015-07-10 00:33 +0300
Re: module dependencies issues Chris Angelico <rosuav@gmail.com> - 2015-07-10 07:45 +1000
Re: module dependencies issues Marko Rauhamaa <marko@pacujo.net> - 2015-07-10 03:04 +0300
Re: module dependencies issues Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-07-10 01:24 +0100
csiph-web