[issue37289] regression in cython due to peephole optomization

2019-06-14 Thread Thomas Caswell
Thomas Caswell added the comment: This change also causes failures in the cython test suite (see attached). -- Added file: https://bugs.python.org/file48422/cython_test_log.txt ___ Python tracker

[issue32846] Deletion of large sets of strings is extra slow

2019-06-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: I reran the code in msg312188. Ints as before, string deletion +- linear up to 100 million, much better than before. millions old stringsnew strings of items create delete create delete 4 1.55.36 1.7.38 8 3.18.76

[issue28708] Low FD_SETSIZE limit on Windows

2019-06-14 Thread Andrei Zene
Andrei Zene added the comment: That's actually a great explanation Nathaniel. Thanks for putting that all together. -- ___ Python tracker ___

[issue37289] regression in cython due to peephole optomization

2019-06-14 Thread Thomas Caswell
New submission from Thomas Caswell : The fix for https://bugs.python.org/issue37213 in 3498c642f4e83f3d8e2214654c0fa8e0d51cebe5 (https://github.com/python/cpython/pull/13969) seems to break building numpy (master) with cython (master) due to a pickle failure. The traceback (which is mostly

[issue26543] [EASY] imaplib noop Debug: bytes vs Unicode bug in debug mode

2019-06-14 Thread Abhilash Raj
Change by Abhilash Raj : -- nosy: +maxking ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4963] mimetypes.guess_extension result changes after mimetypes.init()

2019-06-14 Thread Abhilash Raj
Change by Abhilash Raj : -- nosy: +maxking ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32846] Deletion of large sets of strings is extra slow

2019-06-14 Thread Tim Peters
Tim Peters added the comment: Raymond, please read my very recent comment one above yours. A (overall) quadratic-time algorithm (O(A**2) where A is the number of arenas) in obmalloc.c is (to my eyes) probably the _primary_ cause of the sloth here. That's been fixed for 3.8, but I don't

[issue32846] Deletion of large sets of strings is extra slow

2019-06-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: Can we close this now? ISTM the issue has less to do with sets and more to do with memory allocation quirks and that on modern CPUs random memory accesses are slower than sequential memory accesses. It is not a bug that sets are unordered collections

[issue32846] Deletion of large sets of strings is extra slow

2019-06-14 Thread Tim Peters
Change by Tim Peters : -- stage: resolved -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32846] Deletion of large sets of strings is extra slow

2019-06-14 Thread Tim Peters
Tim Peters added the comment: Looks likely that the _major_ cause of the quadratic-time delete behavior was due to that obmalloc used a linear-time method to keep its linked list of usable arenas sorted in order of number of free pools. When a pool became unused, its arena's count of free

[issue36707] The "m" ABI flag of SOABI for pymalloc is no longer needed

2019-06-14 Thread miss-islington
miss-islington added the comment: New changeset 3fde750cc4e4057076650a92946ec1d492464799 by Miss Islington (bot) in branch '3.8': bpo-36707: Document "m" removal from sys.abiflags (GH-14090) https://github.com/python/cpython/commit/3fde750cc4e4057076650a92946ec1d492464799 -- nosy:

[issue36707] The "m" ABI flag of SOABI for pymalloc is no longer needed

2019-06-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +13953 pull_request: https://github.com/python/cpython/pull/14097 ___ Python tracker ___

[issue36707] The "m" ABI flag of SOABI for pymalloc is no longer needed

2019-06-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7efc526e5cfb929a79c192ac2dcf7eb78d3a4401 by Victor Stinner in branch 'master': bpo-36707: Document "m" removal from sys.abiflags (GH-14090) https://github.com/python/cpython/commit/7efc526e5cfb929a79c192ac2dcf7eb78d3a4401 --

[issue32846] Deletion of large sets of strings is extra slow

2019-06-14 Thread Inada Naoki
Change by Inada Naoki : -- resolution: wont fix -> stage: resolved -> status: closed -> open versions: +Python 3.9 -Python 3.7, Python 3.8 ___ Python tracker ___

[issue31200] address sanitizer build fails

2019-06-14 Thread Julien Palard
Change by Julien Palard : -- pull_requests: +13952 pull_request: https://github.com/python/cpython/pull/13168 ___ Python tracker ___

[issue37288] Fix Windows build when --no-tkinter is specified

2019-06-14 Thread Paul Monson
Change by Paul Monson : -- keywords: +patch pull_requests: +13951 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14096 ___ Python tracker ___

[issue37288] Fix Windows build when --no-tkinter is specified

2019-06-14 Thread Paul Monson
Paul Monson added the comment: Change title: Fix Windows build when --no-tkinter is specified I noticed this because the Windows arm32 buildbot build was broken. -- title: Windows arm32 buildbot build is broken -> Fix Windows build when --no-tkinter is specified

[issue37288] Windows arm32 buildbot build is broken

2019-06-14 Thread Paul Monson
New submission from Paul Monson : https://github.com/python/cpython/pull/14065 breaks building with --no-tkinter. Which breaks the Windows arm32 buildbot `C:\Users\buildbot\buildarea\3.x.monson-win-arm32.nondebug\build\PCbuild\python.vcxproj(158,9): error MSB4184: The expression

[issue37208] Weird exception behaviour in ProcessPoolExecutor

2019-06-14 Thread Brian Quinlan
Change by Brian Quinlan : -- resolution: -> duplicate superseder: -> picke cannot dump Exception subclasses with different super() args ___ Python tracker ___

[issue37287] picke cannot dump Exception subclasses with different super() args

2019-06-14 Thread Brian Quinlan
Change by Brian Quinlan : -- title: picke cannot dump exceptions subclasses with different super() args -> picke cannot dump Exception subclasses with different super() args ___ Python tracker

[issue37287] picke cannot dump exceptions subclasses with different super() args

2019-06-14 Thread Brian Quinlan
New submission from Brian Quinlan : $ ./python.exe nopickle.py TypeError: __init__() missing 1 required positional argument: 'num' The issue is that the arguments passed to Exception.__init__ (via `super()`) are collected into `args` and then serialized by pickle e.g. >>>

[issue37275] GetConsole(Output)CP is used even when stdin/stdout is redirected

2019-06-14 Thread Inada Naoki
Inada Naoki added the comment: On Sat, Jun 15, 2019 at 2:43 AM Eryk Sun wrote: > > Eryk Sun added the comment: > > > # Power Shell 6 (use cp65001 by default) > > PS C:¥> python3 -c "print('おはよう')" > ps.txt > > PowerShell standard I/O redirection is different from any shell I've ever > used.

[issue37275] GetConsole(Output)CP is used even when stdin/stdout is redirected

2019-06-14 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-06-14 Thread STINNER Victor
STINNER Victor added the comment: x86 Windows7 3.7: https://buildbot.python.org/all/#/builders/111/builds/1123 test_start_tls_server_1 (test.test_asyncio.test_sslproto.SelectorStartTLSTests) ... Exception in thread test-client: Traceback (most recent call last): File

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-06-14 Thread STINNER Victor
STINNER Victor added the comment: Sadly, the fix is not perfect, the test failed on the very "x86 Windows7 3.x" buildbot: https://buildbot.python.org/all/#/builders/58/builds/2627 ERROR: test_start_tls_server_1 (test.test_asyncio.test_sslproto.SelectorStartTLSTests)

[issue37155] test_asyncio: test_stdin_broken_pipe() failed on AMD64 FreeBSD CURRENT Shared 3.x

2019-06-14 Thread STINNER Victor
STINNER Victor added the comment: x86 Windows7 3.x: https://buildbot.python.org/all/#/builders/58/builds/2627 FAIL: test_stdin_broken_pipe (test.test_asyncio.test_subprocess.SubprocessProactorTests) -- Traceback (most recent

[issue37208] Weird exception behaviour in ProcessPoolExecutor

2019-06-14 Thread Brian Quinlan
Brian Quinlan added the comment: That's a super interesting bug! It looks like this issue is that your exception can't be round-tripped using pickle i.e. >>> class PoolBreaker(Exception): ... def __init__(self, num): ... super().__init__() ... self.num = num ... >>>

[issue23892] Introduce sys.implementation.opt_levels

2019-06-14 Thread Eric Snow
Eric Snow added the comment: There are (solvable) problems with my original recommendation: 1. sys.implementation is by definition not suitable for third-party import hooks to modify + it is set during the Python implementation during runtime init + it is effectively read-only after that

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-06-14 Thread STINNER Victor
STINNER Victor added the comment: > I have had to fix it much earlier :( That's fine. If this bug was more annoying, I would have it fixed myself earlier. But I had other more critical bugs to fix before that one. The important part is that it is fixed now. --

[issue32912] Raise non-silent warning for invalid escape sequences

2019-06-14 Thread Aaron Meurer
Aaron Meurer added the comment: I agree. Please someone else do that. I don't know what already has issues and I unfortunately don't have time right now to help out with any of this. I simply mentioned all these things as arguments why Python should not (yet) make these warnings errors,

[issue37271] Make multiple passes of the peephole optimizer until bytecode cannot be optimized further

2019-06-14 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, when the peephole optimizer was originally accepted, it was partly on the condition that we kept it simple and fast. Perhaps, the sentiment has changed, perhaps not. -- nosy: +rhettinger ___ Python

[issue37286] Pasting emoji crashes IDLE

2019-06-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: In the absence of evidence otherwise (the string that you pasted and the full traceback), I assume that you pasted a non-BMP codepoint, making this a duplicate of #13153. If you think otherwise, please supply more info. -- resolution: -> duplicate

[issue37285] Python 2.7 setup.py incorrectly double-joins SDKROOT

2019-06-14 Thread Ned Deily
Change by Ned Deily : -- assignee: -> ned.deily nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue23892] Introduce sys.implementation.opt_levels

2019-06-14 Thread Eric Snow
Eric Snow added the comment: (Sorry for taking so long!) Thanks for doing this, Cheryl! I'm leaving a review on your PR. :) Also, in PEP 421 it says that you need a PEP for this. [1] "Such a PEP need not be long, just long enough." (I just realized that the requirement isn't obvious so

[issue12857] Expose called function on frame object

2019-06-14 Thread Zachary Ware
Change by Zachary Ware : -- Removed message: https://bugs.python.org/msg345592 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue24980] Allow for providing 'on_new_thread' callback to 'concurrent.futures.ThreadPoolExecutor'

2019-06-14 Thread Brian Quinlan
Brian Quinlan added the comment: Joshua, I'm closing this since I haven't heard from you in a month. Please re-open if you use case isn't handled by `initializer` and `initargs`. -- assignee: -> bquinlan resolution: -> out of date stage: -> resolved status: open -> closed

[issue37286] Pasting emoji crashes IDLE

2019-06-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please add a traceback if any? See also https://bugs.python.org/issue13153 -- nosy: +xtreak ___ Python tracker ___

[issue29412] IndexError thrown on email.message.Message.get

2019-06-14 Thread Abhilash Raj
Abhilash Raj added the comment: Nevermind, I was wrong, I was able to reproduce it: >>> msg = email.message_from_string('To: (Recipient list suppressed)', >>> policy=email.policy.default)) File "", line 1 SyntaxError: unmatched ')' >>> msg = email.message_from_string('To: (Recipient list

[issue29412] IndexError thrown on email.message.Message.get

2019-06-14 Thread Abhilash Raj
Abhilash Raj added the comment: For the record, this is how I tested using the master branch: >>> msg = email.message_from_string(' To: (Recipient list suppressed)') >>> msg['To'] >>> import email.policy >>> msg = email.message_from_string(' To: (Recipient list suppressed)', >>>

[issue29412] IndexError thrown on email.message.Message.get

2019-06-14 Thread Abhilash Raj
Abhilash Raj added the comment: I can't reproduce this problem with the latest master branch, it was perhaps fixed with some other PR. This is also a dupe of bpo-31445. @barry, @david: I think this issue can be closed. -- nosy: +maxking ___

[issue37286] Pasting emoji crashes IDLE

2019-06-14 Thread Miłosz
New submission from Miłosz : On Windows 10 -- assignee: terry.reedy components: IDLE messages: 345630 nosy: md37, terry.reedy priority: normal severity: normal status: open title: Pasting emoji crashes IDLE type: crash versions: Python 3.7 ___ Python

[issue31445] Index out of range in get of message.EmailMessage.get()

2019-06-14 Thread Abhilash Raj
Abhilash Raj added the comment: I can't reproduce this issue on the latest master branch. This seems to be fixed as a part of a different PR I suppose. >>> import email >>> msg = email.message_from_string("From: Bonifac Karaka : boni...@gmail.com") >>> msg['From'] 'Bonifac

[issue32179] Empty email address in headers triggers an IndexError

2019-06-14 Thread Abhilash Raj
Abhilash Raj added the comment: I wasn't able to reproduce this on the latest master. Probably fixed as a part of some other PR. >>> msg = email.message_from_string('ReplyTo: ""') >>> msg >>> msg['ReplyTo'] '""' I think this issue can be closed. -- nosy:

[issue32178] Some invalid email address groups cause an IndexError instead of a HeaderParseError

2019-06-14 Thread Abhilash Raj
Abhilash Raj added the comment: I don't think this is an issue anymore, I guess this was fixed as a part of some other PR. I tested this out on a recent branch: >>> import email >>> msg = email.message_from_string('From: Abhilash ') >>> msg['From'] 'Abhilash ' @david,

[issue37285] Python 2.7 setup.py incorrectly double-joins SDKROOT

2019-06-14 Thread Misty De Méo
Change by Misty De Méo : -- keywords: +patch pull_requests: +13949 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14095 ___ Python tracker ___

[issue37285] Python 2.7 setup.py incorrectly double-joins SDKROOT

2019-06-14 Thread Misty De Méo
New submission from Misty De Méo : Python 2.7's setup.py has incorrect behaviour when adding the SDKROOT to the beginning of the include path while searching. When searching paths, find_file first checks is_macosx_sdk_path to see if it needs to add the sdk_root:

[issue36785] Implement PEP 574

2019-06-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Now complete, closing :-) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37271] Make multiple passes of the peephole optimizer until bytecode cannot be optimized further

2019-06-14 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37284] Not obvious that new required attrs of sys.implementation must have a PEP.

2019-06-14 Thread Eric Snow
New submission from Eric Snow : PEP 421 added sys.implementation for Python implementors to provide values required by stdlib code (e.g. importlib). That PEP indicates that any new required attributes must go through the PEP process. [1] That requirement isn't obvious. To fix that we

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-06-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks for the review, Victor! I have had to fix it much earlier :( -- ___ Python tracker ___

[issue35537] use os.posix_spawn in subprocess

2019-06-14 Thread miss-islington
miss-islington added the comment: New changeset e696b15a62dd0c85fe6ed3c9698b5f889c0bb1b3 by Miss Islington (bot) in branch '3.8': bpo-35537: Rewrite setsid test for os.posix_spawn (GH-11721) https://github.com/python/cpython/commit/e696b15a62dd0c85fe6ed3c9698b5f889c0bb1b3 -- nosy:

[issue35876] test_start_new_session for posix_spawnp fails

2019-06-14 Thread miss-islington
miss-islington added the comment: New changeset e696b15a62dd0c85fe6ed3c9698b5f889c0bb1b3 by Miss Islington (bot) in branch '3.8': bpo-35537: Rewrite setsid test for os.posix_spawn (GH-11721) https://github.com/python/cpython/commit/e696b15a62dd0c85fe6ed3c9698b5f889c0bb1b3 -- nosy:

[issue37275] GetConsole(Output)CP is used even when stdin/stdout is redirected

2019-06-14 Thread Eryk Sun
Eryk Sun added the comment: > # Power Shell 6 (use cp65001 by default) > PS C:¥> python3 -c "print('おはよう')" > ps.txt PowerShell standard I/O redirection is different from any shell I've ever used. In this case, it runs Python with StandardOutput set to a handle for a pipe instead of a handle

[issue35876] test_start_new_session for posix_spawnp fails

2019-06-14 Thread STINNER Victor
STINNER Victor added the comment: I rewrote and reenabled the test. It should now be fixed in master, and the 3.8 backport is coming soon. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue35537] use os.posix_spawn in subprocess

2019-06-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +13947 pull_request: https://github.com/python/cpython/pull/14093 ___ Python tracker ___

[issue35876] test_start_new_session for posix_spawnp fails

2019-06-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +13948 pull_request: https://github.com/python/cpython/pull/14093 ___ Python tracker ___

[issue35537] use os.posix_spawn in subprocess

2019-06-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5884043252473ac733aba1d3251d4debe72511e5 by Victor Stinner in branch 'master': bpo-35537: Rewrite setsid test for os.posix_spawn (GH-11721) https://github.com/python/cpython/commit/5884043252473ac733aba1d3251d4debe72511e5 --

[issue35876] test_start_new_session for posix_spawnp fails

2019-06-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5884043252473ac733aba1d3251d4debe72511e5 by Victor Stinner in branch 'master': bpo-35537: Rewrite setsid test for os.posix_spawn (GH-11721) https://github.com/python/cpython/commit/5884043252473ac733aba1d3251d4debe72511e5 --

[issue32280] Expose `_PyRuntime` through a section name

2019-06-14 Thread Eric Snow
Eric Snow added the comment: (Sorry for the delay!) Is the need for a named section due to the fact that _PyRuntime is part of the "internal" C-API (hidden behind the Py_BUILD_CORE macro)? I.E. would it help to build with Py_BUILD_CORE? Regarding the GIL: The plan for 3.9 is to have one

[issue37283] Unexpected behavior when running installer a second time with the same arguments or unattend.xml

2019-06-14 Thread Steve Dower
Steve Dower added the comment: Hmm... interesting. Thanks for the heads-up, I think I know what this may be (there's a conditional planning stage in the bootstrapper that is probably being skipped on Modify). I'll take a look when I get a chance. -- assignee: -> steve.dower

[issue37261] test_io leaks references on AMD64 Fedora Rawhide Refleaks 3.8

2019-06-14 Thread miss-islington
miss-islington added the comment: New changeset 3b976d19c8c09e83eec63a5b62daf4d55bfd6aeb by Miss Islington (bot) in branch '3.8': bpo-37261: Document sys.unraisablehook corner cases (GH-14059) https://github.com/python/cpython/commit/3b976d19c8c09e83eec63a5b62daf4d55bfd6aeb --

[issue37266] Daemon threads must be forbidden in subinterpreters

2019-06-14 Thread STINNER Victor
STINNER Victor added the comment: Daemon threads must die. That's a first step towards their death! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37266] Daemon threads must be forbidden in subinterpreters

2019-06-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 066e5b1a917ec2134e8997d2cadd815724314252 by Victor Stinner in branch 'master': bpo-37266: Daemon threads are now denied in subinterpreters (GH-14049) https://github.com/python/cpython/commit/066e5b1a917ec2134e8997d2cadd815724314252 --

[issue19865] create_unicode_buffer() fails on non-BMP strings on Windows

2019-06-14 Thread STINNER Victor
STINNER Victor added the comment: Thanks Zackery Spytz for the fix. Thanks Gergely Erdélyi for the bug report! Sorry for the long delay. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue36707] The "m" ABI flag of SOABI for pymalloc is no longer needed

2019-06-14 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13946 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14090 ___ Python tracker ___

[issue19865] create_unicode_buffer() fails on non-BMP strings on Windows

2019-06-14 Thread miss-islington
miss-islington added the comment: New changeset b0f6fa8d7d4c6d8263094124df9ef9cf816bbed6 by Miss Islington (bot) in branch '3.8': bpo-19865: ctypes.create_unicode_buffer() supports non-BMP strings on Windows (GH-14081)

[issue19865] create_unicode_buffer() fails on non-BMP strings on Windows

2019-06-14 Thread miss-islington
miss-islington added the comment: New changeset 0b592d513b073cd3a4ba7632907c25b8282f15ce by Miss Islington (bot) in branch '3.7': bpo-19865: ctypes.create_unicode_buffer() supports non-BMP strings on Windows (GH-14081)

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-06-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 33feb2e1a391cde91aefcb8d9cf5144b5fbc5d87 by Victor Stinner in branch '3.7': bpo-35998: Avoid TimeoutError in test_asyncio: test_start_tls_server_1() (GH-14080) (GH-14086)

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-06-14 Thread miss-islington
miss-islington added the comment: New changeset 0c2eb6d21013d77e1160250d3cf69ca80215d064 by Miss Islington (bot) in branch '3.8': bpo-35998: Avoid TimeoutError in test_asyncio: test_start_tls_server_1() (GH-14080)

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-06-14 Thread STINNER Victor
STINNER Victor added the comment: > Finally fixed Thank you very much! I looked at this issue 2 or 3 times but I failed to fix it. This bug was super annoying: it failed multiple times per week on Fedora buildbots. -- ___ Python tracker

[issue34651] Disallow fork in a subinterpreter.

2019-06-14 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-37266: "Daemon threads must be forbidden in subinterpreters". -- ___ Python tracker ___

[issue37193] Memory leak while running TCP/UDPServer with socketserver.ThreadingMixIn

2019-06-14 Thread Wei Li
Wei Li added the comment: I got the same problem when uing the ThreadingTCPServer. I think adding "self._threads = list(filter(lambda x: x.is_alive(), self._threads))" at the last line in process_request method is a potential way to fix the bug -- nosy: +Wei Li

[issue37261] test_io leaks references on AMD64 Fedora Rawhide Refleaks 3.8

2019-06-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 212646cae6b7c4ddc8d98c8b9b6d39a5f259e864 by Victor Stinner in branch 'master': bpo-37261: Document sys.unraisablehook corner cases (GH-14059) https://github.com/python/cpython/commit/212646cae6b7c4ddc8d98c8b9b6d39a5f259e864 --

[issue37261] test_io leaks references on AMD64 Fedora Rawhide Refleaks 3.8

2019-06-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +13945 pull_request: https://github.com/python/cpython/pull/14089 ___ Python tracker ___

[issue37275] GetConsole(Output)CP is used even when stdin/stdout is redirected

2019-06-14 Thread Steve Dower
Steve Dower added the comment: Isn't the point that device_encoding(FD) gets the encoding of the specified file? In this case stdout? It seems odd that chcp doesn't actually update the console code page here, as that is its entire purpose. Perhaps TextIOWrapper is actually getting ACP

[issue19865] create_unicode_buffer() fails on non-BMP strings on Windows

2019-06-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +13944 pull_request: https://github.com/python/cpython/pull/14088 ___ Python tracker ___

[issue19865] create_unicode_buffer() fails on non-BMP strings on Windows

2019-06-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +13943 pull_request: https://github.com/python/cpython/pull/14087 ___ Python tracker ___

[issue19865] create_unicode_buffer() fails on non-BMP strings on Windows

2019-06-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9765efcb39fc03d5b1abec3924388974470a8bd5 by Victor Stinner (Zackery Spytz) in branch 'master': bpo-19865: ctypes.create_unicode_buffer() supports non-BMP strings on Windows (GH-14081)

[issue37274] Scripts folder is empty in python 3.7.3 for windows.

2019-06-14 Thread Steve Dower
Steve Dower added the comment: You should have a set of log files in %TEMP%. Can you zip those up and attach them here? Pip may be failing to install for some reason, and while this ought to be reported, it is not supposed to cause the entire installation to fail. --

[issue34651] Disallow fork in a subinterpreter.

2019-06-14 Thread Eric Snow
Eric Snow added the comment: FYI, I plan on looking into this either today or next Friday. -- ___ Python tracker ___ ___

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-06-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: Finally fixed -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-06-14 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13942 pull_request: https://github.com/python/cpython/pull/14086 ___ Python tracker ___

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

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

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-06-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset f0749da9a535375f05a2015e8960e8ae54877349 by Victor Stinner (Andrew Svetlov) in branch 'master': bpo-35998: Avoid TimeoutError in test_asyncio: test_start_tls_server_1() (GH-14080)

[issue12857] Expose called function on frame object

2019-06-14 Thread Eric Snow
Change by Eric Snow : Removed file: https://bugs.python.org/file48418/122.pdf ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue19865] create_unicode_buffer() fails on non-BMP strings on Windows

2019-06-14 Thread Zackery Spytz
Zackery Spytz added the comment: I have created a pull request for this issue. Please take a look. -- nosy: +ZackerySpytz versions: +Python 3.9 -Python 3.4, Python 3.5, Python 3.6 ___ Python tracker

[issue19865] create_unicode_buffer() fails on non-BMP strings on Windows

2019-06-14 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +13940 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14081 ___ Python tracker ___

[issue35998] test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29

2019-06-14 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +13939 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14080 ___ Python tracker ___

[issue26145] [WIP] PEP 511: Add sys.set_code_transformers()

2019-06-14 Thread STINNER Victor
Change by STINNER Victor : Removed file: https://bugs.python.org/file48419/123.pdf ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37081] Test with OpenSSL 1.1.1c

2019-06-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: Duplicate of #35998 -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> test_asyncio: test_start_tls_server_1() TimeoutError on Fedora 29 ___ Python tracker

[issue37202] Future.cancelled is not set to true immediately after calling Future.cancel

2019-06-14 Thread Andrew Svetlov
Change by Andrew Svetlov : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37278] test_asyncio: ProactorLoopCtrlC leaks one reference

2019-06-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: Welcome! Thanks for the fix! -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37283] Unexpected behavior when running installer a second time with the same arguments or unattend.xml

2019-06-14 Thread SilentGhost
Change by SilentGhost : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___

[issue37273] from pickle import rick

2019-06-14 Thread Luiz Amaral
Luiz Amaral added the comment: It seemed a good idea when I made the PR, now I feel bad for wasting your time  sorry guys. -- ___ Python tracker ___

[issue26145] [WIP] PEP 511: Add sys.set_code_transformers()

2019-06-14 Thread kev levrone
Change by kev levrone : Added file: https://bugs.python.org/file48419/123.pdf ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue12857] Expose called function on frame object

2019-06-14 Thread kev levrone
kev levrone added the comment: def enable_ki_protection(func): func._trio_keyboard_interrupt_protection_enabled = True return func -- nosy: +kevlevrone Added file: https://bugs.python.org/file48418/122.pdf ___ Python tracker

[issue37250] C files generated by Cython set tp_print to NULL: PyTypeObject.tp_print removed, replaced with tp_vectorcall_offset

2019-06-14 Thread Stefan Behnel
Stefan Behnel added the comment: I agree with Steve that broadly redefining a global name in a widely used header file is not a good idea. You never know what names users have in their code. Yes, you can work around it by undef-ing it again, but honestly, in that case, both sides are hacks.

[issue37278] test_asyncio: ProactorLoopCtrlC leaks one reference

2019-06-14 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the review Andrew. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37278] test_asyncio: ProactorLoopCtrlC leaks one reference

2019-06-14 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue37283] Unexpected behavior when running installer a second time with the same arguments or unattend.xml

2019-06-14 Thread Jörn Jacobi
New submission from Jörn Jacobi : When executing the installer with arguments or using the unattend.xml to run it without UI as documented in https://python.readthedocs.io/en/stable/using/windows.html#installing-without-ui the installer ignores the arguments or unattend.xml when it's executed

  1   2   >