[issue31380] test_undecodable_filename() in Lib/test/test_httpservers.py broken on APFS

2017-11-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I suggest to catch an error and skip the test if OSError with the specific errno has been raised. -- nosy: +serhiy.storchaka ___ Python tracker

[issue32120] python 3.6.0 is not importing sqlite3

2017-11-27 Thread Abinaya
Abinaya added the comment: Sorry to re-open. Please anyone let me know why python 3.6.0 not supporting sqlite3. our customers request to give the clarification. i have tried a lot and spend more time on this but i couldn't get the exact reason. --

[issue32118] Doc for comparison of sequences with non-orderable elements

2017-11-27 Thread Dubslow
Dubslow added the comment: I like Terry's suggestion much better. I've closed my GitHub PR in favor of Terry's change. My only suggested tweak might be throwing in something like "(e.g." None)", perhaps e.g. "Instances of an unordered class (e.g. None) become ordered...",

[issue31380] test_undecodable_filename() in Lib/test/test_httpservers.py broken on APFS

2017-11-27 Thread Ned Deily
Ned Deily added the comment: More background: APFS became available in macOS 10.12 although not used by default. But with the current macOS 10.13 (High Sierra), root file systems on certain devices, such as SSDs, are automatically migrated from HFS+ to APFS so are much more

[issue31453] Debian Sid/Buster: Cannot enable TLS 1.0/1.1 with PROTOCOL_TLS

2017-11-27 Thread Ned Deily
Ned Deily added the comment: FWIW, Debian seems to have re-enabled TLS 1.0 and 1.1 in "testing". As a result, test_ssl now passes again. openssl (1.1.0g-1) unstable; urgency=medium * New upstream version - Fixes CVE-2017-3735 - Fixes CVE-2017-3736 * Remove

[issue32107] test_uuid uses the incorrect bitmask

2017-11-27 Thread STINNER Victor
STINNER Victor added the comment: The commit 9522a218f7dff95c490ff359cc60e8c2af35f5c8 broke multiple buildbots. Since I don't how to fix it, I reverted it, to get more time to design, implement and test a proper fix. --

[issue32107] test_uuid uses the incorrect bitmask

2017-11-27 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- pull_requests: +4520 ___ Python tracker ___ ___

[issue32107] test_uuid uses the incorrect bitmask

2017-11-27 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Nov 27, 2017, at 18:38, STINNER Victor wrote: > > STINNER Victor added the comment: > > The commit 9522a218f7dff95c490ff359cc60e8c2af35f5c8 broke multiple buildbots. > Since I don't

[issue32142] heapq.heappop - documentation misleading or doesn't work

2017-11-27 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: docs@python -> rhettinger nosy: +rhettinger ___ Python tracker ___

[issue32107] test_uuid uses the incorrect bitmask

2017-11-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset c9409f7c4533f75b11a4c44e839d95a1403f8a0a by Victor Stinner in branch 'master': Revert "bpo-32107 - Better merge of #4494 (#4576)" (#4593) https://github.com/python/cpython/commit/c9409f7c4533f75b11a4c44e839d95a1403f8a0a

[issue32118] Doc for comparison of sequences with non-orderable elements

2017-11-27 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: docs@python -> rhettinger ___ Python tracker ___

[issue31245] Asyncio UNIX socket and SOCK_DGRAM

2017-11-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset 28e61650b23119b68cd7943ccc01b8b9af1b4103 by Victor Stinner in branch 'master': bpo-31245: asyncio: Fix typo, isistance => isinstance (#4594)

[issue31245] Asyncio UNIX socket and SOCK_DGRAM

2017-11-27 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +4519 ___ Python tracker ___ ___

[issue32107] test_uuid uses the incorrect bitmask

2017-11-27 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +4518 ___ Python tracker ___ ___

[issue32149] bolen-dmg-3.x: compiled failed with: blurb: command not found

2017-11-27 Thread Ned Deily
Ned Deily added the comment: Reverting the change should now have fixed the build failure. We'll see for sure next time the installer build runs. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___

[issue32107] test_uuid uses the incorrect bitmask

2017-11-27 Thread STINNER Victor
STINNER Victor added the comment: http://buildbot.python.org/all/#/builders/16/builds/252 == FAIL: test_ifconfig_getnode (test.test_uuid.TestInternalsWithoutExtModule)

[issue32136] Move embedding tests to their own test module

2017-11-27 Thread Nick Coghlan
Change by Nick Coghlan : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue32136] Move embedding tests to their own test module

2017-11-27 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 39f0bb5ad0715dbfc0a2d5dd6d0ddea9e4c65ae2 by Nick Coghlan in branch 'master': bpo-32136: Separate embedding tests from C API tests (GH-4567) https://github.com/python/cpython/commit/39f0bb5ad0715dbfc0a2d5dd6d0ddea9e4c65ae2

[issue30256] Adding a SyncManager Queue proxy to a SyncManager dict or Namespace proxy raises an exception

2017-11-27 Thread Alexander Prokhorov
Change by Alexander Prokhorov : -- nosy: +Alexander Prokhorov ___ Python tracker ___ ___

[issue32149] bolen-dmg-3.x: compiled failed with: blurb: command not found

2017-11-27 Thread Ned Deily
Ned Deily added the comment: New changeset 122fc136b34e11906466851e77bb6959946467ee by Ned Deily in branch 'master': Revert "bpo-30487: automatically create a venv and install Sphinx when running make (GH-4346)" (#4592)

[issue10544] yield expression inside generator expression does nothing

2017-11-27 Thread Guido van Rossum
Guido van Rossum added the comment: OK, great. -- ___ Python tracker ___ ___

[issue30487] DOC: automatically create a venv and install Sphinx when running make

2017-11-27 Thread Ned Deily
Ned Deily added the comment: New changeset 122fc136b34e11906466851e77bb6959946467ee by Ned Deily in branch 'master': Revert "bpo-30487: automatically create a venv and install Sphinx when running make (GH-4346)" (#4592)

[issue32144] email.policy.SMTP and SMTPUTF8 doesn't honor linesep's value

2017-11-27 Thread Abhilash Raj
Abhilash Raj added the comment: I understand that the line endings are meant for "outputs", but what constitutes as output in this case? I now see that `EmailMessage.as_string()` gives me `\r\n` as line endings and, which is probably what you mean by output and

[issue30487] DOC: automatically create a venv and install Sphinx when running make

2017-11-27 Thread Caleb Hattingh
Caleb Hattingh added the comment: Yep, sounds good. -- ___ Python tracker ___ ___

[issue30487] DOC: automatically create a venv and install Sphinx when running make

2017-11-27 Thread Ned Deily
Ned Deily added the comment: "Now that blurb is there too, the logic for checking what is and isn't already present becomes a bit complex to reason through." Yeah, it is a bit complicated. There's also the issue of trying to use a make recipe to ensure a "venv" exists and

[issue10544] yield expression inside generator expression does nothing

2017-11-27 Thread Nick Coghlan
Nick Coghlan added the comment: As far as I'm aware, there's nothing that specifically promises these constructs will do anything in Py3 at all - the existing behaviour is just an accident of implementation arising from the way nested scopes and yield expressions interact

[issue30487] DOC: automatically create a venv and install Sphinx when running make

2017-11-27 Thread Caleb Hattingh
Caleb Hattingh added the comment: It looks like the check for an existing sphinx-build passes, and so no new venv is made, but this also means that blurb doesn't get installed. I was concerned about this, but figured that at least the buildbots would create new envs

[issue32144] email.policy.SMTP and SMTPUTF8 doesn't honor linesep's value

2017-11-27 Thread R. David Murray
R. David Murray added the comment: Your are reading the documentation wrong. For linesep, it says "The string to be used to terminate lines in serialized output." The key word there is "output". email operates in "universal newline mode" when parsing messages,

[issue32107] test_uuid uses the incorrect bitmask

2017-11-27 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Nov 27, 2017, at 16:21, Ned Deily wrote: > > The latest checkin seems to have broken several buildbots: > > http://buildbot.python.org/all/#builders/47/builds/243 >

[issue30487] DOC: automatically create a venv and install Sphinx when running make

2017-11-27 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +4516 stage: needs patch -> patch review ___ Python tracker ___

[issue32149] bolen-dmg-3.x: compiled failed with: blurb: command not found

2017-11-27 Thread Ned Deily
Change by Ned Deily : -- keywords: +patch pull_requests: +4517 stage: -> patch review ___ Python tracker ___

[issue30487] DOC: automatically create a venv and install Sphinx when running make

2017-11-27 Thread Zachary Ware
Zachary Ware added the comment: Go ahead with the revert, Ned. -- ___ Python tracker ___

[issue30487] DOC: automatically create a venv and install Sphinx when running make

2017-11-27 Thread Ned Deily
Ned Deily added the comment: One problem is that the venv can't always be automatically built in all environments, as a recent Python 3 needs to be available in the right location. -- ___ Python tracker

[issue30487] DOC: automatically create a venv and install Sphinx when running make

2017-11-27 Thread Caleb Hattingh
Caleb Hattingh added the comment: Hi Ned It's still supposed to allow both. It sounds like it's not working properly. I'll have a look. FYI, I worked on this for Zach Ware who is the primary stakeholder for this feature. Rgds Caleb > On 28 Nov 2017, at 7:12 AM,

[issue32107] test_uuid uses the incorrect bitmask

2017-11-27 Thread Ned Deily
Ned Deily added the comment: The latest checkin seems to have broken several buildbots: http://buildbot.python.org/all/#builders/47/builds/243 http://buildbot.python.org/all/#builders/88/builds/248 http://buildbot.python.org/all/#builders/13/builds/255

[issue32149] bolen-dmg-3.x: compiled failed with: blurb: command not found

2017-11-27 Thread Ned Deily
Ned Deily added the comment: I think the new change in Issue30487 should be reverted. It will likely break other build scripts. -- ___ Python tracker

[issue30487] DOC: automatically create a venv and install Sphinx when running make

2017-11-27 Thread Ned Deily
Ned Deily added the comment: I don't think this is a good idea. It has already caused problems with one buildbot (Issue32149) and will likely break other build scripts. As the Doc Makefile stood previous to this commit, the Doc builds could take advantage of either a

[issue32107] test_uuid uses the incorrect bitmask

2017-11-27 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Nov 27, 2017, at 16:08, Serhiy Storchaka wrote: > > We shouldn't check the 42nd bit in maintenance releases. This check will fail > on some computers. Oh, without the preferential return of the universally

[issue32107] test_uuid uses the incorrect bitmask

2017-11-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: We shouldn't check the 42nd bit in maintenance releases. This check will fail on some computers. -- ___ Python tracker

[issue32107] test_uuid uses the incorrect bitmask

2017-11-27 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- pull_requests: +4515 ___ Python tracker ___ ___

[issue32107] test_uuid uses the incorrect bitmask

2017-11-27 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- pull_requests: +4514 ___ Python tracker ___ ___

[issue32107] test_uuid uses the incorrect bitmask

2017-11-27 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Nov 27, 2017, at 15:18, Serhiy Storchaka wrote: > > My apologies for my dim comment and my obliviousness that leaded to spending > your time on trying to fix a wrong issue. No worries at all. Thanks for working

[issue32149] bolen-dmg-3.x: compiled failed with: blurb: command not found

2017-11-27 Thread David Bolen
David Bolen added the comment: Yeah, I'm not sure if I can do anything on my side. It looks like it's an issue with the build patch (issue30487, commit d8d6b91, assuming that's what Zachary is referring to). The blurb complaint is about something that appears should

[issue32107] test_uuid uses the incorrect bitmask

2017-11-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: My apologies for my dim comment and my obliviousness that leaded to spending your time on trying to fix a wrong issue. Do you mind to fix the original issue (by removing the wrong check) in maintenance branches? --

[issue32107] test_uuid uses the incorrect bitmask

2017-11-27 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: New changeset 9522a218f7dff95c490ff359cc60e8c2af35f5c8 by Barry Warsaw in branch 'master': bpo-32107 - Better merge of #4494 (#4576) https://github.com/python/cpython/commit/9522a218f7dff95c490ff359cc60e8c2af35f5c8 --

[issue32150] Expand tabs to spaces in C files

2017-11-27 Thread Guido van Rossum
Guido van Rossum added the comment: Yeah, some editors don't clean up trailing ws. Even with Emacs it occasionally happens to me. -- ___ Python tracker

[issue32150] Expand tabs to spaces in C files

2017-11-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Tools/scripts/patchcheck.py does this check. It is used for .py and .rst files, and there is issue8912 for applying it to .c/.h files. patchcheck.py also checks trailing whitespaces. While I and other core developers constantly

[issue32150] Expand tabs to spaces in C files

2017-11-27 Thread Guido van Rossum
Guido van Rossum added the comment: Maybe we also need (in a separate PR) a git pre-commit hook that prevents tabs in the source (except in the few exceptions you left alone). -- ___ Python tracker

[issue32151] -mvenv vs minor python version updates

2017-11-27 Thread Ric Anderson
New submission from Ric Anderson : When a site updates python3 from 3.5 to 3.6 (based on https://docs.python.org/3/faq/general.html#how-does-the-python-version-numbering-scheme-work, this is would be a minor version update),pre-upgrade venv setups created with "python3

[issue32150] Expand tabs to spaces in C files

2017-11-27 Thread Guido van Rossum
Guido van Rossum added the comment: I think I'm cool with this (even though it will make blame-finding on GitHub a tad harder -- what's the magic URL appendage again?) -- ___ Python tracker

[issue32071] Add py.test-like "-k" test selection to unittest

2017-11-27 Thread Jonas H.
Jonas H. added the comment: https://github.com/python/cpython/pull/4589 - Add 3.7 What's New entry - Fix regression (thanks Tim for the report) -- ___ Python tracker

[issue32071] Add py.test-like "-k" test selection to unittest

2017-11-27 Thread Jonas H.
Change by Jonas H. : -- pull_requests: +4513 ___ Python tracker ___ ___ Python-bugs-list

[issue32149] bolen-dmg-3.x: compiled failed with: blurb: command not found

2017-11-27 Thread Zachary Ware
Zachary Ware added the comment: This is likely due to a change I merged yesterday. -- nosy: +zach.ware ___ Python tracker ___

[issue32150] Expand tabs to spaces in C files

2017-11-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +4512 ___ Python tracker ___

[issue32150] Expand tabs to spaces in C files

2017-11-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : While most C files use spaces for indenting and aligning, there are few sites in which tabs are left. Sometimes mixed tabs and spaces are used in the same file. This adds a noise in the diff if the committer uses an editor

[issue10544] yield expression inside generator expression does nothing

2017-11-27 Thread Guido van Rossum
Guido van Rossum added the comment: After the tiresome debate I am happy to see this just as a "what's new" entry rather than soliciting more debate with a PEP. (However there may be some existing PEP that suggests it should work? That PEP should be amended with a note that

[issue32107] test_uuid uses the incorrect bitmask

2017-11-27 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___

[issue32149] bolen-dmg-3.x: compiled failed with: blurb: command not found

2017-11-27 Thread STINNER Victor
Change by STINNER Victor : -- components: +macOS nosy: +ned.deily, ronaldoussoren ___ Python tracker ___

[issue32149] bolen-dmg-3.x: compiled failed with: blurb: command not found

2017-11-27 Thread STINNER Victor
STINNER Victor added the comment: @David Bolen: Would you mind to take a look? -- nosy: +db3l ___ Python tracker ___

[issue32149] bolen-dmg-3.x: compiled failed with: blurb: command not found

2017-11-27 Thread STINNER Victor
New submission from STINNER Victor : /bin/sh: line 1: blurb: command not found http://buildbot.python.org/all/#/builders/69/builds/51 Running make frameworkinstallextras (...) copy /Users/db3l/buildarea.dmg/bolen-dmg-3.x/build/Mac/../Tools/unittestgui/README.txt

[issue32107] test_uuid uses the incorrect bitmask

2017-11-27 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Nov 27, 2017, at 01:24, Serhiy Storchaka wrote: > > 3. Makes methods for getting the address of the real network card preferring > universally administered addresses and falling back to locally administered >

[issue32071] Add py.test-like "-k" test selection to unittest

2017-11-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > @Core devs: Should I revert to original behaviour with the order of the > prefix check and the getattr() call, and add a regression test that > guarantees this behaviour? Yes, that sounds reasonable to me. --

[issue32071] Add py.test-like "-k" test selection to unittest

2017-11-27 Thread Jonas H.
Jonas H. added the comment: Ah, the problem isn't that it's running getattr() on test methods, but that it runs getattr() on all methods. Former code: attrname.startswith(prefix) and \ callable(getattr(testCaseClass, attrname)) New code: testFunc =

[issue27535] Ignored ResourceWarning warnings leak memory in warnings registries

2017-11-27 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +4511 ___ Python tracker ___ ___

[issue32148] Python 2.7.14 has Tkinter with big T letter.

2017-11-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In Python 2 you should import the Tkinter module, with the big letter T. -- nosy: +serhiy.storchaka resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python

[issue27535] Ignored ResourceWarning warnings leak memory in warnings registries

2017-11-27 Thread STINNER Victor
STINNER Victor added the comment: I consider that PR 4489 is a bugfix, so I proposed backports to Python 2.7 (PR 4588) and 3.6 (PR 4587). -- ___ Python tracker

[issue27535] Ignored ResourceWarning warnings leak memory in warnings registries

2017-11-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Victor! -- assignee: serhiy.storchaka -> vstinner versions: +Python 3.7 -Python 3.6 ___ Python tracker

[issue27535] Ignored ResourceWarning warnings leak memory in warnings registries

2017-11-27 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4510 ___ Python tracker ___

[issue27535] Ignored ResourceWarning warnings leak memory in warnings registries

2017-11-27 Thread STINNER Victor
STINNER Victor added the comment: https://github.com/python/cpython/pull/4489#issuecomment-346673704 Serhiy: "Could you please make a benchmark for warnings emitted in a tight loop in the C code. It would be nice to know what is the worst case. If it is less than 2x

[issue27535] Ignored ResourceWarning warnings leak memory in warnings registries

2017-11-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset c9758784eb321fb9771e0bc7205b296e4d658045 by Victor Stinner in branch 'master': bpo-27535: Fix memory leak with warnings ignore (#4489) https://github.com/python/cpython/commit/c9758784eb321fb9771e0bc7205b296e4d658045

[issue32071] Add py.test-like "-k" test selection to unittest

2017-11-27 Thread Tim Graham
Tim Graham added the comment: This is appearing as a backwards incompatible change for Django because test case class attributes are now evaluated at load time before setUpClass runs (which initializes some things that those class attributes use). It's possible to adapt

[issue32148] Python 2.7.14 has Tkinter with big T letter.

2017-11-27 Thread Hasan Mahmood
New submission from Hasan Mahmood : Using python 2.7.14. Importing Dialogs Got problem in importing tkinter. In doccumentation of tkinter, it is stated the big letter T in Tkinter is used only used in python 3 but. It is expected that it is possible to use tkinter

[issue31854] Add mmap.ACCESS_DEFAULT to namespace

2017-11-27 Thread Berker Peksag
Berker Peksag added the comment: PR 4093 has been merged. Closing this as 'fixed'. Thank you for the PR, Justus. -- nosy: +berker.peksag resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python

[issue30855] [2.7] test_tk: test_use() of test_tkinter.test_widgets randomly fails with "integer value too large to represent" on with AMD64 Windows8 3.5

2017-11-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: serhiy.storchaka -> zach.ware ___ Python tracker ___

[issue32147] improve performance of binascii.unhexlify() by using conversion table

2017-11-27 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- components: +Library (Lib) ___ Python tracker ___

[issue32147] improve performance of binascii.unhexlify() by using conversion table

2017-11-27 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- keywords: +patch pull_requests: +4508 stage: -> patch review ___ Python tracker ___

[issue32147] improve performance of binascii.unhexlify() by using conversion table

2017-11-27 Thread Sergey Fedoseev
New submission from Sergey Fedoseev : Before: $ ./python -m timeit -s "from binascii import unhexlify; b = b'aa'*2**20" "unhexlify(b)" 50 loops, best of 5: 5.68 msec per loop After: $ ./python -m timeit -s "from binascii import unhexlify; b = b'aa'*2**20"

[issue27035] Cannot set exit code in atexit callback

2017-11-27 Thread Torsten Landschoff
Torsten Landschoff added the comment: As this bug report clearly states this worked as documented in Python 2.7 and stopped working sometime in the Python 3 series. I just ran into this while porting some code to Python 3 which uses an atexit handler to wind down some

[issue10544] yield expression inside generator expression does nothing

2017-11-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Note that the DeprecationWarning exception is replaced with a SyntaxError to get a more accurate error report. $ cat yield-gen.py def f(): return ((yield x) for x in range(3)) $ ./python -Wd yield-gen.py yield-gen.py:2:

[issue32089] In developer mode (-X dev), ResourceWarning is only emited once per line numbers

2017-11-27 Thread STINNER Victor
STINNER Victor added the comment: The "default warning filters" are documented, but only for Python compiled in release mode: https://docs.python.org/dev/library/warnings.html#default-warning-filters So I didn't touch this documentation. The initial issue is now

[issue32089] In developer mode (-X dev), ResourceWarning is only emited once per line numbers

2017-11-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset 21c7730761e2a768e33b89b063a095d007dcfd2c by Victor Stinner in branch 'master': bpo-32089: Use default action for ResourceWarning (#4584) https://github.com/python/cpython/commit/21c7730761e2a768e33b89b063a095d007dcfd2c

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

2017-11-27 Thread STINNER Victor
STINNER Victor added the comment: Klon666 added https://github.com/python/cpython/commit/96a6cbc5b0aee267f47e5efb50fba183b52cd8c6 repository. But this URL is unrelated. It looks like a bot spamming the bug tracker and I don't see how to remove the URL... --

[issue32138] android: test_faulthandler fails also on API 24

2017-11-27 Thread STINNER Victor
STINNER Victor added the comment: > I propose to skip those tests whatever the value of the Android API level. Works for me. -- ___ Python tracker

[issue32071] Add py.test-like "-k" test selection to unittest

2017-11-27 Thread Jonas H.
Jonas H. added the comment: Sure! -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue32136] Move embedding tests to their own test module

2017-11-27 Thread STINNER Victor
STINNER Victor added the comment: > Modules/_testcapi.c -> Lib/test/test_capi.py > Progams/_testembed.c -> Lib/test/test_embed.py I like it :-) -- ___ Python tracker

[issue30855] [2.7] test_tk: test_use() of test_tkinter.test_widgets randomly fails with "integer value too large to represent" on with AMD64 Windows8 3.5

2017-11-27 Thread STINNER Victor
STINNER Victor added the comment: Serhiy: "It still uses Tcl/Tk 8.5.15." pythoninfo says: --- tkinter.TCL_VERSION: 8.5 tkinter.TK_VERSION: 8.5 tkinter.info_patchlevel: 8.5.15 --- The compilation says: --- Fetching external libraries... (...) tcl-8.5.19.0 already

[issue32146] multiprocessing freeze_support needed outside win32

2017-11-27 Thread Daniel Colascione
New submission from Daniel Colascione : multiprocessing's freeze_support makes freshly-launched subprocesses integrate correctly until the multiprocessing ecosystem even when the main executable is some application binary instead of a Python interpreter. The documentation

[issue30855] [2.7] test_tk: test_use() of test_tkinter.test_widgets randomly fails with "integer value too large to represent" on with AMD64 Windows8 3.5

2017-11-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It still uses Tcl/Tk 8.5.15. -- ___ Python tracker ___

[issue32071] Add py.test-like "-k" test selection to unittest

2017-11-27 Thread STINNER Victor
STINNER Victor added the comment: IMHO it's a big enhancement for the base unittest test runner and deserves to be documend in What's New in Python 3.7! Jonas: do you want to write a PR to patch Doc/whatsnew/3.7.rst? --

[issue30855] [2.7] test_tk: test_use() of test_tkinter.test_widgets randomly fails with "integer value too large to represent" on with AMD64 Windows8 3.5

2017-11-27 Thread STINNER Victor
STINNER Victor added the comment: Bad news: the problem is not gone. Fail at commit 180372c08a25332429f6175d6aa036c1ec643ca3 (the commit after Zach's commit be1faabeef0821f188a28dd7cc6b744b89e85e94 in the Python 2.7 branch):

[issue32089] In developer mode (-X dev), ResourceWarning is only emited once per line numbers

2017-11-27 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +4507 stage: resolved -> patch review ___ Python tracker ___

[issue10544] yield expression inside generator expression does nothing

2017-11-27 Thread Nick Coghlan
Nick Coghlan added the comment: Guido, should we write this change up as a PEP, or are you happy to just cover it as a section in the What's New document for 3.7? -- ___ Python tracker

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

2017-11-27 Thread Marcin Kasperski
Marcin Kasperski added the comment: Is this fix released? I can't find it in the changelog… (I faced this bug on 3.5.2, released a couple of months after this bug was closed…) -- nosy: +Mekk ___ Python tracker

[issue32145] Wrong ExitStack Callback recipe

2017-11-27 Thread Maurizio Zucchelli
New submission from Maurizio Zucchelli : The documentation for contextlib.ExitStack (https://docs.python.org/3.7/library/contextlib.html#replacing-any-use-of-try-finally-and-flag-variables) shows an helper class (Callback) to perform cleanup using a callback. Problem is,