[issue34333] Path.with_suffix() raises TypeError when doing %-formatting

2018-08-11 Thread Berker Peksag
Berker Peksag added the comment: New changeset c614121224a5a81d958643471720645b1cb3166e by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-34333: Fix %-formatting in Path.with_suffix() (GH-8663) https://github.com/python/cpython/commit/c614121224a5a81d958643471720645b1cb3166e

[issue34333] Path.with_suffix() raises TypeError when doing %-formatting

2018-08-11 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.6 ___ Python tracker ___

[issue26818] trace CLI doesn't respect -s option

2018-08-11 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7, Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker

[issue26818] trace CLI doesn't respect -s option

2018-08-11 Thread Berker Peksag
Berker Peksag added the comment: New changeset 8fc21c80af73226de875886132e0c32a4ffb32c5 by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-26818: Add a test to make sure the bug is fixed (GH-8664) https://github.com/python/cpython/commit/8fc21c80af73226de875886132e0c32a4ffb32c5

[issue31908] trace module cli does not write cover files

2018-08-11 Thread Berker Peksag
Berker Peksag added the comment: New changeset 8fc21c80af73226de875886132e0c32a4ffb32c5 by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-26818: Add a test to make sure the bug is fixed (GH-8664) https://github.com/python/cpython/commit/8fc21c80af73226de875886132e0c32a4ffb32c5

[issue34379] Move note about repeated calls to json.dump using the same fp to the json.dump section

2018-08-11 Thread INADA Naoki
INADA Naoki added the comment: New changeset 9e840848510d20e644a19c723b803877377d3765 by INADA Naoki (Evan Allrich) in branch 'master': bpo-34379: Doc: Move note for json.dump (GH-8730) https://github.com/python/cpython/commit/9e840848510d20e644a19c723b803877377d3765 -- nosy:

[issue34379] Move note about repeated calls to json.dump using the same fp to the json.dump section

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

[issue34379] Move note about repeated calls to json.dump using the same fp to the json.dump section

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

[issue34379] Move note about repeated calls to json.dump using the same fp to the json.dump section

2018-08-11 Thread miss-islington
miss-islington added the comment: New changeset 6b145085225d4b114b4422f6d3c6e859e75b97d7 by Miss Islington (bot) in branch '3.7': bpo-34379: Doc: Move note for json.dump (GH-8730) https://github.com/python/cpython/commit/6b145085225d4b114b4422f6d3c6e859e75b97d7 -- nosy:

[issue34377] Update valgrind suppressions

2018-08-11 Thread miss-islington
miss-islington added the comment: New changeset 39c1253bd12d253d8d6d009a1ee1c3729c5ebde4 by Miss Islington (bot) in branch '3.7': closes bpo-34377: Update Valgrind suppressions. (GH-8729) https://github.com/python/cpython/commit/39c1253bd12d253d8d6d009a1ee1c3729c5ebde4 -- nosy:

[issue9372] pulldom.DOMEventStream.__getitem__ is broken

2018-08-11 Thread Berker Peksag
Change by Berker Peksag : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue9372] pulldom.DOMEventStream.__getitem__ is broken

2018-08-11 Thread Berker Peksag
Berker Peksag added the comment: New changeset 84a13fbda0d79789e3c9efcc9f64752261ce1e8d by Berker Peksag in branch 'master': bpo-9372: Deprecate several __getitem__ methods (GH-8609) https://github.com/python/cpython/commit/84a13fbda0d79789e3c9efcc9f64752261ce1e8d --

[issue34377] Update valgrind suppressions

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

[issue34377] Update valgrind suppressions

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

[issue34377] Update valgrind suppressions

2018-08-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset db6075ab3aa44f69c13c4a169806d08596d25003 by Benjamin Peterson (Paul Price) in branch 'master': closes bpo-34377: Update Valgrind suppressions. (GH-8729) https://github.com/python/cpython/commit/db6075ab3aa44f69c13c4a169806d08596d25003

[issue31908] trace module cli does not write cover files

2018-08-11 Thread Berker Peksag
Berker Peksag added the comment: New changeset c8b0dbc4928a1fe4bd5abebd810b6849374c7af3 by Berker Peksag in branch 'master': bpo-26818: Add a test to make sure the bug is fixed (GH-8664) https://github.com/python/cpython/commit/c8b0dbc4928a1fe4bd5abebd810b6849374c7af3 --

[issue26818] trace CLI doesn't respect -s option

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

[issue26818] trace CLI doesn't respect -s option

2018-08-11 Thread Berker Peksag
Berker Peksag added the comment: New changeset c8b0dbc4928a1fe4bd5abebd810b6849374c7af3 by Berker Peksag in branch 'master': bpo-26818: Add a test to make sure the bug is fixed (GH-8664) https://github.com/python/cpython/commit/c8b0dbc4928a1fe4bd5abebd810b6849374c7af3 --

[issue31908] trace module cli does not write cover files

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

Re: Import issue in python packages

2018-08-11 Thread Venkatesh Adiga
Thanks Peter... What are the ways to update outside of the python program without defining environment variable for source code path Otherwise can I do it once in during initialization of sys.path update? On Fri, 10 Aug 2018, 10:56 pm Peter Otten, <__pete...@web.de> wrote: > Venkatesh Adiga

Re: Can't figure out how to do something using ctypes (and maybe struct?)

2018-08-11 Thread Peter Otten
inhahe wrote: > I need to make a list of instances of a Structure, then I need to make an > instance of another Structure, one of the fields of which needs to be an > arbitrary-length array of pointers to the instances in the list. How do I > do that? > > Just in case it helps, I'll include what

[issue34376] Improve accuracy of math.hypot() and math.dist()

2018-08-11 Thread Tim Peters
Tim Peters added the comment: Thanks for doing the "real ulp" calc, Raymond! It was intended to make the Kahan gimmick look better, and it succeeded ;-) I don't personally care whether adding 10K things ends up with 50 ulp error, but to each their own. Division can be mostly removed from

Re: Python-Tkinter issue. Multiple overlaping event routines called by single click

2018-08-11 Thread Peter Otten
wfgazd...@gmail.com wrote: > I have a main window open. Then I open a tk.TopLevel dialog window giving > the user multiple choices. He selects one, the corresponding event is > executed. Then in the underlining main window, just by chance there is > another button exactly under the mouse click

[issue33300] Bad usage example in id() DocString

2018-08-11 Thread Martin Panter
Change by Martin Panter : -- resolution: -> duplicate status: open -> pending ___ Python tracker ___ ___ Python-bugs-list mailing

[issue24111] Valgrind suppression file should be updated

2018-08-11 Thread Zackery Spytz
Zackery Spytz added the comment: This was fixed in #34377. -- nosy: +ZackerySpytz ___ Python tracker ___ ___ Python-bugs-list

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

2018-08-11 Thread Matt Pruitt
Matt Pruitt added the comment: Also ran into this issue while building Python in an isolated environment. Realized that libffi is installing into the $EPREFIX/lib64 directory of our build environment. Despite pkg-config returning the correct directory for linking libffi, it took

[issue30545] Enum equality across modules: comparing objects instead of values

2018-08-11 Thread Markus Wegmann
Markus Wegmann added the comment: Hi there! I came as well in contact with this kind of bug. Sadly, I could not replicate it with a simplified toy example. You can experience the bug, if checkout https://github.com/Atokulus/flora_tools/tree/56bb17ea33c910915875214e916ab73f567b3b0c and run

[issue34151] use malloc() for better performance of some list operations

2018-08-11 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset 2fc46979b8c802675ca7fd51c6f2108a305001c8 by Xiang Zhang (Sergey Fedoseev) in branch 'master': bpo-34151: Improve performance of some list operations (GH-8332) https://github.com/python/cpython/commit/2fc46979b8c802675ca7fd51c6f2108a305001c8

[issue34382] test_os.test_mode fails when directory base directory has g+s set

2018-08-11 Thread Michael Felt
New submission from Michael Felt : test_mode assumes that the SGID bit is not set in the parent directory. If it is set the assertEqual() tests fail. This PR checks the mode of 'base' to see if the SGID bit is set, or not, and compares results accordingly. Back-porting requested.

[issue34380] Relax Restrictions on await?

2018-08-11 Thread Steven Silvester
New submission from Steven Silvester : When writing an `async` function, we often want to `await` a method call that may or may not be `async`. For instance, it may be synchronous in the base class, but asynchronous in the subclass on the instance we have been given. It would be nice for

[issue34382] test_os.test_mode fails when directory base directory has g+s set

2018-08-11 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +8224 stage: -> patch review ___ Python tracker ___ ___

[issue34379] Move note about repeated calls to json.dump using the same fp to the json.dump section

2018-08-11 Thread INADA Naoki
INADA Naoki added the comment: New changeset eb6ed12f486f184cb00fc35662d012dbb1f30d2e by INADA Naoki (Miss Islington (bot)) in branch '3.6': bpo-34379: Doc: Move note for json.dump (GH-8730) https://github.com/python/cpython/commit/eb6ed12f486f184cb00fc35662d012dbb1f30d2e --

[issue34379] Move note about repeated calls to json.dump using the same fp to the json.dump section

2018-08-11 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.6, Python 3.8 ___ Python tracker ___

Re: Import issue in python packages

2018-08-11 Thread Peter Otten
Venkatesh Adiga wrote: > Thanks Peter... What are the ways to update outside of the python program > without defining environment variable for source code path Otherwise > can I do it once in during initialization of sys.path update? I don't understand the question. Your options are -

[issue34381] Make tests with outbound connection optional

2018-08-11 Thread Michael Osipov
New submission from Michael Osipov <1983-01...@gmx.net>: I am currently trying investigate tests failures on HP-UX to port some engineering applications away from Fortran to Python, but a bunch of tests require outbound connection which I do not have. I do have an HTTP proxy only. Please add

[issue30271] Make sqlite3 statement cache optional

2018-08-11 Thread Aviv Palivoda
Aviv Palivoda added the comment: I don't have any specific use case for making the statement cache optional. I expected that by changing the cache size to 0 there will be no statement cache. I think that this is a common assumption as can be seen in

[issue34151] use malloc() for better performance of some list operations

2018-08-11 Thread Xiang Zhang
Change by Xiang Zhang : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[ANN] aioxmpp 0.10.1 released

2018-08-11 Thread Jonas Wielicki
Dear subscribers, We are pleased to announce the release of aioxmpp 0.10.1. The current release can be obtained from GitHub [1] (check out the v0.10.1 tag) or PyPI [2]. The HTML documentation can be found at [3]. Examples can be found in the GitHub repository, in the examples sub directory.

[issue34380] Relax Restrictions on await?

2018-08-11 Thread Steven Silvester
Steven Silvester added the comment: Thanks for your consideration and for implementing the original feature! -- ___ Python tracker ___

[issue30545] Enum equality across modules: comparing objects instead of values

2018-08-11 Thread Ethan Furman
Ethan Furman added the comment: Markus Wegmann said: > In the appendix, you find a toy project with similar structure, which > in > contrast to `flora_tools` works flawlessly. I appreciate your attempt to reproduce the problem, but since you weren't able to, the issue

[issue31874] [feature] runpy.run_module should mimic script launch behavior for sys.path

2018-08-11 Thread Jason R. Coombs
Jason R. Coombs added the comment: In [setuptools 1453](https://github.com/pypa/setuptools/issues/1453), this issue hit the project hard. Tox 3.2 changed the default invocation of pip from the script-based invocation to the runpy based implementation (python -m pip), which causes pip to be

[issue34380] Relax Restrictions on await?

2018-08-11 Thread Yury Selivanov
Yury Selivanov added the comment: This isn't something we want to do in Python. We have a dynamic but strict type system. 1 + '1' is an error in Python, but works just fine in JavaScript. Likewise, in 'await foo' foo is expected to be an awaitable in Python and not anything else. This has

[issue34376] Improve accuracy of math.hypot() and math.dist()

2018-08-11 Thread Raymond Hettinger
Raymond Hettinger added the comment: Applied in: https://mail.python.org/pipermail/python-checkins/2018-August/156572.html Note, the BPO number was left off the checkin message. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue34383] asyncio passes SSL certificate error to loop.call_exception_handler()

2018-08-11 Thread Andrei
New submission from Andrei : I'm using 3.7, but it's an issue that I've found in the old github repo for 3.6. When using asyncio, SSL certificate errors don't get suppressed. I've tried: - with contextlib.suppress(Exception) - except & pass Original ticket:

Python-Tkinter issue. Multiple overlaping event routines called by single click

2018-08-11 Thread wfgazdzik
I have a main window open. Then I open a tk.TopLevel dialog window giving the user multiple choices. He selects one, the corresponding event is executed. Then in the underlining main window, just by chance there is another button exactly under the mouse click in the TopLevel dialog window.

[issue34377] Update valgrind suppressions

2018-08-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset fe62d3664431dcd01a4421256ff700f0daab4e3c by Benjamin Peterson (Miss Islington (bot)) in branch '3.6': closes bpo-34377: Update Valgrind suppressions. (GH-8734) https://github.com/python/cpython/commit/fe62d3664431dcd01a4421256ff700f0daab4e3c

Re: Python-Tkinter issue. Multiple overlaping event routines called by single click

2018-08-11 Thread Steven D'Aprano
On Sun, 12 Aug 2018 01:30:43 +0100, MRAB wrote: > On 2018-08-11 21:01, wfgazd...@gmail.com wrote: >> I have a main window open. Then I open a tk.TopLevel dialog window >> giving the user multiple choices. He selects one, the corresponding >> event is executed. Then in the underlining main

[issue34385] Failed to build these modules: _ctypes on Solaris 10

2018-08-11 Thread LarBob Doomer
New submission from LarBob Doomer : I am compiling with GNU binutils 2.24, GCC 5.5.0, GNU make 4.2.1. When attempting to build 3.6.x, the build is successful except for the fact that the _ctypes module fails to build. This of course causes the install to fail. Failed to build these

[issue34384] os.readlink does not accept pathlib.Path on Windows

2018-08-11 Thread Berker Peksag
Change by Berker Peksag : -- keywords: +patch pull_requests: +8225 stage: -> patch review ___ Python tracker ___ ___

[issue22602] UTF-7 codec decodes ill-formed sequences starting with "+"

2018-08-11 Thread Zackery Spytz
Zackery Spytz added the comment: This was also mentioned in #24848. -- nosy: +ZackerySpytz versions: +Python 3.8 -Python 2.7, Python 3.4, Python 3.5 ___ Python tracker ___

[issue34369] kqueue.control() documentation and implementation mismatch

2018-08-11 Thread Martin Panter
Martin Panter added the comment: I think this was an attempt to specify a positional-only parameter (by using square brackets), and include a default value in the signature. The usual approach in this situation is to use square brackets, but only mention the default value in the text:

Re: Python-Tkinter issue. Multiple overlaping event routines called by single click

2018-08-11 Thread MRAB
On 2018-08-11 21:01, wfgazd...@gmail.com wrote: I have a main window open. Then I open a tk.TopLevel dialog window giving the user multiple choices. He selects one, the corresponding event is executed. Then in the underlining main window, just by chance there is another button exactly

Re: Python-Tkinter issue. Multiple overlaping event routines called by single click

2018-08-11 Thread Steven D'Aprano
On Sat, 11 Aug 2018 13:01:44 -0700, wfgazdzik wrote: > I have a main window open. Then I open a tk.TopLevel dialog window > giving the user multiple choices. He selects one, the corresponding > event is executed. Then in the underlining main window, just by chance > there is another button

[issue34384] os.readlink does not accept pathlib.Path on Windows

2018-08-11 Thread Girts Folkmanis
New submission from Girts Folkmanis : Documentation for os.readlink says "Changed in version 3.6: Accepts a path-like object.". This works fine on macOS, but blows up on Windows: Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:06:47) [MSC v.1914 32 bit (Intel)] on win32 Type "help",

[issue34323] False timeout log message on proactor close

2018-08-11 Thread John Nelson
John Nelson added the comment: Python 3.5.4 (v3.5.4:3f56838, Aug 8 2017, 02:17:05) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import platform, sys >>> platform.win32_ver() ('2012ServerR2', '6.3.9600', 'SP0', 'Multiprocessor

[issue34376] Improve accuracy of math.hypot() and math.dist()

2018-08-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think that in most real cases (unless max is too large or too small) we can get rid of scaling at all. -- ___ Python tracker ___

[issue22602] UTF-7 codec decodes ill-formed sequences starting with "+"

2018-08-11 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +8226 stage: needs patch -> patch review ___ Python tracker ___ ___