[issue27618] docs for threading.Lock claim it's a class (since 3.3), but it's not (and has never been, apparently)

2017-04-26 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- pull_requests: +1414 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30176] curses attribute constants list is incomplete

2017-04-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I still think that the difference between the groups should be documented in more details. Not all functions that support A_BOLD support also A_ITALIC and A_HORIZONTAL (even if they are defined). Bit masks are used in totally different way than other constan

[issue30176] curses attribute constants list is incomplete

2017-04-26 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +twouters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

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

2017-04-26 Thread Dong-hee Na
Changes by Dong-hee Na : -- pull_requests: +1415 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

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

2017-04-26 Thread Dong-hee Na
Dong-hee Na added the comment: I submitted the PR for this issue. -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list maili

[issue28964] AST literal_eval exceptions provide no information about line number

2017-04-26 Thread Steve Merritt
Steve Merritt added the comment: I'll try to get to it this weekend. A bit swamped on another project right now. Thanks for the interest and the reminder! -- ___ Python tracker

[issue26228] pty.spawn hangs on FreeBSD 9.3, 10.x

2017-04-26 Thread John Beck
John Beck added the comment: Solaris has this problem also, and Chris' patch fixes it for us. -- nosy: +jbeck ___ Python tracker ___ _

[issue30179] Update Copyright to 2017

2017-04-26 Thread Cheryl Sabella
New submission from Cheryl Sabella: The copyright page is only through 2016. -- assignee: docs@python components: Documentation messages: 292383 nosy: csabella, docs@python priority: normal severity: normal status: open title: Update Copyright to 2017 type: enhancement versions: Python 3

[issue30179] Update Copyright to 2017

2017-04-26 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- pull_requests: +1416 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30179] Update Copyright to 2017

2017-04-26 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Duplicate of http://bugs.python.org/issue29555. -- nosy: +Mariatta resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker

[issue30180] PyArg_ParseTupleAndKeywords supports required keyword only arguments

2017-04-26 Thread Joe Jevnik
New submission from Joe Jevnik: I opened a pr to remove a line in the docs about $ needing to follow | in PyArg_ParseTupleAndKeywords. In practice, you can just use a $ to create required keyword arguments which intuitively makes sense. I was told this should raise a SystemError; however, you

[issue30180] PyArg_ParseTupleAndKeywords supports required keyword only arguments

2017-04-26 Thread Joe Jevnik
Changes by Joe Jevnik : -- assignee: -> docs@python components: +Documentation nosy: +docs@python ___ Python tracker ___ ___ Python-b

[issue27172] Undeprecate inspect.getfullargspec()

2017-04-26 Thread Tim Graham
Tim Graham added the comment: Does it seems likely that getfullargspec() will be deprecated after Python 2 is EOL? Django is currently reimplementing getargspec(): https://github.com/django/django/blob/8ab7ce8558792f41637d6f87f2a8a117e169dd18/django/utils/inspect.py#L4-L24 A pull request propos

[issue30181] Incorrect parsing of test case docstring

2017-04-26 Thread Ben Finney
New submission from Ben Finney: The docstring of a test case is not correctly parsed for display. The attached ‘test_foo.py’ module contains two test case functions. Both docstrings conform to PEP 257 : they have a single-line synopsis and some extra

[issue30176] curses attribute constants list is incomplete

2017-04-26 Thread Xiang Zhang
Xiang Zhang added the comment: I can't find any official, portable doc about the details so I don't prefer to have them. I support bit-masks are different. Previously I don't what's the better way to organize them, now I have a try. Please check the update. :-) --

[issue30182] Incorrect in referring to ISO as "International Standards Organization"

2017-04-26 Thread Jesse Gonzalez
New submission from Jesse Gonzalez: When reviewing the Unicode HOWTO, I found a reference to ISO as "International Standards Organization", which should instead read "International Organization for Standardization". https://www.iso.org/home.html -- assignee: docs@python components: Do

[issue30182] Incorrect in referring to ISO as "International Standards Organization"

2017-04-26 Thread Louie Lu
Louie Lu added the comment: Add the link: Python 3: https://docs.python.org/3/howto/unicode.html Python 2: https://docs.python.org/2/howto/unicode.html Both of 2 and 3 howto unicode use "International Standards Organization" Jesse, would you like to create a PR for this? -- nosy: +l

[issue30165] faulthandler acquires lock from signal handler, can deadlock while crashing

2017-04-26 Thread Gregory P. Smith
Gregory P. Smith added the comment: This report is based on manual code inspection in CPython head after we encountered a deadlock using pytracemalloc on Python 2.7.12 where it _appeared_ to be the scenario I've described. I see now that I missed noticing the "#ifndef Py_HAVE_NATIVE_TLS" withi

[issue13349] Non-informative error message in index() and remove() functions

2017-04-26 Thread Zahari Dim
Changes by Zahari Dim : -- pull_requests: +1418 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue28415] PyUnicode_FromFormat integer format handling different from printf about zeropad

2017-04-26 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset 88c38b32b761cb566759b8ad96704bff590a1de9 by Xiang Zhang (Louie Lu) in branch 'master': bpo-28415: Note 0 conversion different between Python and C (#885) https://github.com/python/cpython/commit/88c38b32b761cb566759b8ad96704bff590a1de9 --

[issue28415] PyUnicode_FromFormat integer format handling different from printf about zeropad

2017-04-26 Thread Xiang Zhang
Changes by Xiang Zhang : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed versions: -Python 2.7, Python 3.5, Python 3.6 ___ Python tracker ___

[issue30181] Incorrect parsing of test case docstring

2017-04-26 Thread Brian May
Changes by Brian May : -- nosy: +brian ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue30182] Incorrect in referring to ISO as "International Standards Organization"

2017-04-26 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- keywords: +easy stage: -> needs patch versions: +Python 3.5, Python 3.6 ___ Python tracker ___ ___ Py

[issue30165] faulthandler acquires lock from signal handler, can deadlock while crashing

2017-04-26 Thread Gregory P. Smith
Gregory P. Smith added the comment: So... it looks like this could and does happen only on the 2.7 backport of faulthandler. 2.7 is missing the following commit to use pthreads native TLS instead of our lock filled non-async signal safe implementation: https://github.com/python/cpython/commi

[issue30115] test_logging report reference leak

2017-04-26 Thread Xiang Zhang
Xiang Zhang added the comment: Seems in #30131 Victor has solved this. :-) -- nosy: +haypo resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue30131] test_logging leaks a "dangling" thread

2017-04-26 Thread Xiang Zhang
Xiang Zhang added the comment: Does this need to be backported? -- nosy: +xiang.zhang ___ Python tracker ___ ___ Python-bugs-list mail

[issue30181] Incorrect parsing of test case docstring

2017-04-26 Thread Louie Lu
Louie Lu added the comment: This is because unittest.TestCase method `shortDescription()` will only return the first line of docstring, writing at here*: """ The default implementation of this method returns the first line of the test method’s docstring, if available, or None. """ Not sure if

[issue30183] [HPUX] compilation error in pytime.c with cc compiler

2017-04-26 Thread David Haney
New submission from David Haney: When compiling on HP-UX with the native cc compiler, the following compilation error occurs in pytime.c cc -Ae -c -O -O -I. -I./Include-DPy_BUILD_CORE -o Python/pytime.o Python/pytime.c "Python/pytime.c", line 723: error #2020: identifier "CLO

[issue21071] struct.Struct.format is bytes, but should be str

2017-04-26 Thread Xiang Zhang
Xiang Zhang added the comment: +1 for change bytes to str. But struct.Struct() accepts both bytes and str, maybe in future buffer objects. When it gets a bytes object, converting it to a str looks unnecessary to me, and as OP said, comparison (a theoretical use case) could still fail. Could we

[issue30182] Incorrect in referring to ISO as "International Standards Organization"

2017-04-26 Thread Jesse Gonzalez
Changes by Jesse Gonzalez : -- pull_requests: +1419 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue30182] Incorrect in referring to ISO as "International Standards Organization"

2017-04-26 Thread Jesse Gonzalez
Jesse Gonzalez added the comment: PR created. CLA signed, but indicates otherwise in my account details. -- ___ Python tracker ___ ___

[issue30182] Incorrect in referring to ISO as "International Standards Organization"

2017-04-26 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +1421 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30182] Incorrect in referring to ISO as "International Standards Organization"

2017-04-26 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +1420 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30182] Incorrect in referring to ISO as "International Standards Organization"

2017-04-26 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- pull_requests: +1422 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue30182] Incorrect in referring to ISO as "International Standards Organization"

2017-04-26 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 33a5568f69301562d536852d12b9e03cd8dfc3a4 by Mariatta in branch '3.6': [3.6] bpo-30182: Use the correct name for ISO in Unicode HOWTO. (GH-1312) (GH-1313) https://github.com/python/cpython/commit/33a5568f69301562d536852d12b9e03cd8dfc3a4 ---

[issue30182] Incorrect in referring to ISO as "International Standards Organization"

2017-04-26 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset c4dfe2537fee970dc1bf3eb4fc2a3e007b36531c by Mariatta in branch '3.5': [3.5] bpo-30182: Use the correct name for ISO in Unicode HOWTO. (GH-1312) (GH-1314) https://github.com/python/cpython/commit/c4dfe2537fee970dc1bf3eb4fc2a3e007b36531c ---

[issue30182] Incorrect in referring to ISO as "International Standards Organization"

2017-04-26 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 24404b4c92fc4195422c38563d0c6204fa7b16b1 by Mariatta in branch '2.7': [2.7] bpo-30182: Use the correct name for ISO in Unicode HOWTO. (GH-1312). (#1315) https://github.com/python/cpython/commit/24404b4c92fc4195422c38563d0c6204fa7b16b1

[issue30182] Incorrect in referring to ISO as "International Standards Organization"

2017-04-26 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks :) -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___

[issue30182] Incorrect in referring to ISO as "International Standards Organization"

2017-04-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since I had the same wrong idea, I dug further into the site. The explanation is at https://www.iso.org/about-us.html ''' It's all in the name Because 'International Organization for Standardization' would have different acronyms in different languages (IOS in

[issue30165] faulthandler acquires lock from signal handler, can deadlock while crashing

2017-04-26 Thread STINNER Victor
STINNER Victor added the comment: Oh sorry, you reported the bug on my 2.7 backport but I ask you to report the bug here, and now the bug is specific to 2.7 :-) Yes, faulthandler implementation is different on Python 2.7. If you look in depth, it is even very different especially "dump later" (2

[issue30181] Incorrect parsing of test case docstring

2017-04-26 Thread Ben Finney
Ben Finney added the comment: > This is because unittest.TestCase method `shortDescription()` will only > return the first line of docstring Yes, that is the “docstring synopsis” I referred to. PEP 257 has a section specifically about how tools should parse a docstring: https://www.python.org

[issue30184] Add tests for invalid use of PyArg_ParseTupleAndKeywords

2017-04-26 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Proposed patch adds tests that check that PyArg_ParseTupleAndKeywords() correctly detects errors in the format string and keywords list and raises SystemError. It also allows the format argument in _testcapi.parse_tuple_and_keywords() be string.

[issue30184] Add tests for invalid use of PyArg_ParseTupleAndKeywords

2017-04-26 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +1423 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

<    1   2