[issue36617] The rich comparison operators are second class citizens

2019-04-12 Thread Steven D'Aprano
Steven D'Aprano added the comment: Sorry, I don't understand your demonstration. What's the mystery ``parser`` object with an ``expr`` method? What is it doing? Your comment says "all binary/unary number ops work" but I don't know what you mean by "work". Could you show some plain, vanilla P

[issue36618] clang expects memory aligned on 16 bytes, but pymalloc aligns to 8 bytes

2019-04-12 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue19417] Bdb: add a unittest file (test.test_bdb)

2019-04-12 Thread Xavier de Gaye
Change by Xavier de Gaye : -- dependencies: -Bdb: add docstrings resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue36617] The rich comparison operators are second class citizens

2019-04-12 Thread SilentGhost
SilentGhost added the comment: It seems to be parser module. https://docs.python.org/3/library/parser.html#creating-st-objects -- nosy: +SilentGhost ___ Python tracker ___ __

[issue36618] clang expects memory aligned on 16 bytes, but pymalloc aligns to 8 bytes

2019-04-12 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +12735 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue35925] test_httplib test_nntplib test_ssl fail on ARMv7 Debian buster bot (OpenSSL 1.1.1a)

2019-04-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: While altering the environment to not use the system default openssl config is an option to make this green again today very easily. That'd "solve" the red bot problem and nothing else. :/ Doing that just kicks the can down the road as all of us Linux use

[issue36619] when is os.posix_spawn(setsid=True) safe?

2019-04-12 Thread cagney
New submission from cagney : How can I detect that os.posix_spawn(setsid=True) is available at runtime? I'd like to use os.posix_spawn(setsid=True) when it is available, and (assuming I'm getting this right) os.posix_spawn(setpgroup=0) as a poor fallback. -- components: IO messages:

[issue36609] activate.ps1 in venv for Windows should encoded with BOM

2019-04-12 Thread Steve Dower
Steve Dower added the comment: Seems reasonable. The most reliable way to do this will be to override the copy function for this file in venv and write it out with "utf-8-sig" encoding. There are many ways that git will break things like this, so I wouldn't trust it to simply accept a modif

[issue21110] Slowdown and high memory usage when adding a new module in embedded Python 3.4 on 64bit Windows

2019-04-12 Thread Steve Dower
Steve Dower added the comment: Never heard of it, but perhaps there are some preprocessor checks for Windows that assume you are using MSVC and not gcc? We don't support compilers other than MSVC on Windows, but if someone has a fix for this I'm happy to consider it. -- ___

[issue25361] Is python-3-5-0.exe compiled with SSE2 instrutions? If so should we mention this?

2019-04-12 Thread Steve Dower
Steve Dower added the comment: For 3.8 we support as far back as Win7 SP1 with the update for secure DLL loading, neither of which require SSE2. So we should hold this for 3.9 when we drop Win7 completely. -- ___ Python tracker

[issue36549] str.capitalize should titlecase the first character not uppercase

2019-04-12 Thread Steve Dower
Steve Dower added the comment: What is missing? It looks like everything on Serhiy's list was done. -- ___ Python tracker ___ ___ P

[issue36549] str.capitalize should titlecase the first character not uppercase

2019-04-12 Thread Steve Dower
Steve Dower added the comment: Oh, apart from the What's New section. But this looks enough like a bugfix (previous behaviour "wasn't capitalizing my name correctly" - new behaviour "now capitalizes my name correctly") that it's hardly critical to advertise it on that page. --

[issue36614] Popen output on windows server 2019

2019-04-12 Thread Steve Dower
Steve Dower added the comment: > I guess Popen is using some OS library or environment that has changed in > WS2019. Yep, which is why the report should go to those responsible for WS2019. If they say it's an intentional change and users are supposed to work around it themselves, then we ca

[issue36601] signals can be caught by any thread

2019-04-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: We can remove ancient Irix and LinuxThreads hacks from our codebase. The best way to shake issues of this sort out is to remove it and watch for issues on supported buildbots and during beta releases. I don't expect any fallout from this one. Other place

[issue36106] resolve sinpi() name clash with libm

2019-04-12 Thread Dmitrii Pasechnik
Dmitrii Pasechnik added the comment: Can this also be backported to 3.5. and 3.6, as requested by FreeBSD maintainers? -- ___ Python tracker ___ _

[issue36618] clang expects memory aligned on 16 bytes, but pymalloc aligns to 8 bytes

2019-04-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset 23a683adf803eef405d248cc9c2a7eb08a7300e2 by Victor Stinner in branch 'master': bpo-36618: Add -fmax-type-align=8 flag for clang (GH-12809) https://github.com/python/cpython/commit/23a683adf803eef405d248cc9c2a7eb08a7300e2 -- __

[issue36389] Add gc.enable_object_debugger(): detect corrupted Python objects in the GC

2019-04-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0fc91eef34a1d9194904fa093c9fbd711af0f26c by Victor Stinner in branch 'master': bpo-36389: Add _PyObject_CheckConsistency() function (GH-12803) https://github.com/python/cpython/commit/0fc91eef34a1d9194904fa093c9fbd711af0f26c -- __

[issue32308] Replace empty matches adjacent to a previous non-empty match in re.sub()

2019-04-12 Thread Matthew Barnett
Matthew Barnett added the comment: Consider re.findall(r'.{0,2}', 'abcde'). It finds 'ab', then continues where it left off to find 'cd', then 'e'. It can also find ''; re.match(r'.*', '') does match, after all. It could, in fact, an infinite number of ''. And what about re.match(r'()*', ''

[issue36611] Debug memory allocators: remove useless "serialno" field to reduce memory footprint

2019-04-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset e8f9acf03484c6c3f163f04a76321419369c28aa by Victor Stinner in branch 'master': bpo-36611: Disable serialno field of debug memory allocators (#12796) https://github.com/python/cpython/commit/e8f9acf03484c6c3f163f04a76321419369c28aa --

[issue18748] io.IOBase destructor silence I/O error on close() by default

2019-04-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset 472f794a33221ea835a2fbf6c9f12aa2bd66d1b0 by Victor Stinner in branch 'master': bpo-18748: test_io: silence destructor errors (GH-12805) https://github.com/python/cpython/commit/472f794a33221ea835a2fbf6c9f12aa2bd66d1b0 -- _

[issue36611] Debug memory allocators: remove useless "serialno" field to reduce memory footprint

2019-04-12 Thread STINNER Victor
STINNER Victor added the comment: We decided to only disable the code by default, but the code stays until we are sure that nobody uses it. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue36618] clang expects memory aligned on 16 bytes, but pymalloc aligns to 8 bytes

2019-04-12 Thread STINNER Victor
STINNER Victor added the comment: I merged a "workaround" in the master branch. Python 2.7 and 3.7 are also affected, but I prefer to wait to see if the change goes through buildbots. The real fix would be to modify pymalloc to use 16-byte alignement, but that's a more complex issue :-) ---

[issue36620] Documentation missing parameter for Itertools.zip_longest

2019-04-12 Thread Charles Merriam
New submission from Charles Merriam : On page: https://docs.python.org/3.8/library/itertools.html In the heading summary, in the "Iterators terminating on the shortest input sequence:" section, in the "zip_longest()" table row, in the "Arguments" column, the text "p, q, ..." should be "p, q,

[issue36618] clang expects memory aligned on 16 bytes, but pymalloc aligns to 8 bytes

2019-04-12 Thread STINNER Victor
STINNER Victor added the comment: Note to myself: "Sadly, the flag must be expected to CFLAGS and not just CFLAGS_NODIST, ..." It should be "Sadly, the flag must be *set* to CFLAGS and not just CFLAGS_NODIST, ..." :-( I should fix the NEWS entry. --

[issue36620] Documentation missing parameter for Itertools.zip_longest

2019-04-12 Thread SilentGhost
Change by SilentGhost : -- stage: -> needs patch versions: +Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue28809] mention asyncio.gather non-deterministic task starting order

2019-04-12 Thread Cheryl Sabella
Cheryl Sabella added the comment: I believe the issue mentioned here was addressed by the doc rewrite in issue 33649. I'm going to mark this as a duplicate of that issue, but if the concern here still exists, then please re-open this issue. -- nosy: +cheryl.sabella resolution: -> d

[issue36106] resolve sinpi() name clash with libm

2019-04-12 Thread Cheryl Sabella
Cheryl Sabella added the comment: I'll nosy Ned as the release manager about the request to 3.6. -- nosy: +cheryl.sabella, ned.deily ___ Python tracker ___ ___

[issue36621] shutil.rmtree follows junctions on windows

2019-04-12 Thread Jordan Hueckstaedt
New submission from Jordan Hueckstaedt : shutil.rmtree follows junctions / reparse points on windows and will delete files in the target link directory. -- components: IO, Windows messages: 340111 nosy: Jordan Hueckstaedt, paul.moore, steve.dower, tim.golden, zach.ware priority: normal

[issue36588] change sys.platform() to just "aix" for AIX

2019-04-12 Thread Michael Felt
Michael Felt added the comment: On 12/04/2019 17:34, STINNER Victor wrote: > STINNER Victor added the comment: > >> But, should I just continue standard practice (sys.platform), or would >> this be a moment to move towards platform.system() (i.e., set the >> example to be to use "run-time" rat

[issue36620] Documentation missing parameter for Itertools.zip_longest

2019-04-12 Thread Cheryl Sabella
Cheryl Sabella added the comment: Good catch! In the same section, accumulate() is missing the `initial` argument. Would you be interested in submitting a pull request for this? -- nosy: +cheryl.sabella ___ Python tracker

[issue36537] except statement block incorrectly assumes end of scope(?).

2019-04-12 Thread Xavier de Gaye
Xavier de Gaye added the comment: > Now, I need to *inconveniently* put some dummy code after the ser_trace call > every time I want to access the exception inside the except block Knowing that pdb stops just before the interpreter executes the line after pdb.set_trace(), what prevents you f

[issue19113] duplicate test names in Lib/ctypes/test/test_functions.py

2019-04-12 Thread Xavier de Gaye
Xavier de Gaye added the comment: Still fails on Python 3.8.0a3+. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue36618] clang expects memory aligned on 16 bytes, but pymalloc aligns to 8 bytes

2019-04-12 Thread STINNER Victor
STINNER Victor added the comment: Oh, it seems like the change broke the FreeBSD 10 buildbot :-( https://buildbot.python.org/all/#/builders/167/builds/769 ... checking for makedev... no checking for le64toh... no checking for mode_t... no checking for off_t... no checking for pid_t... no chec

[issue17267] datetime.time support for '+' and '-'

2019-04-12 Thread Skip Montanaro
Change by Skip Montanaro : -- nosy: -skip.montanaro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue36618] clang expects memory aligned on 16 bytes, but pymalloc aligns to 8 bytes

2019-04-12 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12736 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36537] except statement block incorrectly assumes end of scope(?).

2019-04-12 Thread Saim Raza
Saim Raza added the comment: > Knowing that pdb stops just before the interpreter executes the line after > pdb.set_trace(), what prevents you from writing the pdb.set_trace() statement > before the last line of the except clause ? Of course, that can be done. The issue here is to get the co

[issue33922] [Windows] Document the launcher's -64 suffix

2019-04-12 Thread Steve Dower
Steve Dower added the comment: New changeset 1e2ad6c275d2b09e76b7cbba7281d5a125a593c1 by Steve Dower (mrh1997) in branch 'master': bpo-33922: Adding documentation for new "-64" suffix of Python launcher (GH-7849) https://github.com/python/cpython/commit/1e2ad6c275d2b09e76b7cbba7281d5a125a593

[issue33922] [Windows] Document the launcher's -64 suffix

2019-04-12 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +12737 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue30291] Allow windows launcher to specify bit lengths with & without minor version

2019-04-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +12738 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue30291] Allow windows launcher to specify bit lengths with & without minor version

2019-04-12 Thread Steve Dower
Steve Dower added the comment: New changeset 1e2ad6c275d2b09e76b7cbba7281d5a125a593c1 by Steve Dower (mrh1997) in branch 'master': bpo-33922: Adding documentation for new "-64" suffix of Python launcher (GH-7849) https://github.com/python/cpython/commit/1e2ad6c275d2b09e76b7cbba7281d5a125a593

[issue27987] obmalloc's 8-byte alignment causes undefined behavior

2019-04-12 Thread STINNER Victor
STINNER Victor added the comment: While this issue looked purely theorical to me 3 years ago, it is now very concrete: bpo-36618 "clang expects memory aligned on 16 bytes, but pymalloc aligns to 8 bytes". -- ___ Python tracker

[issue30291] Allow windows launcher to specify bit lengths with & without minor version

2019-04-12 Thread miss-islington
miss-islington added the comment: New changeset 395bb94a7f1c3ec9c29976738dfc6cb5d31f9aee by Miss Islington (bot) in branch '3.7': bpo-33922: Adding documentation for new "-64" suffix of Python launcher (GH-7849) https://github.com/python/cpython/commit/395bb94a7f1c3ec9c29976738dfc6cb5d31f9ae

[issue33922] [Windows] Document the launcher's -64 suffix

2019-04-12 Thread miss-islington
miss-islington added the comment: New changeset 395bb94a7f1c3ec9c29976738dfc6cb5d31f9aee by Miss Islington (bot) in branch '3.7': bpo-33922: Adding documentation for new "-64" suffix of Python launcher (GH-7849) https://github.com/python/cpython/commit/395bb94a7f1c3ec9c29976738dfc6cb5d31f9ae

[issue35581] Document @typing.type_check_only

2019-04-12 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 1e8295402bf5e81d327ed2b5eb88a6b6de449d63 by Guido van Rossum (Sebastian Rittau) in branch 'master': bpo-35581: Document @typing.type_check_only (GH-11312) https://github.com/python/cpython/commit/1e8295402bf5e81d327ed2b5eb88a6b6de449d63

[issue35581] Document @typing.type_check_only

2019-04-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +12739 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue28055] pyhash's siphash24 assumes alignment of the data pointer

2019-04-12 Thread STINNER Victor
STINNER Victor added the comment: I see that a fix has been pushed. I'm not sure why this issue is still open, so I close it. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue36618] clang expects memory aligned on 16 bytes, but pymalloc aligns to 8 bytes

2019-04-12 Thread STINNER Victor
STINNER Victor added the comment: See also: * bpo-27987: obmalloc's 8-byte alignment causes undefined behavior * bpo-18835: Add PyMem_AlignedAlloc() * bpo-31912: PyMem_Malloc() should guarantee alignof(max_align_t) -- ___ Python tracker

[issue35581] Document @typing.type_check_only

2019-04-12 Thread Guido van Rossum
Guido van Rossum added the comment: Now waiting for the backport to 3.7. Once that's done I'll close this as fixed. -- ___ Python tracker ___ _

[issue27987] obmalloc's 8-byte alignment causes undefined behavior

2019-04-12 Thread Gregory P. Smith
Change by Gregory P. Smith : -- versions: +Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue35581] Document @typing.type_check_only

2019-04-12 Thread miss-islington
miss-islington added the comment: New changeset b759a2c5b9612a03c8b30514aa93444268931e5e by Miss Islington (bot) in branch '3.7': bpo-35581: Document @typing.type_check_only (GH-11312) https://github.com/python/cpython/commit/b759a2c5b9612a03c8b30514aa93444268931e5e -- nosy: +miss-i

[issue36618] clang expects memory aligned on 16 bytes, but pymalloc aligns to 8 bytes

2019-04-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: Even if you check for -fmax-type-align compiler support at configure time, there is a potential problem: Nothing guarantees that extension modules are built by the same compiler that CPython is. If CPython used an old clang without support for that flag a

[issue36618] clang expects memory aligned on 16 bytes, but pymalloc aligns to 8 bytes

2019-04-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: I believe -fno-max-type-align is also an option. -- ___ Python tracker ___ ___ Python-bugs-list

[issue35581] Document @typing.type_check_only

2019-04-12 Thread Guido van Rossum
Change by Guido van Rossum : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36618] clang expects memory aligned on 16 bytes, but pymalloc aligns to 8 bytes

2019-04-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset a304b136adda3575898d8b5debedcd48d5072272 by Victor Stinner in branch 'master': bpo-36618: Don't add -fmax-type-align flag to old clang (GH-12811) https://github.com/python/cpython/commit/a304b136adda3575898d8b5debedcd48d5072272 -- ___

[issue36618] clang expects memory aligned on 16 bytes, but pymalloc aligns to 8 bytes

2019-04-12 Thread STINNER Victor
STINNER Victor added the comment: > It should not block us from going forward with a workaround like your PRs for > now. I pushed a fix quickly to unblock my PR 12796, but also because I was very scared by what I saw :-D I see my change as a "quick fix", but we really have to sit down to th

[issue36620] Documentation missing parameter for Itertools.zip_longest

2019-04-12 Thread Charles Merriam
Charles Merriam added the comment: Hi Cheryl, No. I've dealt with the Team Python long cycles for random pull requests before. Charles On Fri, Apr 12, 2019 at 2:27 PM Cheryl Sabella wrote: > > Cheryl Sabella added the comment: > > Good catch! In the same section, accumulate() is missing

[issue36620] Documentation missing parameter for Itertools.zip_longest

2019-04-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue31954] Don't prevent dict optimization by coupling with OrderedDict

2019-04-12 Thread Cheryl Sabella
Change by Cheryl Sabella : -- versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue36605] make tags should also parse Modules/_io/*.c and Modules/_io/*.h

2019-04-12 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12740 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue32299] unittest.mock.patch.dict.__enter__ should return the dict

2019-04-12 Thread Cheryl Sabella
Change by Cheryl Sabella : -- nosy: +xtreak versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue36605] make tags should also parse Modules/_io/*.c and Modules/_io/*.h

2019-04-12 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12741 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-04-12 Thread Eric Snow
Eric Snow added the comment: @Victor, I set up a FreeBSD 12.0 VM (in Hyper-v) and made sure core files were getting generated for segfaults. Then I cloned the cpython repo, built it (using GCC), and ran regrtest as you recommended. It generated no core files after half an hour. I adjusted

[issue36620] Documentation missing parameter for Itertools.zip_longest

2019-04-12 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thanks, Charles. I'm going to assign this to @Mariatta for the sprints. -- assignee: docs@python -> Mariatta nosy: +Mariatta ___ Python tracker

[issue36602] Recursive directory list with pathlib.Path.iterdir

2019-04-12 Thread Paul Ganssle
Paul Ganssle added the comment: > I don't spend enough time dealing with symlinks to have strong opinions > there, but given we have ways to resolve symlinks but not to get back to the > original name (and I *have* had to deal with issues where I've needed to find > the original name from th

[issue36622] Inconsistent exponent notation formatting

2019-04-12 Thread Sep Dehpour
New submission from Sep Dehpour : Floats and Decimals have inconsistent exponent notation formatting: >>> '{:.5e}'.format(Decimal('2.0001')) '2.00010e+0' >>> '{:.5e}'.format(2.0001) '2.00010e+00' This is causing issues for us since we use the scientific notation formatted string of numbers to

[issue36605] make tags should also parse Modules/_io/*.c and Modules/_io/*.h

2019-04-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset 44a2c4aaf2d0c03c70646eb16fbc6c1ba1689e69 by Victor Stinner in branch '2.7': bpo-36605: make tags: parse Modules/_io directory (GH-12789) (GH-12815) https://github.com/python/cpython/commit/44a2c4aaf2d0c03c70646eb16fbc6c1ba1689e69 -- _

[issue36605] make tags should also parse Modules/_io/*.c and Modules/_io/*.h

2019-04-12 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue36605] make tags should also parse Modules/_io/*.c and Modules/_io/*.h

2019-04-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5403006c5c371649b92ab8a2cde742412c765640 by Victor Stinner in branch '3.7': bpo-36605: make tags: parse Modules/_io directory (GH-12789) (GH-12814) https://github.com/python/cpython/commit/5403006c5c371649b92ab8a2cde742412c765640 -- _

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-04-12 Thread STINNER Victor
STINNER Victor added the comment: > Any ideas of how far I need to throttle the VM? Is there more than just CPU > that I need to limit? I don't know how to make the race condition more likely. I'm not sure that starving the CPU helps. Maybe try the opposite: add more CPUs and reduce the nu

[issue36622] Inconsistent exponent notation formatting

2019-04-12 Thread Eric V. Smith
Change by Eric V. Smith : -- nosy: +eric.smith, mark.dickinson, skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue36623] Clean unused parser headers

2019-04-12 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : After the removal of pgen, there are multiple parser headers that are not used anymore or ar lacking implementations. -- components: Interpreter Core messages: 340140 nosy: pablogsal priority: normal severity: normal status: open title: Clean

[issue36623] Clean unused parser headers

2019-04-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +12742 stage: -> patch review ___ Python tracker ___ ___ Pytho

[issue27987] obmalloc's 8-byte alignment causes undefined behavior

2019-04-12 Thread Inada Naoki
Change by Inada Naoki : -- nosy: +inada.naoki ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue36540] PEP 570: Python Positional-Only Parameters

2019-04-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I will separate the work in two Pull Request (maybe more). The implementation of the PEP will be done in PR12701 and the documentation and other additions will be done in future Pull Requests to keep things more manageable. -- ___

[issue36601] signals can be caught by any thread

2019-04-12 Thread Nathaniel Smith
Nathaniel Smith added the comment: Yeah, the check makes sense on a system like the comment says IRIX used to be, where getpid() actually returns a thread id *and* signals are delivered to all threads (wtf). But any modern system should do the POSIX thing, where getpid() returns the same valu

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-04-12 Thread David Bolen
David Bolen added the comment: Eric, I'm also seeing the same Win7 and Win10 worker failures with commit b75b1a350 as last time (test_multiprocessing_spawn on both, and test_io on Win7). For test_multiprocessing_spawn, it fails differently than Victor since no core file is generated, but I

[issue36602] Recursive directory list with pathlib.Path.iterdir

2019-04-12 Thread Laurie Opperman
Laurie Opperman added the comment: Having `iterdir(recursive=True)` recurse into symlinks to directories would mean we would either not yield those symlinks, or we yield those symlinks and all other directories. I feel like not yielding directories is the way to go, but it's easy enough to

[issue33608] Add a cross-interpreter-safe mechanism to indicate that an object may be destroyed.

2019-04-12 Thread David Bolen
David Bolen added the comment: I just noticed that my last message referenced the wrong commit. My test failures were against commit f13c5c8b9401a9dc19e95d8b420ee100ac022208 (the same as Victor). -- ___ Python tracker

[issue36593] isinstance check fails for Mock objects with spec executed under tracing function

2019-04-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- title: Trace function interferes with MagicMock isinstance? -> isinstance check fails for Mock objects with spec executed under tracing function ___ Python tracker ___

<    1   2