Incredibly:
./configure --with-ssl=/usr/include/openssl/
Made the trick!!
Although --with-ssl is not documented in ./configure --help.
Cheers,
Felix.
--
https://mail.python.org/mailman/listinfo/python-list
Hello:
I'm trying to install python3.7.2 from source in debian9.8 but it doesn't
compile with SSL.
I already installed openssl
And ./configure -with-openssl=/usr/include/openssl/ yields:
checking for openssl/ssl.h in /usr/include/openssl/... no
and ssl.h is certainly in /usr/in
-Mensaje original-
De: Python-list [mailto:python-list-bounces+felix=epepm.cupet...@python.org]
En nombre de Grant Edwards
Enviado el: lunes, 11 de febrero de 2019 02:46 p.m.
Para: python-list@python.org
Asunto: Re: more pythonic way
On 2019-02-11, Felix Lazaro Carbonell wrote
Sorry I meant
..
def find_monthly_expenses(month=None, year=None):
month = month or datetime.date.today().month
..
Or it should better be:
...
if not month:
month = datetime.date.today().month
..
Cheers,
Felix.
--
https://mail.python.org/mailman
Hello to everyone:
Could you please tell me wich way of writing this method is more pythonic:
..
def find_monthly_expenses(month=None, year=None):
month = month or datetime.date.today()
..
Or it should better be:
...
if not month:
month = datetime.d