Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75219
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <drsalists@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; 'subject:code': 0.07; '3.0,': 0.09; 'function:': 0.09; 'to:addr:pobox.com': 0.09; 'to:addr:skip': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'def': 0.12; 'add(self,': 0.16; 'eclipse': 0.16; 'parentheses': 0.16; 'subject:Programming': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'seems': 0.21; 'cc:addr:gmail.com': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**1': 0.23; 'skip': 0.24; 'subject:Code': 0.24; 'header:In-Reply-To:1': 0.27; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; '25,': 0.31; 'fri,': 0.33; 'subject:the': 0.34; 'subject: (': 0.35; 'but': 0.35; 'received:google.com': 0.35; '2.6': 0.36; 'pm,': 0.38; 'first': 0.61; 'subject:. ': 0.67; 'line,': 0.68; 'jul': 0.74 |
| 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=njHrhfcRdEUHqsDrNDTlPxaewUKS2m+cGdKuncykWhQ=; b=CSsYwDv8Af5YtqJlpZw5CUQjxlz5nzlNGZuk+CTvIZ2oZieBvnPDyDvrFvcA0OeMGC 80ZXQ5PS0/uWdDgbyKRsv+U+LGbAi5S4UyDWDDn/pWKmhGAOG9/8ylqzTY9ZP8zhQPwk NtS7uKiGU3SJyfaGF6kSXn0JMWM8ptdfBd6c/IOleKeR4paKh/SIha36aKTzkLd+Iw8c vYtVsa82BVGo960RNy+RIJtnbh1FGTxx2ixoB5gMTcWCTRrS1ogkUiHsyhNOefIbCdak yqVn6mNXEQ7kZZwo2LdnJxCjpPXlDq2eOUGfmydKqXabsiARik4o0+vnYHzBoDgFkQQk yBaA== |
| MIME-Version | 1.0 |
| X-Received | by 10.236.53.69 with SMTP id f45mr28207010yhc.53.1406335953063; Fri, 25 Jul 2014 17:52:33 -0700 (PDT) |
| In-Reply-To | <CANc-5UyV8hPDnHTb=7ZJh7MuegBV=46L=msgUxE6+qEXf8O14A@mail.gmail.com> |
| References | <8e593a0d-cf61-4b1a-8273-8309496e3696@googlegroups.com> <CANc-5UyV8hPDnHTb=7ZJh7MuegBV=46L=msgUxE6+qEXf8O14A@mail.gmail.com> |
| Date | Fri, 25 Jul 2014 17:52:33 -0700 |
| Subject | Re: Prob. Code Downloaded for Programming the Semantic Web (python code) |
| From | Dan Stromberg <drsalists@gmail.com> |
| To | Skip Montanaro <skip@pobox.com> |
| Content-Type | text/plain; charset=UTF-8 |
| Cc | Python <python-list@python.org>, Bruce Whealton <futurewavewebdevelopment@gmail.com> |
| 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.12324.1406335962.18130.python-list@python.org> (permalink) |
| Lines | 12 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1406335962 news.xs4all.nl 2866 [2001:888:2000:d::a6]:53930 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:75219 |
Show key headers only | View raw
On Fri, Jul 25, 2014 at 5:21 PM, Skip Montanaro <skip@pobox.com> wrote: >> OK, Eclipse with PyDev doesn't like this first line, with the function: >> def add(self, (sub, pred, obj)): >> >> It complains about the parentheses just before sub. > > Seems like this code is Python 2.x. For me, this code ran on all of 2.4, 2.5, 2.6 and 2.7, but not on any of 3.0, 3.1, 3.2, 3.3 or 3.4. HTH
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Prob. Code Downloaded for Programming the Semantic Web (python code) Bruce Whealton <futurewavewebdevelopment@gmail.com> - 2014-07-25 17:06 -0700
Re: Prob. Code Downloaded for Programming the Semantic Web (python code) Skip Montanaro <skip@pobox.com> - 2014-07-25 19:21 -0500
Re: Prob. Code Downloaded for Programming the Semantic Web (python code) Dan Stromberg <drsalists@gmail.com> - 2014-07-25 17:52 -0700
Re: Prob. Code Downloaded for Programming the Semantic Web (python code) Ian Kelly <ian.g.kelly@gmail.com> - 2014-07-25 19:39 -0600
Re: Prob. Code Downloaded for Programming the Semantic Web (python code) Steven D'Aprano <steve+gmane@pearwood.info> - 2014-07-26 11:28 +1000
Re: Prob. Code Downloaded for Programming the Semantic Web (python code) Bruce Whealton <futurewavewebdevelopment@gmail.com> - 2014-07-28 03:39 -0700
Re: Prob. Code Downloaded for Programming the Semantic Web (python code) Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-07-28 15:28 +0000
Re: Prob. Code Downloaded for Programming the Semantic Web (python code) Bruce Whealton <futurewavewebdevelopment@gmail.com> - 2014-07-28 17:57 -0700
Re: Prob. Code Downloaded for Programming the Semantic Web (python code) Chris Angelico <rosuav@gmail.com> - 2014-07-26 13:25 +1000
Re: Prob. Code Downloaded for Programming the Semantic Web (python code) Bruce Whealton <futurewavewebdevelopment@gmail.com> - 2014-07-28 04:07 -0700
Re: Prob. Code Downloaded for Programming the Semantic Web (python code) Terry Reedy <tjreedy@udel.edu> - 2014-07-26 03:05 -0400
csiph-web