[issue34027] python 3.7 openpty/forkpty build failure using nix package manager macOS environment

2018-07-02 Thread Daiderd Jordan
Daiderd Jordan added the comment: Even tho it's headers are not /usr/lib/libutil.dylib is available on every macOS system. Unlike on bsd this doesn't include the relevant symbols for openpty/forkpty, that's why I used an __APPLE__ condition but including both also works fine. Assuming it's h

[issue34011] Default preference not given to venv DLL's

2018-07-02 Thread Vinay Sajip
Vinay Sajip added the comment: Hmmm. I managed to find a machine to install Python3.3.0 on, and it appears that even with that copy suite removed, the tests still work. So possibly it's something that changed between 3.3.0 alpha and 3.3.0 final. I can try removing the copy code for 3.8 but I

[issue34011] Default preference not given to venv DLL's

2018-07-02 Thread Vinay Sajip
Vinay Sajip added the comment: The code that does the copy is the original PEP 405 implementation code (from 26 May 2012). I'm fairly sure that these files were copied over only because (at least prior to the Python 3.3 release in September 2012) they were needed to be in the venv for the ve

[issue25345] Unable to install Python 3.5 on Windows 10

2018-07-02 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-

[issue34027] python 3.7 openpty/forkpty build failure using nix package manager macOS environment

2018-07-02 Thread Orivej Desh
Orivej Desh added the comment: I understand the desirability of avoiding potential problems on supported platforms (given that you can not test building Python on all of them) and recognize that both options you have given are reasonable, but as I see it posixmodule.c incorrectly uses autoco

[issue34011] Default preference not given to venv DLL's

2018-07-02 Thread Eryk Sun
Change by Eryk Sun : -- versions: +Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue34011] Default preference not given to venv DLL's

2018-07-02 Thread Eryk Sun
Eryk Sun added the comment: Offhand I don't know why it copies PYD and DLL files from the DLLs directory. It's part of the standard library. The virtual environment should only need to copy or symlink the binaries in the application directory, such as python.exe, pythonw.exe, vcruntime<###>.

[issue34027] python 3.7 openpty/forkpty build failure using nix package manager macOS environment

2018-07-02 Thread Ned Deily
Ned Deily added the comment: Thanks for the suggested patch but I am not persuaded that there is a problem needing fixing on the Python side. As I see it, Python's posixmodule builds fine in the environments we claim to support, including macOS, and has for a long time. It appears that the

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Orivej Desh
Orivej Desh added the comment: The explicit conditional on __APPLE__ can be avoided with the attached patch. (Tested on NixOS and macOS with Nixpkgs.) -- nosy: +orivej Added file: https://bugs.python.org/file47666/darwin-libutil.patch ___ Python tr

[issue33649] asyncio docs overhaul

2018-07-02 Thread Jim DeLaHunt
Jim DeLaHunt added the comment: I'm a developer using Python in my application. I just spent the last couple of weeks learning about asyncio with the present documentation. I am very happy to see that work is underway for improved documentation. I would be glad to take on writing tasks or to

[issue34019] webbrowser: wrong arguments for Opera browser.

2018-07-02 Thread Bumsik Kim
Bumsik Kim added the comment: No problem :) To add more, the Opera's documentation (https://www.opera.com/docs/switches) says: "This document was last updated for Opera 11.61" This is the reason I guessed Opera changed its CLI format to Chrome's and forget to document it -- __

[issue34019] webbrowser: wrong arguments for Opera browser.

2018-07-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Sorry, you are right! It seems that my Opera opened another tab with Google by default and I was confused by that. Thanks for the context. -- ___ Python tracker

[issue34019] webbrowser: wrong arguments for Opera browser.

2018-07-02 Thread Bumsik Kim
Bumsik Kim added the comment: $opera --version 53.0.2907.68 $opera -remote "openURL(https://google.com,new-window)" would open a broken link: http://openurl%28https//google.com,new-window) I found that problem while answering a StackOverflow question: https://stackoverflow.com/questions/51

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Daiderd Jordan
Daiderd Jordan added the comment: Oh interesting, so it only used to worked by accident. I should have looked at the 3.6 log more closely. -- ___ Python tracker ___ _

[issue34022] Python 3.7: 6 tests failed on OpenSUSE and Debian

2018-07-02 Thread Matej Cepl
Matej Cepl added the comment: Yes, it must be something in the chroot, because when run in the plain command line, all tests as well on openSUSE Tumbleweed (with the latest updates). 393 tests OK. 1 test failed: test_epoll 21 tests skipped: test_ctypes test_devpoll test_idle test_kq

[issue34019] webbrowser: wrong arguments for Opera browser.

2018-07-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: What error do you get and what opera version are you using? -- ___ Python tracker ___ ___

[issue34019] webbrowser: wrong arguments for Opera browser.

2018-07-02 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I can use opera -remote "openURL(https://google.com,new-window)" without problems as per the opera documentation with the latest version: $opera --version 53.0.2907.110 -- nosy: +pablogsal ___ Python trac

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Ned Deily
Ned Deily added the comment: It's failing in 3.7 because of the change introduced in Issue27659 to prohibit implicit C function declarations by adding the -Werror=implicit-function-declaration to compiles. -- ___ Python tracker

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Daiderd Jordan
Daiderd Jordan added the comment: The headers end up in the build environment because of Libsystem which is part of our base environment. But yes, this is also the case with 3.6 and that builds just fine so I'm not sure why it's failing now. These are the logs from our build service for refe

[issue34022] Python 3.7: 6 tests failed on OpenSUSE and Debian

2018-07-02 Thread Matej Cepl
Matej Cepl added the comment: It's somehow complicated, in the build chroot I can make tests run only with LD_LIBRARY_PATH set to $(readlink -f Python-3.7.0) and PYTHONPATH to Lib directory. However, then the set of failed tests changes. For example test_runpy runs without problems, but othe

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Ned Deily
Ned Deily added the comment: Even on macOS 10.11.6, libutil.h is not installed and posixmodule.c builds just fine. So I don't think that the presence of something in opensource.apple.com necessarily means it was installed in place in a standard system. I'm not saying yet that we shouldn't

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: -> terry.reedy resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread miss-islington
miss-islington added the comment: New changeset 580c7db172a41d6311c0f3a7aec321597576e214 by Miss Islington (bot) in branch '3.6': bpo-34006: Revert line length limit for Windows help docs (GH-8051) https://github.com/python/cpython/commit/580c7db172a41d6311c0f3a7aec321597576e214 --

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread miss-islington
miss-islington added the comment: New changeset 4d02ad856f123d68712f542d55e8ff3393f00a8f by Miss Islington (bot) in branch '3.7': bpo-34006: Revert line length limit for Windows help docs (GH-8051) https://github.com/python/cpython/commit/4d02ad856f123d68712f542d55e8ff3393f00a8f --

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Daiderd Jordan
Daiderd Jordan added the comment: This is a build using the nix package manager, we use all of the opensource components provided by apple instead of relying on xcode. The libutil.h that's found in this case is the one from the 10.11.6 sources. https://opensource.apple.com/source/libutil/lib

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Ned Deily
Ned Deily added the comment: I don't see this build failure. Can you say where you find libutil.h installed on macOS and what version of macOS this is? It doesn't seem to be part of the standard Apple-supplied /usr/include header files installed by xcode-select --install for macOS 10.13 at

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Daiderd Jordan
Change by Daiderd Jordan : -- keywords: +patch pull_requests: +7664 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Ned Deily
Change by Ned Deily : -- components: +macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue34027] python 3.7 openpty/forkpty build failure on macOS

2018-07-02 Thread Daiderd Jordan
New submission from Daiderd Jordan : I can't really figure out why, but the import in posixmodule.c seems to get skipped since python 3.7. The condition doesn't look entirely correct in case libutil.h is also available on macOS, however this has not changed since 3.6 and it worked fine there

[issue34001] LibreSSL does not tolerate setting minimum_version greater than maximum_version

2018-07-02 Thread Alan Huang
Change by Alan Huang : -- keywords: +patch pull_requests: +7663 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +7662 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +7661 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d824ca7f4df9b5f77cf02490b0e98c2408e21fee by Terry Jan Reedy (Zachary Ware) in branch 'master': bpo-34006: Revert line length limit for Windows help docs (GH-8051) https://github.com/python/cpython/commit/d824ca7f4df9b5f77cf02490b0e98c2408e21fee

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread Joseph L. Casale
Change by Joseph L. Casale : -- nosy: -jcasale ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue34026] Request for 2 Windows installation changes.

2018-07-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: 1. I saw "Python 3.7 Module Docs (64 bit)" twice. But this seems to be a local issue. When I clicked on each, the second worked, the first brought up something like 'The python.exe this shortcut points to had been deleted [or moved?]. Delete shortcut?'. I

[issue31516] current_thread() becomes "dummy" thread during shutdown

2018-07-02 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +7660 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

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

2018-07-02 Thread Larry Hastings
Change by Larry Hastings : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

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

2018-07-02 Thread Larry Hastings
Larry Hastings added the comment: New changeset 1b141b9553424971639bde281feb1d4e4e586dbe by larryhastings (Julien Palard) in branch '3.5': Doc: Backport language switcher (bpo-33700, bpo-31045) (#8048) https://github.com/python/cpython/commit/1b141b9553424971639bde281feb1d4e4e586dbe ---

[issue31045] Add a language switch to the Python documentation

2018-07-02 Thread Larry Hastings
Larry Hastings added the comment: New changeset 1b141b9553424971639bde281feb1d4e4e586dbe by larryhastings (Julien Palard) in branch '3.5': Doc: Backport language switcher (bpo-33700, bpo-31045) (#8048) https://github.com/python/cpython/commit/1b141b9553424971639bde281feb1d4e4e586dbe ---

[issue34026] Request for 2 Windows installation changes.

2018-07-02 Thread Steve Dower
Steve Dower added the comment: 1. What do you mean by "listed twice"? I see 32-bit and 64-bit copies, but that's expected as they may show different modules. 2. We don't control HTML Help Reader's memory, so that's not an option unfortunately. We also don't control the initial size when not

[issue33955] Implement PyOS_CheckStack on macOS using pthread_get_stack*_np

2018-07-02 Thread Dong-hee Na
Dong-hee Na added the comment: @ronaldoussoren I updated the PR and we need some discussion. I benchmarked new patch with Fibonacci codes. baseline(master): 21.330535484 without call sysctlbyname(PR 8046): 22.857963209 secs with call sysctlbyname(PR 8046): 37.125129114 secs So my choice is

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: The patch now works for me and can be tested. The blurb is added and can be reviewed. I expect to merge within a day. -- ___ Python tracker __

[issue34025] SMTP EmailPolicy not using the correct line length for RCF 2045 encoded data (is 78, should be 76)

2018-07-02 Thread R. David Murray
R. David Murray added the comment: The default maximum line length is indeed supposed to be 78 (characters..and I can't now remember whether I implemented it in terms of characters or octets), that's per RFC 5322. What is wrong is that content encoded text is supposed to use a max line leng

[issue34026] Request for 2 Windows installation changes.

2018-07-02 Thread Terry J. Reedy
New submission from Terry J. Reedy : 1. On 3.7.0, but not 3.6.6, 'Python 3.7 Module Docs' is listed twice. 2. On both, 'Python x.y Manuals' always opens the .chm full-screen, even after the user closes in part-screen mode. I think part-screen would be better for the initial open. It would d

[issue34022] Python 3.7: 6 tests failed on OpenSUSE and Debian

2018-07-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I built and ran these tests using commands from msg320892 on openSUSE Leap 42.3, and all tests are passed. -- nosy: +serhiy.storchaka ___ Python tracker _

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, I will add a blurb and merge and backport, when the patch is modified to change htmlhelp rather than htmlview. -- ___ Python tracker __

[issue23850] Missing documentation for Py_TPFLAGS_HAVE_NEWBUFFER

2018-07-02 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Documentation fixes to 2.7 is still accepted. Please create a PR on GitHub. -- nosy: +Mariatta ___ Python tracker ___ __

[issue33968] os.makedirs and empty string

2018-07-02 Thread Emily Morehouse
Change by Emily Morehouse : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pytho

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

2018-07-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: After increasing the number of CPUs in the virtual machine the failure no longer reproduced. It is reproducible only with a single CPU. -- ___ Python tracker

[issue23835] configparser does not convert defaults to strings

2018-07-02 Thread Anthony Sottile
Anthony Sottile added the comment: Unclear if this regression (from this patch) is intentional or not: ``` $ python3.6 -c 'import configparser; configparser.ConfigParser(defaults={"a": None})' $ python3.7 -c 'import configparser; configparser.ConfigParser(defaults={"a": None})' Traceback (mo

[issue34025] SMTP EmailPolicy not setting max_line_length as expected. RCF 2045 states 76 char, Default policy uses 78

2018-07-02 Thread Douglas Thor
New submission from Douglas Thor : It appears that the SMTP EmailPolicy object does not correctly set max_line_length. RFC 2045 (https://www.ietf.org/rfc/rfc2045.txt) requires a max_line_length of 76 characters, while email._policybase.Policy sets it to 78 (which typically is correct). This

[issue23850] Missing documentation for Py_TPFLAGS_HAVE_NEWBUFFER

2018-07-02 Thread ndevenish
ndevenish added the comment: I've just spent some time running around because of this. Are documentation contributions still being accepted for python 2.7 at all? Some of the buffer documentation seems to be confusing as to whether you use new or old API. -- nosy: +ndevenish ___

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread Zachary Ware
Zachary Ware added the comment: Terry: PR8051 should do that, but I haven't tested it. Would you mind taking over the PR if it does what you want it to? -- ___ Python tracker __

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread Zachary Ware
Change by Zachary Ware : -- keywords: +patch pull_requests: +7659 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-lis

[issue34022] Python 3.7: 6 tests failed on OpenSUSE and Debian

2018-07-02 Thread STINNER Victor
STINNER Victor added the comment: > Hmm, what about version of gcc? I suspect some troubles could be caused by > gcc version 8 (we have in openSUSE), or LTO option switched on? For my tests on Fedora, I used gcc 8.1.1. I used the OpenSUSE configure command which includes --with-lto. ---

[issue34023] timedelta(seconds=x) strange results when type(x) == np.int32

2018-07-02 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue34022] Python 3.7: 6 tests failed on OpenSUSE and Debian

2018-07-02 Thread Matej Cepl
Matej Cepl added the comment: Hmm, what about version of gcc? I suspect some troubles could be caused by gcc version 8 (we have in openSUSE), or LTO option switched on? -- ___ Python tracker ___

[issue34024] Builtin types take no keyword arguments anymore

2018-07-02 Thread Kay Hayen
Kay Hayen added the comment: Hello Ned, sorry for noise. I checked that, but oversaw it. Maybe I also wasn't expecting this. There has been such a huge trend towards * and ** support for like everything, e.g. class definitions in 3.6, that this felt like a move in the opposite direction. B

[issue34022] Python 3.7: 6 tests failed on OpenSUSE and Debian

2018-07-02 Thread STINNER Victor
Change by STINNER Victor : -- title: Python 3.7: 6 tests failed on OpenSUSE -> Python 3.7: 6 tests failed on OpenSUSE and Debian ___ Python tracker ___ ___

[issue34022] Python 3.7: 6 tests failed on OpenSUSE

2018-07-02 Thread STINNER Victor
STINNER Victor added the comment: I also ran the Python test suite on Debian sid using the master branch of Python and all tests pass: --- $ ./configure --prefix=/usr --enable-ipv6 --enable-loadable-sqlite-extensions --with-dbmliborder=bdb:gdbm --with-computed-gotos --without-ensurepip --wit

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

2018-07-02 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I can reproduce the failure on multiple OSes in VirtaulBox when run test_signal in parallel with test_regrtest: ./python -m test -j2 test_signal test_regrtest test_regrtest test_regrtest Run tests in parallel using 2 child processes 0:00:29 load avg: 4.24

[issue33995] test_min_max_version in test_ssl.py fails when Python is built against LibreSSL; {min,max}imum_version behavior differs from OpenSSL

2018-07-02 Thread Alan Huang
Alan Huang added the comment: PR 8050 implements option 2a (use PY_PROTO_{MIN,MAX}IMUM_AVAILABLE). -- ___ Python tracker ___ ___ Py

[issue34024] Builtin types take no keyword arguments anymore

2018-07-02 Thread Ned Deily
Ned Deily added the comment: Alas, it's not a bug. That was a deliberate change (see https://bugs.python.org/issue29695 for the discussion leading up to the change) and is documented in the "What's New in 3.7" document here: https://docs.python.org/3.7/whatsnew/3.7.html#api-and-feature-remo

[issue34024] Builtin types take no keyword arguments anymore

2018-07-02 Thread Kay Hayen
New submission from Kay Hayen : Hello, things like list(sequence = something) ought to work in Python 3.6 back to the oldest Python2 I know. However, in 3.7 this raises an exception about not accepting keyword arguments. I noticed the same for tuple, int, float(x=9.0), and probably a lot oth

[issue33995] test_min_max_version in test_ssl.py fails when Python is built against LibreSSL; {min,max}imum_version behavior differs from OpenSSL

2018-07-02 Thread Alan Huang
Change by Alan Huang : -- keywords: +patch pull_requests: +7658 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue34001] LibreSSL does not tolerate setting minimum_version greater than maximum_version

2018-07-02 Thread Alan Huang
Alan Huang added the comment: Strangely, LibreSSL's `ssl_clamp_version_range` function is perfectly happy to accept minimum protocol versions lower than the lowest supported protocol version, and likewise is happy to accept maximum protocol versions higher than the highest supported protocol

[issue34022] Python 3.7: 6 tests failed on OpenSUSE

2018-07-02 Thread STINNER Victor
STINNER Victor added the comment: Thread on python-dev: "[Python-Dev] Failing tests [Was: Re: Python 3.7.0 is now available! (and so is 3.6.6)]" https://mail.python.org/pipermail/python-dev/2018-July/154208.html My reply: https://mail.python.org/pipermail/python-dev/2018-July/154224.html Ext

[issue34022] Python 3.7: 6 tests failed on OpenSUSE

2018-07-02 Thread Ned Deily
Change by Ned Deily : -- nosy: +doko ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue34022] Python 3.7: 6 tests failed on OpenSUSE

2018-07-02 Thread STINNER Victor
STINNER Victor added the comment: I'm unable to reproduce the issue on Fedora using the same configure command: $ ./configure --host=x86_64-suse-linux-gnu --build=x86_64-suse-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindi

[issue34023] timedelta(seconds=x) strange results when type(x) == np.int32

2018-07-02 Thread Mark Dickinson
New submission from Mark Dickinson : On Python 2.x on Windows, creating a timedelta with an `np.int32` instance for the number of seconds can (somewhat) silently give wrong results. Enthought Deployment Manager -- https://www.enthought.com Python 2.7.13 |Enthought, Inc. (x86_64)| (default, Mar

[issue28874] test_logging fails and freezes

2018-07-02 Thread STINNER Victor
STINNER Victor added the comment: Extract of cpython-testlogging.log: 0:08:58 [198/404] test_logging --- Logging error --- Traceback (most recent call last): File "/mnt/d/Share/source/cpython-master/Lib/logging/handlers.py", line 634, in emit self.send(s) File "/mnt/d/Share/source/cpy

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Zach, I believe you helped write make.bat. I can run 'make htmlhelp', but I don't know how to modify make.bat to add option "-D html_theme_options.body_max_width=none" specifically when building htmlhelp. -- ___

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

2018-07-02 Thread STINNER Victor
STINNER Victor added the comment: I confirm the issue. test_logging hangs if the resolution of the hostname fails with a timeout. I worked again the issue by adding my hostname to /etc/hosts. -- nosy: +vstinner ___ Python tracker

[issue33955] Implement PyOS_CheckStack on macOS using pthread_get_stack*_np

2018-07-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: W.r.t. benchmarks: The full benchmark suite that's often used to assess the performance impact on real world code is: http://pyperformance.readthedocs.io Running this takes some time, and the interesting bit is comparing the performance with and without you

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

2018-07-02 Thread Julien Palard
Change by Julien Palard : -- keywords: +patch pull_requests: +7657 stage: needs patch -> patch review ___ Python tracker ___ ___ Pyt

[issue33955] Implement PyOS_CheckStack on macOS using pthread_get_stack*_np

2018-07-02 Thread Dong-hee Na
Dong-hee Na added the comment: @ronaldoussoren 1. I will try to run a benchmark is there any good benchmark to try it? 2. As far as I know, OS X 10.9 Mavericks has an issue with pthread_get_stacksize_np, I added a new commit on PR with this issue. Thanks! -- ___

[issue34008] Do we support calling Py_Main() after Py_Initialize()?

2018-07-02 Thread Matej Cepl
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.or

[issue20760] test_compileall test getting failed on 3.4 RC

2018-07-02 Thread STINNER Victor
STINNER Victor added the comment: This issue is 4 years old and has not been seen recently on Linux. Sadly, the issue doesn't contain enough information to fix the bug, so I close it. If you see again the bug on Linux, please open a new issue (and maybe add a reference to this old bug). ---

[issue34022] Python 3.7: 6 tests failed on OpenSUSE

2018-07-02 Thread Matej Cepl
Matej Cepl added the comment: I would add that Debian doesn't seem to fare that much better ... https://buildd.debian.org/status/fetch.php?pkg=python3.7&arch=amd64&ver=3.7.0-1&stamp=1530136859&raw=0 -- nosy: +mcepl ___ Python tracker

[issue34022] Python 3.7: 6 tests failed on OpenSUSE

2018-07-02 Thread STINNER Victor
STINNER Victor added the comment: It seems like the same (or similar? I didn't check) tests fail on Debian: https://buildd.debian.org/status/fetch.php?pkg=python3.7&arch=amd64&ver=3.7.0-1&stamp=1530136859&raw=0 -- ___ Python tracker

[issue34022] Python 3.7: 6 tests failed on OpenSUSE

2018-07-02 Thread STINNER Victor
New submission from STINNER Victor : https://build.opensuse.org/package/show/home:mcepl:work/python3 6 tests failed: test_cmd_line_script test_compileall test_importlib test_multiprocessing_main_handling test_py_compile test_runpy ===

[issue33955] Implement PyOS_CheckStack on macOS using pthread_get_stack*_np

2018-07-02 Thread Ronald Oussoren
Ronald Oussoren added the comment: Have you looked at benchmark results for this patch? In particular, PyOS_CheckStack is called quite often and I wonder how those calls affect performance. If there is a clear performance impact it would be useful to store some information in the python thre

[issue30256] Adding a SyncManager Queue proxy to a SyncManager dict or Namespace proxy raises an exception

2018-07-02 Thread Xiang Zhang
Change by Xiang Zhang : -- nosy: +davin, pitrou, xiang.zhang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33978] logging.config.dictConfig with file handler leaks resources

2018-07-02 Thread Géry
Géry added the comment: Thanks @xtreak and @vinay.sajip for the fix. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread gladman
gladman added the comment: I cannot build the Windows chm file but I am happy to test any versions that others can produce. -- ___ Python tracker ___

[issue34009] Document Travis CI / Ubuntu 14.04 OpenSSL compatibility issues

2018-07-02 Thread Antoine Pitrou
Antoine Pitrou added the comment: Why should we mention Travis-CI at all? It's Travis-CI's job to document the binaries and runtimes they provide on each of their build environments. -- nosy: +pitrou ___ Python tracker

[issue34006] Windows HTML Help (chm) has fixed line length

2018-07-02 Thread Julien Palard
Julien Palard added the comment: > Maybe, all you we need to do is adding "-D > html_theme_options.body_max_width=none" option to sphinx-build when building > html for htmlhelp, in Doc/make.bat. As far as I can see, it's the right solution, but I have no windows machine to test it. I check

[issue34020] Add '%(asctime)s' into default BASIC_FORMAT in logging module

2018-07-02 Thread Vinay Sajip
Vinay Sajip added the comment: > The first thing people do is set the format to > '%(asctime)s:%(levelname)s:%(name)s:%(message)s' or like after importing > logging module. "People" - you don't claim to speak for *everyone*, right? basicConfig() takes a format= keyword argument that you can

[issue33955] Implement PyOS_CheckStack on macOS using pthread_get_stack*_np

2018-07-02 Thread Dong-hee Na
Dong-hee Na added the comment: @ronaldoussoren I wrote a first proto type PR and it works well on my MacBook Pro. As you commented, there is a issue with pthread_get_stacksize_np when pthread_main_np() == 1 on some old mac system. I will take a look more deeply at this issue. If you have any

[issue33961] Inconsistency in exceptions for dataclasses.dataclass documentation

2018-07-02 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset 24d74bd8377d38528566437e70fcd72229695ac7 by Eric V. Smith (Chris Cogdon) in branch '3.7': bpo-33961: Adjusted dataclasses docs to correct exceptions raised. (GH-7917) https://github.com/python/cpython/commit/24d74bd8377d38528566437e70fcd72229695a

[issue34020] Add '%(asctime)s' into default BASIC_FORMAT in logging module

2018-07-02 Thread Eric V. Smith
Eric V. Smith added the comment: Unfortunately, I don't see how we can do this without breaking code that assumes the default log format doesn't have the timestamp in it. In particular, I'm thinking of external log file parsers. -- nosy: +eric.smith, vinay.sajip

[issue34019] webbrowser: wrong arguments for Opera browser.

2018-07-02 Thread Bumsik Kim
Change by Bumsik Kim : -- versions: +Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.8 ___ Python tracker ___ ___ Python-bu

[issue34021] [2.7] test_regrtest: test_env_changed() fails on x86 Windows XP VS9.0 2.7

2018-07-02 Thread STINNER Victor
Change by STINNER Victor : -- components: +Tests ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue34021] test_regrtest: test_env_changed() fails on x86 Windows XP VS9.0 2.7

2018-07-02 Thread STINNER Victor
New submission from STINNER Victor : http://buildbot.python.org/all/#/builders/105/builds/182 d:\cygwin\home\db3l\buildarea\2.7.bolen-windowsvs9\build>"d:\cygwin\home\db3l\buildarea\2.7.bolen-windowsvs9\build\PC\VS9.0\\python_d" -Wd -3 -E -tt "d:\cygwin\home\db3l\buildarea\2.7.bolen-windowsv

[issue34021] [2.7] test_regrtest: test_env_changed() fails on x86 Windows XP VS9.0 2.7

2018-07-02 Thread STINNER Victor
Change by STINNER Victor : -- title: test_regrtest: test_env_changed() fails on x86 Windows XP VS9.0 2.7 -> [2.7] test_regrtest: test_env_changed() fails on x86 Windows XP VS9.0 2.7 ___ Python tracker __

[issue34020] Add '%(asctime)s' into default BASIC_FORMAT in logging module

2018-07-02 Thread Leon H.
New submission from Leon H. : Current BASIC_FORMAT: BASIC_FORMAT = "%(levelname)s:%(name)s:%(message)s" The first thing people do is set the format to '%(asctime)s:%(levelname)s:%(name)s:%(message)s' or like after importing logging module. Could we put the '%(asctime)s' into the default BASI

[issue34019] webbrowser: wrong arguments for Opera browser.

2018-07-02 Thread Bumsik Kim
Change by Bumsik Kim : -- keywords: +patch pull_requests: +7656 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue33955] Implement PyOS_CheckStack on macOS using pthread_get_stack*_np

2018-07-02 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch pull_requests: +7655 stage: needs patch -> patch review ___ Python tracker ___ ___ Pytho

[issue34019] webbrowser: wrong arguments for Opera browser.

2018-07-02 Thread Bumsik Kim
New submission from Bumsik Kim : webbrowser module currently opens Opera Browser using the following command: opera -remote "openURL(https://google.com,new-window)" While this follows Opera's documentation (https://www.opera.com/docs/switches/#remote), this is broken since Opera switched fro

[issue34009] Document Travis CI / Ubuntu 14.04 OpenSSL compatibility issues

2018-07-02 Thread David MacIver
David MacIver added the comment: Anthony Sottile has pointed out to me that I'm wrong about the xenial thing, and that actually it does work it's just that you need to get multiple things right in order for it to do so. https://github.com/deadsnakes/travis-ci-python3.7-example is a good exam

  1   2   >