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

2017-06-08 Thread Sanyam Khurana
Changes by Sanyam Khurana : -- pull_requests: +2075 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30545] Enum equality across modules: comparing objects instead of values

2017-06-08 Thread Ethan Furman
Ethan Furman added the comment: No test code has been provided, so lacking any evidence of this problem I am closing this issue. Do not reopen without testable code to show the failure. -- resolution: -> not a bug stage: test needed -> resolved status: open -> closed

[issue29237] Create enum for pstats sorting options

2017-06-08 Thread Ethan Furman
Ethan Furman added the comment: Marriatta, perhaps it is time to let Ratnadeep work on this issue? -- ___ Python tracker ___ ___ Pytho

[issue29237] Create enum for pstats sorting options

2017-06-08 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks for checking in, Ethan. Sorry, since this was first assigned to me, I got pre-occupied with other issues and projects in the core-workflow. Ratnadeep, if you are still interested, please go ahead with this issue. I've unassigned myself. Thanks.

[issue30596] Add close() to multiprocessing.Process

2017-06-08 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- pull_requests: +2076 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue27534] IDLE: Reduce number and time for user process imports

2017-06-08 Thread Cheryl Sabella
Cheryl Sabella added the comment: Terry, I've applied this patch to 3.7 and made a pull request. This seemed like a fix you wanted to move forward with, so I hope that's helpful. -- nosy: +csabella ___ Python tracker

[issue27534] IDLE: Reduce number and time for user process imports

2017-06-08 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- pull_requests: +2077 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30596] Add close() to multiprocessing.Process

2017-06-08 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +asksol ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue30596] Add close() to multiprocessing.Process

2017-06-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: close() wouldn't terminate the underlying process, so the process would still exist (and wouldn't easily be stoppable from Python anymore) if you were to call close() before terminate() or join(). Perhaps we should instead mandate people call join() before clo

[issue30602] [Windows] os.spawn*() tests of test_os leak references on Windows

2017-06-08 Thread Eryk Sun
Eryk Sun added the comment: The memory leak is in os_spawnv_impl and os_spawnve_impl in Modules/posixmodule.c. The call fails with a ValueError when the first argument in the argv list is an empty string, in which case these functions both mistakenly pass i (0) to free_string_array() as the co

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

2017-06-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 2e9cd5825c5ccdbb6f65a57c0c7941078e003c14 by Serhiy Storchaka in branch 'master': bpo-30529: Fix errors for invalid whitespaces in f-string subexpressions. (#1888) https://github.com/python/cpython/commit/2e9cd5825c5ccdbb6f65a57c0c7941078e003c14

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

2017-06-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2078 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue30603] textwrap: declining indent level has no test case

2017-06-08 Thread Jonathan Eunice
New submission from Jonathan Eunice: The case where textwrap.dedent() handles a declining indent level, requiring it to revise its margin estimate downward, remains untested. This issue is opened in support of an imminent PR that adds an appropriate test. -- components: Library (Lib) m

[issue30601] [Windows] test_winconsoleio leaks references

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: New changeset 31b950ab86f5c99a18c16dbf1900b854b94e0659 by Victor Stinner in branch '3.6': bpo-30601: Fix a refleak in WindowsConsoleIO (#2003) (#2008) https://github.com/python/cpython/commit/31b950ab86f5c99a18c16dbf1900b854b94e0659 -- __

[issue30418] test_communicate_epipe() of test_subprocess fails randomly on AMD64 Windows7 SP1 3.x

2017-06-08 Thread STINNER Victor
STINNER Victor added the comment: New changeset b319d09ee4427aac1ee8f298692127d34ef57dc0 by Victor Stinner in branch '3.6': bpo-30418: Popen.communicate() always ignore EINVAL (#2002) (#2004) https://github.com/python/cpython/commit/b319d09ee4427aac1ee8f298692127d34ef57dc0 -- ___

[issue30603] textwrap: declining indent level has no test case

2017-06-08 Thread Jonathan Eunice
Changes by Jonathan Eunice : -- pull_requests: +2079 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

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

2017-06-08 Thread Dino Viehland
New submission from Dino Viehland: The co_extra_freefuncs are stored in PyThreadState. When calling _PyEval_RequestCodeExtraIndex you are given a thread specific index. The code object can then lose it's last reference on a different thread, and the wrong free function can be called if users

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

2017-06-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 570b1c971c31cd08dbf060f4e21636c40aa47786 by Serhiy Storchaka in branch '3.6': [3.6] bpo-30529: Fix errors for invalid whitespaces in f-string subexpressions. (GH-1888) (#2013) https://github.com/python/cpython/commit/570b1c971c31cd08dbf060f4e21

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

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

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

2017-06-08 Thread Dino Viehland
Changes by Dino Viehland : -- pull_requests: +2080 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue27534] IDLE: Reduce number and time for user process imports

2017-06-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, I do want to continue this. As I explained in msg270522, I shelved (but not abandoned) the autocomplete patch because it caused a test failure I did not (and do not) understand, and because I found another fix for that issue. The reductions I noted abov

[issue27534] IDLE: Reduce number and time for user process imports

2017-06-08 Thread Cheryl Sabella
Cheryl Sabella added the comment: Yes, I ran test_idle before I submitted the pull request. I wasn't sure if I was missing something based on your comments of the test failing. -- ___ 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 review

[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:

[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, flags

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[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)

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[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 -> resolved > status: open ->

[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 ___ ___ Pyth

[issue30486] Allow setting cell value

2017-06-08 Thread Guido van Rossum
Changes by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[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 ___ ___ Python-bugs-lis

[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 ___ ___

[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 _

[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). T

[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 ___ ___ Python-bugs-list mailing li

[issue30606] Spam

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

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[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 pr

[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

[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: https://www.google.com.au/search?q=TypeError:+unsupported+operand+type(s)+for+>>:+'builtin_function_or_method'+and+'_io.TextIOWrappe

[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

[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 ___ ___ Python-bugs-list mailing li

[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 ___ ___ Python-bugs-list mailing list Unsubs

[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

[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 ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[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 access

[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: h

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

2017-06-08 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka nosy: +serhiy.storchaka stage: -> patch review type: -> behavior ___ Python tracker ___

[issue29478] email.policy.Compat32(max_line_length=None) not as documented

2017-06-08 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Is the PR ready for merging? Does this need misc/news entry? I can help with the backport. -- nosy: +Mariatta stage: -> patch review ___ Python tracker _

[issue24755] asyncio.wrap_future undocumented

2017-06-08 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 824f6879121413e09439fffef54580413e44bf46 by Mariatta (adisbladis) in branch 'master': bpo-24755: Document asyncio.wrap_future (GH-603) https://github.com/python/cpython/commit/824f6879121413e09439fffef54580413e44bf46 -- nosy: +Mariatta

[issue24755] asyncio.wrap_future undocumented

2017-06-08 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +2085 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue24755] asyncio.wrap_future undocumented

2017-06-08 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- stage: patch review -> backport needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue24755] asyncio.wrap_future undocumented

2017-06-08 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +2086 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

<    1   2