Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #44548
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.033 |
| X-Spam-Evidence | '*H*': 0.94; '*S*': 0.00; 'syntax': 0.04; 'debug': 0.07; '-------': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'octal': 0.16; 'permissions,': 0.16; 'syntaxerror:': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'header:In- Reply-To:1': 0.27; 'am,': 0.29; 'unix': 0.29; 'message- id:@mail.gmail.com': 0.30; 'file': 0.32; 'supposed': 0.32; 'checking': 0.33; 'guess': 0.33; 'sense': 0.34; 'equal': 0.35; 'received:google.com': 0.35; 'error.': 0.37; 'to:addr:python- list': 0.38; 'to:addr:python.org': 0.39; 'dave': 0.60; 'most': 0.60; 'invalid': 0.68; 'angel': 0.91; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=4xVoK0dKzze0tPLuecoT0vSsJNSPHKyPcSSF5x3Qve0=; b=bvb+VLgIbATBYQb1b1F4pNxCM/I3Y/tb2zckfpaB6kIKm49RAOVR6lIgA/ZFrqbrNH 5dbDr7q9XrVhLZrozOEZsXb2KI65mRCuWlDaNyGrujgUVGzKdeIkg1mu7i58wtuSftbE grzRK89MaZfIln/s9F6m/Kf7Fe7BNOZDoAUuAmsuMxyBnhJewiUTUct4zb9iQksxrgDk qrQPfPCe6Q9ut8uf3DzIE3982DOXXxgQQGmLf3vga6z3mtPi5eUXgID8vtbisT78kJzd z2yai2Meyr1Jow3a/c6dlkDt+2XKgVDdtNW69L6KsWscyMZzR7ccCBk4F4NWf1oyIyrg pKpQ== |
| MIME-Version | 1.0 |
| X-Received | by 10.58.56.161 with SMTP id b1mr35441939veq.42.1367336951650; Tue, 30 Apr 2013 08:49:11 -0700 (PDT) |
| In-Reply-To | <517FE68A.1000703@davea.name> |
| References | <ad277b74-0fbd-456d-915e-e87743dc16df@googlegroups.com> <517FE68A.1000703@davea.name> |
| Date | Wed, 1 May 2013 01:49:11 +1000 |
| Subject | Re: shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error. |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| 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 | <http://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 | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1182.1367336960.3114.python-list@python.org> (permalink) |
| Lines | 19 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1367336960 news.xs4all.nl 15956 [2001:888:2000:d::a6]:50384 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:44548 |
Show key headers only | View raw
On Wed, May 1, 2013 at 1:43 AM, Dave Angel <davea@davea.name> wrote: > On 04/30/2013 11:27 AM, tromeo@mdlogix.com wrote: >> >> >> Please help me to debug >> >> ------- >> shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) >> ^ >> SyntaxError: invalid syntax >> > > 0o666 is indeed a syntax error. What is that value supposed to be? If it's > intended to be an int that's equal to octal 666, just use 438 Without checking docs, I would guess that to be Unix file permissions, which make most sense in octal. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error. tromeo@mdlogix.com - 2013-04-30 08:27 -0700
Re: shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error. Joel Goldstick <joel.goldstick@gmail.com> - 2013-04-30 11:36 -0400
Re: shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error. Chris Angelico <rosuav@gmail.com> - 2013-05-01 01:37 +1000
Re: shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error. Tony Romeo <tromeo@mdlogix.com> - 2013-04-30 08:52 -0700
Re: shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error. Chris Angelico <rosuav@gmail.com> - 2013-05-01 01:58 +1000
Re: shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error. Dave Angel <davea@davea.name> - 2013-04-30 11:43 -0400
Re: shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error. Chris Angelico <rosuav@gmail.com> - 2013-05-01 01:49 +1000
Re: shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error. Dave Angel <davea@davea.name> - 2013-04-30 11:58 -0400
Re: shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error. Chris Angelico <rosuav@gmail.com> - 2013-05-01 02:06 +1000
Re: shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error. Tony Romeo <tromeo@mdlogix.com> - 2013-04-30 11:10 -0700
Re: shmid = shmget(SHM_KEY, SHM_SIZE, 0o666) - syntax error. Chris Angelico <rosuav@gmail.com> - 2013-05-01 07:51 +1000
csiph-web