[issue20304] Argument Clinic: char convertor should use default values of type bytes

2018-07-02 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue34017] Tkinter CheckButton not working in EXE

2018-07-02 Thread elfantroussi
New submission from elfantroussi : I work with Tkinter on spyder python3.6. In my program I use Tkinter CheckButtons with a command. When I execute my program in Spyder, It works well. But when I generate the EXE using cx Freeze, I'm not able to check the checkbuttons on my interface, like if

[issue33996] Crash in gen_send_ex(): _PyErr_GetTopmostException() returns freed memory

2018-07-02 Thread STINNER Victor
STINNER Victor added the comment: > I could only reproduce this intermittently with 3.7 build. Oh, I forgot to mention that I have to run the test many times to reproduce the crash. Between 1 and 10 times. I used the master branch compiled in debug mode to report this issue. -- ___

[issue34018] SQLite converters are documented to be sensitive to the case of type names, but they're not

2018-07-02 Thread Sergey Fedoseev
New submission from Sergey Fedoseev : SQLite converters are documented to be sensitive to the case of type names, but they're not. In [50]: import sqlite3 ...: ...: sqlite3.converters.clear() ...: sqlite3.register_converter('T', lambda x: 'UPPER') ...: sqlite3.register_convert

[issue34018] SQLite converters are documented to be sensitive to the case of type names, but they're not

2018-07-02 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- keywords: +patch pull_requests: +7651 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

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

2018-07-02 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 087570af6d5d39b51bdd5e660a53903960e58678 by Vinay Sajip (Xtreak) in branch 'master': bpo-33978: Close existing handlers before logging (re-)configuration. (GH-8008) https://github.com/python/cpython/commit/087570af6d5d39b51bdd5e660a53903960e58678

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

2018-07-02 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +7652 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

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

2018-07-02 Thread STINNER Victor
STINNER Victor added the comment: My PR 8043 fix the Python 3.7 regression: allow again to call Py_Main() after Py_Initialize(). Nick: if you want to raise an error on that case, I would prefer to see a deprecation warning emitted in version N before raising an error in version N+1. Technic

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

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

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

2018-07-02 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +7654 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33986] asyncio: Typo in documentation: BaseSubprocessTransport -> SubprocessTransport

2018-07-02 Thread Bumsik Kim
Bumsik Kim added the comment: I also found that SubprocessTransport.close() does not reflect the changes done in #23347. -- ___ Python tracker ___ ___

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

2018-07-02 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 6f49afc3d983350f4f04d221a26573721f23c475 by Vinay Sajip (Miss Islington (bot)) in branch '3.7': bpo-33978: Close existing handlers before logging (re-)configuration. (GH-8008) (GH-8044) https://github.com/python/cpython/commit/6f49afc3d983350f4f04

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

2018-07-02 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset b6c1989168efeb8b6320bec958e7e339270ac0ce by Vinay Sajip (Xtreak) in branch '3.6': [3.6] bpo-33978: Close existing handlers before logging (re-)configuration. (GH-8008). (GH-8045) https://github.com/python/cpython/commit/b6c1989168efeb8b6320bec958e

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

2018-07-02 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7, Python 3.8 ___ Python tracker ___ ___

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

2018-07-02 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks much @maggyero for the original report and sample test case this was my first non-easy bug fix. Thanks @vinay.sajip for the guidance on logging module implementation. Thanks -- versions: -Python 3.7, Python 3.8 ___

[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

[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

[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
Change by Bumsik Kim : -- keywords: +patch pull_requests: +7656 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[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

[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 __

[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

[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

[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

[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

[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

[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

[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

[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 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 ___

[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

[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:

[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

[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 ===

[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 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

[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). ---

[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

[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! -- ___

[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 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

[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

[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. -- ___

[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

[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

[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

[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: 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

[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

[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

[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

[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

[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

[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

[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

[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 ___ ___

[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 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 ___

[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 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. ---

[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

[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 __

[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 ___

[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

[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

[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

[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

[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 ___ __

[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 __

[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 _

[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

[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

[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 __

[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

[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

[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 ---

[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 ___ __

[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

[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

[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.

[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 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 miss-islington
Change by miss-islington : -- pull_requests: +7662 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[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

[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

[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
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
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
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

[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 --

[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 Terry J. Reedy
Change by Terry J. Reedy : -- assignee: -> terry.reedy resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[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

[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 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

[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

[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

[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 ___ ___

  1   2   >