Package Details: python34 3.4.4-2

Git Clone URL: https://aur.archlinux.org/python34.git (read-only)
Package Base: python34
Description: Major release 3.4 of the Python high-level programming language
Upstream URL: http://www.python.org/
Licenses: custom
Submitter: rami
Maintainer: rami
Last Packager: rami
Votes: 10
Popularity: 0.945852
First Submitted: 2015-10-02 11:14
Last Updated: 2016-03-10 19:18

Latest Comments

rami commented on 2016-03-10 19:19

I added the flag krumelmonster suggested. The patch from the python32 package can not be exactly applied to Python 3.4 as it seems. If this solution is not sufficient for anyone I'm happy for any suggestions.

krumelmonster commented on 2016-03-08 19:57

A simple CFLAGS=-DOPENSSL_NO_SSL2 ./configure … worked for me and as I understand it, OPENSSL_NO_SSL2 is exactly what we want.

hobarrera commented on 2016-03-08 17:41

python32 includes a patch for this, python34 probably needs it too:
https://aur.archlinux.org/cgit/aur.git/commit/?h=python32&id=5170ebf2319e761c229fe8f029760722954189a6

krumelmonster commented on 2016-03-08 17:18

SSLv2 is (by default) disabled from OpenSSL 1.0.2g onwards
https://www.openssl.org/news/openssl-1.0.2-notes.html
So we need a -DOPENSSL_NO_SSL2
https://bugs.python.org/issue12012
Or this will happen:
$ python3.4 -c "import ssl"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.4/ssl.py", line 97, in <module>
import _ssl # if we can't import it, let the error propagate
ImportError: /usr/lib/python3.4/lib-dynload/_ssl.cpython-34m.so: undefined symbol: SSLv2_method

Also, I'm wondering if it is a bug in the core/openssl package that SSLv2_method is declared in /usr/include/openssl/ssl.h (It feels wrong to get undefined symbols at runtime)