Issue 23274: make_ssl_data.py in Python 2.7.9 needs Python 3 to run (original ) (raw )Created on 2015-01-19 17:59 by schlenk , last changed 2022-04-11 14:58 by admin . This issue is now closed .
Messages (5)
msg234320 - (view)
Author: Michael Schlenker (schlenk)
Date: 2015-01-19 17:59
The make_ssl_data.py script in Tools/ssl/ needs a python3 to run due to the usage of open(..., encoding='latin1'). This makes usage on a host without python3 installed more complex than needed. It should use io.open(...) to run on both python3 and python2.
msg234321 - (view)
Author: Antoine Pitrou (pitrou) *
Date: 2015-01-19 18:08
That shouldn't be very important. The already-generated _ssl_data.h in the distribution should be enough.
msg234322 - (view)
Author: Michael Schlenker (schlenk)
Date: 2015-01-19 18:21
yes, priority is probably low. Just stumbled over it when building against openssl 1.0.1L and trying to regen the datafile automatically in a build script.
msg234323 - (view)
Author: Antoine Pitrou (pitrou) *
Date: 2015-01-19 18:34
Yesterday I've regenerated _ssl_data.h with the latest OpenSSL git, so that should suit you. Be sure to update your hg clone of Python.
msg275042 - (view)
Author: Christian Heimes (christian.heimes) *
Date: 2016-09-08 15:13
It's 2016. Everybody should have a host with Python 3. In fact it's more likely that your machine doesn't have 2.7.
History
Date
User
Action
Args
2022-04-11 14:58:12
admin
set
github: 67463
2016-09-08 15:13:23
christian.heimes
set
status: open -> closednosy: + christian.heimes messages: + resolution: wont fix
2015-01-19 18:34:50
pitrou
set
messages: +
2015-01-19 18:21:44
schlenk
set
messages: + versions: + Python 2.7
2015-01-19 18:08:51
pitrou
set
nosy: + alex , pitrou messages: +
2015-01-19 17:59:46
schlenk
create