[issue36231] no "proper" header files on macOS 10.14 Mojave

2019-06-19 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +14086 pull_request: https://github.com/python/cpython/pull/14256 ___ Python tracker ___

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-19 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: The fact that tp_vectorcall_offset replaces tp_print was a very conscious decision that we made already when designing the PEPs (both PEP 580 and PEP 590). We shouldn't just throw that away without a good reason. So far I haven't seen any good reason, only

[issue9665] Buid issues on Cygwin - _curses, _curses_panel, and _io

2019-06-19 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-19 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > This isn't a supported scenario though. Of course it's not! I was trying to tell you that already in msg345969 but you insisted in msg345988 that we should support that anyway. -- ___ Python tracker

[issue37301] CGIHTTPServer doesn't handle long POST requests

2019-06-19 Thread vsbogd
vsbogd added the comment: My last comment was imprecise. Not `CGIHTTPRequestHandler` reads data from `rfile` but CGI script itself makes few reads. -- ___ Python tracker ___

[issue37205] time.perf_counter() is not system-wide on Windows, in disagreement with documentation

2019-06-19 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: > can you explain why you removed 3.5 and 3.6 from the versions list? 3.5 and 3.6 are closed for regular bug fix maintenance. We're only fixing issues in 3.7 and 3.8 now. Only security fixes will be applied to 3.5 or 3.6, and this issue is not considered

[issue37301] CGIHTTPServer doesn't handle long POST requests

2019-06-19 Thread vsbogd
vsbogd added the comment: Hi @shajianrui, Thank you for such detailed explanation of experiments. As you mentioned it is a expected behavior of the io.RawIOBase.read() (see https://docs.python.org/3/library/io.html#io.RawIOBase), but io.BufferedIOBase.read() has different behavior (see

[issue37205] time.perf_counter() is not system-wide on Windows, in disagreement with documentation

2019-06-19 Thread Ken Healy
Ken Healy added the comment: Hi Terry, I'm new to this so apologies in advance if this is a silly question...can you explain why you removed 3.5 and 3.6 from the versions list? I have tested that the issue is present in 3.6 and the offending code has been present since time.perf_counter()

[issue37340] remove free_list for bound method objects

2019-06-19 Thread Inada Naoki
Inada Naoki added the comment: > Are the benchmark results that you posted above for removing the free list > completely or for the one-element free list as in PR 14232? Yes. I see +3% overhead in several benchmarks and I want to see how one free obj save them. > it's worse than no free

[issue29505] Submit the re, json, & csv modules to oss-fuzz testing

2019-06-19 Thread Ammar Askar
Change by Ammar Askar : -- pull_requests: +14085 pull_request: https://github.com/python/cpython/pull/14255 ___ Python tracker ___

[issue37342] A type error in typeobj.rst

2019-06-19 Thread miss-islington
miss-islington added the comment: New changeset 6258c1f7160c1b073a228c9fc49ad5ac894d66ad by Miss Islington (bot) in branch '3.8': bpo-37342: Fix the incorrect nb_index's type in typeobj documentation (GH-14241) https://github.com/python/cpython/commit/6258c1f7160c1b073a228c9fc49ad5ac894d66ad

[issue37342] A type error in typeobj.rst

2019-06-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +14084 pull_request: https://github.com/python/cpython/pull/14254 ___ Python tracker ___

[issue37342] A type error in typeobj.rst

2019-06-19 Thread miss-islington
miss-islington added the comment: New changeset bc5caf88ca19b4c8cb9bc912c832b4807a515a60 by Miss Islington (bot) (Hai Shi) in branch 'master': bpo-37342: Fix the incorrect nb_index's type in typeobj documentation (GH-14241)

[issue37251] Mocking a MagicMock with a function spec results in an AsyncMock

2019-06-19 Thread Lisa Roach
Lisa Roach added the comment: Thanks for the patch! To answer your question, I do not think we can remove _is_async_func in favor of _is_async_obj, _is_async_obj will evaluate to True in cases where _is_async_func would not. For example: >>> class NewCoroutine(Awaitable): ... def

[issue31122] SSLContext.wrap_socket() throws OSError with errno == 0

2019-06-19 Thread Dima Tisnek
Change by Dima Tisnek : -- nosy: +Dima.Tisnek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37344] plistlib doesn't skip whitespace in XML format detection

2019-06-19 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. Would you be interested in providing a pull request with a fix? -- nosy: +ned.deily, ronaldoussoren versions: +Python 3.8, Python 3.9 ___ Python tracker

[issue37344] plistlib doesn't skip whitespace in XML format detection

2019-06-19 Thread Shane G
New submission from Shane G : plistlib in Python 3.7.3 (and earlier) does not autodetect plist data as XML if it contains whitespace before the "https://github.com/python/cpython/blob/3.7/Lib/plistlib.py#L493 -- messages: 346089 nosy: shaneg priority: normal severity: normal status:

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2019-06-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset b45d259bdda1de2b2d369458a9ad2e4d6f750687 by Victor Stinner in branch 'master': bpo-36710: Use tstate in pylifecycle.c (GH-14249) https://github.com/python/cpython/commit/b45d259bdda1de2b2d369458a9ad2e4d6f750687 --

[issue36511] Add Windows ARM32 buildbot

2019-06-19 Thread Paul Monson
Change by Paul Monson : -- pull_requests: +14083 pull_request: https://github.com/python/cpython/pull/14251 ___ Python tracker ___

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2019-06-19 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +14082 pull_request: https://github.com/python/cpython/pull/14250 ___ Python tracker ___

[issue36710] Pass _PyRuntimeState as an argument rather than using the _PyRuntime global variable

2019-06-19 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +14081 pull_request: https://github.com/python/cpython/pull/14249 ___ Python tracker ___

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-19 Thread Steve Dower
Steve Dower added the comment: > a class compiled with 3.7 could subclass a class compiled with 3.8 which uses > vectorcall. This isn't a supported scenario though. The only way to mix extension modules compiled against different Python versions is to use the limited ABI, which does not

[issue20175] Derby #6: Convert 50 sites to Argument Clinic across 8 files

2019-06-19 Thread Zackery Spytz
Zackery Spytz added the comment: PR 14245 converts Modules/_multiprocessing/semaphore.c and Modules/_multiprocessing/multiprocessing.c. -- nosy: +ZackerySpytz ___ Python tracker

[issue20175] Derby #6: Convert 50 sites to Argument Clinic across 8 files

2019-06-19 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +14080 pull_request: https://github.com/python/cpython/pull/14245 ___ Python tracker ___

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-19 Thread STINNER Victor
STINNER Victor added the comment: > If we should put in the workaround for 3.8, how does that make it okay to > remove in 3.9? Cython has been modified to no longer set tp_print. The idea is just to give more time (one Python major release) to maintainers of C extensions to regenerate

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-19 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > We haven't released vectorcall yet, so it has no compatibility baseline. I'm talking about the "extremely unlikely" scenario mentioned earlier: a class compiled with 3.7 could subclass a class compiled with 3.8 which uses vectorcall. --

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-19 Thread Steve Dower
Steve Dower added the comment: > It will break ABI compatibility in any case where vectorcall is used, while > my proposal of putting tp_print at the end does not. ABI compatibility with what? We haven't released vectorcall yet, so it has no compatibility baseline. --

[issue37333] Fail build on windows 10(visual studio 2019)

2019-06-19 Thread miss-islington
miss-islington added the comment: New changeset 389abd37ba50a327ae7388c6b016604cbd980e4b by Miss Islington (bot) in branch '3.8': bpo-37333: Ensure IncludeTkinter has a value (GH-14240) https://github.com/python/cpython/commit/389abd37ba50a327ae7388c6b016604cbd980e4b -- nosy:

[issue36511] Add Windows ARM32 buildbot

2019-06-19 Thread Steve Dower
Steve Dower added the comment: New changeset f355069a3337711642c3403429afb9faef93f512 by Steve Dower (Paul Monson) in branch 'master': bpo-36511: Add buildbot scripts and fix tests for Windows ARM32 buildbot (GH-13454)

[issue36511] Add Windows ARM32 buildbot

2019-06-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +14079 pull_request: https://github.com/python/cpython/pull/14244 ___ Python tracker ___

[issue37333] Fail build on windows 10(visual studio 2019)

2019-06-19 Thread Steve Dower
Steve Dower added the comment: Backport will automerge when it's done. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37333] Fail build on windows 10(visual studio 2019)

2019-06-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +14078 pull_request: https://github.com/python/cpython/pull/14243 ___ Python tracker ___

[issue37333] Fail build on windows 10(visual studio 2019)

2019-06-19 Thread Steve Dower
Steve Dower added the comment: New changeset 12f1c726d8328e5e096c35c36901f6d19bc942d3 by Steve Dower in branch 'master': bpo-37333: Ensure IncludeTkinter has a value (GH-14240) https://github.com/python/cpython/commit/12f1c726d8328e5e096c35c36901f6d19bc942d3 --

[issue34347] AIX: test_utf8_mode.test_cmd_line fails

2019-06-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 15e7d2432294ec46f1ad84ce958fdeb9d4ca78b1 by Victor Stinner (Michael Felt) in branch '3.7': [3.7] bpo-34347: Fix test_utf8_mode.test_cmd_line for AIX (GH-8923) (GH-14233)

[issue37341] str.format and f-string divergence

2019-06-19 Thread Tim Hatch
Tim Hatch added the comment: ok, I suppose it's just documentation then. -- assignee: -> docs@python components: +Documentation -Library (Lib) nosy: +docs@python ___ Python tracker

[issue37342] A type error in typeobj.rst

2019-06-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This was added with 9e7c92193cc98fd3c2d4751c87851460a33b9118 so adding Eric. -- nosy: +eric.snow, xtreak type: -> behavior versions: +Python 3.8, Python 3.9 ___ Python tracker

[issue34373] test_time errors on AIX

2019-06-19 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +14077 pull_request: https://github.com/python/cpython/pull/14242 ___ Python tracker ___

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-19 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > If compatibility is the concern here, then we should be aiming for the > smallest diff between 3.7 and 3.8 I challenge that assertion. The smallest diff may superficially look like the best solution, but on closer inspection, it is not. It will break ABI

[issue37343] pip: Warn on vulnerable packages

2019-06-19 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue37343] pip: Warn on vulnerable packages

2019-06-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. pip development happens at https://github.com/pypa/pip/ where this could get better attention since CPython just vendors latest pip. pipenv does similar check with "pipenv check" command [0]. Similar issue on GitHub :

[issue37341] str.format and f-string divergence

2019-06-19 Thread Brett Cannon
Brett Cannon added the comment: I also agree with Eric's assessment. Thanks for the idea, Tim, but I'm closing this as rejected. -- nosy: +brett.cannon resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker

[issue37343] pip: Warn on vulnerable packages

2019-06-19 Thread Andrew Pennebaker
New submission from Andrew Pennebaker : Compared to pip, NPM warns users when a dependency subtree about to be installed, includes known vulnerabilities. This helps devs catch security issues earlier, so they can update or replace critical dependencies. Similarly, the dependency-check pip

[issue37342] A type error in typeobj.rst

2019-06-19 Thread hai shi
Change by hai shi : -- keywords: +patch pull_requests: +14076 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14241 ___ Python tracker ___

[issue37342] A type error in typeobj.rst

2019-06-19 Thread hai shi
New submission from hai shi : nb_index's type is unaryfunc -- assignee: docs@python components: Documentation messages: 346071 nosy: docs@python, shihai1991 priority: normal severity: normal status: open title: A type error in typeobj.rst ___ Python

[issue37341] str.format and f-string divergence

2019-06-19 Thread Raymond Hettinger
Raymond Hettinger added the comment: I concur with Eric. This differences are there by design. The technical and security reasons are both compelling. -- nosy: +rhettinger ___ Python tracker

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-19 Thread Steve Dower
Steve Dower added the comment: > Can you give a least an argument of why that's better than putting back > tp_print at the end? Minimal change, that's why. If there are compatibility issues with the current change that we need to fix, then we should make the least incompatible change

[issue37339] os.path.ismount returns true on nested btrfs subvolumes

2019-06-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: os.path.ismount() uses the same simple algorithm as a portable version of mountpoint. But mountpoint (and findmnt) from util-linux uses Linux specific methods (reads /proc/mounts or something like). See also issue29707. --

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-19 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > If we should put in the workaround for 3.8, how does that make it okay to > remove in 3.9? I can easily change my PR to keep it in 3.9, no problem. Nick, what do you think? > put the new field at the end and leave the deprecated one exactly as it was.

[issue37333] Fail build on windows 10(visual studio 2019)

2019-06-19 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower type: -> compile error versions: +Python 3.8 ___ Python tracker ___ ___

[issue37333] Fail build on windows 10(visual studio 2019)

2019-06-19 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +14075 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14240 ___ Python tracker ___

[issue37341] str.format and f-string divergence

2019-06-19 Thread Eric V. Smith
Eric V. Smith added the comment: > str.format, string.Formatter, and the _string module can only > parse literal keys, not expressions, despite appearing to take the > same syntax as f-strings. I'm happy to contribute code to change > this, but unsure if it's considered a bug or feature (now

[issue37341] str.format and f-string divergence

2019-06-19 Thread Tim Hatch
New submission from Tim Hatch : TL;DR f"{x+2}" and f"{x=}" do something sensible. "{x+2}".format(x=1) and "{x=}".format(x=1) raise KeyError. f"{0.1}" and "{0.1}".format(...) are different. Having had a feature request to be able to codemod f-strings[1] and just learning about issue36817[2]

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-19 Thread Steve Dower
Steve Dower added the comment: If we should put in the workaround for 3.8, how does that make it okay to remove in 3.9? It's been deprecated since 3.0 already, so if we can't remove it after eight releases, I don't see how it's consistent to remove it after a ninth. Once we put it back, it

[issue37339] os.path.ismount returns true on nested btrfs subvolumes

2019-06-19 Thread Eike Fokken
Eike Fokken added the comment: mountpoint /nested_subvolume returns /nested_subvolume is not a mountpoint mountpoint /explicitely_mounted_subvolume returns /explicitely_mounted_subvolume is a mountpoint so agrees with findmnt. -- ___ Python

[issue36753] Python modules not linking to libpython causes issues for RTLD_LOCAL system-wide

2019-06-19 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36231] no "proper" header files on macOS 10.14 Mojave

2019-06-19 Thread Ned Deily
Change by Ned Deily : -- versions: +Python 2.7, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36231] no "proper" header files on macOS 10.14 Mojave

2019-06-19 Thread Ned Deily
Ned Deily added the comment: Thank you again for the suggested PR. Using "xcrun --show-sdk-path" at configure time *is* appealing. Unfortunately, it does not cover all of the necessary use cases. One, the --show-sdk-path option is not available on old versions of xcrun, versions we still

[issue37258] Logging cache not cleared properly when setting level

2019-06-19 Thread Vinay Sajip
Change by Vinay Sajip : -- stage: -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37258] Logging cache not cleared properly when setting level

2019-06-19 Thread Vinay Sajip
Change by Vinay Sajip : -- stage: resolved -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37301] CGIHTTPServer doesn't handle long POST requests

2019-06-19 Thread shajianrui
shajianrui added the comment: Yes I reproduce this problem with a slight modification to your demo. Using your origianl version I fail to reproduce, maybe 2*65536 bytes size is too small. I just change the size of data (in test_cgi_client.py ) to 8*65536, 16*65536 and 32*65536, and the

[issue37339] os.path.ismount returns true on nested btrfs subvolumes

2019-06-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What does the mountpoint command returns? -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue29001] logging.handlers.RotatingFileHandler rotation broken under gunicorn

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: Closing, as per last comment. -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35185] Logger race condition - loses lines if removeHandler called from another thread while logging

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: The other alternative would be to lock around callHandlers(). With the change you propose to addHandler/removeHandler, there are no errors, but the output of your test program is (with the lock acquisition/release in place): Thread finished after 468

[issue34720] Fix test_importlib.test_bad_traverse for AIX

2019-06-19 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +14074 pull_request: https://github.com/python/cpython/pull/14238 ___ Python tracker ___

[issue37340] remove free_list for bound method objects

2019-06-19 Thread Inada Naoki
Inada Naoki added the comment: Sorry, I just pushed another idea before I leave my office. I will benchmark both ideas after bpo-37337 is finished. -- ___ Python tracker ___

[issue28890] logging.handlers: Document that QueueListener is a daemon thread

2019-06-19 Thread Vinay Sajip
New submission from Vinay Sajip : Why does that particularly need documenting? If it were a non-daemon thread, that might need documenting as the program would have to join() it or else seem to hang, but what does it matter if it's a daemon thread? --

[issue36033] logging.makeLogRecord should update "rv" using a dict defined with bytes instead of strings

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: Closing, as no further feedback from issue reporter. Feel free to reopen if you have a good response to my last comment. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue35995] logging.handlers.SMTPHandler

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: Closing, as no answer has been received to the last question. -- resolution: -> not a bug status: open -> closed ___ Python tracker ___

[issue11192] test_socket error on AIX

2019-06-19 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +14073 pull_request: https://github.com/python/cpython/pull/14237 ___ Python tracker ___

[issue37331] logging.handlers.DatagramHandler sends bad data to socketserver.DatagramRequestHandler

2019-06-19 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 ___ Python tracker ___

[issue37331] logging.handlers.DatagramHandler sends bad data to socketserver.DatagramRequestHandler

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset d7232f0e4646803f0bbaede6e1fa124156135512 by Vinay Sajip (Miss Islington (bot)) in branch '3.8': bpo-37331: Clarify format of socket handler messages in the documentation. (GH-14234) (GH-14235)

[issue37331] logging.handlers.DatagramHandler sends bad data to socketserver.DatagramRequestHandler

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset b64e42e931a3598d6f0605ec78673772f97ecd4c by Vinay Sajip (Miss Islington (bot)) in branch '3.7': bpo-37331: Clarify format of socket handler messages in the documentation. (GH-14234) (GH-14236)

[issue36704] logging.FileHandler currently hardcodes errors='strict'

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: Fixed as part of the fix for bpo-37111. -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.9 -Python 3.7 ___ Python tracker

[issue28595] shlex.shlex should not augment wordchars

2019-06-19 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.8 -Python 3.6, Python 3.7 ___ Python tracker ___

[issue37331] logging.handlers.DatagramHandler sends bad data to socketserver.DatagramRequestHandler

2019-06-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +14072 pull_request: https://github.com/python/cpython/pull/14236 ___ Python tracker ___

[issue37331] logging.handlers.DatagramHandler sends bad data to socketserver.DatagramRequestHandler

2019-06-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +14071 pull_request: https://github.com/python/cpython/pull/14235 ___ Python tracker ___

[issue37331] logging.handlers.DatagramHandler sends bad data to socketserver.DatagramRequestHandler

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset f06b569305cf604f070776ea3f800ed61fdd7d61 by Vinay Sajip in branch 'master': bpo-37331: Clarify format of socket handler messages in the documentation. (GH-14234) https://github.com/python/cpython/commit/f06b569305cf604f070776ea3f800ed61fdd7d61

[issue36231] no "proper" header files on macOS 10.14 Mojave

2019-06-19 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- nosy: +jdemeyer ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37331] logging.handlers.DatagramHandler sends bad data to socketserver.DatagramRequestHandler

2019-06-19 Thread Vinay Sajip
Change by Vinay Sajip : -- keywords: +patch pull_requests: +14070 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14234 ___ Python tracker ___

[issue34347] AIX: test_utf8_mode.test_cmd_line fails

2019-06-19 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +14069 pull_request: https://github.com/python/cpython/pull/14233 ___ Python tracker ___

[issue36231] no "proper" header files on macOS 10.14 Mojave

2019-06-19 Thread Dmitrii Pasechnik
Dmitrii Pasechnik added the comment: I find it puzzling that a relatively clean and short solution using autotools and the Apple-approved way to get the location of the headers is rejected, and a hacky, longer way that scrapes output of the compiler is being pushed instead. --

[issue37331] logging.handlers.DatagramHandler sends bad data to socketserver.DatagramRequestHandler

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: It is mentioned here: https://docs.python.org/3/library/logging.handlers.html?highlight=datagramhandler#logging.handlers.SocketHandler.makePickle although that doesn't go into the detail of the struct.pack format. I'll update the documentation to rectify this.

[issue37258] Logging cache not cleared properly when setting level

2019-06-19 Thread Vinay Sajip
Change by Vinay Sajip : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue37258] Logging cache not cleared properly when setting level

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 95ff622028b4f5d2eefbff557eadbb08fbcd42b1 by Vinay Sajip (Miss Islington (bot)) in branch '3.8': bpo-37258: Not a bug, but added a unit test and updated documentation. (GH-14229) (GH-14230)

[issue37258] Logging cache not cleared properly when setting level

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 9eb4b2c8a3387ea901dad793e8d5586880a5968e by Vinay Sajip (Miss Islington (bot)) in branch '3.7': bpo-37258: Not a bug, but added a unit test and updated documentation. (GH-14229) (GH-14231)

[issue37340] remove free_list for bound method objects

2019-06-19 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: Are the benchmark results that you posted above for removing the free list completely or for the one-element free list as in PR 14232? -- ___ Python tracker

[issue37340] remove free_list for bound method objects

2019-06-19 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > GH-14232 uses only one free object instead of at most 256 free list. That sounds like a compromise which is worse than either extreme: it's worse than no free list because you still have the overhead of dealing with the one object. And it's worse than a

[issue37340] remove free_list for bound method objects

2019-06-19 Thread Inada Naoki
Inada Naoki added the comment: GH-14232 uses only one free object instead of at most 256 free list. -- stage: patch review -> ___ Python tracker ___

[issue37340] remove free_list for bound method objects

2019-06-19 Thread Inada Naoki
Change by Inada Naoki : -- keywords: +patch pull_requests: +14068 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14232 ___ Python tracker ___

[issue37340] remove free_list for bound method objects

2019-06-19 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > I will run pyperformance again after bpo-37337 is merged. Good idea. bpo-37337 removes many calls of _PyObject_CallMethodId() which does NOT use the LOAD_METHOD optimization. -- ___ Python tracker

[issue37340] remove free_list for bound method objects

2019-06-19 Thread Inada Naoki
Inada Naoki added the comment: PyCFunction has similar free_list. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37340] remove free_list for bound method objects

2019-06-19 Thread Inada Naoki
New submission from Inada Naoki : LOAD_METHOD avoids temporary bound method object. PyObject_CallMethodObjArgs now use same optimization. Now I think there is not enough performance benefit from free_list. When free_list is not used often enough, it may bother obmalloc reuse memory pool.

[issue34831] Asyncio Tutorial

2019-06-19 Thread Caleb Hattingh
Caleb Hattingh added the comment: I'm removing the GUI section of the chat case study. Yury was right, it's not going to add anything useful. The CLI chat client will work well because prompt-toolkit has actual support for asyncio. Tkinter does not, and I think it'll be better to add a GUI

[issue27860] Improvements to ipaddress module

2019-06-19 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue27860] Improvements to ipaddress module

2019-06-19 Thread Inada Naoki
Inada Naoki added the comment: New changeset f532fe5583d29d21e12aa22d8fca13e3bca94fb3 by Inada Naoki in branch '3.7': bpo-27860: ipaddress: fix Interface constructor (GH-14200) https://github.com/python/cpython/commit/f532fe5583d29d21e12aa22d8fca13e3bca94fb3 --

[issue22239] asyncio: nested event loop

2019-06-19 Thread Crusader Ky
Change by Crusader Ky : -- nosy: +Crusader Ky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37258] Logging cache not cleared properly when setting level

2019-06-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +14066 pull_request: https://github.com/python/cpython/pull/14230 ___ Python tracker ___

[issue37258] Logging cache not cleared properly when setting level

2019-06-19 Thread miss-islington
Change by miss-islington : -- pull_requests: +14067 pull_request: https://github.com/python/cpython/pull/14231 ___ Python tracker ___

[issue37258] Logging cache not cleared properly when setting level

2019-06-19 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 015000165373f8db263ef5bc682f02d74e5782ac by Vinay Sajip in branch 'master': bpo-37258: Not a bug, but added a unit test and updated documentation. (GH-14229) https://github.com/python/cpython/commit/015000165373f8db263ef5bc682f02d74e5782ac

[issue37258] Logging cache not cleared properly when setting level

2019-06-19 Thread Vinay Sajip
Change by Vinay Sajip : -- keywords: +patch pull_requests: +14065 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14229 ___ Python tracker ___

  1   2   >