[issue24658] open().write() fails on 2 GB+ data (OS X)

2017-05-22 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: 1. in the case of Windows, maybe we could open a new issue because this fix is only for MacOS 2. the issue was only for the files and not the sockets what do you suggest ? -- ___ Python tracker <h

[issue30433] Devguide lacks instructions for building docs

2017-05-22 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hello, Are you sure about the PR ? -- nosy: +matrixise ___ Python tracker <http://bugs.python.org/issue30433> ___ ___ Pytho

[issue28707] add 'directory' option to the http.server module

2017-05-23 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +1856 ___ Python tracker <http://bugs.python.org/issue28707> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28707] add 'directory' option to the http.server module

2017-05-23 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Victor, I have added the documentation, but for the unit test, there is already a test with the SimpleHTTPRequestHandler class where they specify the cwd attribute, because the code of mdk does not change the behavior, I think it's not needed to wr

[issue28707] add 'directory' option to the http.server module

2017-05-23 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: and of course, sorry for this big delay. -- ___ Python tracker <http://bugs.python.org/issue28707> ___ ___ Python-bugs-list m

[issue27728] HTTPConnection.requests has a mutable as default value for headers

2017-05-24 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- resolution: -> not a bug ___ Python tracker <http://bugs.python.org/issue27728> ___ ___ Python-bugs-list mailing list Un

[issue27728] HTTPConnection.requests has a mutable as default value for headers

2017-05-24 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- stage: patch review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.org/issue27728> ___ ___ Pyth

[issue30455] Generate C code from token.py and not vice versa

2017-05-24 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I can work on it -- nosy: +matrixise ___ Python tracker <http://bugs.python.org/issue30455> ___ ___ Python-bugs-list mailin

[issue30394] smtplib leaves open sockets around if SMTPConnectError is raised in __init__

2017-05-24 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +1872 ___ Python tracker <http://bugs.python.org/issue30394> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30394] smtplib leaves open sockets around if SMTPConnectError is raised in __init__

2017-05-24 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +1870 ___ Python tracker <http://bugs.python.org/issue30394> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30394] smtplib leaves open sockets around if SMTPConnectError is raised in __init__

2017-05-24 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +1871 ___ Python tracker <http://bugs.python.org/issue30394> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25571] Improve the lltrace feature with the Py_Debug mode

2017-05-24 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: @haypo, you told me there is an alternative to my patch, provided by an other dev. what's the bpo issue for the alternative. -- ___ Python tracker <http://bugs.python.org/is

[issue28647] python --help: -u is misdocumented as binary mode

2017-05-24 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +1879 ___ Python tracker <http://bugs.python.org/issue28647> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28647] python --help: -u is misdocumented as binary mode

2017-05-24 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +1880 ___ Python tracker <http://bugs.python.org/issue28647> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30178] Indent methods and attributes of MimeTypes class

2017-05-24 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +1884 ___ Python tracker <http://bugs.python.org/issue30178> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30547] [EASY][Windows] SubinterpreterTest.test_callbacks_leak() of test_atexit leaks references

2017-06-02 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: this issue can be executed on Linux, I think I am going to work on this one. -- nosy: +matrixise ___ Python tracker <http://bugs.python.org/issue30

[issue30547] [EASY][Windows] SubinterpreterTest.test_callbacks_leak() of test_atexit leaks references

2017-06-08 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +2059 ___ Python tracker <http://bugs.python.org/issue30547> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30547] [EASY][Windows] SubinterpreterTest.test_callbacks_leak() of test_atexit leaks references

2017-06-08 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I have pushed a PR, if you can check it. Thanks -- ___ Python tracker <http://bugs.python.org/issue30547> ___ ___ Python-bug

[issue18520] Fixes bugs found by pyfailmalloc during Python initialization

2017-06-08 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +2060 ___ Python tracker <http://bugs.python.org/issue18520> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22257] PEP 432: Redesign the interpreter startup sequence

2017-06-08 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +2061 ___ Python tracker <http://bugs.python.org/issue22257> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30547] [Windows] SubinterpreterTest.test_callbacks_leak() of test_atexit leaks references

2017-06-08 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: 3.6 is not affected by this issue. -- ___ Python tracker <http://bugs.python.org/issue30547> ___ ___ Python-bugs-list mailin

[issue30599] os.register_at_fork(): allow to unregister callbacks -- test_threaded_import leaks references

2017-06-08 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- nosy: +matrixise ___ Python tracker <http://bugs.python.org/issue30599> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27321] Email parser creates a message object that can't be flattened

2017-06-08 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- stage: needs patch -> patch review ___ Python tracker <http://bugs.python.org/issue27321> ___ ___ Python-bugs-list mai

[issue27321] Email parser creates a message object that can't be flattened

2017-06-08 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: maybe we could merge the PR, and I could propose a backport for 3.5 and 3.6. 2.7 is affected ? -- nosy: +matrixise ___ Python tracker <http://bugs.python.org/issue27

[issue27321] Email parser creates a message object that can't be flattened

2017-06-08 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: ok, I have tested on 3.6 and 3.5, just with the test. and in this case, we get the errors on both. if we apply the patch of Johannes, the test passes and there is no issues. +1 the backports for 3.5 and 3.6 is just a git cherry-picking

[issue19180] some RFC references could be updated

2017-06-09 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: The associated PR has been reviewed and could be merged. -- nosy: +matrixise ___ Python tracker <http://bugs.python.org/issue19

[issue30610] Python's libexpat vulnerable to CVE-2016-0718

2017-06-09 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +2087 ___ Python tracker <http://bugs.python.org/issue30610> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30610] Python's libexpat vulnerable to CVE-2016-0718

2017-06-09 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- versions: +Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7 ___ Python tracker <http://bugs.python.org/issue30

[issue30610] Python's libexpat vulnerable to CVE-2016-0718

2017-06-09 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I have checked in 3.4, 3.5 and 3.6, it's the version 2.1.1 excepted for 2.7, 3.3 it's the version 2.1.0 -- nosy: +matrixise ___ Python tracker <http://bugs.python.o

[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-06-09 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +2090 ___ Python tracker <http://bugs.python.org/issue29478> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-06-09 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +2091 ___ Python tracker <http://bugs.python.org/issue29478> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30610] Python's libexpat vulnerable to CVE-2016-0718

2017-06-09 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Yep, it's similar -- ___ Python tracker <http://bugs.python.org/issue30610> ___ ___ Python-bugs-list mailing list Unsubscr

[issue30614] [EASY][2.7] testInitNonExistentFile() of test_bz2 leaks references

2017-06-09 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +2097 ___ Python tracker <http://bugs.python.org/issue30614> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30614] [EASY][2.7] testInitNonExistentFile() of test_bz2 leaks references

2017-06-09 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +2098 ___ Python tracker <http://bugs.python.org/issue30614> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30635] Leak in test_c_locale_coercion

2017-06-12 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- nosy: +ncoghlan ___ Python tracker <http://bugs.python.org/issue30635> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30635] Leak in test_c_locale_coercion

2017-06-12 Thread Stéphane Wirtel
New submission from Stéphane Wirtel: ./python -m test -R 3:3 test_c_locale_coercion -m test_external_target_locale_configuration Mon 12 Jun 2017 10:57:14 AM CEST Run

[issue30636] Add PYTHONCOERCECLOCALE to the help of the command line

2017-06-12 Thread Stéphane Wirtel
New submission from Stéphane Wirtel: Add the description of PYTHONCOERCECLOCALE in the command line. -- messages: 295763 nosy: matrixise, ncoghlan priority: normal severity: normal status: open title: Add PYTHONCOERCECLOCALE to the help of the command line versions: Python 3.7

[issue30636] Add PYTHONCOERCECLOCALE to the help of the command line

2017-06-12 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +2179 ___ Python tracker <http://bugs.python.org/issue30636> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30615] [EASY][2.7] test_recursive_repr() of test_xml_etree_c leaks references

2017-06-12 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +2183 ___ Python tracker <http://bugs.python.org/issue30615> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30636] Add PYTHONCOERCECLOCALE to the help of the command line

2017-06-12 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: yep, I see that, I fix it asap -- ___ Python tracker <http://bugs.python.org/issue30636> ___ ___ Python-bugs-list mailin

[issue30636] Add PYTHONCOERCECLOCALE to the help of the command line

2017-06-12 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +2185 ___ Python tracker <http://bugs.python.org/issue30636> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30615] [EASY][2.7] test_recursive_repr() of test_xml_etree_c leaks references

2017-06-12 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.org/issue30615> ___ ___ Python-bugs-list

[issue35886] Move PyInterpreterState into Include/internal/pycore_pystate.h

2019-02-26 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: @nick which indirectly broke httpbin and this one is used by python-requests and we can't execute the tests of requests. -- nosy: +matrixise ___ Python tracker <https://bugs.python.org/is

[issue35886] Move PyInterpreterState into Include/internal/pycore_pystate.h

2019-02-26 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: @arigo Yep, I am interested because I would like to execute the tests of the major projects/libraries (django, flasks, pandas, requests, ...) and create issues for the maintainer. the sooner we get feedback, the sooner we can fix the bugs

[issue36132] Python cannot access hci_channel field in sockaddr_hci

2019-02-27 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Thank you, I have changed the related versions of Python to 3.8 because it's a new feature and the other releases are in security mode or bugfix mode. -- nosy: +matrixise versions: -Python 2.7, Python 3.4, Python 3.5, Python 3.6, Pytho

[issue36135] altinstall error Makefile:1140: recipe for target 'altinstall' failed

2019-02-27 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: fix your compilation with the zlib headers zipimport.ZipImportError: can't decompress data; zlib not available not related to python itself. -- nosy: +matrixise resolution: -> rejected stage: -> resolved status: ope

[issue13850] Summary tables for argparse add_argument options

2019-02-27 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +12090 ___ Python tracker <https://bugs.python.org/issue13850> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36137] SSL verification fails for some sites inside windows docker container

2019-02-27 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I can't reproduce it with python 3.8a2 and I don't have a laptop with Windows. -- nosy: +matrixise ___ Python tracker <https://bugs.python.o

[issue36137] SSL verification fails for some sites inside windows docker container

2019-02-27 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: sure, I have just confirmed that this error does not occur with the last python 3.8a2 and that I don't have a Windows system for an eventual debugging session. -- ___ Python tracker <https://bugs.py

[issue13850] Summary tables for argparse add_argument options

2019-02-27 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: just for 2.7, 3.7 & 3.8 because they are in bugfix mode. -- versions: +Python 3.7, Python 3.8 -Python 3.4, Python 3.5 ___ Python tracker <https://bugs.python.org/iss

[issue13850] Summary tables for argparse add_argument options

2019-02-28 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi @Raymond, Yep, I understand about the "look", I have seen the result after the build of the doc but the patch was like that and I did not want to change the initial patch. Would you suggest one layout and I could update the PR

[issue36019] test_urllib fail in s390x buildbots: http://www.example.com/

2019-03-04 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: sure, I will do the backport tomorrow. thanks for the notif -- ___ Python tracker <https://bugs.python.org/issue36019> ___ ___

[issue36019] test_urllib fail in s390x buildbots: http://www.example.com/

2019-03-04 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Victor, For the backport, should I add support.TEST_HTTP_URL? -- ___ Python tracker <https://bugs.python.org/issue36

[issue36192] Usage of `tmpnam_r` and `tempname` is dangerous, better use `mkstemp`

2019-03-05 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : Hi, I got these warning messages /usr/bin/ld: libpython2.7.a(posixmodule.o): in function `posix_tmpnam': /home/stephane/src/github.com/python/cpython/./Modules/posixmodule.c:7648: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp

[issue36192] Usage of `tmpnam_r` and `tempname` is dangerous, better use `mkstemp`

2019-03-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: yep, sure and there is a RuntimeWarning exception (tmpnam is a potential security risk to your program) when we want to use os.tmpnam(). And in the doc, there is a warning section. Ok, I close this issue. -- stage: -> resolved status: o

[issue36019] test_urllib fail in s390x buildbots: http://www.example.com/

2019-03-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Victor, Should I also fix these tests: test_urllibnet.py::urlretrieveNetworkTests.test_specified_path test_urllibnet.py::urlretrieveNetworkTests.test_header test_urllibnet.py::urlopenNetworkTests.test_fileno

[issue36019] test_urllib fail in s390x buildbots: http://www.example.com/

2019-03-05 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +12172 ___ Python tracker <https://bugs.python.org/issue36019> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36197] Compilation Warning for memoryview.tobytes

2019-03-05 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : gcc -pthread -c -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -g -Og -Wall-std=c99 -Wextra -Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -I./Include/internal -I. -I

[issue36197] Compilation Warning for memoryview.tobytes

2019-03-05 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +12174 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36197> ___ ___ Py

[issue36197] Compilation Warning for memoryview.tobytes

2019-03-05 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +easy (C) ___ Python tracker <https://bugs.python.org/issue36197> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36197] Compilation Warning for memoryview.tobytes and _collections._tuplegetter.__reduce__

2019-03-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Fix an other warning in the same PR _collections._tuplegetter.__reduce__ -- title: Compilation Warning for memoryview.tobytes -> Compilation Warning for memoryview.tobytes and _collections._tuplegetter.__reduc

[issue33012] Invalid function cast warnings with gcc 8 for METH_NOARGS

2019-03-05 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +12175 ___ Python tracker <https://bugs.python.org/issue33012> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36195] initializer is not a valid param in ThreadPoolExecutor

2019-03-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: ok, I was working on a PR for this issue. but I am going to classify it as easy. -- nosy: +matrixise ___ Python tracker <https://bugs.python.org/issue36

[issue36195] initializer is not a valid param in ThreadPoolExecutor

2019-03-05 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +easy ___ Python tracker <https://bugs.python.org/issue36195> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36195] initializer is not a valid param in ThreadPoolExecutor

2019-03-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: harman786 good luck for your PR, if you need a review. Have a nice day, -- ___ Python tracker <https://bugs.python.org/issue36

[issue36197] Compilation Warning for memoryview.tobytes and _collections._tuplegetter.__reduce__

2019-03-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi @serhiy, Thank you for your PR, I prefer your patch, just because you have just added the PyObject *Py_UNUSED(ignored) to the tuplegetter_reduce function. And in this case, you don't need to cast to (void(*)(void)). I will use this tip for the next

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-03-05 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: ./python -m test -W -u network -j0 -r -F test_asyncio ERROR: test_start_tls_server_1 (test.test_asyncio.test_sslproto.SelectorStartTLSTests) -- Traceback (most recent call last): File

[issue36209] [EASY Doc] Typo in hashlib error message

2019-03-06 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Thank you @eamanu. -- keywords: -patch nosy: +matrixise stage: patch review -> ___ Python tracker <https://bugs.python.org/issu

[issue36211] show full url when execute "make -C Doc/ serve"

2019-03-06 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : If we want to check the result of the compilation for the documentation, we can use open build/html or make serve ./configure --prefix=$PWD/build make -j 4 make PYTHON=../python -C Doc venv make PYTHON=../python -C Doc html serve Here is the current

[issue36211] show full url when execute "make -C Doc/ serve"

2019-03-06 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +12191 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36211> ___ ___ Py

[issue34711] Lib/http/server.py: Return HTTPStatus.NOT_FOUND if path.endswith(/) and not a directory

2019-03-11 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Michael, I think no, because 3.6 is in security mode. -- nosy: +matrixise versions: -Python 3.6 ___ Python tracker <https://bugs.python.org/issue34

[issue34160] ElementTree not preserving attribute order

2019-03-15 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +12319 ___ Python tracker <https://bugs.python.org/issue34160> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34160] ElementTree not preserving attribute order

2019-03-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Diego, Victor indicates that we could propose an option to the user ``` * I cannot see the change documented anywhere in https://docs.python.org/dev/whatsnew/3.8.html * I don't see any simple workaround. It would be nice to add an opt-in option to

[issue36307] Upgrade Travis CI config to Xenial from near-EoL Trusty and remove obsolete sudo: false key

2019-03-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi @CAM, do you have a pointer about the deprecated/removed feature in Travis? Thank you -- nosy: +matrixise ___ Python tracker <https://bugs.python.org/issue36

[issue22166] test_codecs leaks references

2019-03-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: For 3.7 and 3.8, I have just tried with this command to find leaks in the test_codec* but nothing :/ ./python -m test -v -l -R 6:6 -u all \ test_codecencodings_iso2022 \ test_codecs \ test_codecmaps_hk test_codecmaps_tw

[issue36308] Fix warning in _PyPathConfig_ComputeArgv0

2019-03-15 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : Python/pathconfig.c: In function '_PyPathConfig_ComputeArgv0': Python/pathconfig.c:615:26: warning: 'argv0' may be used uninitialized in this function [-Wmaybe-uninitialized] wchar_t *q

[issue36308] Fix warning in _PyPathConfig_ComputeArgv0

2019-03-15 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +12324 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36308> ___ ___ Py

[issue36308] Fix warning in _PyPathConfig_ComputeArgv0

2019-03-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: @vstinner I just initialized argv0 to NULL but the wcsrchr could generate a SIGSEGV. What do you suggest for the initial value of argv0? try to detect the sys.executable and use it for argv0? -- stage: patch review

[issue36211] show full url when execute "make -C Doc/ serve"

2019-03-15 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- nosy: +Mariatta, mdk ___ Python tracker <https://bugs.python.org/issue36211> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34464] There are inconsitencies in the treatment of True, False, None, and __debug__ keywords in the docs

2019-03-15 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: @serhiy The issue about the assigment operator is closed https://bugs.python.org/issue36052 could we close this issue? thank you -- ___ Python tracker <https://bugs.python.org/issue34

[issue36291] [2.7] Coverity Scan: Modules/_json.c: leaked_storage: Variable "numstr" going out of scope leaks the storage it points to.

2019-03-15 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- assignee: matrixise -> ___ Python tracker <https://bugs.python.org/issue36291> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue14189] Documentation for some C APIs is missing clear specification of the type of reference they return

2019-03-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I would like to work on this issue. -- nosy: +matrixise versions: +Python 3.8 -Python 2.7 ___ Python tracker <https://bugs.python.org/issue14

[issue34160] ElementTree not preserving attribute order

2019-03-16 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: @scoder ok, we can close my PR and I will submit a patch to docutils. -- ___ Python tracker <https://bugs.python.org/issue34

[issue19415] test_gdb fails when using --without-doc-strings on Fedora 19

2019-03-17 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: @Nick, I have tested with the last 3.8 and 3.7 and Fedora 29. ./configure --without-doc-strings > /dev/null ;and make -j 4 > /dev/null ;and ./python -m test -W test_gdb Run tests sequentially 0:00:00 load avg: 1.49 [1/1] test_gdb test_gdb passed in

[issue36328] tstate may be used uninitialized in Py_NewInterpreter

2019-03-17 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : I get this warning when I compile python without the --with-pydebug flag. Python/pylifecycle.c: In function 'Py_NewInterpreter': Python/pylifecycle.c:1442:12: warning: 'tstate' may be used uninitialized in this function [-Wmaybe-uninit

[issue36328] tstate may be used uninitialized in Py_NewInterpreter

2019-03-17 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +12339 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36328> ___ ___ Py

[issue36308] Fix warning in _PyPathConfig_ComputeArgv0

2019-03-17 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- nosy: +serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue36308> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36329] use the right python "make -C Doc/ serve"

2019-03-17 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- assignee: -> docs@python components: +Documentation nosy: +docs@python ___ Python tracker <https://bugs.python.org/issu

[issue36329] use the right python "make -C Doc/ serve"

2019-03-17 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : When serving the documentation with `make -C Doc/ serve`, we can not specify the path of the python binary. My use case, I wanted to debug the wsgiref.simple_server method, used by Tools/scripts/serve.py. It's just impossible because we use the de

[issue36329] use the right python "make -C Doc/ serve"

2019-03-17 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +12342 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36329> ___ ___ Py

[issue36330] Warning about a potential dead code in timemodule and Clang

2019-03-17 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : env CC="/usr/bin/clang" CCX="/usr/bin/clang" ./configure > /dev/null ;and make -j 4 > /dev/null ./Modules/timemodule.c:113:13: warning: code will never be executed [-Wunreachable-code] PyErr_Set

[issue36330] Warning about a potential dead code in timemodule and Clang

2019-03-17 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Paul, Thank you for your explanation, I was not sure about the solution and I have just preferred to publish this issue. I don't have this issue with gcc, only with clang. -- ___ Python tracker &

[issue36333] memory leaks detected with valgrind for python -V

2019-03-17 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : I have detected 3 memory leaks when I execute python -V with valgrind -> 162 bytes. The leaks do seem to be in pymain_init and in _PyPreConfig_ReadFromArgv (the string for the locale is not freed). Also _PyRuntimeState_Fini does not release the memory

[issue36333] memory leaks detected with valgrind for python -V

2019-03-17 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: The report of valgrind with no leaks. -- Added file: https://bugs.python.org/file48214/valgrind-without-memory-leak.log ___ Python tracker <https://bugs.python.org/issue36

[issue36333] memory leaks detected with valgrind for python -V

2019-03-17 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue36333> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36333] memory leaks detected with valgrind for python -V

2019-03-17 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +12345 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36333> ___ ___ Py

[issue36333] memory leaks detected with valgrind for python -V

2019-03-17 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: @vstinner I ping you because you are the main author for the new changes in the interpreter and the PyPreConfig part. -- nosy: +vstinner ___ Python tracker <https://bugs.python.org/issue36

[issue36336] test_httplib, test_multiprocessing_forkserver leaks on x86 Gentoo

2019-03-18 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : See this build report: https://buildbot.python.org/all/#/builders/72/builds/523 test_multiprocessing_forkserver leaked [1, 1, 1] memory blocks, sum=3 test_httplib leaked [1, 1, 1] memory blocks, sum=3 Re-running failed tests in verbose mode Re-running test

[issue36336] test_httplib, test_multiprocessing_forkserver leaks on x86 Gentoo

2019-03-18 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I have tested on my laptop (fedora 29) and I can't reproduce these memory leaks. I suppose we can not debug on the builder... -- ___ Python tracker <https://bugs.python.org/is

[issue36338] urlparse of urllib returns wrong hostname

2019-03-18 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I can confirm with 3.7.2 on fedora 29 -- nosy: +matrixise, orsenthil ___ Python tracker <https://bugs.python.org/issue36

<    1   2   3   4   5   6   7   8   9   10   >