[issue23749] asyncio missing wrap_socket (starttls)

2017-05-17 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I'm very interested in this because, even though we do support STARTTLS in aiosmtpd, it's a hack using non-public symbols, and we have a hidden traceback! (I.e. one that doesn't cause the test suite to fail, but only shows up when clients disconnect.) Here'

[issue30395] deadlocked child process after forking on pystate.c's head_mutex

2017-05-17 Thread David Rothera
Changes by David Rothera : -- nosy: +David Rothera ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue23667] IDLE to provide option for making trailing whitespace visible

2017-05-17 Thread Louie Lu
Louie Lu added the comment: terry, these close isn't changing anything. But I'm migrating my GitHub account from old one to new one, thus will close the PR and reopen another one, sorry for annoying mailing. -- ___ Python tracker

[issue23667] IDLE to provide option for making trailing whitespace visible

2017-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Louie, when you close and open PRs, please give at least a brief explanation. In particular, how is the new one different? -- assignee: -> terry.reedy ___ Python tracker ___

[issue23667] IDLE to provide option for making trailing whitespace visible

2017-05-17 Thread Louie Lu
Changes by Louie Lu : -- pull_requests: +1739 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue23667] IDLE to provide option for making trailing whitespace visible

2017-05-17 Thread Louie Lu
Changes by Louie Lu : -- pull_requests: +1738 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue23667] IDLE to provide option for making trailing whitespace visible

2017-05-17 Thread Louie Lu
Changes by Louie Lu : -- pull_requests: +1737 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue29976] urllib.parse clarify what ' ' in schemes mean

2017-05-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset 906f5330b9c9a74cad1cf27fddaf77e99dff9edd by Senthil Kumaran in branch 'master': bpo-29976: urllib.parse clarify '' in scheme values. (GH-984) https://github.com/python/cpython/commit/906f5330b9c9a74cad1cf27fddaf77e99dff9edd --

[issue16487] Allow ssl certificates to be specified from memory rather than files.

2017-05-17 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- versions: -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue16487] Allow ssl certificates to be specified from memory rather than files.

2017-05-17 Thread Senthil Kumaran
Senthil Kumaran added the comment: Hi Jan-Philip, we might be close on this one. Could you convert your latest patch into PR against (https://github.com/python/cpython). Is will help to record you as the author as we can discuss the patch in python sprints and get this in. :-) Thanks! ---

[issue30396] Document the PyClassMethod* C API functions.

2017-05-17 Thread Decorater
New submission from Decorater: The way the documentation currently is set up there is no way to know what these functions in the C API actually do or what all the parameters are to call it unless someone source dives into python. Because of this I think making an C API page or a section for th

[issue30303] IDLE: Add _utest to textview and add textview tests

2017-05-17 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +1736 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue28618] Decorate hot functions using __attribute__((hot)) to optimize Python

2017-05-17 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue30395] deadlocked child process after forking on pystate.c's head_mutex

2017-05-17 Thread Pádraig Brady
Changes by Pádraig Brady : -- nosy: +pixelbeat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue30395] deadlocked child process after forking on pystate.c's head_mutex

2017-05-17 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue30395] deadlocked child process after forking on pystate.c's head_mutex

2017-05-17 Thread Louis Brandy
New submission from Louis Brandy: A forked process (via os.fork) can inherit a locked `head_mutex` from its parent process and will promptly deadlock in this stack (on my linux box): Child Process (deadlocked): #0 0x7f1a4da82e3c in futex_abstimed_wait_cancelable (private=0, abstime=0x0,

[issue23749] asyncio missing wrap_socket (starttls)

2017-05-17 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue30394] smtplib leaves open sockets around if SMTPConnectError is raised in __init__

2017-05-17 Thread Joel Hillacre
Changes by Joel Hillacre : Added file: http://bugs.python.org/file46875/test_client.py ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue30039] Resuming a 'yield from' stack is broken if a signal arrives in the middle

2017-05-17 Thread Yury Selivanov
Changes by Yury Selivanov : -- pull_requests: +1735 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30394] smtplib leaves open sockets around if SMTPConnectError is raised in __init__

2017-05-17 Thread Joel Hillacre
Changes by Joel Hillacre : Added file: http://bugs.python.org/file46874/test_server.py ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue30394] smtplib leaves open sockets around if SMTPConnectError is raised in __init__

2017-05-17 Thread Joel Hillacre
New submission from Joel Hillacre: I am encountering a ResourceWarning about an unclosed socket when getting a non 220 response during connect() in __init__() of smtplib.SMTP. Attached are a client script causing this warning for me, a server script to cause the client to the warning and a pat

[issue30339] test_multiprocessing_main_handling: "RuntimeError: Timed out waiting for results" on x86 Windows7 3.x

2017-05-17 Thread Jeremy Kloth
Changes by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue30339] test_multiprocessing_main_handling: "RuntimeError: Timed out waiting for results" on x86 Windows7 3.x

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: Another failure on AMD64 Windows7 SP1 3.5: http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.5/builds/145/steps/test/logs/stdio == FAIL: test_directory (test.test_multiprocessin

[issue30039] Resuming a 'yield from' stack is broken if a signal arrives in the middle

2017-05-17 Thread Yury Selivanov
Yury Selivanov added the comment: Yes, I'll do the backport. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30039] Resuming a 'yield from' stack is broken if a signal arrives in the middle

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: The change should be backported to 3.5 and 3.6, right? The change seems very short and safe. IMHO it's ok to backport. -- nosy: +haypo ___ Python tracker _

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: Ok, the warning should now be fixed. Thanks for the report Xiang. I don't know how I missed it ;-) -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue29137] Fix fpectl-induced ABI breakage

2017-05-17 Thread Nathaniel Smith
Nathaniel Smith added the comment: @Dima: > @njs: to point out that usefulness of this module is not just wishful > thinking. I just used it to locate, up to the line in a Python extension > module written in C, a bug in Sagemath (that has perhaps 20 FPU-using > extensions, some of them as lar

[issue18617] AIA chasing for missing intermediate certificates on TLS connections

2017-05-17 Thread Alex Gaynor
Alex Gaynor added the comment: Just discussed with Christian, and we're both in favor of adding AIA chasing support to the stdlib ssl. -- nosy: +alex, janssen ___ Python tracker ___

[issue29102] Add an id field to PyInterpreterState.

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: What the status of this issue Eric? Do you still need interpreter ID? -- ___ Python tracker ___ ___

[issue30303] IDLE: Add _utest to textview and add textview tests

2017-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am adding a couple of exception tests to complete coverage. -- ___ Python tracker ___ ___ Python-b

[issue30303] IDLE: Add _utest to textview and add textview tests

2017-05-17 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- title: IDLE: Add _utest to textview -> IDLE: Add _utest to textview and add textview tests ___ Python tracker ___

[issue30303] IDLE: Add _utest to textview

2017-05-17 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> backport needed versions: +Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue30357] test_thread should clean threads after each test

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset f5633e02433a81a6d0f14fc1c3294e752f4ac1a3 by Victor Stinner in branch '3.5': bpo-30387: Fix warning in test_threading (#1634) (#1637) https://github.com/python/cpython/commit/f5633e02433a81a6d0f14fc1c3294e752f4ac1a3 -- __

[issue18617] AIA chasing for missing intermediate certificates on TLS connections

2017-05-17 Thread April King
April King added the comment: Err, sorry, I may have been a bit unclear. AIA chasing is not *universal* amongst browsers. IE, Edge, Chrome, and Safari perform AIA chasing. Firefox maintains a cache of intermediate certificate authorities. I noted that a bit further underneath, but my apolo

[issue29063] Fixed timemodule compile warnings (gmtoff).

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: I backported the fix to 3.6. So all warnings on timemodule.c should now be fixed. Thanks for the bug report and the patch Decorater! commit 69f3a5ac28041fac86897e0c90d98ad9fd6fa3f7 Author: Victor Stinner Date: Wed May 17 14:45:45 2017 -0700 -- reso

[issue30357] test_thread should clean threads after each test

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 44944b602af23712d7119801183cdc6e202e4f76 by Victor Stinner in branch '3.6': bpo-30387: Fix warning in test_threading (#1634) (#1636) https://github.com/python/cpython/commit/44944b602af23712d7119801183cdc6e202e4f76 -- __

[issue30303] IDLE: Add _utest to textview

2017-05-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ba365da9cee8901fad08ab0b61c7489c110e5c97 by terryjreedy (Louie Lu) in branch 'master': bpo-30303: IDLE: Add _utest argument to textview (#1499) https://github.com/python/cpython/commit/ba365da9cee8901fad08ab0b61c7489c110e5c97 -- ___

[issue18617] AIA chasing for missing intermediate certificates on TLS connections

2017-05-17 Thread April King
April King added the comment: Browsers universally support AIA chasing/fetching, as do a number of underlying OS libraries, such as Secure Transport (macOS) and schannel (Windows). As a result, it is becoming increasingly common for server operators to fail to include the entire certificate ch

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset f5633e02433a81a6d0f14fc1c3294e752f4ac1a3 by Victor Stinner in branch '3.5': bpo-30387: Fix warning in test_threading (#1634) (#1637) https://github.com/python/cpython/commit/f5633e02433a81a6d0f14fc1c3294e752f4ac1a3 -- __

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 44944b602af23712d7119801183cdc6e202e4f76 by Victor Stinner in branch '3.6': bpo-30387: Fix warning in test_threading (#1634) (#1636) https://github.com/python/cpython/commit/44944b602af23712d7119801183cdc6e202e4f76 -- __

[issue17560] problem using multiprocessing with really big objects?

2017-05-17 Thread Igor
Changes by Igor : -- nosy: +i3v ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman

[issue30393] test_readline hangs

2017-05-17 Thread wmayner
New submission from wmayner: I'm trying to build Python 3.6.1 from source with the `--enable-optimizations` configuration option. As I understand it, this entails running and profiling all the tests for PGO. When `test_readline` is run, it hangs. OS: Debian 3.16.43-2 (2017-04-30) x86_64 GNU/Li

[issue29102] Add an id field to PyInterpreterState.

2017-05-17 Thread Eric Snow
Changes by Eric Snow : -- pull_requests: +1734 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue28411] Eliminate PyInterpreterState.modules.

2017-05-17 Thread Eric Snow
Changes by Eric Snow : -- pull_requests: +1732 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue29104] Left bracket remains in format string result when '\' preceeds it

2017-05-17 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue29660] Document that print/format_exception ignore etype

2017-05-17 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue29723] 3.6.1rc1 adds the current directory to sys.path when running a subdirectory's __main__.py; previous versions did not

2017-05-17 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue30039] Resuming a 'yield from' stack is broken if a signal arrives in the middle

2017-05-17 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset ab4413a7e9bda95b6fcd517073e2a51dafaa1624 by Yury Selivanov (Nathaniel J. Smith) in branch 'master': bpo-30039: Don't run signal handlers while resuming a yield from stack (#1081) https://github.com/python/cpython/commit/ab4413a7e9bda95b6fcd517073e

[issue30318] test_distutils is too verbose on Windows

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: > The problem here I think is that distutils itself should only dump > stdout/stderr on failure, ... Hum, I would like to see warnings even if the compilation succeed. So I would prefer to only modify test_distutils. -- __

[issue30318] test_distutils is too verbose on Windows

2017-05-17 Thread Steve Dower
Steve Dower added the comment: The problem here I think is that distutils itself should only dump stdout/stderr on failure, but because of how it spawns processes it never actually captures the output from external tools. We really need to update distutils's spawn() function to use subprocess.

[issue30390] Document how to make classes in the C API.

2017-05-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The title of this issue is "Document how to make classes in the C API." This already is documented. For documenting the PyClassMethod* names open a new issue. -- status: open -> closed ___ Python tracker

[issue29619] st_ino (unsigned long long) is casted to long long in posixmodule.c:_pystat_fromstructstat

2017-05-17 Thread Xavier de Gaye
Xavier de Gaye added the comment: > What is the type of st_ino? It's not off_t? The type of st_ino is unsigned long long as defined in sys/stat.h for x86 and off_t is defined in sys/types.h this way;, quoting: /* This historical accident means that we had a 32-bit off_t on 32-bit architec

[issue30392] default webbrowser fails on macOS Sierra 10.12.5

2017-05-17 Thread Andrew Jaffe
Changes by Andrew Jaffe : -- title: default webbrowser not used on macOS Sierra 10.12.5 -> default webbrowser fails on macOS Sierra 10.12.5 ___ Python tracker ___ __

[issue30392] default webbrowser not used on macOS Sierra 10.12.5

2017-05-17 Thread Andrew Jaffe
Andrew Jaffe added the comment: A few more details: - I believe this worked correctly under previous macOS versions (but I don't currently have access to any such machines). - This behaviour is identical under 3.6.1 and 2.7.13 (untested elsewhere) - Behaviour first noticed under Jupyter not

[issue30392] default webbrowser not used on macOS Sierra 10.12.5

2017-05-17 Thread Andrew Jaffe
New submission from Andrew Jaffe: On the newly-released macOS Sierra 10.12.5, the default web browser which is meant to returned by webbrowser.get() gives an error. Specifically: >>> import webbrowser >>> br = webbrowser.get() >>> br.open("http://python.org";) 0:33: execution er

[issue30392] default webbrowser not used on macOS Sierra 10.12.5

2017-05-17 Thread Andrew Jaffe
Changes by Andrew Jaffe : -- title: default webbrowser macOS Sierra 10.12.5 -> default webbrowser not used on macOS Sierra 10.12.5 ___ Python tracker ___ ___

[issue30392] default webbrowser macOS Sierra 10.12.5

2017-05-17 Thread Andrew Jaffe
Changes by Andrew Jaffe : -- components: Library (Lib), macOS nosy: Andrew.Jaffe, ned.deily, ronaldoussoren priority: normal severity: normal status: open title: default webbrowser macOS Sierra 10.12.5 type: behavior versions: Python 2.7, Python 3.6 _

[issue28240] Enhance the timeit module: display average +- std dev instead of minimum

2017-05-17 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue30390] Document how to make classes in the C API.

2017-05-17 Thread Decorater
Changes by Decorater : -- status: closed -> open ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue30390] Document how to make classes in the C API.

2017-05-17 Thread Decorater
Decorater added the comment: Still it does look the functions lited in the second comment are undocumented. https://docs.python.org/3/search.html?q=PyClassMethodDescr_Type https://docs.python.org/3/search.html?q=PyClassMethod_New&check_keywords=yes&area=default However on the last function I di

[issue29063] Fixed timemodule compile warnings (gmtoff).

2017-05-17 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1731 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue29063] Fixed timemodule compile warnings (gmtoff).

2017-05-17 Thread STINNER Victor
Changes by STINNER Victor : -- title: Fixed timemodule compile warnings. -> Fixed timemodule compile warnings (gmtoff). ___ Python tracker ___ __

[issue30391] test_socketserver killed after 15 min on AMD64 FreeBSD 10.x Shared 3.6

2017-05-17 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/AMD64%20FreeBSD%2010.x%20Shared%203.6/builds/142/steps/test/logs/stdio ... 0:10:10 [396/405] test_pulldom passed -- running: test_socketserver (487 sec) 0:10:11 [397/405] test_dictcomps passed -- running: test_socketserv

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: Oh, strange, the test in Python 2.7 doesn't have the bug: see commit 30a5445b30bb627a64b2d30788f6db58f6db3ae1. Compare it to the code in Python 3: commit 9939cc89a4ee54ab50719a597a8b8a0795a691f6. The warning is already fixed in master. I created backports for

[issue30357] test_thread should clean threads after each test

2017-05-17 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1730 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1729 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30149] inspect.signature() doesn't support partialmethod without explicit self parameter

2017-05-17 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 378d70642aa1c8de2a53ecb811927faf0388db2d by Yury Selivanov (Dong-hee Na) in branch 'master': bpo-30149: Fix partialmethod without explicit self parameter (#1308) https://github.com/python/cpython/commit/378d70642aa1c8de2a53ecb811927faf0388db2d -

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1727 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30357] test_thread should clean threads after each test

2017-05-17 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1728 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset f8d05b3a24e745ab4a974b891ac1389e2f11ce4d by Victor Stinner in branch 'master': bpo-30387: Fix warning in test_threading (#1634) https://github.com/python/cpython/commit/f8d05b3a24e745ab4a974b891ac1389e2f11ce4d -- ___

[issue30357] test_thread should clean threads after each test

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset f8d05b3a24e745ab4a974b891ac1389e2f11ce4d by Victor Stinner in branch 'master': bpo-30387: Fix warning in test_threading (#1634) https://github.com/python/cpython/commit/f8d05b3a24e745ab4a974b891ac1389e2f11ce4d -- ___

[issue29063] Fixed timemodule compile warnings.

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: commit 0d659e5614cad512a1940125135b443b3eecb5d7 Author: Victor Stinner Date: Tue Apr 25 01:22:42 2017 +0200 -- pull_requests: +1726 ___ Python tracker __

[issue29619] st_ino (unsigned long long) is casted to long long in posixmodule.c:_pystat_fromstructstat

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: Before 0f6d73343d342c106cda2219ebb8a6f0c4bd9b3c, the code used PyLong_FromLong((long)st->st_ino), so the change doesn't introduce a regression but detected a real bug, right? > On Android architecture 'x86' at api level 21: >sizeof(st->st_ino) = 8 > and fr

[issue29137] Fix fpectl-induced ABI breakage

2017-05-17 Thread Dima Pasechnik
Dima Pasechnik added the comment: PS. I would volunteer to fix it and maintain it, assuming I have some modest funding to support such an activity. (What precisely "it" should be, is another question). -- ___ Python tracker

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: https://github.com/python/cpython/pull/1634 fixes the test_is_alive_after_fork() warning on Linux. -- ___ Python tracker ___ __

[issue29137] Fix fpectl-induced ABI breakage

2017-05-17 Thread Dima Pasechnik
Dima Pasechnik added the comment: @njs: to point out that usefulness of this module is not just wishful thinking. I just used it to locate, up to the line in a Python extension module written in C, a bug in Sagemath (that has perhaps 20 FPU-using extensions, some of them as large as numpy). (

[issue30357] test_thread should clean threads after each test

2017-05-17 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1725 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +1724 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: Oh wait, I succeeded to reproduce the bug on master. In verbose mode, we even get the test name! test_is_alive_after_fork (test.test_threading.ThreadTests) ... Warning -- threading_cleanup() failed to cleanup 0 threads after 3 sec (count: 0, dangling: 21) ok

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: > Seems related to 79ef7f8e88a4972c4aecf95cfc5cd934f1861e08. That's bpo-30357. It's just that before test_threaindg "leaked" tests but there was no warning. Getting a warning is a good thing, it means that we have a bug that it must be fixed ;-) --

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: What is your OS? On which Python version? -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue24254] Make class definition namespace ordered by default

2017-05-17 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue30283] [2.7] Backport test_regrtest (partially) on Python 2.7

2017-05-17 Thread STINNER Victor
STINNER Victor added the comment: Serhiy Storchaka: "Could you add a Misc/NEWS entry about backported regrtest features?" Oh, I don't really consider that regrtest is part of "Python", but sure, I can document my changes in NEWS. I reopen the issue to not forget. -- resolution: fixed

[issue30390] Document how to make classes in the C API.

2017-05-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is documented. See https://docs.python.org/3/extending/newtypes.html. -- nosy: +serhiy.storchaka resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue30390] Document how to make classes in the C API.

2017-05-17 Thread Decorater
Decorater added the comment: Hmm seems that when looking at the exports in python36.dll that the following functions seem to not be documented as far as I seen: PyClassMethodDescr_Type PyClassMethod_New PyClassMethod_Type There might be more functions dealing with classes that are not document

[issue30389] distutils._msvccompiler cannot find VS 2017

2017-05-17 Thread Steve Dower
Changes by Steve Dower : -- pull_requests: +1723 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue30390] Document how to make classes in the C API.

2017-05-17 Thread Decorater
New submission from Decorater: On the C API, it tells how to make modules, functions, variables, and other things, but what about classes? Like for example if you wanted to make a class with all of the methods having to use direct C Code which would then be converted to PyObject *'s for retur

[issue30389] distutils._msvccompiler cannot find VS 2017

2017-05-17 Thread Steve Dower
New submission from Steve Dower: Visual Studio 2017 (including VC 14.1) cannot be discovered by the old registry key method. There is a new method that requires instantiating a COM class and querying for all installs, then selecting one. My pyfindvs library (https://github.com/zooba/pyfindvs)

[issue29063] Fixed timemodule compile warnings.

2017-05-17 Thread Decorater
Decorater added the comment: I think the patch that haypo added should help take care of the warning. It does however only warned when building for 64 bit. -- ___ Python tracker ___

[issue28023] python-gdb.py must be updated for the new Python 3.6 compact dict

2017-05-17 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue29252] self in classes missinterpreted as a string.

2017-05-17 Thread Decorater
Changes by Decorater : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-

[issue27350] Compact and ordered dict

2017-05-17 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue29895] Distutils blows up with an incorrect pypirc, should be caught

2017-05-17 Thread Tommy Carpenter
Tommy Carpenter added the comment: Hi, I think option B might be best, because the issue was that I didn't know at first that the problem was in my .pypirc. I think this stack trace is not the most elegant way for the user to figure that out. Maybe catching this and then presenting a human re

[issue29619] st_ino (unsigned long long) is casted to long long in posixmodule.c:_pystat_fromstructstat

2017-05-17 Thread Xavier de Gaye
Xavier de Gaye added the comment: In configure.ac, HAVE_LARGEFILE_SUPPORT is defined if (off_t > long && longlong >= off_t) and thus, when it is not defined, it means that off_t <= long (since longlong < off_t is false) so an off_t should fit into a long. But on Android the size of off_t is di

[issue30388] ndbm can't iterate through values on OS X

2017-05-17 Thread Forest Gregg
Changes by Forest Gregg : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue30388] ndbm can't iterate through values on OS X

2017-05-17 Thread Forest Gregg
New submission from Forest Gregg: On Mac OS 10.12.4, a large shelve, backed by ndbm, can be created. But when I attempt to iterate through the values of the shelve it raises this exception: File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/dedupe/api.py",

[issue30387] warning of threading_cleanup in test_threading

2017-05-17 Thread Xiang Zhang
New submission from Xiang Zhang: Running test_threading throws a warning now. ./python -m test test_threading Run tests sequentially 0:00:00 load avg: 0.22 [1/1] test_threading Warning -- threading_cleanup() failed to cleanup 0 threads after 2 sec (count: 0, dangling: 21) 1 test OK. Total dura

[issue30386] Add a build infrastructure for Android

2017-05-17 Thread Xavier de Gaye
Changes by Xavier de Gaye : Added file: http://bugs.python.org/file46871/android-api-24.patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue30386] Add a build infrastructure for Android

2017-05-17 Thread Xavier de Gaye
Xavier de Gaye added the comment: The build system for the x86_64, x86 and armv7 architectures has been tested on API 21 and for the x86_64 and arm64 architectures on API 24. Of these combinations of architecture/api, only x86_64 on API 21 builds correctly today, the others were building corr

[issue30376] Curses documentation refers to incorrect type

2017-05-17 Thread Berker Peksag
Changes by Berker Peksag : -- pull_requests: +1721 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

  1   2   >