[issue29565] Still broken ctypes calling convention on MSVC / 64-bit Windows (large structs)

2018-08-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +8130 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20160] broken ctypes calling convention on MSVC / 64-bit Windows (large structs)

2018-08-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +8131 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31710] setup.py: _ctypes won't get built when system ffi is only in $PREFIX

2018-08-02 Thread Roy Belio
Roy Belio added the comment: Sure, I'll attach it. one more thing to mention is that during configure it printed: configure: WARNING: --with(out)-system-ffi is ignored on this platform We are also providing all the dependency libraries ourselves (building, linking, h files and what not) so

[issue34320] Creating dict from OrderedDict doesn't preserve order

2018-08-02 Thread INADA Naoki
Change by INADA Naoki : -- keywords: +patch pull_requests: +8129 stage: -> patch review ___ Python tracker ___ ___

[issue31710] setup.py: _ctypes won't get built when system ffi is only in $PREFIX

2018-08-02 Thread ppperry
Change by ppperry : -- title: setup.py: _ctypes won't getbuilt when system ffi is only in $PREFIX -> setup.py: _ctypes won't get built when system ffi is only in $PREFIX ___ Python tracker

[issue34097] ZIP does not support timestamps before 1980

2018-08-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If add a new option, I prefer to add it to the ZipFile constructor, similarly to allowZip64. Initially allowZip64 was False by default, because not all third-party tools supported ZIP64 extension. Later the default was changed to True, but you still can

[issue34321] mmap.mmap() should not necessarily clone the file descriptor

2018-08-02 Thread Manuel
New submission from Manuel : mmap.mmap(fileno, length, flags, prot, access, offset) always clones the file descriptor that should be used [1]. The cloning of the file descriptor seems to be done to ensure that the file cannot be closed behind mmap's back, but if you are mmap()'ing a lot of

[issue31710] setup.py: _ctypes won't getbuilt when system ffi is only in $PREFIX

2018-08-02 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Hi Roy, mind sharing the complete build log? Either attaching the log to this issue or pasting a link is fine. -- components: +Build ___ Python tracker

[issue34320] Creating dict from OrderedDict doesn't preserve order

2018-08-02 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : >>> from collections import OrderedDict >>> od = OrderedDict([('a', 1), ('b', 2)]) >>> od.move_to_end('a') >>> od OrderedDict([('b', 2), ('a', 1)]) >>> dict(od) {'a': 1, 'b': 2} This affects also PEP 468. >>> def f(**kwargs): return kwargs ... >>>

[issue34097] ZIP does not support timestamps before 1980

2018-08-02 Thread STINNER Victor
STINNER Victor added the comment: New changeset a2fe1e52eb94c41d9ebce1ab284180d7b1faa2a4 by Victor Stinner (Marcel Plch) in branch 'master': bpo-34097: Add support for zipping files older than 1980-01-01 (GH-8270)

[issue34097] ZIP does not support timestamps before 1980

2018-08-02 Thread STINNER Victor
STINNER Victor added the comment: Thank you Petr Viktorin for the bug report and thanks to Marcel Plch for the implementation of the new strict_timestamps keyword-only parameter! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue31710] setup.py: _ctypes won't getbuilt when system ffi is only in $PREFIX

2018-08-02 Thread Roy Belio
Roy Belio added the comment: Also happens on suse 11 x86_64 with python 3.7 Same issue exactly building locally (but with cross compiling flag for system independency) Building our own libffi 3.2.1 and adding it in the CPPFLAGS includes. -- nosy: +rbelio

[issue34319] Clarify pathlib.Path("filepath").read_text()

2018-08-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33062] ssl_renegotiate() doesn't seem to be exposed

2018-08-02 Thread Fantix King
Change by Fantix King : -- nosy: +fantix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34319] Clarify pathlib.Path("filepath").read_text()

2018-08-02 Thread Thomas Nyberg
New submission from Thomas Nyberg : This came out of the following posts: https://mail.python.org/pipermail/python-ideas/2018-August/052549.html https://mail.python.org/pipermail/python-ideas/2018-August/052553.html Basically my request would be to change the documentation here:

[issue34318] Convert deprecated behavior of assertRaises() etc into errors

2018-08-02 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +8128 stage: -> patch review ___ Python tracker ___ ___

[issue34318] Convert deprecated behavior of assertRaises() etc into errors

2018-08-02 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Currently assertRaises(), assertRaisesRegex(), assertWarns() and assertWarnsRegex() have some weird behavior. # always success if the callable is None self.assertRaises(SomeException, None) # keyword arguments except "msg" are ignored

[issue34318] Convert deprecated behavior of assertRaises() etc into errors

2018-08-02 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- components: +Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34287] bufferedio.c uses unused argument of METH_NOARGS functions

2018-08-02 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34287] bufferedio.c uses unused argument of METH_NOARGS functions

2018-08-02 Thread INADA Naoki
INADA Naoki added the comment: New changeset fc512e3e0663f7f325862fcd42aef765fd34a453 by INADA Naoki (jdemeyer) in branch 'master': bpo-34287: Do not use second argument of METH_NOARGS functions (GH-8582) https://github.com/python/cpython/commit/fc512e3e0663f7f325862fcd42aef765fd34a453

[issue34317] Improve docstring Environment variables in Windows NT

2018-08-02 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +8127 stage: -> patch review ___ Python tracker ___ ___

[issue34317] Improve docstring Environment variables in Windows NT

2018-08-02 Thread sakamoto aya
New submission from sakamoto aya : Expired link in windows.rst: https://support.microsoft.com/en-us/help/100843/environment-variables-in-windows-nt May I make a suggestion? The new link:https://www.microsoft.com/en-us/wdsi/help/folder-variables -- assignee: docs@python components:

[issue34309] Embedding Python; Py_Initialize / Py_Finalize cycles

2018-08-02 Thread Petr Viktorin
Petr Viktorin added the comment: PEP 489 (Multi-phase extension module initialization) makes it possible/easy to unload/reimport extension modules, in the sense of destroying/recreating the module object. The problem is that the modules needs to opt-in to supporting this, which is not

[issue24564] shutil.copytree fails when copying NFS to NFS

2018-08-02 Thread desbma
desbma added the comment: > Since the `copy_function` is customizable to switch between `copy` and > `copy2`, making copystat optional on files, perhaps the `copystat` should be > optional on directories, as well. Related: https://bugs.python.org/issue32073 -- nosy: +desbma

[issue34177] test_site fails in macOS-PR VSTS builds for 3.7 branch

2018-08-02 Thread STINNER Victor
STINNER Victor added the comment: > Same fix can be applied to buildbot. Sure. Go ahead :-) The buildbot configuration can be found at: https://github.com/python/buildmaster-config/ Send a pull request, and Zachary Ware (or me) will review it. Zach is the expert here ;-) --

[issue30317] test_timeout() of test_multiprocessing_spawn.WithManagerTestBarrier fails randomly on x86 Windows7 3.x buildbot

2018-08-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +8126 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34177] test_site fails in macOS-PR VSTS builds for 3.7 branch

2018-08-02 Thread INADA Naoki
INADA Naoki added the comment: Same fix can be applied to buildbot. This is caused by (a) Homebrew installs Python to /usr/local with (hacky) sitecustomize, and (b) Python's default prefix is /usr/local. I think test should be run without conflicting with another installation. --

[issue34292] test_compile hangs in AMD Ubuntu buildbots

2018-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New failure on AMD64 Ubuntu 3.7: test_single_statement (test.test_compile.TestSpecifics) ... ok Timeout (0:15:00)! Thread 0x7f5f41d9e080 (most recent call first): File "/home/buildbot/buildarea/3.7.einat-ubuntu/build/Lib/test/test_compile.py",

[issue34316] test_socket and test_asyncio timeouts in AMD64 Windows10 3.x buildbots

2018-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Is possible that this are two separate issues. -- ___ Python tracker ___ ___

[issue34316] test_socket and test_asyncio timeouts in AMD64 Windows10 3.x buildbots

2018-08-02 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- title: test_socket timeouts in AMD64 Windows10 3.x buildbots -> test_socket and test_asyncio timeouts in AMD64 Windows10 3.x buildbots ___ Python tracker

[issue34316] test_socket timeouts in AMD64 Windows10 3.x buildbots

2018-08-02 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : Some tests in test_socket and test_asyncio are receiving timeouts in AMD64 Windows10 3.x buildbots: test_asyncio: https://buildbot.python.org/all/#/builders/3/builds/1192 test_socket: https://buildbot.python.org/all/#/builders/3/builds/1191 Sample

[issue34177] test_site fails in macOS-PR VSTS builds for 3.7 branch

2018-08-02 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34177] test_site fails in macOS-PR VSTS builds for 3.7 branch

2018-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This error is happening in the x86-64 High Sierra 3.7 buildbot: https://buildbot.python.org/all/#/builders/147/builds/174 == FAIL: test_startup_imports

[issue34292] test_compile hangs in AMD Ubuntu buildbots

2018-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New failure on AMD64 Ubuntu 3.x: https://buildbot.python.org/all/#/builders/154/builds/100 test_single_statement (test.test_compile.TestSpecifics) ... ok Timeout (0:15:00)! Thread 0x7f30435d3080 (most recent call first): File

[issue30317] test_timeout() of test_multiprocessing_spawn.WithManagerTestBarrier fails randomly on x86 Windows7 3.x buildbot

2018-08-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New failure on x86 Windows7 3.x: https://buildbot.python.org/all/#/builders/58/builds/1174 test_timeout (test.test_multiprocessing_spawn.WithThreadsTestSemaphore) ... skipped 'test not appropriate for threads' test test_multiprocessing_spawn failed

[issue1230540] sys.excepthook doesn't work in threads

2018-08-02 Thread Nikolaus Rath
Change by Nikolaus Rath : -- nosy: -nikratio ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33695] Have shutil.copytree(), copy() and copystat() use cached scandir() stat()s

2018-08-02 Thread STINNER Victor
STINNER Victor added the comment: When I worked on the os.scandir() implementation, I recall that an interesting test was NFS. Depending on the configuration, stat() in a network filesystem can be between very slow and slow. -- ___ Python tracker

[issue1230540] sys.excepthook doesn't work in threads

2018-08-02 Thread STINNER Victor
STINNER Victor added the comment: Would it be possible to modify the default implementation of sys.excepthook to have a different output when it's not called from the main thread? Mimick the current traceback from threads. Would it be possible to call threading.current_thread() from the

[issue34309] Embedding Python; Py_Initialize / Py_Finalize cycles

2018-08-02 Thread chris
chris added the comment: Okay, completely restarting python is not really necessary. Being able to reliably unload and later on re-import python modules (extension modules as well as pure python modules) in an embedded python runtime would solve my problems. One way to achieve that is

[issue34313] IDLE crashes with Tk-related error on macOS with ActiveTcl 8.6

2018-08-02 Thread Vlad Tudorache
Vlad Tudorache added the comment: The problem shows itself on macOS High Sierra in some Tk Demos, independently of Python's IDLE. So there is something completely different, to report to the Tcl/Tk community. Strangely, I didn't notice the issues on Sierra, but I have no Sierra Mac right

[issue33062] ssl_renegotiate() doesn't seem to be exposed

2018-08-02 Thread Fantix King
Change by Fantix King : -- keywords: +patch pull_requests: +8125 stage: -> patch review ___ Python tracker ___ ___

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-08-02 Thread Tal Einat
Tal Einat added the comment: Many thanks for the report and follow through, Vlad! Thank you too, Kevin, for your help in resolving this. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-08-02 Thread miss-islington
miss-islington added the comment: New changeset 8c4a0059accb5cb33e90ec5b2f3e9dc08e2f3048 by Miss Islington (bot) in branch '3.6': bpo-34120: fix text viewer to call grab_release() only when needed (GH-8616) https://github.com/python/cpython/commit/8c4a0059accb5cb33e90ec5b2f3e9dc08e2f3048

[issue34313] IDLE crashes with Tk-related error on macOS with ActiveTcl 8.6

2018-08-02 Thread Vlad Tudorache
Vlad Tudorache added the comment: I confirm the crashes. I've tried with personal builds of python 3.5, 3.6, 3.7, with ActiveTcl and personal builds of Tcl 8.6.x, the problem does not appear with 8.5.18, but shows itself with 8.5.19 (strange, API changes?). I'll try to investigate.

[issue34309] Embedding Python; Py_Initialize / Py_Finalize cycles

2018-08-02 Thread Christopher Schramm
Change by Christopher Schramm : -- nosy: +cschramm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-08-02 Thread miss-islington
miss-islington added the comment: New changeset 60586de02de074a33c015e5a013d85d0b17e7e61 by Miss Islington (bot) in branch '3.7': bpo-34120: fix text viewer to call grab_release() only when needed (GH-8616) https://github.com/python/cpython/commit/60586de02de074a33c015e5a013d85d0b17e7e61

[issue29502] Should PyObject_Call() call the profiler on C functions, use C_TRACE() macro?

2018-08-02 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: I would prefer to wait with this issue until PEP 580 has been decided. If it's accepted, it will change function calling code a lot. As I wrote in PEP 580, I was planning to have a PEP on profiling anyway. -- ___

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-08-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +8123 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-08-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +8124 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-08-02 Thread Tal Einat
Tal Einat added the comment: New changeset dd74369cb7b230b07ac3a031563406c8f2aae17f by Tal Einat in branch 'master': bpo-34120: fix text viewer to call grab_release() only when needed (GH-8616) https://github.com/python/cpython/commit/dd74369cb7b230b07ac3a031563406c8f2aae17f --

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-08-02 Thread Tal Einat
Tal Einat added the comment: New changeset 894940b1099677c1ca0aa527dbb935e47d3d591a by Tal Einat in branch '2.7': [2.7] bpo-34120: fix IDLE freezing after closing dialogs (GH-8603) https://github.com/python/cpython/commit/894940b1099677c1ca0aa527dbb935e47d3d591a --

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-08-02 Thread miss-islington
miss-islington added the comment: New changeset 9fcfb7b010bd41d4ebaeed372df92b6962253fed by Miss Islington (bot) in branch '3.6': bpo-34120: fix IDLE freezing after closing dialogs (GH-8603) https://github.com/python/cpython/commit/9fcfb7b010bd41d4ebaeed372df92b6962253fed --

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-08-02 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +8122 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2018-08-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Given that Steve has not found anything useful in the logs, I agree. In any case, the 3.7.0a4 installer has be superceded by multiple installers, including finally, 3.7.0. Anyone wanting 3.7 now should use that (and report problems with the same). By

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-08-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +8121 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34312] Allow str.endswith and str.startswith to accept an iterable

2018-08-02 Thread Tal Einat
Change by Tal Einat : -- nosy: +taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2018-08-02 Thread Tal Einat
Tal Einat added the comment: After reading everything here, I'm not sure there's anything wrong or to be improved with Python's Windows installers in this regard. All of the installation errors reported here appear to be caused by external circumstances breaking MSI installation in

[issue34315] Regex not evalauated correctly

2018-08-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-08-02 Thread miss-islington
miss-islington added the comment: New changeset d9fc795487f74531ea43760469cc215858d0d908 by Miss Islington (bot) in branch '3.7': bpo-34120: fix IDLE freezing after closing dialogs (GH-8603) https://github.com/python/cpython/commit/d9fc795487f74531ea43760469cc215858d0d908 -- nosy:

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-08-02 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +8120 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1764286] inspect.getsource does not work with decorated functions

2018-08-02 Thread Eric Wieser
Eric Wieser added the comment: New issue opened at https://bugs.python.org/issue34305, along with a PR linked there. -- ___ Python tracker ___

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-08-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +8119 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34120] IDLE: Freeze when closing Settings (& About) dialog on MacOS

2018-08-02 Thread Tal Einat
Tal Einat added the comment: New changeset 10ea9409ceb5da83cb380b610750551e26561044 by Tal Einat in branch 'master': bpo-34120: fix IDLE freezing after closing dialogs (GH-8603) https://github.com/python/cpython/commit/10ea9409ceb5da83cb380b610750551e26561044 --

<    1   2