[issue33165] Add stacklevel parameter to logging APIs

2019-12-27 Thread Evandro Coan


Change by Evandro Coan :


--
pull_requests: +17159
pull_request: https://github.com/python/cpython/pull/17714

___
Python tracker 
<https://bugs.python.org/issue33165>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35893] distutils fails to build extension on windows when it is a package.__init__

2019-05-18 Thread Evandro Coan


Evandro Coan  added the comment:

It is missing the import on:

#START
from distutils.command import build_ext

def get_export_symbols(self, ext):
parts = ext.name.split(".")
print('parts', parts)
if parts[-1] == "__init__":
initfunc_name = "PyInit_" + parts[-2]
else:
initfunc_name = "PyInit_" + parts[-1]

build_ext.build_ext.get_export_symbols = get_export_symbols
#END

--
nosy: +evandrocoan

___
Python tracker 
<https://bugs.python.org/issue35893>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com