[issue33873] False positives when running leak tests with -R 1:1

2018-06-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset cac4fef8860e66a9da67d09762f5b614b9471a12 by Victor Stinner (Pablo Galindo) in branch 'master': bpo-33873: regrtest: Add warning on -R 1:3 (GH-7736) https://github.com/python/cpython/commit/cac4fef8860e66a9da67d09762f5b614b9471a12 --

[issue24379] Add operator.subscript as a convenience for creating slices

2018-06-15 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> rejected stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue33836] [Good first-time issue] Recommend keyword-only param for memoization in FAQ

2018-06-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +7351 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33571] Add triple quotes to list of delimiters that trigger '...' prompt

2018-06-15 Thread Mariatta Wijaya
New submission from Mariatta Wijaya : New changeset 68680035143a3a6398faa88f067f244c74691d19 by Mariatta (Andrés Delfino) in branch 'master': bpo-33571: Improve the glossary description for '...' prompt (GH-6971) https://github.com/python/cpython/commit/68680035143a3a6398faa88f067f244c74691d19

[issue33571] Add triple quotes to list of delimiters that trigger '...' prompt

2018-06-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +7355 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33571] Add triple quotes to list of delimiters that trigger '...' prompt

2018-06-15 Thread miss-islington
miss-islington added the comment: New changeset 380a2b09e8c78b1222f9295e82e7ef34a0e70d99 by Miss Islington (bot) in branch '3.7': bpo-33571: Improve the glossary description for '...' prompt (GH-6971) https://github.com/python/cpython/commit/380a2b09e8c78b1222f9295e82e7ef34a0e70d99

[issue33859] Spelling mistakes found using aspell

2018-06-15 Thread miss-islington
miss-islington added the comment: New changeset 416e488415cacec98778da11da401c1b94d92c10 by Miss Islington (bot) in branch '3.7': bpo-33859: Fix spelling mistakes in docs. (GH-7691) https://github.com/python/cpython/commit/416e488415cacec98778da11da401c1b94d92c10 -- nosy:

[issue33873] False positives when running leak tests with -R 1:1

2018-06-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Updated PR7735 with the checks for invalid parameters. -- ___ Python tracker ___ ___

[issue33875] Allow dynamic password evaluation in pypirc configuration file.

2018-06-15 Thread Joel Perras
New submission from Joel Perras : In its current implementation, a user is required to provide their cleartext PyPi password in their .pypirc configuration file for authenticated interactions with PyPi servers to succeed. For hopefully obvious reasons, this is sub-optimal from a security

[issue33865] [EASY] Missing code page aliases: "unknown encoding: 874"

2018-06-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Of course entries in the alias table should have a precedence. -- ___ Python tracker ___ ___

[issue33859] Spelling mistakes found using aspell

2018-06-15 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +7358 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33876] doc Mention the MicroPython implementation in Introduction

2018-06-15 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7349 stage: -> patch review ___ Python tracker ___ ___

[issue33877] doc Mention Windows along UNIX for script running instructions

2018-06-15 Thread Andrés Delfino
New submission from Andrés Delfino : Reference 9.1. says: "Under Unix, a complete program can be passed to the interpreter in three forms...". This also applies to Windows. PR fixes this. -- assignee: docs@python components: Documentation messages: 319703 nosy: adelfino, docs@python

[issue33836] [Good first-time issue] Recommend keyword-only param for memoization in FAQ

2018-06-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +7350 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33826] enable discovery of class source code in IPython interactively defined classes

2018-06-15 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: Oh, I see, you want to be able to get the source for code entered into the interactive session. IPython does this by creating a separate fake "file name" for every input and adding corresponding entries for them into `linecache.cache'. This doesn't work for

[issue33874] dictviews set operations do not follow pattern of set or frozenset

2018-06-15 Thread Forest
Forest added the comment: Sorry there was a typo in the first example block: It should be >>> {}.keys() & [] set() >>> set() & [] Traceback (most recent call last): File "", line 1, in TypeError: unsupported operand type(s) for &: 'set' and 'list' >>> set() & [] does **not** return set()

[issue33571] Add triple quotes to list of delimiters that trigger '...' prompt

2018-06-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +7354 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33836] [Good first-time issue] Recommend keyword-only param for memoization in FAQ

2018-06-15 Thread miss-islington
miss-islington added the comment: New changeset 2636833e8e9cb16ba3ae7bf776bbfc91f176367c by Miss Islington (bot) in branch '3.6': bpo-33836: Recommend keyword-only param for memoization in FAQ (GH-7687) https://github.com/python/cpython/commit/2636833e8e9cb16ba3ae7bf776bbfc91f176367c

[issue33499] Environment variable to set alternate location for pycache tree

2018-06-15 Thread Nick Coghlan
Change by Nick Coghlan : -- pull_requests: +7357 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33865] [EASY] Missing code page aliases: "unknown encoding: 874"

2018-06-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There are certain encodings as I went through the file Lib/encodings/aliases.py where there are all digit items that doesn't correspond to cp sequence. I think the search function is used not only for encodings that start with 'cp' and thus

[issue24379] Add operator.subscript as a convenience for creating slices

2018-06-15 Thread Guido van Rossum
Guido van Rossum added the comment: Let's close it. Just because someone spent a lot of effort on a patch we don't have to accept it. -- ___ Python tracker ___

[issue33875] Allow dynamic password evaluation in pypirc configuration file.

2018-06-15 Thread Joel Perras
Change by Joel Perras : -- keywords: +patch pull_requests: +7348 stage: -> patch review ___ Python tracker ___ ___

[issue33499] Environment variable to set alternate location for pycache tree

2018-06-15 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset b193fa996a746111252156f11fb14c12fd6267e6 by Nick Coghlan (Carl Meyer) in branch 'master': bpo-33499: Add PYTHONPYCACHEPREFIX env var for alt bytecode cache location. (GH-6834)

[issue29456] bugs in unicodedata.normalize: u1176, u11a7 and u11c3

2018-06-15 Thread Xiang Zhang
Xiang Zhang added the comment: As I said, I checked Unicode 3.0 for the hangul composition algorithm. It looks consistent with Unicode 4.1+. 3.0 only gets description but no sample implementation. So I think the changed code also applies to Unicode 3.0+. --

[issue33874] dictviews set operations do not follow pattern of set or frozenset

2018-06-15 Thread Forest
New submission from Forest : Views of dictionary keys and items admit set operations, but the behavior of operations differs significantly from that of set and frozenset. >>> {}.keys() & [] set() >>> set() & [] Traceback (most recent call last): File "", line 1, in TypeError: unsupported

[issue33571] Add triple quotes to list of delimiters that trigger '...' prompt

2018-06-15 Thread miss-islington
miss-islington added the comment: New changeset 80c51c4737c6bb51dd76d2ab6c5f7ea75bf118f2 by Miss Islington (bot) in branch '2.7': bpo-33571: Improve the glossary description for '...' prompt (GH-6971) https://github.com/python/cpython/commit/80c51c4737c6bb51dd76d2ab6c5f7ea75bf118f2

[issue33571] Add triple quotes to list of delimiters that trigger '...' prompt

2018-06-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +7353 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33499] Environment variable to set alternate location for pycache tree

2018-06-15 Thread Nick Coghlan
Nick Coghlan added the comment: Merged as PYTHONPYCACHEPREFIX=path, -X pycache_prefix=path and sys.pycache_prefix :) I'll also update PEP 304 with a note saying a variant of the idea was eventually accepted for Python 3.8. -- resolution: -> fixed stage: patch review -> resolved

[issue33859] Spelling mistakes found using aspell

2018-06-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset c151f7846d6d900c22edaaa77f5f7771b529099e by Serhiy Storchaka (Xtreak) in branch 'master': bpo-33859: Fix spelling mistakes in docs. (GH-7691) https://github.com/python/cpython/commit/c151f7846d6d900c22edaaa77f5f7771b529099e -- nosy:

[issue33874] dictviews set operations do not follow pattern of set or frozenset

2018-06-15 Thread Forest
Forest added the comment: Issue https://bugs.python.org/issue24413 also flags a difference in the behavior between dictviews and sets/frozensets. "for non-iterable object x, set().__or__(x) raises NotImplementedError, but {}.keys().__or__(x) raises TypeError" Issue

[issue33876] doc Mention the MicroPython implementation in Introduction

2018-06-15 Thread Andrés Delfino
New submission from Andrés Delfino : IMHO, mentioning MicroPython is a plus because it's a mature project with a focus not covered by any of the other mentioned implementations. PR adds the mention. -- assignee: docs@python components: Documentation messages: 319700 nosy: adelfino,

[issue33836] [Good first-time issue] Recommend keyword-only param for memoization in FAQ

2018-06-15 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 2707e41a5c7ede30349cc7dbd66f8be564965d7c by Mariatta (Noah Haasis) in branch 'master': bpo-33836: Recommend keyword-only param for memoization in FAQ (GH-7687) https://github.com/python/cpython/commit/2707e41a5c7ede30349cc7dbd66f8be564965d7c

[issue33571] Add triple quotes to list of delimiters that trigger '...' prompt

2018-06-15 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33876] doc Mention the MicroPython implementation in Introduction

2018-06-15 Thread Carol Willing
Carol Willing added the comment: A reasonable suggestion. Let's make sure that we mention CircuitPython as well. -- nosy: +willingc ___ Python tracker ___

[issue33836] [Good first-time issue] Recommend keyword-only param for memoization in FAQ

2018-06-15 Thread miss-islington
miss-islington added the comment: New changeset 5a0bf74d4ec11a246b401896cbfb2e840c13da40 by Miss Islington (bot) in branch '3.7': bpo-33836: Recommend keyword-only param for memoization in FAQ (GH-7687) https://github.com/python/cpython/commit/5a0bf74d4ec11a246b401896cbfb2e840c13da40

[issue33571] Add triple quotes to list of delimiters that trigger '...' prompt

2018-06-15 Thread miss-islington
miss-islington added the comment: New changeset 8e6428f21699e15b5d96f949db221f20d8466b4b by Miss Islington (bot) in branch '3.6': bpo-33571: Improve the glossary description for '...' prompt (GH-6971) https://github.com/python/cpython/commit/8e6428f21699e15b5d96f949db221f20d8466b4b

[issue33859] Spelling mistakes found using aspell

2018-06-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +7356 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29456] bugs in unicodedata.normalize: u1176, u11a7 and u11c3

2018-06-15 Thread Ma Lin
Ma Lin added the comment: > We have a ucd_3_2_0 in unicodedata. Probably this 3.2 unicodedata is used for IDNA2003. In IDNA2003 there is a step: normalize the domain_name string to Unicode Normalization Form C. Now we changed the Composition code of Hangul to Unicode Standard 4.1+, and

[issue33836] [Good first-time issue] Recommend keyword-only param for memoization in FAQ

2018-06-15 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33877] doc Mention Windows along UNIX for script running instructions

2018-06-15 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7352 stage: -> patch review ___ Python tracker ___ ___

[issue29456] bugs in unicodedata.normalize: u1176, u11a7 and u11c3

2018-06-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +7318 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33865] [EASY] Missing code page aliases: "unknown encoding: 874"

2018-06-15 Thread Ronald Oussoren
Ronald Oussoren added the comment: Could you also add a documentation update and a news entry? The section on standard encodings mentions aliases for standard encodings, and IMHO the new aliases should be added to that page. Creating a new entry is described here:

[issue14102] argparse: add ability to create a man page

2018-06-15 Thread Pavel Raiskup
Pavel Raiskup added the comment: On Friday, June 15, 2018 11:54:04 AM CEST Daniel Walsh wrote: > Correct, the reason I would want this is to add something to a Makefile > ... > manpages: foo.py > ./python foo.py --manpage > foo.1 The /bin/argparse-manpage could help temporarily (if you

[issue29456] bugs in unicodedata.normalize: u1176, u11a7 and u11c3

2018-06-15 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset d134809cd3764c6a634eab7bb8995e3e2eff14d5 by Xiang Zhang (Wonsup Yoon) in branch 'master': bpo-29456: Fix bugs in unicodedata.normalize: u1176, u11a7 and u11c3 (GH-1958)

[issue33865] [EASY] Missing code page aliases: "unknown encoding: 874"

2018-06-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I have added the aliases as per comment by @vstinner https://bugs.python.org/msg319590 . I have used https://docs.python.org/3.8/library/codecs.html#standard-encodings as a reference to see if there are any additional aliases to add with respect

[issue14102] argparse: add ability to create a man page

2018-06-15 Thread Daniel Walsh
Daniel Walsh added the comment: On 06/14/2018 07:15 PM, Ben Finney wrote: > Ben Finney added the comment: > > On Thu, 2018-06-14 20:02 +, Pablo Galindo Salgado > wrote: >> The (possible) confusion is the existence of a manpage only available >> though argparse (`./python foo.py

[issue33625] Release GIL for grp.getgr{nam, gid} and pwd.getpw{nam, uid}

2018-06-15 Thread STINNER Victor
STINNER Victor added the comment: More data to decide if the change should be backported or not: bpo-32186 (Release the GIL during lseek and fstat) has been backported to Python 2.7, but then cffi started to crash: https://bugzilla.redhat.com/show_bug.cgi?id=1561170#c28 At the end, it's a

[issue33630] test_posix: TestPosixSpawn fails on PPC64 Fedora 3.x

2018-06-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I have updated PR7685 to use the temporary list as per Serhiy comments. -- ___ Python tracker ___

[issue33630] test_posix: TestPosixSpawn fails on PPC64 Fedora 3.x

2018-06-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: As I commented on GitHub, it seems that the race in the test (problem covered in PR7663) disappears once the memory problem is fixed (PR33630). As is a race condition I am not sure that this affirmation is true, but running 3 test suites in parallel

[issue29456] bugs in unicodedata.normalize: u1176, u11a7 and u11c3

2018-06-15 Thread Xiang Zhang
Xiang Zhang added the comment: New changeset 1889c4cbd62e200fa4cde3d6219e0aadf9bd8149 by Xiang Zhang in branch '2.7': bpo-29456: Fix bugs in unicodedata.normalize: u1176, u11a7 and u11c3 (GH-1958) (GH-7704) https://github.com/python/cpython/commit/1889c4cbd62e200fa4cde3d6219e0aadf9bd8149

[issue14102] argparse: add ability to create a man page

2018-06-15 Thread Oz Tiram
Oz Tiram added the comment: As already pointed out, it can get the parser somehow, you don't need an explicit extra option --man. That's the approach suggesed in: man-argparse and build_manpage.py attached here You can use it a make file like this: install: ./setup.py build_manpage

[issue33865] [EASY] Missing code page aliases: "unknown encoding: 874"

2018-06-15 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +7321 stage: -> patch review ___ Python tracker ___ ___

[issue29456] bugs in unicodedata.normalize: u1176, u11a7 and u11c3

2018-06-15 Thread Xiang Zhang
Change by Xiang Zhang : -- pull_requests: +7320 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33865] [EASY] Missing code page aliases: "unknown encoding: 874"

2018-06-15 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks @ronaldoussoren for the links. I have added an entry using blurb tool and updated the docs at Doc/library/codecs.rst with relevant aliases. Thanks -- ___ Python tracker

[issue30345] test_gdb fails on Python 3.6 when built with LTO+PGO

2018-06-15 Thread Marcel Plch
Marcel Plch added the comment: LTO may break the debug symbols and make GDB unusable. There is an option, that fixes the issue: to use a -g switch in link flags. Note that this slows loading of the debug symbols significantly. I suggest these options as possible approaches: 1) make the

[issue24415] SIGINT always reset to SIG_DFL by Py_Finalize()

2018-06-15 Thread Martin Panter
Martin Panter added the comment: It is worth checking if at least the first half of the report was fixed by Issue 30654 -- nosy: +martin.panter superseder: -> signal module always overwrites SIGINT on interpreter shutdown ___ Python tracker

[issue29456] bugs in unicodedata.normalize: u1176, u11a7 and u11c3

2018-06-15 Thread miss-islington
miss-islington added the comment: New changeset e2e7ff0d0378ba44f10a1aae10e4bee957fb44d2 by Miss Islington (bot) in branch '3.6': bpo-29456: Fix bugs in unicodedata.normalize: u1176, u11a7 and u11c3 (GH-1958) https://github.com/python/cpython/commit/e2e7ff0d0378ba44f10a1aae10e4bee957fb44d2

[issue33864] collections.abc.ByteString does not register memoryview

2018-06-15 Thread Josh Rosenberg
Josh Rosenberg added the comment: memoryview isn't just for bytes strings though; the format can make it a sequence of many types of different widths, meanings, etc. Calling it a BytesString would be misleading in many cases. -- nosy: +josh.r ___

[issue29456] bugs in unicodedata.normalize: u1176, u11a7 and u11c3

2018-06-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +7319 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29456] bugs in unicodedata.normalize: u1176, u11a7 and u11c3

2018-06-15 Thread miss-islington
miss-islington added the comment: New changeset 0e2b76ea4e48d0fc1ca34ae4ffbb2fd6c19664bb by Miss Islington (bot) in branch '3.7': bpo-29456: Fix bugs in unicodedata.normalize: u1176, u11a7 and u11c3 (GH-1958) https://github.com/python/cpython/commit/0e2b76ea4e48d0fc1ca34ae4ffbb2fd6c19664bb

[issue29456] bugs in unicodedata.normalize: u1176, u11a7 and u11c3

2018-06-15 Thread Xiang Zhang
Change by Xiang Zhang : -- components: +Library (Lib) -Unicode resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue30345] test_gdb fails on Python 3.6 when built with LTO+PGO

2018-06-15 Thread Marcel Plch
Marcel Plch added the comment: Those -g switches you see there are during compile-time. For this to work, you need to enable it also during link/time: ./configure --enable-optimizations --with-lto LDFLAGS="-g" Except for py-bt, you should also try bt. With this link flag enabled, I can

[issue30345] test_gdb fails on Python 3.6 when built with LTO+PGO

2018-06-15 Thread Marcel Plch
Change by Marcel Plch : -- nosy: +petr.viktorin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30345] test_gdb fails on Python 3.6 when built with LTO+PGO

2018-06-15 Thread STINNER Victor
STINNER Victor added the comment: > - ["Python Exception Variable 'func_obj' not found.: ", bpo-32962: My commit 019d33b7a447e78057842332fb5d3bad01922122 "python-gdb catchs ValueError on read_var()" (PR 7692) catches this ValueError. -- ___

[issue33865] [EASY] Missing code page aliases: "unknown encoding: 874"

2018-06-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Why only these code pages? There are other cp encodings that don't have the alias. Maybe add a logic in encodings.search_function() that will map to cp if it is all digits? Maybe even map ibm and windows_ to cp, but this

[issue33869] doc Add set, frozen set, and tuple entries to Glossary

2018-06-15 Thread Andrés Delfino
New submission from Andrés Delfino : PR adds entries for these three terms and a link to the list definition. -- assignee: docs@python components: Documentation messages: 319619 nosy: adelfino, docs@python priority: normal severity: normal status: open title: doc Add set, frozen set,

[issue33869] doc Add set, frozen set, and tuple entries to Glossary

2018-06-15 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +7322 stage: -> patch review ___ Python tracker ___ ___

[issue33868] test__xxsubinterpreters: test_subinterpreter() fails randomly on AMD64 Ubuntu Shared 3.x

2018-06-15 Thread Eric Snow
Eric Snow added the comment: I'll take a look. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32295] User friendly message when invoking bdist_wheel sans wheel package.

2018-06-15 Thread Éric Araujo
Change by Éric Araujo : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue30345] test_gdb fails on Python 3.6 when built with LTO+PGO

2018-06-15 Thread Marcel Plch
Marcel Plch added the comment: Yes, but that is not a fix really in this case. While it makes the test pass because it 'correctly' prints out unknown objects, it makes no real difference when actually debugging. The -g switch at link time makes the debug symbols readable and user is able to

[issue33870] pdb continue + breakpoint

2018-06-15 Thread Philip Rowlands
New submission from Philip Rowlands : Please extend pdb's continue to support an optional argument, identical to break. When debugging I frequently want to quickly run to a certain line number then break. Rather than break / continue / clear (or tbreak / continue), it would be handy to type

[issue30345] test_gdb fails on Python 3.6 when built with LTO+PGO

2018-06-15 Thread STINNER Victor
STINNER Victor added the comment: I tested on the current master: git clean -fdx ./configure --with-lto --enable-optimizations sed -i -e 's/^PROFILE_TASK=.*/PROFILE_TASK=-c pass/' Makefile make 2>&1|tee log Python is compiled twice: * (1) gcc -DNDEBUG -g -O3 -flto -fprofile-generate (...) *

[issue32962] test_gdb fails in debug build with `-mcet -fcf-protection -O0`

2018-06-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9b7c74ca32d1bec7128d550a9ab1b2ddc7046287 by Victor Stinner (Marcel Plch) in branch 'master': bpo-32962: Fix test_gdb failure in debug build with -mcet -fcf-protection -O0 (#6754)

[issue32962] test_gdb fails in debug build with `-mcet -fcf-protection -O0`

2018-06-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset ca4cb8492c643d1fcac2c5b749595ad5377673ab by Victor Stinner in branch '3.7': [3.7] bpo-32962: Backport python-gdb.py and test_gdb.py from master (GH-7710) https://github.com/python/cpython/commit/ca4cb8492c643d1fcac2c5b749595ad5377673ab

[issue32962] test_gdb fails in debug build with `-mcet -fcf-protection -O0`

2018-06-15 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +7325 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33823] A BUG in concurrent/asyncio

2018-06-15 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg319278 ___ Python tracker ___ ___ Python-bugs-list

[issue33823] A BUG in concurrent/asyncio

2018-06-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Python++, when you respond by email, rather than on the web form, delete the message you are responding to. It is already present on the web page and should not be repeated. I unlinked msg319278 because it uselessly repeats the same message that it

[issue33824] Settign LANG=C modifies the --version behavior

2018-06-15 Thread STINNER Victor
STINNER Victor added the comment: The bug is a regression caused by the PEP 540 (UTF-8 Mode) and my work to rewrite Py_Main(). My PR 7712 fixes the bug. -- ___ Python tracker

[issue33824] Settign LANG=C modifies the --version behavior

2018-06-15 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +7326 stage: -> patch review ___ Python tracker ___ ___

[issue33871] Possible integer overflow in iov_setup()

2018-06-15 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The iov_setup() helper in posixmodule.c returns the total size of all buffers. But there is possible an integer overflow because the sequence of buffers can contain the same buffer repeated multiple times. On 32-bit platform: >>> import os >>> f =

[issue30345] test_gdb fails on Python 3.6 when built with LTO+PGO

2018-06-15 Thread STINNER Victor
STINNER Victor added the comment: > Except for py-bt, you should also try bt. Oh. Using PGO+LTO but without LDFLAGS=-g, bt only shows me function names: all arguments are missing. I tested with LDFLAGS=-g: py-bt and bt work as expected, and test_gdb pass. I created PR 7709 to always

[issue33824] Settign LANG=C modifies the --version behavior

2018-06-15 Thread Jakub Wilk
Jakub Wilk added the comment: First bad commit is: 9454060e84a669dde63824d9e2fcaf295e34f687 (bpo-29240, bpo-32030: Py_Main() re-reads config if encoding changes) -- nosy: +jwilk, vstinner ___ Python tracker

[issue4948] Make heapq work with all mutable sequences

2018-06-15 Thread Brett Cannon
Brett Cannon added the comment: FYI I had a teacher reach out to me who wanted to use heapq as an example of functions-based API that worked without resorting to OOP but ran into this issue of heapq being limited to lists. -- nosy: +brett.cannon

[issue33847] doc: Add '@' operator entry to index

2018-06-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is definitely an oversight to be corrected. Index entries for the other binary arithmetic operators point to the table at https://docs.python.org/3/library/stdtypes.html#numeric-types-int-float-complex But @ is not in that table since number @ number is

[issue30345] test_gdb fails on Python 3.6 when built with LTO+PGO

2018-06-15 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +7323 stage: -> patch review ___ Python tracker ___ ___

[issue33832] Make "magic methods" a little more discoverable in the docs

2018-06-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: It is unclear what problem this issue is meant to serve. If the reference manual uses 'magic method', I think it should be changed. Special method names are obvious by their form and need not and should not be labelled. I think doc policy issues should

[issue32030] PEP 432: Rewrite Py_Main()

2018-06-15 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +7327 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32962] test_gdb fails in debug build with `-mcet -fcf-protection -O0`

2018-06-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5279759f52cc5397acfb04351b34feea862864de by Victor Stinner in branch '3.6': bpo-32962: Backport python-gdb.py and test_gdb.py from master (GH-7710) (GH-7711) https://github.com/python/cpython/commit/5279759f52cc5397acfb04351b34feea862864de

[issue33852] doc Remove parentheses from sequence subscription description

2018-06-15 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +7328 stage: -> patch review ___ Python tracker ___ ___

[issue33832] Make "magic methods" a little more discoverable in the docs

2018-06-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Just for clarification. My question in the PR was: >I think these are not the only occurrences of method referring to a >magic method. A quick grep reveals that there are more places where the >construction the __something__ method happens. Should we

[issue33852] doc Remove parentheses from sequence subscription description

2018-06-15 Thread miss-islington
miss-islington added the comment: New changeset 0113391e3f3db0fea6a9545310dc06aa5ea41461 by Miss Islington (bot) in branch '3.7': bpo-33852: Remove misplaced parentheses around 'list'. (GH-7672) https://github.com/python/cpython/commit/0113391e3f3db0fea6a9545310dc06aa5ea41461 --

[issue33870] pdb continue + breakpoint

2018-06-15 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- components: +Library (Lib) versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list

[issue33852] doc Remove parentheses from sequence subscription description

2018-06-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Guido approved the change on the PR. -- assignee: docs@python -> terry.reedy resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue33826] enable discovery of class source code in IPython interactively defined classes

2018-06-15 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: What do you mean by "class source code" anyway? A class doesn't actually contain any executable code (and there's no code object associated with it). -- ___ Python tracker

[issue33832] Make "magic methods" a little more discoverable in the docs

2018-06-15 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: Indeed, I did not. Fixed now. I hope. -- nosy: +rhettinger ___ Python tracker ___ ___

[issue33847] doc: Add '@' operator entry to index

2018-06-15 Thread miss-islington
miss-islington added the comment: New changeset c05c0e045ccf6e065c59c193195dc0e9b7242dd4 by Miss Islington (bot) in branch '3.7': bpo-33847: Add '@' operator entry to index (GH-7669) https://github.com/python/cpython/commit/c05c0e045ccf6e065c59c193195dc0e9b7242dd4 -- nosy:

[issue33826] enable discovery of class source code in IPython interactively defined classes

2018-06-15 Thread Thomas Viehmann
Thomas Viehmann added the comment: Apologies for not being clear. So I wrote: In IPython (or Jupyter), `inspect.getsource` is able to retrieve the source code for functions but not classes. By this I mean: import inspect class X: pass inspect.getsource(X) Note that: - it won't work in

[issue33826] enable discovery of class source code in IPython interactively defined classes

2018-06-15 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: I got that part, thank you. I can't get 1)what you're expecting as an output and 2)why this should work the way you're suggesting 'cuz functions and classes are very different. In particular, classes can be modified dynamically, unlike functions. So if you

[issue33858] A typo in multiprocessing documentation

2018-06-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: It seems that it was this commit: https://github.com/python/cpython/commit/5619ab2db3a6c62ffaa55e8826cf67b7459fc484 -- ___ Python tracker

[issue33858] A typo in multiprocessing documentation

2018-06-15 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: And this PR: https://github.com/python/cpython/pull/698 -- ___ Python tracker ___ ___

  1   2   >