This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: make_ssl_data.py in Python 2.7.9 needs Python 3 to run
Type: enhancement Stage:
Components: Demos and Tools Versions: Python 2.7
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: alex, christian.heimes, pitrou, schlenk
Priority: normal Keywords:

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) * (Python committer) 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) * (Python committer) 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) * (Python committer) 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:12adminsetgithub: 67463
2016-09-08 15:13:23christian.heimessetstatus: open -> closed

nosy: + christian.heimes
messages: + msg275042

resolution: wont fix
2015-01-19 18:34:50pitrousetmessages: + msg234323
2015-01-19 18:21:44schlenksetmessages: + msg234322
versions: + Python 2.7
2015-01-19 18:08:51pitrousetnosy: + alex, pitrou
messages: + msg234321
2015-01-19 17:59:46schlenkcreate