Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'from:addr:yahoo.co.uk': 0.04; 'python3': 0.07; '2to3': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'language.': 0.14; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrongly': 0.16; 'language': 0.16; 'wrote:': 0.18; 'example': 0.22; 'install': 0.23; 'header :User-Agent:1': 0.23; 'recognize': 0.24; 'subject:problem': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'raise': 0.29; 'code': 0.31; 'correctly.': 0.31; 'seemingly': 0.31; 'subject:About': 0.31; 'subject:some': 0.31; 'quite': 0.32; "can't": 0.35; 'tool': 0.35; 'no,': 0.35; 'but': 0.35; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'ago.': 0.61; 'conversion': 0.61; 'our': 0.64; 'minutes': 0.67; 'invalid': 0.68; 'discovered': 0.83; '"not': 0.84; 'saying:': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Mark Lawrence Subject: Re: About some problem Date: Thu, 02 Jan 2014 19:27:48 +0000 References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: host-78-147-21-141.as13285.net User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: 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: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1388690867 news.xs4all.nl 2956 [2001:888:2000:d::a6]:46237 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:62997 On 02/01/2014 17:46, Rustom Mody wrote: > > Oh ok I get what you are saying: python3 will not recognize a python2 > package and install it seemingly correctly but actually wrongly > No, it will install it quite correctly. What it won't know is that some of the code is valid in Python 2 but invalid in Python 3. An example I discovered 30 minutes ago. raise "Not Valid DB Type" is perfectly valid in Python 2. In Python 3 it's so illegal the 2to3 conversion tool can't cope with it :( -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence