Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #62992
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <dwightdhutto@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; 'that?': 0.05; 'paths': 0.07; 'python3': 0.07; 'sys': 0.07; 'think,': 0.07; 'mixed': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'jan': 0.12; '2.7': 0.14; '>>': 0.16; '__future__': 0.16; 'isnt': 0.16; 'sys.path': 0.16; 'wrongly': 0.16; 'prevent': 0.16; 'do,': 0.16; 'wrote:': 0.18; 'module': 0.19; 'mechanism': 0.19; 'normally': 0.19; 'properly': 0.19; "python's": 0.19; "skip:' 30": 0.19; 'thu,': 0.19; 'seems': 0.21; '>>>': 0.22; 'import': 0.22; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'install': 0.23; '>>>': 0.24; 'package.': 0.24; 'recognize': 0.24; 'subject:problem': 0.24; "haven't": 0.24; 'cc:2**0': 0.24; '>': 0.26; 'header:In-Reply-To:1': 0.27; 'dec': 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'usually': 0.31; '(on': 0.31; 'dawn': 0.31; 'idea,': 0.31; 'seemingly': 0.31; "skip:' 40": 0.31; 'subject:About': 0.31; 'subject:some': 0.31; 'run': 0.32; 'linux': 0.33; 'url:python': 0.33; 'older': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'installing': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'being': 0.38; 'skip:& 10': 0.38; 'stable': 0.38; 'pm,': 0.38; 'skip:& 20': 0.39; 'sure': 0.39; 'url:mail': 0.40; 'more': 0.64; 'different': 0.65; 'to:addr:gmail.com': 0.65; 'dont': 0.67; '2-3': 0.68; 'system)': 0.69; 'apart': 0.72; 'batchelder': 0.84; 'installer': 0.84; 'malicious': 0.84; 'saying:': 0.84; '2013,': 0.91; '<>*': 0.95 |
| 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:to :cc:content-type; bh=dkprsbO2EzJVEtFIBGtguCtF9KMZAlCcUkkM4Ygv/dc=; b=m11W/A+Bb3LaqdP9I9FsH7Md5Lyoz4U/ScsEh5wnd3gzWOGn8ybQ3aIMA/RIJJ+2Le n9sqDqV8Tr0vHkvAR03RmCb912Mt/q3VaTtXM4LaakjZUvGv1941qm42B4Ei36nQuEmJ vAFB5M8aXFKuHOlaIoPCnsjVgwCBWoc+Z7hlN6CtcAnAJUThQ6KurnU5s5jDGfsztkEn KhBnRvOf/AvEpODha+tY9lRUfn+LaXaJ+1ZF5SrVZu5oohRrtqxwONEbqTMB1LClRHjY G/XgDSExe4lOVwrYUxRJvguwuVoHjFBMyqwJ6MaiEQDtr3JYAwm9WzCyuFrTazs250z4 BnOg== |
| MIME-Version | 1.0 |
| X-Received | by 10.224.43.140 with SMTP id w12mr59858700qae.46.1388686250139; Thu, 02 Jan 2014 10:10:50 -0800 (PST) |
| In-Reply-To | <CA+vVgJW+sD7hYV3-y8LWqa3HLovXpPu8Ru_kOyr6G5EAMFzKAw@mail.gmail.com> |
| References | <CAN5p5FV7=RKK0cmE_=n+te07CEt678OX1Wwj+96T9eAuDujpfA@mail.gmail.com> <CAPM-O+wAZFmde2bVhqqs4==a-jy3AXfv3f9JNQwcNmTJHCak+Q@mail.gmail.com> <CAJ+Teoc0f3S2FRPwrtHuao+7aKiA=57Nn1UVpoH0-3WRTNQbgg@mail.gmail.com> <la483g$19i$1@ger.gmane.org> <CAJ+TeocR3HOrs-Unq7LDaPnbrVRFLVyGn7TPPy=gMmh0diB3OQ@mail.gmail.com> <CA+vVgJW+sD7hYV3-y8LWqa3HLovXpPu8Ru_kOyr6G5EAMFzKAw@mail.gmail.com> |
| Date | Thu, 2 Jan 2014 13:10:50 -0500 |
| Subject | Re: About some problem |
| From | David Hutto <dwightdhutto@gmail.com> |
| To | Rustom Mody <rustompmody@gmail.com> |
| Content-Type | multipart/alternative; boundary=047d7bf0cc18a4e40e04ef00b60d |
| Cc | python-list <python-list@python.org> |
| 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 | <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.4801.1388686253.18130.python-list@python.org> (permalink) |
| Lines | 204 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1388686253 news.xs4all.nl 2871 [2001:888:2000:d::a6]:56103 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:62992 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
and as I usually do, keep with the older stable version in order to keep up with other packages compatibiity. On Thu, Jan 2, 2014 at 1:07 PM, David Hutto <dwightdhutto@gmail.com> wrote: > I think, but haven't tried, and this would be 2-3 from __future__ import > > > On Thu, Jan 2, 2014 at 12:46 PM, Rustom Mody <rustompmody@gmail.com>wrote: > >> On Thu, Jan 2, 2014 at 11:06 PM, Ned Batchelder <ned@nedbatchelder.com> >> wrote: >> > On 1/2/14 12:05 PM, Rustom Mody wrote: >> > >> >> >> >> i'm not sure about this but isnt it normally the case that different >> >> version modules dont get mixed up like that? >> >> IOW if pytesser was a properly packaged 2.7 module would python 3 be >> >> able to get at it ?? >> >> >> > >> > If you use a Python 3 installer it can succeed at installing a Python 2 >> > package. Then you won't find out until you try to run the package that >> it is >> > incompatible. A mechanism to prevent this seems like a good idea, but >> since >> > it wasn't in place at the dawn of Python 3, it would be difficult to >> put in >> > place now. >> >> $ python3 >> Python 3.3.3 (default, Dec 8 2013, 16:34:29) >> [GCC 4.8.2] on linux >> Type "help", "copyright", "credits" or "license" for more information. >> >>> from sys import path >> >>> path >> ['', '/usr/lib/python3.3', '/usr/lib/python3.3/plat-i386-linux-gnu', >> '/usr/lib/python3.3/lib-dynload', >> '/usr/local/lib/python3.3/dist-packages', >> '/usr/lib/python3/dist-packages'] >> >> >> $ python >> Python 2.7.6 (default, Dec 6 2013, 21:56:56) >> [GCC 4.8.2] on linux2 >> Type "help", "copyright", "credits" or "license" for more information. >> >>> from sys import path >> >>> path >> ['', '/usr/local/lib/python2.7/dist-packages/pip-1.0-py2.7.egg', >> '/usr/lib/python2.7', '/usr/lib/python2.7/plat-i386-linux-gnu', >> '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', >> '/usr/lib/python2.7/lib-dynload', >> '/usr/local/lib/python2.7/dist-packages', >> '/usr/lib/python2.7/dist-packages', >> '/usr/lib/python2.7/dist-packages/PILcompat', >> '/usr/lib/python2.7/dist-packages/gst-0.10', >> '/usr/lib/python2.7/dist-packages/gtk-2.0', >> '/usr/lib/pymodules/python2.7', >> '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode'] >> >> >> So as far as I can see (on a debian linux system) the paths are >> clearly 2.7-prefixed or 3.3-prefixed. >> >> So apart from being stupid and/or malicious to munge sys.path to tread >> on the other python's toes...??? >> >> Oh ok I get what you are saying: python3 will not recognize a python2 >> package and install it seemingly correctly but actually wrongly >> -- >> https://mail.python.org/mailman/listinfo/python-list >> > > > > -- > Best Regards, > David Hutto > *CEO:* *http://www.hitwebdevelopment.com > <http://www.hitwebdevelopment.com>* > -- Best Regards, David Hutto *CEO:* *http://www.hitwebdevelopment.com <http://www.hitwebdevelopment.com>*
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: About some problem David Hutto <dwightdhutto@gmail.com> - 2014-01-02 13:10 -0500
csiph-web