[issue32686] python3.6.4 build hangs on test_asyncio macOS 10.13

2018-01-29 Thread 7stud
Change by 7stud <7s...@excite.com>: -- title: python3.6.4 build with --enable-optimzations hangs on macOS 10.13 -> python3.6.4 build hangs on test_asyncio macOS 10.13 ___ Python tracker __

[issue32699] pythonXY._pth : unclear how .pth files are handled

2018-01-29 Thread Thomas Kluyver
Thomas Kluyver added the comment: Thanks Steve, that looks good. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue31368] Add os.preadv() and os.pwritev()

2018-01-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +5249 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32686] python3.6.4 build hangs on test_asyncio macOS 10.13

2018-01-29 Thread 7stud
7stud <7s...@excite.com> added the comment: Thanks for getting back to me Ned! I'll just install a pre-built python, then. In the past, I've always installed python via a .tgz file, so out of habit that is what I tried first. -- ___ Python tracker

[issue32702] Minor markup typo

2018-01-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +5250 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue31233] socketserver.ThreadingMixIn leaks running threads after server_close()

2018-01-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +5251 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue31151] socketserver.ForkingMixIn.server_close() leaks zombie processes

2018-01-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +5252 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue20104] expose posix_spawn(p)

2018-01-29 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +5253 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue20104] expose posix_spawn(p)

2018-01-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I have opened a PR to address this issues: https://github.com/python/cpython/pull/5415 -- ___ Python tracker ___ _

[issue12568] Add functions to get the width in columns of a character

2018-01-29 Thread Robert Booth
Change by Robert Booth : -- nosy: +ishigoya ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue30491] Add a lightweight mechanism for detecting un-awaited coroutine objects

2018-01-29 Thread Nathaniel Smith
Nathaniel Smith added the comment: Okay, more context for future archaelogists / me in 6 months, phrased in the form of a timeline: This discussion started back in March, when I made an issue on the trio tracker [1] with notes on rough edges in CPython that it might make sense to try to targ

[issue32704] Tracking

2018-01-29 Thread Eric V. Smith
Eric V. Smith added the comment: This list is for the development of python, not for help with using python. I suggest you ask your question on the python-list mailing list: https://mail.python.org/mailman/listinfo/python-list -- nosy: +eric.smith resolution: -> not a bug stage: ->

[issue32702] Minor markup typo

2018-01-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for the patch. -- nosy: +rhettinger resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue32705] Current Android does not have posix_spawn

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8997f9cd1a59f04fbb8c7b590295a9f38c548744 by Victor Stinner (Chih-Hsuan Yen) in branch 'master': bpo-32705: Current Android does not have posix_spawn (#5413) https://github.com/python/cpython/commit/8997f9cd1a59f04fbb8c7b590295a9f38c548744 -

[issue20104] expose posix_spawn(p)

2018-01-29 Thread Martin Panter
Martin Panter added the comment: Does the PySequence_Fast result need releasing if the following “for” loop fails? There is a Py_DECREF only in the successful case, which seems inconsistent. Does Python still support non-UTF-8 locales and bytes filenames? I haven’t been keeping up, but I ass

[issue32650] Debug support for native coroutines is broken

2018-01-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +5254 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue20104] expose posix_spawn(p)

2018-01-29 Thread Martin Panter
Martin Panter added the comment: TypeError if “posix_spawn_file_actions_init” fails doesn’t seem right. I suggest OSError, MemoryError, or even plain Exception instead. “File_actionsp” is set to point to a local variable “_file_actions”, but the variable goes out of scope before the pointer i

[issue32650] Debug support for native coroutines is broken

2018-01-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset d9c743b2d118530ca13a8e29f96f30950866bd56 by Andrew Svetlov (Miss Islington (bot)) in branch '3.6': bpo-32650: Add an asyncgen pdb test (GH-5406) (#5419) https://github.com/python/cpython/commit/d9c743b2d118530ca13a8e29f96f30950866bd56 -

[issue20891] PyGILState_Ensure on non-Python thread causes fatal error

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2914bb32e2adf8dff77c0ca58b33201bc94e398c by Victor Stinner in branch 'master': bpo-20891: Py_Initialize() now creates the GIL (#4700) https://github.com/python/cpython/commit/2914bb32e2adf8dff77c0ca58b33201bc94e398c --

[issue20891] PyGILState_Ensure on non-Python thread causes fatal error

2018-01-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +5255 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue20104] expose posix_spawn(p)

2018-01-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Regarding the leak, I was under the assumption that as File_actionsp is pointing to a stack initialized _file_actions and is this last variable the one that is passed to posix_spawn_file_actions_init, it was not needed to explicitly call posix_spawn_fi

[issue20891] PyGILState_Ensure on non-Python thread causes fatal error

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: > I ran pyperformance on my PR 4700. Differences of at least 5%: (...) I tested again these 5 benchmarks were Python was slower with my PR. I ran these benchmarks manually on my laptop using CPU isolation. Result: vstinner@apu$ python3 -m perf compare_to ref.

[issue31151] socketserver.ForkingMixIn.server_close() leaks zombie processes

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset db8189bb8db609ca3993dec31fb95fdbe134469a by Victor Stinner in branch 'master': bpo-31233, bpo-31151: Document socketserver changes (#5417) https://github.com/python/cpython/commit/db8189bb8db609ca3993dec31fb95fdbe134469a -- ___

[issue31233] socketserver.ThreadingMixIn leaks running threads after server_close()

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset db8189bb8db609ca3993dec31fb95fdbe134469a by Victor Stinner in branch 'master': bpo-31233, bpo-31151: Document socketserver changes (#5417) https://github.com/python/cpython/commit/db8189bb8db609ca3993dec31fb95fdbe134469a -- ___

[issue20891] PyGILState_Ensure on non-Python thread causes fatal error

2018-01-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +5256 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue20104] expose posix_spawn(p)

2018-01-29 Thread Martin Panter
Martin Panter added the comment: Your assumption about calling “file_actions_destroy” would be okay if the posix_spawn_file_actions_t object was a simple object or structure. But I imagine most implementations would allocate memory when you call one of the “add” methods. Especially “addopen”,

[issue20891] PyGILState_Ensure on non-Python thread causes fatal error

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: I proposed PR 5421 to fix Python 3.6: modify Py_Initialize() to call PyEval_InitThreads(). I'm not sure of Python 2.7. Not only the backport is not straighforward, but I'm not sure that I want to touch the super-stable 2.7 branch. Maybe for 2.7, I should jus

[issue32706] test_check_hostname() of test_ftplib started to fail randomly

2018-01-29 Thread STINNER Victor
New submission from STINNER Victor : It may be a regression caused by this recent change: --- commit 61d478c71c5341cdc54e6bfb4ace4252852fd972 Author: Christian Heimes Date: Sat Jan 27 15:51:38 2018 +0100 bpo-31399: Let OpenSSL verify hostname and IP address (#3462) bpo-31399: Let

[issue32706] test_check_hostname() of test_ftplib started to fail randomly

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: I'm able to reproduce the failure on my Fedora 27 using two terminals: (1) Run the test in a loop: vstinner@apu$ ./python -m test -v test_ftplib -m test_check_hostname -F (2) Stress the system, example: vstinner@apu$ ./python -m test -j0 -r When the system lo

[issue20891] PyGILState_Ensure on non-Python thread causes fatal error

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: Antoine Pitrou considers that my PR 5421 for Python 3.6 should not be merged: "@vstinner I don't think so. People can already call PyEval_InitThreads." https://github.com/python/cpython/pull/5421#issuecomment-361214537 -- __

[issue31399] Let OpenSSL verify hostname and IP address

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: It seems like the commit 61d478c71c5341cdc54e6bfb4ace4252852fd972 introduced a regression in test_ftplib: bpo-32706. Can you please take a look? -- nosy: +vstinner ___ Python tracker

[issue32706] test_check_hostname() of test_ftplib started to fail randomly

2018-01-29 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +5257 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue20104] expose posix_spawn(p)

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: Python master doesn't build on macOS Tiger anymore: http://buildbot.python.org/all/#/builders/30/builds/581 ./Modules/posixmodule.c:251:19: error: spawn.h: No such file or directory ./Modules/posixmodule.c: In function ‘os_posix_spawn_impl’: ./Modules/posixmod

[issue32661] ProactorEventLoop locks up on close call

2018-01-29 Thread Antoine Pitrou
Change by Antoine Pitrou : -- versions: +Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue32645] test_asyncio: TLS tests fail on "x86 Windows7" buildbot

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: Different failure on x86 Tiger 3.x: http://buildbot.python.org/all/#/builders/30/builds/562 == ERROR: test_sendfile_ssl (test.test_asyncio.test_events.KqueueEventLoopTests) ---

[issue20104] expose posix_spawn(p)

2018-01-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: @vstinner I have removed the #define HAVE_POSIX_SPAWN 1 in PR 5418. -- nosy: -vstinner ___ Python tracker ___

[issue32645] test_asyncio: TLS tests fail on "x86 Windows7" buildbot

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: Similar errors on more recent macOS version, x86-64 El Capitan 3.x: http://buildbot.python.org/all/#/builders/93/builds/234 One example: == ERROR: test_sendfile_ssl_partial (test.test_asynci

[issue32645] test_asyncio: TLS tests fail on "x86 Windows7" buildbot

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: And x86 Ubuntu Shared 3.x: http://buildbot.python.org/all/#/builders/88/builds/603 Example: == ERROR: test_sendfile_ssl_partial (test.test_asyncio.test_events.SelectEventLoopTests) -

[issue32645] test_asyncio: TLS tests fail on "x86 Windows7" buildbot

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: Oh wait, sendfile test errors come from bpo-32622, loop.sendfile(). -- ___ Python tracker ___ ___

[issue32622] Implement loop.sendfile

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: New asyncio sendfile tests fail on many buildbots. See: https://bugs.python.org/issue32645#msg311101 -- resolution: fixed -> status: closed -> open ___ Python tracker __

[issue32645] test_asyncio: TLS tests fail on "x86 Windows7" buildbot

2018-01-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: Should be fixed by https://github.com/python/cpython/commit/0f54e00e963 -- ___ Python tracker ___

[issue32622] Implement loop.sendfile

2018-01-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: I pretty sure it's fixed by https://github.com/python/cpython/commit/0f54e00e963 -- ___ Python tracker ___ ___

[issue32645] test_asyncio: TLS tests fail on "x86 Windows7" buildbot

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: Oh sorry, I was reading old issues. I checked the latest status of buildbot workers for which I reported failures: * x86 Ubuntu Shared 3.x: FIXED * x86-64 El Capitan 3.x: FIXED * x86 Windows7 3.x: FIXED * x86 Tiger 3.x: compilation doesn't work anymore, see h

[issue32706] test_check_hostname() of test_ftplib started to fail randomly

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 51500f37453bbcbc5f1dbc3c38d079c3c1efe5de by Victor Stinner in branch 'master': bpo-32706: Skip test_ftplib.test_check_hostname() (#5422) https://github.com/python/cpython/commit/51500f37453bbcbc5f1dbc3c38d079c3c1efe5de -- _

[issue28685] Optimizing list.sort() by performing safety checks in advance

2018-01-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +5258 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32645] test_asyncio: TLS tests fail on "x86 Windows7" buildbot

2018-01-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks, Victor! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue32707] Python/hamt.c warnings

2018-01-29 Thread STINNER Victor
New submission from STINNER Victor : https://ci.appveyor.com/project/python/cpython/build/3.7build11469 ..\Python\hamt.c(623): warning C4018: '<': signed/unsigned mismatch [C:\projects\cpython\PCbuild\pythoncore.vcxproj] ..\Python\hamt.c(937): warning C4018: '<': signed/unsigned mismatch [C:\p

[issue32708] test_sendfile() hangs on AMD64 FreeBSD 10.x Shared 3.x buildbot

2018-01-29 Thread STINNER Victor
New submission from STINNER Victor : loop.sendfile() was added to asyncio in bpo-32622. The test hangs on AMD64 FreeBSD 10.x Shared 3.x buildbot: http://buildbot.python.org/all/#/builders/87/builds/598 Timeout (0:15:00)! Thread 0x000802006400 (most recent call first): File "/usr/home/bui

[issue32622] Implement loop.sendfile

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: test_sendfile() hangs on AMD64 FreeBSD 10.x Shared 3.x buildbot: bpo-32708. -- ___ Python tracker ___

[issue32709] the iterable for itertools.groupby must be sorted

2018-01-29 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : The documentation of itertools.groupby indicates that generally, the iterable needs to be sorted. In fact, this iterable MUST be sorted. -- assignee: docs@python components: Documentation messages: 35 nosy: docs@python, matrixise priority: norma

[issue32709] the iterable for itertools.groupby must be sorted

2018-01-29 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +5259 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue32710] test_asyncio leaked [4, 4, 3] memory blocks, sum=11 on AMD64 Windows8.1 Refleaks 3.x

2018-01-29 Thread STINNER Victor
New submission from STINNER Victor : AMD64 Windows8.1 Refleaks 3.x: http://buildbot.python.org/all/#/builders/80/builds/118 test_asyncio leaked [4, 4, 3] memory blocks, sum=11 I reproduced the issue. I'm running test.bisect to try to isolate this bug. -- components: asyncio messages: 3

[issue23749] asyncio missing wrap_socket (starttls)

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: test_start_tls_server_1() still fails randomly. Example on AppVeyor on my PR 5423: https://ci.appveyor.com/project/python/cpython/build/3.7build11472 ERROR: test_start_tls_server_1 (test.test_asyncio.test_sslproto.SelectorStartTLSTests) -

[issue28685] Optimizing list.sort() by performing safety checks in advance

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8017b804a06804793bcc0a7f734d8a846b0fe18a by Victor Stinner in branch 'master': bpo-28685: Fix compiler warning (GH-5423) https://github.com/python/cpython/commit/8017b804a06804793bcc0a7f734d8a846b0fe18a -- _

[issue32709] the iterable for itertools.groupby must be sorted

2018-01-29 Thread Cheryl Sabella
Cheryl Sabella added the comment: It depends upon your use case. In general, if you want it to work like SQL group by, then yes, it needs to be sorted, and I believe the documentation already covers that. However, there are scenarios where you want to condense a string, but keep the ordering

[issue32709] the iterable for itertools.groupby must be sorted

2018-01-29 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: good catch, I only use itertools.groupby when I work for a collection. -- ___ Python tracker ___

[issue32709] the iterable for itertools.groupby must be sorted

2018-01-29 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I am going to close my issue because with your use case, this issue makes no sense. -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue32710] test_asyncio leaked [4, 4, 3] memory blocks, sum=11 on AMD64 Windows8.1 Refleaks 3.x

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: It seems to be related to sendfile(): C:\vstinner\python\master>python -m test -R 3:3 test_asyncio -m test.test_asyncio.test_events.ProactorEventLoopTests.test_sendfile_close_peer_in_middle_of_receiving Running Debug|x64 interpreter... Run tests sequentially 0

[issue32622] Implement loop.sendfile

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: ProactorEventLoopTests.test_sendfile_close_peer_in_middle_of_receiving() leaks a reference on Windows: bpo-32710. -- ___ Python tracker ___ _

[issue20891] PyGILState_Ensure on non-Python thread causes fatal error

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset d951157268b2122109098c792562b71ccc41920b by Victor Stinner in branch 'master': bpo-20891: Reenable test_embed.test_bpo20891() (GH-5420) https://github.com/python/cpython/commit/d951157268b2122109098c792562b71ccc41920b -- __

[issue20891] PyGILState_Ensure on non-Python thread causes fatal error

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: Antoine Pitrou: > @vstinner I don't think so. People can already call PyEval_InitThreads. Since only two users complained about https://bugs.python.org/issue20891 in 3 years, I agree that it's ok to not fix Python 2.7 and 3.6. The workaround is to call PyEval

[issue31429] TLS cipher suite compile time option for downstream

2018-01-29 Thread Christian Heimes
Christian Heimes added the comment: New changeset 892d66e422d5367673163d62ba40cd70a37d5cf7 by Christian Heimes in branch 'master': bpo-31429: Define TLS cipher suite on build time (#3532) https://github.com/python/cpython/commit/892d66e422d5367673163d62ba40cd70a37d5cf7 -- __

[issue31429] TLS cipher suite compile time option for downstream

2018-01-29 Thread Christian Heimes
Change by Christian Heimes : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue20891] PyGILState_Ensure on non-Python thread causes fatal error

2018-01-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +5260 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32706] test_check_hostname() of test_ftplib started to fail randomly

2018-01-29 Thread Christian Heimes
Christian Heimes added the comment: Some tests still use asyncore to test TLS. Yes, that's old asyncore, not asyncio. I suggest that we replace asyncore with a threaded test server from test_ssl. -- nosy: +giampaolo.rodola ___ Python tracker

[issue28414] SSL match_hostname fails for internationalized domain names

2018-01-29 Thread Christian Heimes
Christian Heimes added the comment: New changeset 66e5742becce38e69a8f09e5f7051445fc57e92e by Christian Heimes in branch 'master': bpo-28414: ssl module idna test (#5395) https://github.com/python/cpython/commit/66e5742becce38e69a8f09e5f7051445fc57e92e -- ___

[issue31399] Let OpenSSL verify hostname and IP address

2018-01-29 Thread Christian Heimes
Christian Heimes added the comment: New changeset 66e5742becce38e69a8f09e5f7051445fc57e92e by Christian Heimes in branch 'master': bpo-28414: ssl module idna test (#5395) https://github.com/python/cpython/commit/66e5742becce38e69a8f09e5f7051445fc57e92e -- ___

[issue28414] SSL match_hostname fails for internationalized domain names

2018-01-29 Thread Christian Heimes
Christian Heimes added the comment: In PR https://github.com/python/cpython/pull/5395 I added a test to verify that most IDNA domains are now working. IDNA 2008 deviations and the fundamental issue of IDNA server callback and IDNA encoded server_hostname attribute are still open. I'll address

[issue31399] Let OpenSSL verify hostname and IP address

2018-01-29 Thread Socob
Change by Socob <206a8...@opayq.com>: -- nosy: +Socob ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue32711] Fix warnings for Python/ast_unparse.c

2018-01-29 Thread Stéphane Wirtel
New submission from Stéphane Wirtel : Python/ast_unparse.c: At top level: Python/ast_unparse.c:1122:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes] maybe_init_static_strings() ^ Python/ast_unparse.c: In function ‘append_ast_binop’: Python/ast_un

[issue32711] Fix warnings for Python/ast_unparse.c

2018-01-29 Thread Christian Heimes
Christian Heimes added the comment: I'm getting slightly different warnings with GCC 7.2.1: Python/ast_unparse.c: In function ‘append_formattedvalue’: Python/ast_unparse.c:859:41: warning: ordered comparison of pointer with integer zero [-Wextra] if (e->v.FormattedValue.format_spec > 0) {

[issue32711] Fix warnings for Python/ast_unparse.c

2018-01-29 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +5261 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue32711] Fix warnings for Python/ast_unparse.c

2018-01-29 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Christian, I proposed a patch ofr the maybe_init_static_strings and for the const char *op, but I don't know how to fix for the e->v.FormattedValue.format_spec > 0, I don't know how to interpret it :/ But for _PyUnicodeWriter_WriteASCIIString, I don't get

[issue32650] Debug support for native coroutines is broken

2018-01-29 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +5262 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue17651] Errno checking replaced by concrete classes inherited from OSError

2018-01-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: The issue is outdated and mostly fixed. Feel free to open a new one if needed. -- status: pending -> open ___ Python tracker ___

[issue17651] Errno checking replaced by concrete classes inherited from OSError

2018-01-29 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ __

[issue16705] Use concrete classes inherited from OSError instead of errno check

2018-01-29 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs

[issue16648] stdib should use new exception types from PEP 3151

2018-01-29 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___

[issue32712] Modifying a list/dict effects all variables sharing that address

2018-01-29 Thread 64andy
New submission from 64andy <64andy2...@gmail.com>: If multiple lists/dictionaries are in the same memory address (usually caused by var1 = var2), then altering one will effect every variable in that address. The ways I've found to achieve this are: >>> my_list[2] = "Spam" >>> my_list += "9" >>>

[issue32711] Fix warnings for Python/ast_unparse.c

2018-01-29 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi @Chris, with your help I just fixed the last warning, but I don't have the warning with _PyUnicodeWriter_WriteASCIIString :/ -- ___ Python tracker __

[issue32711] Fix warnings for Python/ast_unparse.c

2018-01-29 Thread Christian Heimes
Christian Heimes added the comment: the switch blocks in both functions need to handle invalid input: default: PyExc_SetString...; return -1; -- ___ Python tracker ___ ___

[issue14799] Tkinter ttk tests hang on linux

2018-01-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: Yes, everything works on Ubuntu 17.10 Closing the issue -- resolution: -> works for me stage: -> resolved status: open -> closed ___ Python tracker ___

[issue32624] Implement WriteTransport.is_protocol_paused()

2018-01-29 Thread Andrew Svetlov
Andrew Svetlov added the comment: Let's not do it: the new method is not required for starttls/sendfile, the name and behavior is questionable. New issue should be created with use case example. -- resolution: -> rejected stage: -> resolved status: open -> closed __

[issue32712] Modifying a list/dict effects all variables sharing that address

2018-01-29 Thread R. David Murray
R. David Murray added the comment: Yep, that's the way Python works. You are modifying the same object through different names. Remember that in Python it is the objects that matter (which are identified in CPython via their memory address, but that's an implementation detail) and names are

[issue32650] Debug support for native coroutines is broken

2018-01-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +5263 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue32304] Upload failed (400): Digests do not match on .tar.gz ending with x0d binary code

2018-01-29 Thread Éric Araujo
Éric Araujo added the comment: New changeset f5a793522d539afc84ac7888c9ad189097c43a75 by Éric Araujo (Bo Bayles) in branch '2.7': bpo-32304: Fix distutils upload for tar files ending with b'\r' (GH-5264) (GH-5331) https://github.com/python/cpython/commit/f5a793522d539afc84ac7888c9ad189097c43a

[issue32550] STORE_ANNOTATION bytecode is unnecessary and can be removed.

2018-01-29 Thread Guido van Rossum
Guido van Rossum added the comment: Is this going to make it into beta 1 before tonight? If not should we abandon it or put it off till 3.8 or can it go into 3.7beta2? -- ___ Python tracker _

[issue30595] test_queue_feeder_donot_stop_onexc() of test_multiprocessing_spawn fails randomly on x86 Windows7 3.x

2018-01-29 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +5264 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue20891] PyGILState_Ensure on non-Python thread causes fatal error

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0cecc22842dcc4090eb9cb99e7dababea7034a87 by Victor Stinner in branch '3.6': bpo-20891: Remove test_capi.test_bpo20891() (#5425) https://github.com/python/cpython/commit/0cecc22842dcc4090eb9cb99e7dababea7034a87 -- __

[issue20104] expose posix_spawn(p)

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: FYI bolen-dmg-3.x was also broken by this change: http://buildbot.python.org/all/#/builders/69/builds/114 -- nosy: +vstinner ___ Python tracker _

[issue30595] test_queue_feeder_donot_stop_onexc() of test_multiprocessing_spawn fails randomly on x86 Windows7 3.x

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: New changeset b60f43a0e6052b29517931eea591b0b29903f382 by Victor Stinner in branch '2.7': bpo-30595: Increase test_queue_feeder_donot_stop_onexc() timeout (GH-2148) (GH-5429) https://github.com/python/cpython/commit/b60f43a0e6052b29517931eea591b0b29903f382

[issue30595] test_queue_feeder_donot_stop_onexc() of test_multiprocessing_spawn fails randomly on x86 Windows7 3.x

2018-01-29 Thread STINNER Victor
STINNER Victor added the comment: The Python 2.7 is to fix this failure: http://buildbot.python.org/all/#/builders/59/builds/61 test_lock (test.test_multiprocessing.TestForkAwareThreadLock) ... ok test_ignore (test.test_multiprocessing.TestIgnoreEINTR) ... ok test test_multiprocessing failed --

[issue25988] collections.abc.Indexable

2018-01-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset e6d342156d2ab20fb88c0a5ec615fa8f602c0769 by Raymond Hettinger in branch 'master': bpo-25988: Deprecate exposing collections.abc in collections GH-5414 https://github.com/python/cpython/commit/e6d342156d2ab20fb88c0a5ec615fa8f602c0769

[issue32226] Implement PEP 560: Core support for typing module and generic types

2018-01-29 Thread Guido van Rossum
Guido van Rossum added the comment: ISTM that those ought to be separate issues since PEP 560 has been implemented fully here. Also I am getting cold feet about Union simplification (esp. this late in the release cycle). We should probably retreat on the typing tracker and discuss why we're con

[issue20104] expose posix_spawn(p)

2018-01-29 Thread Ned Deily
Change by Ned Deily : -- nosy: +ned.deily priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue32513] dataclasses: make it easier to use user-supplied special methods

2018-01-29 Thread Guido van Rossum
Guido van Rossum added the comment: Nit: I think the presentation of the 12-row table in msg310830 can be improved, e.g. by putting the legend for add* closer and/or giving add* a clearer name, and by splitting it into three 4-row tables. Currently the legend comes before all the other tables

[issue23749] asyncio missing wrap_socket (starttls)

2018-01-29 Thread Yury Selivanov
Yury Selivanov added the comment: I have a feeling that using threads+IO+asyncio makes the test too unstable on some Windows buildbots. I'll rewrite start-tls tests without using threads. -- ___ Python tracker

[issue32710] test_asyncio leaked [4, 4, 3] memory blocks, sum=11 on AMD64 Windows8.1 Refleaks 3.x

2018-01-29 Thread Yury Selivanov
Yury Selivanov added the comment: Andrew, please take a look. I'll have very limited (to no at all) time to work on Python in the next 2 weeks. -- ___ Python tracker ___

[issue32694] Can no longer specify OpenSLL locations with CPPFLAGS / LDFLAGS ?

2018-01-29 Thread Ned Deily
Ned Deily added the comment: Hmm, I spoke a bit too soon. I now see one side effect of Christian's change is to break the suggested code in the devguide for using a local or private version of OpenSSL on macOS at least, e.g. supplying the paths via CPPFLAGS and LDFLAGS. If there is a pkg-con

[issue32707] Python/hamt.c warnings

2018-01-29 Thread Yury Selivanov
Change by Yury Selivanov : -- keywords: +patch pull_requests: +5265 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

  1   2   3   >