[issue30594] Refcounting mistake in _ssl.c

2017-06-08 Thread Nathaniel Smith
Changes by Nathaniel Smith : -- pull_requests: +2058 ___ Python tracker ___ ___

[issue30547] [EASY][Windows] SubinterpreterTest.test_callbacks_leak() of test_atexit leaks references

2017-06-08 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +2059 ___ Python tracker ___ ___

[issue30592] Bad error message 'bool()() takes no keyword arguments'

2017-06-08 Thread SylvainDe
SylvainDe added the comment: As I was trying to test coverage for a few places where the same error was built, I have discovered another issue where the error message is very misleading: AssertionError: "^index\(\) takes no keyword arguments$" does not match "index() takes at least 1

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

2017-06-08 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/x86%20Windows7%203.x/builds/712/steps/test/logs/stdio == ERROR: test_queue_feeder_donot_stop_onexc

[issue17305] IDNA2008 encoding missing

2017-06-08 Thread Nathaniel Smith
Changes by Nathaniel Smith : -- nosy: +njs ___ Python tracker ___ ___ Python-bugs-list

[issue30547] [EASY][Windows] SubinterpreterTest.test_callbacks_leak() of test_atexit leaks references

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: SubinterpreterTest.test_subinterps of test_capi also leaks. But it is likely the same bug than this issue (SubinterpreterTest.test_callbacks_leak() of test_atexit leaks). -- ___ Python tracker

[issue30537] Using PyNumber_AsSsize_t in itertools.islice

2017-06-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 0ecdc525146ecec9d1549ebf59404c769637a512 by Raymond Hettinger (Will Roberts) in branch 'master': bpo-30537: use PyNumber in itertools.islice instead of PyLong (#1918)

[issue30594] Refcounting mistake in _ssl.c

2017-06-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your report and patch Nathaniel. Do you mind to create backporting PRs? -- stage: -> backport needed ___ Python tracker

[issue30547] [EASY][Windows] SubinterpreterTest.test_callbacks_leak() of test_atexit leaks references

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: Oh, 1abcf6700b4da6207fe859de40c6c1bada6b4fec introduced two more reference leaks. -- ___ Python tracker ___

[issue28414] SSL match_hostname fails for internationalized domain names

2017-06-08 Thread Nathaniel Smith
Nathaniel Smith added the comment: If the SSL module followed the pattern of encoding all str to bytes at the edges while leaving bytes alone, and used exclusively bytes internally (and in this case by "bytes" I mean "bytes objects containing A-labels"), then it would at least fix this bug

[issue30594] Refcounting mistake in _ssl.c

2017-06-08 Thread Nathaniel Smith
Changes by Nathaniel Smith : -- pull_requests: +2057 ___ Python tracker ___ ___

[issue30594] Refcounting mistake in _ssl.c

2017-06-08 Thread Nathaniel Smith
Nathaniel Smith added the comment: posted backports for 3.5 and 3.6. It looks like 2.7 is actually unaffected, because it doesn't have IDNA support, so there's no failure path in between when the reference is stored and when its INCREFed. -- versions: -Python 2.7

[issue30594] Refcounting mistake in _ssl.c

2017-06-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 65ece7ca2366308fa91a39a8dfa255e6bdce3cca by Serhiy Storchaka (Nathaniel J. Smith) in branch 'master': bpo-30594: Fixed refcounting in newPySSLSocket (#1992) https://github.com/python/cpython/commit/65ece7ca2366308fa91a39a8dfa255e6bdce3cca

[issue30594] Refcounting mistake in _ssl.c

2017-06-08 Thread Nathaniel Smith
New submission from Nathaniel Smith: If you pass a server_hostname= that fails IDNA decoding to SSLContext.wrap_socket or SSLContext.wrap_bio, then the SSLContext object has a spurious Py_DECREF called on it, eventually leading to segfaults. Demo attached. -- assignee:

[issue30594] Refcounting mistake in _ssl.c

2017-06-08 Thread Nathaniel Smith
Changes by Nathaniel Smith : -- pull_requests: +2056 ___ Python tracker ___ ___

[issue30537] Using PyNumber_AsSsize_t in itertools.islice

2017-06-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: Applied patch. In theory, this was reasonable. Since islice() deals with indices, checking __index__ seems reasonable. On the other hand, stable high-performance code was changed without any known reasonable use cases, and no one will ever likely see a

[issue30597] Show expected input in custom "print" error message

2017-06-08 Thread Nick Coghlan
Nick Coghlan added the comment: Ah, re-reading the comments when reviewing Sanyam's patch, I just remembered the problem with the "print >> sys.stderr, output" case, which is that it isn't a syntax error, it's a runtime type error: ``` >>> print >> sys.stderr, "message" Traceback (most recent

[issue29943] PySlice_GetIndicesEx change broke ABI in 3.5 and 3.6 branches

2017-06-08 Thread Nathaniel Smith
Nathaniel Smith added the comment: Looks good to me, thanks Serhiy. -- ___ Python tracker ___ ___

[issue30604] co_extra_freefuncs is stored thread locally and can lead to crashes

2017-06-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: User code shouldn't allocate PyInterpreterState and PyThreadState structures, it only uses structures created by the interpreter. Changing the size of PyInterpreterState should be safe. The only possible breaking compatibility is if user code directly

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

2017-06-08 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- pull_requests: +2084 ___ Python tracker ___ ___

[issue30605] re.compile fails when compiling bytes under `-bb` mode

2017-06-08 Thread Roy Williams
Roy Williams added the comment: Repro: ``` import re re.compile(br'^(.*?)$(?m)') ``` Results in ``` Traceback (most recent call last): File "test_compile.py", line 2, in re.compile(br'^(.*?)$(?m)') File "/usr/lib/python3.6/re.py", line 233, in compile return _compile(pattern,

[issue30606] The reply's additional 'Re' is ok

2017-06-08 Thread Lovelyn
New submission from Lovelyn: lovecoli...@gmail.com -- messages: 295479 nosy: Love priority: normal severity: normal status: open title: The reply's additional 'Re' is ok ___ Python tracker

[issue30606] Spam

2017-06-08 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: -Love resolution: -> not a bug stage: -> resolved status: open -> closed title: The reply's additional 'Re' is ok -> Spam ___ Python tracker

[issue30606] Spam

2017-06-08 Thread Berker Peksag
Changes by Berker Peksag : -- Removed message: http://bugs.python.org/msg295480 ___ Python tracker ___

[issue30606] Spam

2017-06-08 Thread Berker Peksag
Changes by Berker Peksag : -- Removed message: http://bugs.python.org/msg295479 ___ Python tracker ___

[issue30605] re.compile fails when compiling bytes under `-bb` mode

2017-06-08 Thread Roy Williams
Changes by Roy Williams : -- pull_requests: +2081 ___ Python tracker ___ ___

[issue30607] Extract documentation theme into a separate package

2017-06-08 Thread Jon Wayne Parrott
New submission from Jon Wayne Parrott: As part of an effort to align the packaging documentation (packaging.python.org) with the CPython docs, PyPA has extracted the theme used in the CPython documentation into a separate repository and package (https://github.com/python/python-docs-theme).

[issue29943] PySlice_GetIndicesEx change broke ABI in 3.5 and 3.6 branches

2017-06-08 Thread Dino Viehland
Changes by Dino Viehland : -- pull_requests: +2082 ___ Python tracker ___ ___

[issue27645] Supporting native backup facility of SQLite

2017-06-08 Thread R. David Murray
R. David Murray added the comment: There's a good chance, yes. You'll have to keep periodically pinging the issue (say once a month :), and if you can specifically talk someone into doing a review your chances go up :) For it to go in we need a review from a core-dev, but one or more

[issue30605] re.compile fails when compiling bytes under `-bb` mode

2017-06-08 Thread Roy Williams
New submission from Roy Williams: import re re.compile(br'^(.*?)$(?m)') -- components: Regular Expressions messages: 295473 nosy: Roy Williams, ezio.melotti, mrabarnett priority: normal severity: normal status: open title: re.compile fails when compiling bytes under `-bb` mode versions:

[issue23519] using asyncio.iscoroutinefunction() on a functools.partial object

2017-06-08 Thread Guido van Rossum
Guido van Rossum added the comment: Use a lambda instead of partial. It's more pythonic. -- ___ Python tracker ___

[issue29943] PySlice_GetIndicesEx change broke ABI in 3.5 and 3.6 branches

2017-06-08 Thread Ned Deily
Ned Deily added the comment: As a followup, Nathanial, are you satisfied with the resolution here for the upcoming 3.6.2? -- ___ Python tracker ___

[issue30606] The reply's additional 'Re' is ok

2017-06-08 Thread Lovelyn
Lovelyn added the comment: lovecoli...@gmail.com On Jun 9, 2017 9:19 AM, wrote: lovecoli...@gmail.com -- ___ Python tracker ___

[issue23519] using asyncio.iscoroutinefunction() on a functools.partial object

2017-06-08 Thread Curt McDowell
Curt McDowell added the comment: There are use cases for this. I hit the problem and eventually wound up here, so I'd like to make a case to re-open. My project has a callback registry of asyncio handler routines. register_callback(condition1, handler1) register_callback(condition2, handler2)

[issue30597] Show expected input in custom "print" error message

2017-06-08 Thread Nick Coghlan
Nick Coghlan added the comment: Eric, right, I left a couple of logical leaps out of my reply as well. My first thought was the same as yours but then I went: - that means we need to split on commas - which means we need to track whether or not we're inside a quoted string or not - which is

[issue30607] Extract documentation theme into a separate package

2017-06-08 Thread Jon Wayne Parrott
Changes by Jon Wayne Parrott : -- pull_requests: +2083 ___ Python tracker ___ ___

[issue30038] Race condition in how trip_signal writes to wakeup fd

2017-06-08 Thread Nathaniel Smith
Nathaniel Smith added the comment: I guess now would be a good time to decide whether this should be backported to 3.6, with 3.6.2 coming out in a few days :-). (Or if not, then it can probably be closed?) -- ___ Python tracker

[issue30608] argparse calculates string widths incorrectly

2017-06-08 Thread Vanessa McHale
New submission from Vanessa McHale: Currently, python computes string widths based on number of characters. However, this will not work in general because some languages have e.g. vowel markers: 'བོད' for instance is three characters but its width should be two. I have an example repo here:

[issue30486] Allow setting cell value

2017-06-08 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___

[issue30597] Show expected input in custom "print" error message

2017-06-08 Thread Nick Coghlan
Nick Coghlan added the comment: It looks like the current right-shift error message is already distinctive enough to get people to answers explaining the culprit:

[issue30604] co_extra_freefuncs is stored thread locally and can lead to crashes

2017-06-08 Thread Ned Deily
Ned Deily added the comment: See review comments on PR 2015. -- nosy: +ned.deily versions: +Python 3.7 ___ Python tracker ___

[issue30486] Allow setting cell value

2017-06-08 Thread Lisa Roach
Lisa Roach added the comment: Thank you for you guidance, Serhiy! On Thu, Jun 8, 2017 at 4:45 AM, Serhiy Storchaka wrote: > > Serhiy Storchaka added the comment: > > Thank you for your contribution Lisa! > > -- > resolution: -> fixed > stage: patch review ->

[issue27838] test_os.test_chown() failure on koobs-freebsd-{current, 9}

2017-06-08 Thread Kubilay Kocak
Changes by Kubilay Kocak : Added file: http://bugs.python.org/file46937/python-sudo.txt ___ Python tracker ___

[issue27838] test_os.test_chown() failure on koobs-freebsd-{current, 9}

2017-06-08 Thread Kubilay Kocak
Kubilay Kocak added the comment: as per msg280837, this beings to happen when I restart the buildbot worker via sudo (does not fail on initial startup, executed/invoked using the same script, which does not use sudo) and the environment the worker starts with appears to be relevant. Attached

[issue30547] [EASY][Windows] SubinterpreterTest.test_callbacks_leak() of test_atexit leaks references

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: bpo-30536 has been marked as a duplicate of this issue: [EASY] SubinterpThreadingTests.test_threads_join_2() of test_threading leaks references. -- ___ Python tracker

[issue30547] [Windows] SubinterpreterTest.test_callbacks_leak() of test_atexit leaks references

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: Sorry, that issue wasn't [EASY] at all! But I tried to help Stéphane & Louie as much as I could ;-) -- keywords: -easy (C) title: [EASY][Windows] SubinterpreterTest.test_callbacks_leak() of test_atexit leaks references -> [Windows]

[issue30592] Bad error message 'bool()() takes no keyword arguments'

2017-06-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2062 ___ Python tracker ___ ___

[issue30534] error message for incorrect call degraded in 3.7

2017-06-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2063 ___ Python tracker ___ ___

[issue30598] Py_NewInterpreter() leaks a reference on warnoptions in _PySys_EndInit()

2017-06-08 Thread Nick Coghlan
Nick Coghlan added the comment: I'd suggest that the right fix here would be to move warnoptions into the config struct as proposed in the PEP: https://www.python.org/dev/peps/pep-0432/#supported-configuration-settings The main reason we merged this as a private API was so we could do that

[issue22257] PEP 432: Redesign the interpreter startup sequence

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: New changeset ab1cb80b435a34e4f908c97cd2f3a7fe8add6505 by Victor Stinner (Stéphane Wirtel) in branch 'master': bpo-30547: Fix multiple reference leaks (#1995) https://github.com/python/cpython/commit/ab1cb80b435a34e4f908c97cd2f3a7fe8add6505 -- nosy:

[issue30547] [Windows] SubinterpreterTest.test_callbacks_leak() of test_atexit leaks references

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: New changeset ab1cb80b435a34e4f908c97cd2f3a7fe8add6505 by Victor Stinner (Stéphane Wirtel) in branch 'master': bpo-30547: Fix multiple reference leaks (#1995) https://github.com/python/cpython/commit/ab1cb80b435a34e4f908c97cd2f3a7fe8add6505 --

[issue30584] test_os fails on non-English (Russian) Windows

2017-06-08 Thread Denis Osipov
Changes by Denis Osipov : -- pull_requests: +2066 ___ Python tracker ___ ___

[issue30584] test_os fails on non-English (Russian) Windows

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: New changeset a0b901b8fcfda864070335b249071508ee0c by Victor Stinner (Denis Osipov) in branch '3.5': [3.5] bpo-30584: Fix test_os fails on non-English Windows (GH-1980) (#2000)

[issue30547] [Windows] SubinterpreterTest.test_callbacks_leak() of test_atexit leaks references

2017-06-08 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: 3.6 is not affected by this issue. -- ___ Python tracker ___ ___

[issue30599] os.register_at_fork(): allow to unregister callbacks -- test_threaded_import leaks references

2017-06-08 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- nosy: +matrixise ___ Python tracker ___ ___

[issue27321] Email parser creates a message object that can't be flattened

2017-06-08 Thread R. David Murray
R. David Murray added the comment: I'm going to try to review this this weekend. -- ___ Python tracker ___

[issue30599] os.register_at_fork(): allow to unregister callbacks -- test_threaded_import leaks references

2017-06-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Agreed with Serhiy. test_threaded_import should just re-import a module which has less side effects. -- ___ Python tracker

[issue30599] os.register_at_fork(): allow to unregister callbacks -- test_threaded_import leaks references

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: With https://github.com/python/cpython/pull/2001 test_threaded_import doesn't leak anymore. -- ___ Python tracker ___

[issue30599] os.register_at_fork(): allow to unregister callbacks -- test_threaded_import leaks references

2017-06-08 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2068 ___ Python tracker ___ ___

[issue27321] Email parser creates a message object that can't be flattened

2017-06-08 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: ok, I have tested on 3.6 and 3.5, just with the test. and in this case, we get the errors on both. if we apply the patch of Johannes, the test passes and there is no issues. +1 the backports for 3.5 and 3.6 is just a git cherry-picking. --

[issue30598] Py_NewInterpreter() leaks a reference on warnoptions in _PySys_EndInit()

2017-06-08 Thread STINNER Victor
New submission from STINNER Victor: Recently, the Python initialization was reworked to start to implement the PEP 432: - bpo-22257: commits 1abcf6700b4da6207fe859de40c6c1bada6b4fec and 6b4be195cd8868b76eb6fbe166acc39beee8ce36 Now, Py_NewInterpreter() leaks a reference on warnoptions in

[issue30597] Show expected input in custom "print" error message

2017-06-08 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hi Nick, Can I work on this issue? -- nosy: +CuriousLearner ___ Python tracker ___

[issue30598] Py_NewInterpreter() leaks a reference on warnoptions in _PySys_EndInit()

2017-06-08 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +2064 ___ Python tracker ___ ___

[issue30597] Show expected input in custom "print" error message

2017-06-08 Thread Eric V. Smith
Eric V. Smith added the comment: You'll need to be careful about fully translating to python 3, though. What do you do with: print >> sys.stderr, "message" or: print "message", ? -- nosy: +eric.smith ___ Python tracker

[issue30592] Bad error message 'bool()() takes no keyword arguments'

2017-06-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If you know how to write tests for these cases a patch is welcome. But this may be not easy. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue30592] Bad error message 'bool()() takes no keyword arguments'

2017-06-08 Thread SylvainDe
SylvainDe added the comment: Hi serhiy.storchaka, this is fine by me! I've added a corresponding comment with questions/suggestions on the Github PR. Do you reckon I should open another ticket for the issue mentionned in my previous message ? I'm happy to take care of it :) --

[issue30592] Bad error message 'bool()() takes no keyword arguments'

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: Would it be possible to add an assertion to _PyArg_NoKeywords() to prevent regressions? Fail if funcname contains "(" or ")". For example: /* funcname must not contain ( or ), since "()" suffix is added in the error message */ assert(!strchr(funcname, '(') &&

[issue30599] test_threaded_import leaks references

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: > The leak was introduced by the commit > 346cbd351ee0dd3ab9cb9f0e4cb625556707877e. This commit "bpo-16500: Allow registering at-fork handlers" adds the following code to Lib/random.py: +if hasattr(_os, "fork"): +_os.register_at_fork(_inst.seed,

[issue30600] Error message incorrect when index is called with keyword argument ("[].index(x=2)")

2017-06-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Good catch! This issue is similar to issue30534, but caused by generated code. The solution is easy: make Argument Clinic (Tools/clinic/clinic.py) generating _PyArg_NoStackKeywords() before _PyArg_ParseStack() and regenerate all generated by Argument Clinic

[issue30584] test_os fails on non-English (Russian) Windows

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: Thanks Denis Osipov for the fix and backports! -- ___ Python tracker ___

[issue30600] Error message incorrect when index is called with keyword argument ("[].index(x=2)")

2017-06-08 Thread SylvainDe
SylvainDe added the comment: Can I give this a try or is anyone working on this already ? -- ___ Python tracker ___

[issue30547] [EASY][Windows] SubinterpreterTest.test_callbacks_leak() of test_atexit leaks references

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: -SET_SYS_FROM_STRING_BORROW_INT_RESULT("warnoptions", warnoptions); Oh, it seems like the regression was introduced by me in the commit 8fea252a507024edf00d5d98881d22dc8799a8d3, see: http://bugs.python.org/issue18520#msg201472 Or maybe it comes from

[issue30536] [EASY] SubinterpThreadingTests.test_threads_join_2() of test_threading leaks references

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: This issue is a duplicate of bpo-30547. I tested that bpo-30547 fixes this issue. -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker

[issue30592] Bad error message 'bool()() takes no keyword arguments'

2017-06-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Sorry, SylvainDe, but by the time you expose your desire to work on this issue, I already had written two alternate patches. I needed only a time for deciding what of them is the more appropriate solution. PR 1996 implements the first way. It removes

[issue30594] Refcounting mistake in _ssl.c

2017-06-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 54ba41ecc5711f89841342c5f9dd555ee13404b5 by Serhiy Storchaka (Nathaniel J. Smith) in branch '3.5': [3.5] bpo-30594: Fixed refcounting in newPySSLSocket (GH-1992) (#1993)

[issue30594] Refcounting mistake in _ssl.c

2017-06-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 854f7ba1d5cbb6a42511beae66c8dbe34f2cbcd3 by Serhiy Storchaka (Nathaniel J. Smith) in branch '3.6': [3.6] bpo-30594: Fixed refcounting in newPySSLSocket (GH-1992) (#1994)

[issue30594] Refcounting mistake in _ssl.c

2017-06-08 Thread Nathaniel Smith
Changes by Nathaniel Smith : -- pull_requests: +2065 ___ Python tracker ___ ___

[issue30598] Py_NewInterpreter() leaks a reference on warnoptions in _PySys_EndInit()

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: New changeset 865de27dd79571a4a5c7a7d22a07fb909c4a9f8e by Victor Stinner in branch 'master': bpo-30598: _PySys_EndInit() now duplicates warnoptions (#1998) https://github.com/python/cpython/commit/865de27dd79571a4a5c7a7d22a07fb909c4a9f8e --

[issue30592] Bad error message 'bool()() takes no keyword arguments'

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: Oh no, I don't expect anything smart :-) Just an assertion to catch obvious mistakes when the function is called manually (not using Argument Clinic). -- ___ Python tracker

[issue30592] Bad error message 'bool()() takes no keyword arguments'

2017-06-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If add an assertion, the user code could provoke a crash by creating an exception type with a name containing "()": type('E()', (BaseException,), {}). Thus this should be a runtime check that raises an exception. What the type of an exception should be

[issue30486] Allow setting cell value

2017-06-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 64505a1f6c0af4574e17e823b27ffe24eca44df5 by Serhiy Storchaka (Lisa Roach) in branch 'master': bpo-30486: Allow setting cell value (#1840) https://github.com/python/cpython/commit/64505a1f6c0af4574e17e823b27ffe24eca44df5 -- nosy:

[issue30584] test_os fails on non-English (Russian) Windows

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: New changeset ca1b66fd059758bbd6e2cc62c8f2adecefe8f942 by Victor Stinner (Denis Osipov) in branch '3.6': [3.6] bpo-30584: Fix test_os fails on non-English Windows (GH-1980) (#1999)

[issue27321] Email parser creates a message object that can't be flattened

2017-06-08 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- stage: needs patch -> patch review ___ Python tracker ___

[issue27321] Email parser creates a message object that can't be flattened

2017-06-08 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: maybe we could merge the PR, and I could propose a backport for 3.5 and 3.6. 2.7 is affected ? -- nosy: +matrixise ___ Python tracker

[issue30536] [EASY] SubinterpThreadingTests.test_threads_join_2() of test_threading leaks references

2017-06-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- superseder: -> [Windows] SubinterpreterTest.test_callbacks_leak() of test_atexit leaks references ___ Python tracker

[issue30598] Py_NewInterpreter() leaks a reference on warnoptions in _PySys_EndInit()

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-30547 for other refleaks somehow related to that one. -- ___ Python tracker ___

[issue30486] Allow setting cell value

2017-06-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your contribution Lisa! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue30584] test_os fails on non-English (Russian) Windows

2017-06-08 Thread Denis Osipov
Changes by Denis Osipov : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue30600] Error message incorrect when index is called with keyword argument ("[].index(x=2)")

2017-06-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Yes, pleas do this. -- ___ Python tracker ___ ___ Python-bugs-list

[issue22257] PEP 432: Redesign the interpreter startup sequence

2017-06-08 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +2061 ___ Python tracker ___ ___

[issue18520] Fixes bugs found by pyfailmalloc during Python initialization

2017-06-08 Thread Stéphane Wirtel
Changes by Stéphane Wirtel : -- pull_requests: +2060 ___ Python tracker ___ ___

[issue30597] Show expected input in custom "print" error message

2017-06-08 Thread Nick Coghlan
New submission from Nick Coghlan: Back when we added the custom error message for missing parentheses in print calls, I also pre-seeded an explanation of the error on Stack Overflow:

[issue30599] test_threaded_import leaks references

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: Even when the two latest refleak fixes (ab1cb80b435a34e4f908c97cd2f3a7fe8add6505 and 865de27dd79571a4a5c7a7d22a07fb909c4a9f8e), test_threaded_import still leaks. haypo@selma$ ./python -m test -R 3:3 -m test_side_effect_import test_threaded_import Run tests

[issue30584] test_os fails on non-English (Russian) Windows

2017-06-08 Thread Denis Osipov
Changes by Denis Osipov : -- versions: +Python 3.5, Python 3.6 ___ Python tracker ___ ___

[issue30584] test_os fails on non-English (Russian) Windows

2017-06-08 Thread Denis Osipov
Denis Osipov added the comment: Tests on Windows buildbots passed. I've made PR for 3.5 and 3.6 backporting. -- ___ Python tracker ___

[issue30529] Incorrect error messages for invalid whitespaces in f-string subexpressions

2017-06-08 Thread Eric V. Smith
Eric V. Smith added the comment: Sorry, I've been busy. I'll get to this soon, though. -- ___ Python tracker ___

[issue30592] Bad error message 'bool()() takes no keyword arguments'

2017-06-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: It would be possible to make _PyArg_NoKeywords() adding "()" only if the passed argument don't contain them. But since this is a private API, it was easier to just remove "()" from arguments. In any case most uses of _PyArg_NoKeywords() are generated by

[issue30547] [EASY][Windows] SubinterpreterTest.test_callbacks_leak() of test_atexit leaks references

2017-06-08 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: I have pushed a PR, if you can check it. Thanks -- ___ Python tracker ___

[issue28414] SSL match_hostname fails for internationalized domain names

2017-06-08 Thread Christian Heimes
Christian Heimes added the comment: I have an idea for a different approach that can be applied to both ssl and socket module. Stay tuned to this station for a PEP broadcast! -- ___ Python tracker

[issue30547] [Windows] SubinterpreterTest.test_callbacks_leak() of test_atexit leaks references

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: I created bpo-30598: Py_NewInterpreter() leaks a reference on warnoptions in _PySys_EndInit(). -- ___ Python tracker

  1   2   >