[issue33700] [doc] Old version picker don't understand language tags in URL

2018-05-31 Thread Julien Palard
Julien Palard added the comment: Hi Larry, bringing you in, I'd like your word on this. -- nosy: +larry ___ Python tracker ___ ___

[issue33706] Segfault in command line processing due to buffer over-read

2018-05-31 Thread Christoph Gohlke
Change by Christoph Gohlke : -- type: -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue33706] Segfault in command line processing due to buffer over-read

2018-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- components: +Interpreter Core nosy: +vstinner priority: normal -> critical versions: +Python 3.8 ___ Python tracker ___

[issue33677] Fix signatures of tp_clear handlers

2018-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset db1074244d2c12961799f6f9353ae191f59cc497 by Serhiy Storchaka in branch '2.7': [2.7] bpo-33677: Fix the signature of tp_clear handler for deque. (GH-7196). (GH-7277) https://github.com/python/cpython/commit/db1074244d2c12961799f6f9353ae191f59c

[issue33677] Fix signatures of tp_clear handlers

2018-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33479] Document tkinter and threads

2018-05-31 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: @markroseman I'm about 50% okay with your changes. Could you create a PR against my branch so we can work out the specifics? -- ___ Python tracker ___

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Did your PR fix the issue? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue29272] test_logging hangs if /etc/hosts only aliases "localhost" to ::1

2018-05-31 Thread KMiNT21
KMiNT21 added the comment: The same bug for me: 3.6.5 and 3.6.4 -hangs on test_logging forever. Thanks to this report - I've commented some lines in /etc/host and after 'test_logging' passed OK! -- nosy: +KMiNT21 ___ Python tracker

[issue33698] `._pth` does not allow to populate `sys.path` with empty entry

2018-05-31 Thread Vladimir Chebotarev
Vladimir Chebotarev added the comment: Unfortunately this is not true: "Blank lines and lines beginning with # are skipped." (https://docs.python.org/3/library/site.html#index-1) I'm not sure we should change this behavior as it would make huge impact on usage of `pth` files by users (`._pth`

[issue33707] Doc:

2018-05-31 Thread Марк Коренберг
New submission from Марк Коренберг : https://docs.python.org/3/library/asyncio-sync.html#asyncio.Event : Class implementing event objects. An event manages a flag that can be set to true with the set() method and reset to false with the clear() method. The -> wait() <- method blocks

[issue33707] Doc:

2018-05-31 Thread Марк Коренберг
Марк Коренберг added the comment: Sorry, I did not -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue33708] Doc: Asyncio's Event documentation typo.

2018-05-31 Thread Марк Коренберг
New submission from Марк Коренберг : https://docs.python.org/3/library/asyncio-sync.html#asyncio.Event : Class implementing event objects. An event manages a flag that can be set to true with the set() method and reset to false with the clear() method. The -> wait() <- method blocks

[issue33709] test.support.FS_NONASCII returns incorrect result in Windows with non-US locale

2018-05-31 Thread Ivan Pozdeev
New submission from Ivan Pozdeev : This causes test_ntpath and test_posixpath to fail in subj. Sample failure: == FAIL: test_expandvars_nonascii (__main__.NtCommonTest) -

[issue33709] test.support.FS_NONASCII returns incorrect result in Windows with non-US locale

2018-05-31 Thread Ivan Pozdeev
Change by Ivan Pozdeev : -- keywords: +patch pull_requests: +6903 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-lis

[issue33698] `._pth` does not allow to populate `sys.path` with empty entry

2018-05-31 Thread Paul Moore
Paul Moore added the comment: You could add the line import sys; sys.path.insert(0, '') to a .pth file. The documentation you pointed out states that lines starting with "import" are executed... -- ___ Python tracker

[issue33701] test_datetime crashed (SIGSEGV) on Travis CI

2018-05-31 Thread Stefan Krah
Stefan Krah added the comment: On Wed, May 30, 2018 at 10:34:01PM +, STINNER Victor wrote: > Fatal Python error: Segmentation fault > Current thread 0x2b52f7326400 (most recent call first): > > Is it a bug in the _decimal module? These kinds of errors are often completely random in th

[issue33701] test_datetime crashed (SIGSEGV) on Travis CI

2018-05-31 Thread Stefan Krah
Stefan Krah added the comment: How would #33627 support the theory that this is a bug in _decimal? As I read it, #33627 is in test_complex, which supports the "unrelated random" theory. -- ___ Python tracker _

[issue33709] test.support.FS_NONASCII returns incorrect result in Windows with non-US locale

2018-05-31 Thread Ivan Pozdeev
Change by Ivan Pozdeev : -- pull_requests: +6904 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue33708] Doc: Asyncio's Event documentation typo.

2018-05-31 Thread Timo Furrer
Timo Furrer added the comment: It seems like it's pointing to the correct location, it's just that depending on the size of your screen the "wait" section is too far to the bottom and therefore it can't quite scroll to the heading of the wait heading so that it's on top of your screen ;) --

[issue33708] Doc: Asyncio's Event documentation typo.

2018-05-31 Thread Марк Коренберг
Марк Коренберг added the comment: NO! it points to asyncio.wait() but should point to asyncio.Event.wait() -- ___ Python tracker ___ ___

[issue33709] test.support.FS_NONASCII returns incorrect result in Windows with non-US locale

2018-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue33708] Doc: Asyncio's Event documentation typo.

2018-05-31 Thread Timo Furrer
Timo Furrer added the comment: Yes, sorry, my bad. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue33708] Doc: Asyncio's Event documentation typo.

2018-05-31 Thread Timo Furrer
Timo Furrer added the comment: The link to the set method is also wrong. It points to https://docs.python.org/3/library/stdtypes.html#set instead of https://docs.python.org/3/library/asyncio-sync.html#asyncio.Event.set -- ___ Python tracker

[issue33447] Asynchronous lambda syntax

2018-05-31 Thread Thomas Dybdahl Ahle
Thomas Dybdahl Ahle added the comment: Just wanted to add another use-case. In a project I'm working on, we are building a lot of graphs using code like this: ``` nodes = [ Node('node-name1', children=[...], classifier=has_foo), Node('node-name2', children=[

[issue33708] Doc: Asyncio's Event documentation typo.

2018-05-31 Thread Timo Furrer
Timo Furrer added the comment: I'm working on a patch :) -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32591] Deprecate sys.set_coroutine_wrapper and replace it with more focused API(s)

2018-05-31 Thread Thomas Wouters
Thomas Wouters added the comment: New changeset 500a419a7a68c32650717b213f0f5ab0461bb16b by T. Wouters in branch '3.6': [3.6] bpo-32591: fix abort in _PyErr_WarnUnawaitedCoroutine during shutdown (GH-5337) (#6536) https://github.com/python/cpython/commit/500a419a7a68c32650717b213f0f5ab0461bb

[issue2504] Add gettext.pgettext() and variants support

2018-05-31 Thread Cheryl Sabella
Cheryl Sabella added the comment: No, I didn't have a use case for the l* functions. I included them just as a result of applying the entire patch from 2010. I also didn't know if further discussion was needed before excluding them. -- ___ Pytho

[issue33708] Doc: Asyncio's Event documentation typo.

2018-05-31 Thread Timo Furrer
Change by Timo Furrer : -- keywords: +patch pull_requests: +6905 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue33710] Deprecate gettext.lgettext()

2018-05-31 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Using gettext.lgettext() is the one of two right ways of doing translation in Python 2. In Python 2, gettext.gettext() returns a raw 8-bit string as it was written in the translation file. Since different translation files can use different encodings, an

[issue33600] [EASY DOC] Python 2: document that platform.linux_distribution() has been removed

2018-05-31 Thread Timo Furrer
Change by Timo Furrer : -- keywords: +patch pull_requests: +6906 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue33711] Could not find externals/db-* in msi.py on license generation

2018-05-31 Thread Ivan Pozdeev
New submission from Ivan Pozdeev : c:\Users\Sasha\Documents\cpython\Tools\msi>python msi.py Traceback (most recent call last): File "msi.py", line 1372, in add_files(db) File "msi.py", line 956, in add_files generate_license() File "msi.py", line 928, in generate_license raise

[issue33711] Could not find externals/db-* in msi.py on license generation

2018-05-31 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: ... can be built with such a glaring mistake in the script. -- ___ Python tracker ___ ___ Python-bu

[issue33687] uu.py calls os.path.chmod which doesn't exist

2018-05-31 Thread Timo Furrer
Change by Timo Furrer : -- keywords: +patch pull_requests: +6908 stage: needs patch -> patch review ___ Python tracker ___ ___ Pytho

[issue33687] uu.py calls os.path.chmod which doesn't exist

2018-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Would be nice to add a test. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue33712] OrderedDict can set an exception in tp_clear

2018-05-31 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The tp_clear handler of OrderedDict can set an exception when fail to allocate a nodes cache for an empty dict. An exception in tp_clear is not expected and caused a crash in the garbage collector. In the master branch it will cause just writing a traceb

[issue33713] memoryview can set an exception in tp_clear

2018-05-31 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The tp_clear handler of memoryview can set an exception when fail to release the buffer. An exception in tp_clear is not expected and caused a crash in the garbage collector. In the master branch it will cause just writing a traceback to stderr (see issu

[issue33714] module can set an exception in tp_clear

2018-05-31 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The tp_clear handler of the module object calls a custom clear function if the PyModuleDef.m_clear field is set. This function can set an exception which will be leaked to the garbage collector. An exception in tp_clear is not expected and caused a crash

[issue33622] Fix and improve errors handling in the garbage collector

2018-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See issue33712, issue33713 and issue33714 for three cases in the stdlib where an exception can be set in the tp_clear handler. This caused a crash in the garbage collector, or can be just silenced if failed at the shutdown stage. In the master branch it wi

[issue33713] memoryview can set an exception in tp_clear

2018-05-31 Thread Stefan Krah
Stefan Krah added the comment: Could you please show how tp_clear() can be called when self->exports > 0? It should not happen. #33622 is a big issue with many commits. Would it be possible to extract the relevant part? -- nosy: +pitrou ___ Pyth

[issue33715] test_multiprocessing_spawn.test_wait_result() failed on x86 Windows7 3.x

2018-05-31 Thread STINNER Victor
New submission from STINNER Victor : http://buildbot.python.org/all/#/builders/58/builds/932 == FAIL: test_wait_result (test.test_multiprocessing_spawn.WithManagerTestCondition)

[issue33687] uu.py calls os.path.chmod which doesn't exist

2018-05-31 Thread Timo Furrer
Timo Furrer added the comment: I've added a test and updated the PR. -- nosy: +tuxtimo ___ Python tracker ___ ___ Python-bugs-list

[issue33716] test_concurrent_futures.test_crash() failed on x86 Windows7 3.7

2018-05-31 Thread STINNER Victor
New submission from STINNER Victor : x86 Windows7 3.7: http://buildbot.python.org/all/#/builders/111/builds/299 test_crash (test.test_concurrent_futures.ProcessPoolSpawnExecutorDeadlockTest) ... 26.57s ok ... test_crash (test.test_concurrent_futures.ProcessPoolSpawnExecutorDeadlockTest) ... 9

[issue33713] memoryview can set an exception in tp_clear

2018-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I don't know how to reproduce a failure in tp_clear(). I just can't prove that it never fails. Maybe it is needed a bug in the implementation of the buffer protocol in third-party extension. If it should not happen then we can just add assert(!PyErr_O

[issue33713] memoryview can set an exception in tp_clear

2018-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See the delete_garbage() function line 770 in Modules/gcmodule.c for changes in the master branch relevant to this issue. See Py_FatalError() in the collect() function at line 974 for a crash. -- ___ Python trac

[issue33713] memoryview can set an exception in tp_clear

2018-05-31 Thread Stefan Krah
Stefan Krah added the comment: This looks the same as #25525. I think it cannot happen, and no one has ever reported an actual issue for 6 years now. You *really* need to show a reproducer if you assert that something can crash. -- ___ Python tra

[issue33713] memoryview can set an exception in tp_clear

2018-05-31 Thread Stefan Krah
Stefan Krah added the comment: Yes, but who calls tp_clear() if the memoryview is not being deallocated? -- ___ Python tracker ___

[issue33706] Segfault in command line processing due to buffer over-read

2018-05-31 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +6909 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33713] memoryview can set an exception in tp_clear

2018-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The GC calls tp_clear() if the memoryview is a part of the reference loop. a = [memoryview(...)] a.append(a) del a The GC will call tp_clear() of the list or the memoryview. What will be called first is not specified. -- _

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-31 Thread STINNER Victor
STINNER Victor added the comment: > Did your PR fix the issue? The bug was that *sometimes* on Travis CI, and only on Travis CI (!?), writing 1 MiB into the multiprocessing pipe didn't block. The bug is really strange because it is only reproduced on the clang Linux job of Travis CI which ru

[issue33713] memoryview can set an exception in tp_clear

2018-05-31 Thread Stefan Krah
Stefan Krah added the comment: The point is that *no garbage collection is triggered* if self->exports > 0. It would be a major bug if it were and I suspect it would be reported within a week. Fortunately, no such bug has been reported in 6 years. -- ___

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-05-31 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 2.7, Python 3.6 ___ Python tracker ___

[issue33706] Segfault in command line processing due to buffer over-read

2018-05-31 Thread STINNER Victor
STINNER Victor added the comment: New changeset 58d1683255abb0df4fc70960da6121aeaa41e1d1 by Victor Stinner in branch 'master': bpo-33706: Fix pymain_parse_cmdline_impl() (GH-7283) https://github.com/python/cpython/commit/58d1683255abb0df4fc70960da6121aeaa41e1d1 -- _

[issue33706] Segfault in command line processing due to buffer over-read

2018-05-31 Thread miss-islington
Change by miss-islington : -- pull_requests: +6910 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33627] test-complex of test_numeric_tower.test_complex() crashes intermittently on Ubuntu buildbots

2018-05-31 Thread STINNER Victor
STINNER Victor added the comment: > Lib/test/test_numeric_tower.py:184 in test_complex The crash occurs at: def test_complex(self): # comparisons with complex are special: equality and inequality # comparisons should always succeed, but order comparisons should #

[issue33606] Improve logging performance when logger disabled

2018-05-31 Thread Timo Furrer
Change by Timo Furrer : -- keywords: +patch pull_requests: +6911 stage: needs patch -> patch review ___ Python tracker ___ ___ Pytho

[issue33627] test-complex of test_numeric_tower.test_complex() crashes intermittently on Ubuntu buildbots

2018-05-31 Thread STINNER Victor
STINNER Victor added the comment: I bet that the bug comes from _decimal. Fraction is implemented in pure Python, and complex type is supposed to be simpler than the _decimal.Decimal type. The whole mystery is why the bug only occurs in test_numeric_tower.test_complex() and why not in test_c

[issue33713] memoryview can set an exception in tp_clear

2018-05-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Serhiy is right about the theoretical concern here. However, it's probably quite difficult to find a concrete situation where this occurs, because we're talking about mbuf_clear and the managerbuffer object can't really get involved in a reference cycle by

[issue33627] test-complex of test_numeric_tower.test_complex() crashes intermittently on Ubuntu buildbots

2018-05-31 Thread Stefan Krah
Stefan Krah added the comment: Good luck finding it then, Victor. -- nosy: +skrah ___ Python tracker ___ ___ Python-bugs-list maili

[issue33701] test_datetime crashed (SIGSEGV) on Travis CI

2018-05-31 Thread STINNER Victor
STINNER Victor added the comment: > How would #33627 support the theory that this is a bug in _decimal? As I > read it, #33627 is in test_complex, which supports the "unrelated random" > theory. I'm not sure of anything. It's just a bet. I asked you to have a look, just in case you see som

[issue33709] test.support.FS_NONASCII returns incorrect result in Windows with non-US locale

2018-05-31 Thread STINNER Victor
STINNER Victor added the comment: > FAIL: test_expandvars_nonascii (__main__.NtCommonTest) What is your Python version? Python uses UTF-8 to encode paths on Windows since Python 3.6: https://vstinner.github.io/python36-utf8-windows.html -- ___ Pyt

[issue33706] Segfault in command line processing due to buffer over-read

2018-05-31 Thread miss-islington
miss-islington added the comment: New changeset c6de46e180e81508a3b43341791b56418bd811f9 by Miss Islington (bot) in branch '3.7': bpo-33706: Fix pymain_parse_cmdline_impl() (GH-7283) https://github.com/python/cpython/commit/c6de46e180e81508a3b43341791b56418bd811f9 -- nosy: +miss-isl

[issue33717] Enhance test.pythinfo: meta-ticket for multiple changes

2018-05-31 Thread STINNER Victor
New submission from STINNER Victor : Lib/test/pythoninfo.py is a tool to dump informations to help to debug test failures. I create this issue to have a bpo number for future enhancements. For example, I now would like to get the version of the C compiler. -- components: Tests messag

[issue33701] test_datetime crashed (SIGSEGV) on Travis CI

2018-05-31 Thread STINNER Victor
STINNER Victor added the comment: > https://travis-ci.org/python/cpython/jobs/385458840 pythoninfo: Py_DEBUG: Yes (sys.gettotalrefcount() present) _decimal.__libmpdec_version__: 2.4.2 builtins.float.double_format: IEEE, little-endian builtins.float.float_format: IEEE, little-endian os.cpu_cou

[issue33701] test_datetime crashed (SIGSEGV) on Travis CI

2018-05-31 Thread STINNER Victor
STINNER Victor added the comment: > https://travis-ci.org/python/cpython/jobs/385458840 $ clang --version clang version 5.0.0 (tags/RELEASE_500/final) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/local/clang-5.0.0/bin ./configure --with-pydebug --

[issue30849] test_stress_delivery_dependent() of test_signal randomly fails on AMD64 Debian root 3.6/3.x

2018-05-31 Thread STINNER Victor
STINNER Victor added the comment: Recent failure on AMD64 Debian root 3.7: http://buildbot.python.org/all/#/builders/127/builds/361 0:03:33 load avg: 1.38 [140/415/1] test_signal failed == FAIL: test_stress_delivery_dependen

[issue33717] Enhance test.pythoninfo: meta-ticket for multiple changes

2018-05-31 Thread STINNER Victor
Change by STINNER Victor : -- title: Enhance test.pythinfo: meta-ticket for multiple changes -> Enhance test.pythoninfo: meta-ticket for multiple changes ___ Python tracker __

[issue33718] Enhance regrtest: meta-ticket for multiple changes

2018-05-31 Thread STINNER Victor
New submission from STINNER Victor : Lib/test/libregrtest/ (python3 -m test) is the test runner used to run the Python test suite. I create this issue to have a bpo number for future enhancements. Example of recent enhancements: * https://github.com/python/cpython/pull/7105 * https://github.

[issue33706] Segfault in command line processing due to buffer over-read

2018-05-31 Thread STINNER Victor
STINNER Victor added the comment: Thank you Christoph Gohlke for your bug report and your fix! I fixed 3.7 and master branches. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue33713] memoryview can set an exception in tp_clear

2018-05-31 Thread Stefan Krah
Stefan Krah added the comment: Well, the example would need exports: >>> a = [bytes()] >>> a.append(memoryview(a[0])) >>> a.append(memoryview(a[1])) >>> a.append(a) >>> a [b'', , , [...]] The first memoryview has one export, so its refcount > 0. Do I fundamentally misunderstand tp_clear() a

[issue33712] OrderedDict can set an exception in tp_clear

2018-05-31 Thread STINNER Victor
STINNER Victor added the comment: > The tp_clear handler of OrderedDict can set an exception when fail to > allocate a nodes cache for an empty dict. An exception in tp_clear is not > expected and caused a crash in the garbage collector. If it's a cache, it would be better to cancel the cach

[issue33714] module can set an exception in tp_clear

2018-05-31 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue33713] memoryview can set an exception in tp_clear

2018-05-31 Thread STINNER Victor
STINNER Victor added the comment: If the bug cannot occur, just add "assert(!PyErr_Occurred());" no? -- nosy: +vstinner ___ Python tracker ___

[issue33714] module can set an exception in tp_clear

2018-05-31 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +petr.viktorin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33713] memoryview can set an exception in tp_clear

2018-05-31 Thread Stefan Krah
Stefan Krah added the comment: Well yes, I still want to understand tp_clear(). :) The docs are a bit vague. -- ___ Python tracker ___ ___

[issue33713] memoryview can set an exception in tp_clear

2018-05-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Yes, tp_clear can be called with refcount > 0. It's exactly why it's separate from tp_dealloc, actually :-) -- ___ Python tracker ___ __

[issue33684] parse failed for mutibytes characters, encode will show in \xxx

2018-05-31 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +6912 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue33597] Compact PyGC_Head

2018-05-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a micro-benchmark of GC overhead: * before: $ ./python -m timeit -s "import gc, doctest, ftplib, asyncio, email, http.client, pydoc, pdb, fractions, decimal, difflib, textwrap, statistics, shutil, shelve, lzma, concurrent.futures, telnetlib, smtpd,

[issue33719] Test failures on Python 3.7 beta 5 and Windows 10

2018-05-31 Thread STINNER Victor
New submission from STINNER Victor : I ran the test suite on an installed Python 3.7 beta5 on Windows 10. The following tests fail: * test_marshal.test_loads_2x_code(): Windows fatal exception: stack overflow * test_pkg: failures when run with -X utf8 * test.test_tools.test_sundry.TestSundrySc

[issue33479] Document tkinter and threads

2018-05-31 Thread Mark Roseman
Change by Mark Roseman : -- pull_requests: +6913 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-05-31 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +6914 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-05-31 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +6915 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue12029] Allow catching virtual subclasses in except clauses

2018-05-31 Thread Eric Snow
Change by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-05-31 Thread STINNER Victor
New submission from STINNER Victor : Follow-up of bpo-33719. C:\Users\vstinner\AppData\Local\Programs\Python\Python37>python.exe -m test test_marshal -v == CPython 3.7.0b5 (v3.7.0b5:abb8802389, May 31 2018, 01:54:01) [MSC v.1913 64 bit (AMD64)] == Windows-10-10.0.16299-SP0 little-endian == cw

[issue33719] Test failures on Python 3.7 beta 5 and Windows 10

2018-05-31 Thread STINNER Victor
STINNER Victor added the comment: > test_marshal.test_loads_2x_code(): Windows fatal exception: stack overflow I created bpo-33720: "test_marshal: crash in Python 3.7b5 on Windows 10". -- ___ Python tracker ___

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-05-31 Thread STINNER Victor
STINNER Victor added the comment: I compiled the master branch of Python in release mode using VS2015 (MSC v.1912 64 bit) and I failed to reproduce the crash: * PCbuild/build.bat -e -p x64 * python -m test -v test_marshal * no crash -- ___ Python

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-05-31 Thread STINNER Victor
Change by STINNER Victor : -- type: -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-05-31 Thread STINNER Victor
Change by STINNER Victor : -- versions: +Python 3.7 -Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-05-31 Thread STINNER Victor
STINNER Victor added the comment: > I compiled the master branch of Python in release mode using VS2015 (MSC > v.1912 64 bit) and I failed to reproduce the crash I also failed to reproduce the crash in the 3.7 branch. I guess that the python.org binary has been compiled differently. ---

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-05-31 Thread Steve Dower
Steve Dower added the comment: The uploaded binary is compiled with PGO enabled (and trained on most of the test suite). I'll check it out - hopefully we don't need to do anything drastic and can get away with either a compiler update or disabling optimizations on a single function. ---

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-05-31 Thread Steve Dower
Steve Dower added the comment: Ned, FYI -- nosy: +ned.deily priority: normal -> release blocker versions: +Python 3.8 ___ Python tracker ___ __

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-05-31 Thread STINNER Victor
STINNER Victor added the comment: > priority: normal -> release blocker I don't think that it's a release blocker. test_marshal does only crash on corner cases which should not occur on usual "valid" data. -- ___ Python tracker

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-05-31 Thread Steve Dower
Steve Dower added the comment: A crash in the test suite should be fixed, especially since we have protection against this crash (and a test that validates it). In this case, apparently the stack allocation for each frame of r_object grew and now there isn't room for 2000 calls (the value of

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-05-31 Thread Steve Dower
Steve Dower added the comment: I need to stop working on this right now, but here's the locals layout in a normal release build in r_object: @rdi @rdip = 0x0034`655ea3d0 0034`65403f60 @rsp+0x0080 v = 0x`0

[issue28657] cmd.Cmd.get_help() implementation can't see do_*() methods added dynamically by setattr()

2018-05-31 Thread Timo Furrer
Change by Timo Furrer : -- nosy: +tuxtimo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue33668] Wrong behavior of help function on module

2018-05-31 Thread Timo Furrer
Change by Timo Furrer : -- nosy: +tuxtimo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue30618] readlink for pathlib paths

2018-05-31 Thread Timo Furrer
Change by Timo Furrer : -- nosy: +tuxtimo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-05-31 Thread Eric Snow
Eric Snow added the comment: New changeset 110bc01407ac8c75545d0386577c6e17254d97d9 by Eric Snow in branch 'master': bpo-33615: Temporarily disable a test that is triggering crashes on a few buildbots. (gh-7288) https://github.com/python/cpython/commit/110bc01407ac8c75545d0386577c6e17254d97d

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-05-31 Thread Eric Snow
Eric Snow added the comment: New changeset 110bc01407ac8c75545d0386577c6e17254d97d9 by Eric Snow in branch 'master': bpo-33615: Temporarily disable a test that is triggering crashes on a few buildbots. (gh-7288) https://github.com/python/cpython/commit/110bc01407ac8c75545d0386577c6e17254d97d

[issue33711] Could not find externals/db-* in msi.py on license generation

2018-05-31 Thread Ned Deily
Change by Ned Deily : -- nosy: +steve.dower, zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue33668] Wrong behavior of help function on module

2018-05-31 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +levkivskyi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

  1   2   >