Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:not': 0.03; 'debugging': 0.07; 'environments': 0.07; 'subject:Error': 0.07; 'sys': 0.07; 'from:addr:ethan': 0.09; 'from:addr:stoneleaf.us': 0.09; 'from:name:ethan furman': 0.09; 'message-id:@stoneleaf.us': 0.09; 'try:': 0.09; '~ethan~': 0.09; 'subject:python': 0.16; 'thanks,': 0.17; 'wrote:': 0.18; 'import': 0.22; 'header:User- Agent:1': 0.23; 'header:In-Reply-To:1': 0.27; 'appreciated.': 0.29; 'chris': 0.29; 'am,': 0.29; '>>>>': 0.31; 'subject:the': 0.34; "i'd": 0.34; 'charset:us-ascii': 0.36; 'to:addr:python- list': 0.38; 'to:addr:python.org': 0.39; 'tips': 0.61; 'received:173': 0.61; 'received:69.56': 0.68; 'from.': 0.93 Date: Tue, 24 Jun 2014 08:08:00 -0700 From: Ethan Furman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Error in PyDev but not in the standard python interpreter References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator3304.hostgator.com X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stoneleaf.us X-BWhitelist: no X-Source-IP: 173.12.184.233 X-Exim-ID: 1WzSKG-0004AB-GU X-Source: /opt/php52/bin/php-cgi X-Source-Args: /opt/php52/bin/php-cgi /home4/jumper/public_html/index.php X-Source-Dir: airabovewater.com:/public_html X-Source-Sender: ([173.12.184.233]) [173.12.184.233]:55299 X-Source-Auth: ethan+stoneleaf.us X-Email-Count: 0 X-Source-Cap: dG9idWs7dG9idWs7Z2F0b3IzMzA0Lmhvc3RnYXRvci5jb20= 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1403633558 news.xs4all.nl 2936 [2001:888:2000:d::a6]:48392 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:73555 On 06/24/2014 07:04 AM, Chris Angelico wrote: > > Here's what I'd try: > >>>> import sys >>>> sys.modules[d1.__class__.__module__].__file__ >>>> sys.modules[d2.__class__.__module__].__file__ > > Do those in both environments and see where things are actually coming > from. Debugging tips always appreciated. Thanks, Chris! -- ~Ethan~