Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #89914

Re: Cannot update OpenSSL for Python3

Path csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed1a.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.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'warnings': 0.04; 'error:': 0.07; 'meantime,': 0.09; 'mixed': 0.09; 'override': 0.09; 'subject:Python3': 0.09; 'subject:update': 0.09; 'cc:addr:python- list': 0.11; 'python': 0.11; 'bug': 0.12; 'complaining': 0.16; 'declarations': 0.16; 'forbids': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'parameter:': 0.16; 'skip:[ 30': 0.16; 'wrote:': 0.18; 'skip:p 40': 0.19; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'errors': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; '(possibly': 0.31; 'about.': 0.31; 'stuff': 0.32; 'running': 0.33; 'case,': 0.35; 'received:google.com': 0.35; 'being': 0.38; 'mine': 0.38; 'sure': 0.39; 'simply': 0.61; '2015': 0.84; 'yours': 0.88; 'to:none': 0.92
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:cc :content-type; bh=mOKxGWQT9sGQV3VQ96GAhj5Ga5Sj520p7bZVvXkESH0=; b=X0PUXDwUEksnwBFUMrz2j52zwOVNkRLwz2jfnl+HXWS9SLr9EamFIF/kFUDsab+kbP y5E4AJPPJk3uV5PHBK6+75licE1pxbZC2a7/L+Ayh8o5MnEgPlZzpwOkRngh9iyD6Pgb vqCqg59biBjlbBNbRRqdIZe7lGwvgmliLDQyxXIgioD6n34AKQq6xXWBfmijmQwY4cDd e8uw5PJC/DcvmPCD9kt2BuOp456TnJqNQPU16Qci670pYY0BmA5WufGjQiTI6H988NDt U8AoXLiI56unrAIXzJny1SOkZKgurmw3ptrXjmAiT4vFot6rrJQjWvBo5P9wOQhHQJrx JU4Q==
MIME-Version 1.0
X-Received by 10.50.176.137 with SMTP id ci9mr14171309igc.2.1430755418047; Mon, 04 May 2015 09:03:38 -0700 (PDT)
In-Reply-To <87vbg8idhk.fsf@Equus.decebal.nl>
References <87k2wok9bz.fsf@Equus.decebal.nl> <mailman.80.1430734238.12865.python-list@python.org> <878ud4k270.fsf@Equus.decebal.nl> <mailman.84.1430741703.12865.python-list@python.org> <874mnsjxju.fsf@Equus.decebal.nl> <mailman.89.1430749136.12865.python-list@python.org> <87vbg8idhk.fsf@Equus.decebal.nl>
Date Tue, 5 May 2015 02:03:37 +1000
Subject Re: Cannot update OpenSSL for Python3
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
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.94.1430755420.12865.python-list@python.org> (permalink)
Lines 16
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1430755420 news.xs4all.nl 2857 [2001:888:2000:d::a6]:40192
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:89914

Show key headers only | View raw


On Tue, May 5, 2015 at 1:11 AM, Cecil Westerhof <Cecil@decebal.nl> wrote:
> Now I get:
>     c/../_cffi1/ffi_obj.c:489:5: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
>          PyObject *u = PyUnicode_DecodeLatin1(PyBytes_AS_STRING(res),
>          ^
>     cc1: some warnings being treated as errors

Interesting. I'm not sure why yours is complaining about that; mine
doesn't. (Possibly because I'm running Python 3.5, and stuff may have
been changed.) In any case, this would be a reasonable thing to make a
bug report about. In the meantime, you can simply override that
warning-equals-error parameter:

http://stackoverflow.com/questions/25587039/error-compiling-rpy2-on-python3-4-due-to-werror-declaration-after-statement

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Cannot update OpenSSL for Python3 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-04 10:58 +0200
  Re: Cannot update OpenSSL for Python3 Chris Angelico <rosuav@gmail.com> - 2015-05-04 20:10 +1000
    Re: Cannot update OpenSSL for Python3 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-04 13:32 +0200
      Re: Cannot update OpenSSL for Python3 Chris Angelico <rosuav@gmail.com> - 2015-05-04 22:14 +1000
        Re: Cannot update OpenSSL for Python3 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-04 15:13 +0200
          Re: Cannot update OpenSSL for Python3 Chris Angelico <rosuav@gmail.com> - 2015-05-05 00:18 +1000
            Re: Cannot update OpenSSL for Python3 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-04 17:11 +0200
              Re: Cannot update OpenSSL for Python3 Chris Angelico <rosuav@gmail.com> - 2015-05-05 02:03 +1000
                Re: Cannot update OpenSSL for Python3 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-04 19:19 +0200
                Re: Cannot update OpenSSL for Python3 Chris Angelico <rosuav@gmail.com> - 2015-05-05 03:49 +1000
                Re: Cannot update OpenSSL for Python3 Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2015-05-04 21:02 +0200
                Re: Cannot update OpenSSL for Python3 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-04 21:52 +0200
                Re: Cannot update OpenSSL for Python3 Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2015-05-04 23:59 +0200
              Re: Cannot update OpenSSL for Python3 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-04 19:04 +0100
                Re: Cannot update OpenSSL for Python3 Cecil Westerhof <Cecil@decebal.nl> - 2015-05-04 21:54 +0200
  Re: Cannot update OpenSSL for Python3 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-05-04 21:38 +0100

csiph-web