[issue37185] use os.memfd_create in multiprocessing.shared_memory?

2019-09-09 Thread Christian Heimes
Christian Heimes added the comment: You are corret, Davin. The concept of memory fd is a new Linux Kernel feature. It's not available on older Linux Kernels or on non-Linux OS. To share memory fd segments between processes, the processes have to exchange or inherit the file descriptor

[issue20490] Show clear error message on circular import

2019-09-09 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +15444 pull_request: https://github.com/python/cpython/pull/15791 ___ Python tracker ___

[issue37758] unicodedata checksum-tests only test 1/17th of Unicode's codepoints

2019-09-09 Thread Thomas Wouters
Thomas Wouters added the comment: New changeset 3cbc23aa229bc5ec04845053df78eae5f54e0497 by T. Wouters (Greg Price) in branch 'master': bpo-37758: Cut always-constant conditionals on sys.maxunicode. (GH-15302) https://github.com/python/cpython/commit/3cbc23aa229bc5ec04845053df78eae5f54e0497

[issue38059] Using sys.exit() over exit() in inspect.py

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset 0d4396c04cba5ac2b66fdaa23c01db84b1b54227 by Miss Islington (bot) in branch '3.8': bpo-38059: Using sys.exit() over exit() in inspect.py (GH-15666) https://github.com/python/cpython/commit/0d4396c04cba5ac2b66fdaa23c01db84b1b54227 --

[issue18108] shutil.chown should support dir_fd and follow_symlinks keyword arguments

2019-09-09 Thread TK
Change by TK : -- nosy: +ta1hia ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38059] Using sys.exit() over exit() in inspect.py

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset b7bf632d4ebacfeffc8770a7848c690fa2a90a62 by Miss Islington (bot) in branch '3.7': bpo-38059: Using sys.exit() over exit() in inspect.py (GH-15666) https://github.com/python/cpython/commit/b7bf632d4ebacfeffc8770a7848c690fa2a90a62 --

[issue20490] Show clear error message on circular import

2019-09-09 Thread Steve Dower
Steve Dower added the comment: New changeset 65366bc8bdc4716ebc361e622590b45a6e5aef07 by Steve Dower (Anthony Sottile) in branch 'master': bpo-20490: Improve circular import error message (GH-15308) https://github.com/python/cpython/commit/65366bc8bdc4716ebc361e622590b45a6e5aef07

[issue38073] Make pwd module PEP-384 compatible

2019-09-09 Thread Dino Viehland
New submission from Dino Viehland : Make the pwd module PEP-384 compatible -- assignee: dino.viehland components: Extension Modules messages: 351495 nosy: dino.viehland, eric.snow priority: normal severity: normal status: open title: Make pwd module PEP-384 compatible versions: Python

[issue38073] Make pwd module PEP-384 compatible

2019-09-09 Thread Dino Viehland
Change by Dino Viehland : -- keywords: +patch pull_requests: +15443 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15790 ___ Python tracker ___

[issue38060] precedence (relational, logical operator)not working with single value

2019-09-09 Thread Tim Peters
Tim Peters added the comment: @sangeetamchauhan, the reply you got in the image you attached was in error - kind of. Section "6.16. Operator precedence" defines Python's operator precedence: https://docs.python.org/3/reference/expressions.html#index-92 """ The following table summarizes

[issue34596] [unittest] raise error if @skip is used with an argument that looks like a test method

2019-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3bd4bed78a0b068e28bcf2242d33aed227c2532c by Michael Foord (Miss Islington (bot)) in branch '3.8': bpo-34596: Fallback to a default reason when @unittest.skip is uncalled (GH-9082) (#15781)

[issue38006] Crash in remove() weak reference callback of weakref.WeakValueDictionary at Python exit

2019-09-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +15442 pull_request: https://github.com/python/cpython/pull/15789 ___ Python tracker ___

[issue38072] Make grp module PEP-384 compatible

2019-09-09 Thread Dino Viehland
Change by Dino Viehland : -- keywords: +patch pull_requests: +15441 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15788 ___ Python tracker ___

[issue38072] Make grp module PEP-384 compatible

2019-09-09 Thread Dino Viehland
Change by Dino Viehland : -- assignee: dino.viehland components: Extension Modules nosy: dino.viehland, eric.snow priority: normal severity: normal status: open title: Make grp module PEP-384 compatible versions: Python 3.9 ___ Python tracker

[issue38006] Crash in remove() weak reference callback of weakref.WeakValueDictionary at Python exit

2019-09-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +15440 pull_request: https://github.com/python/cpython/pull/15787 ___ Python tracker ___

[issue38006] Crash in remove() weak reference callback of weakref.WeakValueDictionary at Python exit

2019-09-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset a2af05a0d3f0da06b8d432f52efa3ecf29038532 by Victor Stinner in branch 'master': bpo-38006: Avoid closure in weakref.WeakValueDictionary (GH-15641) https://github.com/python/cpython/commit/a2af05a0d3f0da06b8d432f52efa3ecf29038532 --

[issue30782] Allow limiting the number of concurrent tasks in asyncio.as_completed

2019-09-09 Thread Yury Selivanov
Yury Selivanov added the comment: > it will help simplify some Mock things. Yeah, we'll need to chat about that so I can use Mock requirements in the PEP. :) -- ___ Python tracker

[issue30782] Allow limiting the number of concurrent tasks in asyncio.as_completed

2019-09-09 Thread Lisa Roach
Lisa Roach added the comment: Oh nice, I remember talking to you about the MultiError before, it will help simplify some Mock things. Happy to help out if you want more eyes on it. On Mon, Sep 9, 2019 at 3:46 PM Yury Selivanov wrote: > > Yury Selivanov added the comment: > > FWIW I've been

[issue37876] Tests for Rot13 codec

2019-09-09 Thread Steve Dower
Steve Dower added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 ___ Python tracker ___

[issue36797] Cull more oudated distutils information

2019-09-09 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset cabcbbe7a518d53cd7dbb915ceccf4970c2d0ea5 by Stéphane Wirtel (Miss Islington (bot)) in branch '3.8': bpo-36797: Fix a dead link in Doc/distutils/apiref (GH-15700) (GH-15704)

[issue37876] Tests for Rot13 codec

2019-09-09 Thread Steve Dower
Steve Dower added the comment: New changeset b3b48c81f09d1472010937f1331c5a208a2a2d48 by Steve Dower (Zeth) in branch 'master': bpo-37876: Tests for ROT-13 codec (GH-15314) https://github.com/python/cpython/commit/b3b48c81f09d1472010937f1331c5a208a2a2d48 -- nosy: +steve.dower

[issue37876] Tests for Rot13 codec

2019-09-09 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +15439 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15786 ___ Python tracker ___

[issue30782] Allow limiting the number of concurrent tasks in asyncio.as_completed

2019-09-09 Thread Yury Selivanov
Yury Selivanov added the comment: FWIW I've been using TaskGroups in EdgeDB codebase extensively: https://github.com/edgedb/edgedb/blob/master/edb/common/taskgroup.py (you can use the code, it's Apache 2) The only thing that prevented us from merging them in 3.8 is that we need to formally

[issue38037] reference counter issue in signal module

2019-09-09 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the fix animalize. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue1652] subprocess should have an option to restore SIGPIPE to default action

2019-09-09 Thread Gregory P. Smith
Change by Gregory P. Smith : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34596] [unittest] raise error if @skip is used with an argument that looks like a test method

2019-09-09 Thread Michael Foord
Change by Michael Foord : -- assignee: -> michael.foord components: +Extension Modules -Library (Lib), Tests resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue30782] Allow limiting the number of concurrent tasks in asyncio.as_completed

2019-09-09 Thread Lisa Roach
Lisa Roach added the comment: Sounds good, thanks for the explanation Yury. I look forward to the TaskGroups! -- ___ Python tracker ___

[issue38037] reference counter issue in signal module

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset b150d0bf1bb4c3203bb3293625e32aed01b25887 by Miss Islington (bot) in branch '3.8': bpo-38037: Fix reference counters in signal module (GH-15753) https://github.com/python/cpython/commit/b150d0bf1bb4c3203bb3293625e32aed01b25887 -- nosy:

[issue30782] Allow limiting the number of concurrent tasks in asyncio.as_completed

2019-09-09 Thread Yury Selivanov
Yury Selivanov added the comment: We want to add TaskGroups to asyncio (a similar concept to Trio's nurseries). TaskGroups use the `async with` statement to clearly define where Tasks are created and at which point they are expected to be completed or destroyed. asyncio.gather(),

[issue30782] Allow limiting the number of concurrent tasks in asyncio.as_completed

2019-09-09 Thread Lisa Roach
Lisa Roach added the comment: I would like to see this implemented. I run into memory and speed issues when running with 1000+ tasks quite frequently, and have to write my own rate limiters around it. It doesn't look to me that it is adding a large amount of complexity to as_completed.

[issue37857] Setting logger.level directly has no effect due to caching in 3.7+

2019-09-09 Thread Vinay Sajip
Vinay Sajip added the comment: > There's no way to be sure. But if you have a public (i.e. > non-underscore-prfixed) attribute then some percentage of people are going to > set it, particularly if it seems to work. Well, reading it isn't problematic, so there's no leading underscore. (The

[issue38071] Make termios PEP-384 compatible

2019-09-09 Thread Dino Viehland
Change by Dino Viehland : -- keywords: +patch pull_requests: +15438 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15785 ___ Python tracker ___

[issue38071] Make termios PEP-384 compatible

2019-09-09 Thread Dino Viehland
Change by Dino Viehland : -- components: Extension Modules nosy: dino.viehland, eric.snow priority: normal severity: normal status: open title: Make termios PEP-384 compatible type: enhancement versions: Python 3.9 ___ Python tracker

[issue32587] Make REG_MULTI_SZ support zero-length strings

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset 55a6f73b49625ebff575521c3a0b919880f5f0ec by Miss Islington (bot) in branch '3.7': bpo-32587: Fixes unsafe downcast in PC/winreg.c (GH-15766) https://github.com/python/cpython/commit/55a6f73b49625ebff575521c3a0b919880f5f0ec --

[issue32587] Make REG_MULTI_SZ support zero-length strings

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset 44729c9f5198211faf533da49fa0fa26693a1993 by Miss Islington (bot) in branch '3.8': bpo-32587: Fixes unsafe downcast in PC/winreg.c (GH-15766) https://github.com/python/cpython/commit/44729c9f5198211faf533da49fa0fa26693a1993 --

[issue38007] Regression: name of PyType_Spec::slots conflicts with Qt macro

2019-09-09 Thread Steve Dower
Steve Dower added the comment: Yes, even as a struct member name (at least in the definition), the C preprocessor will substitute a macro. It sounds like Qt defines a macro "slots", and so the definition of the struct will be broken. Unfortunately, this would be a more significant change

[issue38059] Using sys.exit() over exit() in inspect.py

2019-09-09 Thread Steve Dower
Steve Dower added the comment: Thanks! This helps people who use the "-S" option. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue38059] Using sys.exit() over exit() in inspect.py

2019-09-09 Thread miss-islington
Change by miss-islington : -- keywords: +patch pull_requests: +15436 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15783 ___ Python tracker ___

[issue38059] Using sys.exit() over exit() in inspect.py

2019-09-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +15437 pull_request: https://github.com/python/cpython/pull/15784 ___ Python tracker ___

[issue38059] Using sys.exit() over exit() in inspect.py

2019-09-09 Thread Steve Dower
Steve Dower added the comment: New changeset e3c59a75279b0df4e7553d6f0031e202de434e43 by Steve Dower (Alan Yee) in branch 'master': bpo-38059: Using sys.exit() over exit() in inspect.py (GH-15666) https://github.com/python/cpython/commit/e3c59a75279b0df4e7553d6f0031e202de434e43 --

[issue38053] Update plistlib documentation

2019-09-09 Thread Ronald Oussoren
Change by Ronald Oussoren : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38053] Update plistlib documentation

2019-09-09 Thread Ronald Oussoren
Ronald Oussoren added the comment: New changeset 24b11b8c95e96cf9c93fb7fc253e6e96506f2d77 by Ronald Oussoren (Jon Janzen) in branch 'master': bpo-38053 Update documentation for plistlib (GH-15727) https://github.com/python/cpython/commit/24b11b8c95e96cf9c93fb7fc253e6e96506f2d77 --

[issue38070] visit_decref(): add an assertion to check that the object is not freed

2019-09-09 Thread STINNER Victor
STINNER Victor added the comment: > visit_decref() is commonly found in C traceback (ex: gdb backtrace) of bugs > related to the garbage collector. Example with attached bpo-38037-bug.patch: you can apply this patch on the master branch to reintroduce bpo-38037 bug. vstinner@apu$ git

[issue37857] Setting logger.level directly has no effect due to caching in 3.7+

2019-09-09 Thread Zane Bitter
Zane Bitter added the comment: > That code in the wild that sets the level attribute directly is wrong and > should be changed, right? It definitely should be changed (and in our case we did change it once we found it). Whether it's "wrong" is more of a philosophical question ;). But the

[issue38070] visit_decref(): add an assertion to check that the object is not freed

2019-09-09 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +15435 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15782 ___ Python tracker ___

[issue34596] [unittest] raise error if @skip is used with an argument that looks like a test method

2019-09-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +15434 pull_request: https://github.com/python/cpython/pull/15781 ___ Python tracker ___

[issue34596] [unittest] raise error if @skip is used with an argument that looks like a test method

2019-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset d5fd75c53fad7049fc640c9a6162d35f0c5bea03 by Michael Foord (Naitree Zhu) in branch 'master': bpo-34596: Fallback to a default reason when @unittest.skip is uncalled (#9082)

[issue38070] visit_decref(): add an assertion to check that the object is not freed

2019-09-09 Thread STINNER Victor
New submission from STINNER Victor : This issue is related to bpo-36389 "Add gc.enable_object_debugger(): detect corrupted Python objects in the GC. I propose to call _PyObject_IsFreed() in visit_decref() in debug mode, to get a better error message if something goes wrong. visit_decref()

[issue25597] unittest.mock does not wrap dunder methods (__getitem__ etc)

2019-09-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to a reasonable change to me since dict.get returns the value then making a contains check dict.__contains__ should return True instead of the fixed return value of False. Below is a patch where the mock_wraps attribute is set with the

[issue37589] Missing dependences in the Makefile

2019-09-09 Thread Thomas Wouters
Change by Thomas Wouters : -- assignee: -> twouters resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue38069] Make _posixsubprocess PEP-384 compatible

2019-09-09 Thread Dino Viehland
Change by Dino Viehland : -- keywords: +patch pull_requests: +15433 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15780 ___ Python tracker ___

[issue38069] Make _posixsubprocess PEP-384 compatible

2019-09-09 Thread Dino Viehland
Change by Dino Viehland : -- assignee: dino.viehland components: Extension Modules nosy: dino.viehland, eric.snow priority: normal severity: normal status: open title: Make _posixsubprocess PEP-384 compatible versions: Python 3.9 ___ Python tracker

[issue37662] Document venv.EnvBuilder.upgrade_dependencies()

2019-09-09 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 264e034f990240e2aa379d8484b15b9e70c1fad5 by Vinay Sajip in branch 'master': bpo-37662: Documented venv.EnvBuilder.upgrade_dependencies(). (GH-15768) https://github.com/python/cpython/commit/264e034f990240e2aa379d8484b15b9e70c1fad5 --

[issue34155] [CVE-2019-16056] email.utils.parseaddr mistakenly parse an email

2019-09-09 Thread Matej Cepl
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37702] memory leak in ssl certification

2019-09-09 Thread Steve Dower
Steve Dower added the comment: New changeset 5d695b6b7bcccf5f028cdacd986096de15bc0ca6 by Steve Dower in branch '3.8': bpo-37702: Fix SSL's certificate-store leak on Windows (GH-15632) https://github.com/python/cpython/commit/5d695b6b7bcccf5f028cdacd986096de15bc0ca6 --

[issue38037] reference counter issue in signal module

2019-09-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +15432 pull_request: https://github.com/python/cpython/pull/15779 ___ Python tracker ___

[issue38037] reference counter issue in signal module

2019-09-09 Thread STINNER Victor
STINNER Victor added the comment: New changeset 77643c486fd22d8030e0d82c13012684b4ab6df1 by Victor Stinner (animalize) in branch 'master': bpo-38037: Fix reference counters in signal module (GH-15753) https://github.com/python/cpython/commit/77643c486fd22d8030e0d82c13012684b4ab6df1

[issue38061] FreeBSD: Optimize subprocess.Popen(close_fds=True) using closefrom()

2019-09-09 Thread Kubilay Kocak
Kubilay Kocak added the comment: On "close_except", close_range and posix_spawn(close_fds=True), I'll talk to my interested FreeBSD colleagues about potential inroads in that regard. In the meantime, we're good on closefrom(2) anywhere it can be used in Python --

[issue37702] memory leak in ssl certification

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset 472f37ab9a33050d7d50d1ebe33ba324a51c52c2 by Miss Islington (bot) in branch '3.7': bpo-37702: Fix SSL's certificate-store leak on Windows (GH-15632) https://github.com/python/cpython/commit/472f37ab9a33050d7d50d1ebe33ba324a51c52c2 --

[issue37702] memory leak in ssl certification

2019-09-09 Thread Steve Dower
Steve Dower added the comment: Closing now, as we're just waiting on the backports to clear CI. Thanks for your contributions! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37589] Missing dependences in the Makefile

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset 64f7f6efa0b6ccd5f942b0dd7c63978957d1660e by Miss Islington (bot) (T. Wouters) in branch '3.7': [3.7] bpo-37589: Add a few missing dependencies on .h files in the Makefile. (GH-15757) (GH-15769)

[issue38061] FreeBSD: Optimize subprocess.Popen(close_fds=True) using closefrom()

2019-09-09 Thread STINNER Victor
STINNER Victor added the comment: > That's very unlikely to happen. I believe it was added as an opt-in feature > for some linux compatibility situations. The correct solution is to use > closefrom(2), as it is the optimal current solution, and in our case, safe to > use. If you have like

[issue37283] Unexpected behavior when running installer a second time with the same arguments or unattend.xml

2019-09-09 Thread Steve Dower
Steve Dower added the comment: This will be fixed in the next release. Thanks for the report! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue32587] Make REG_MULTI_SZ support zero-length strings

2019-09-09 Thread Steve Dower
Steve Dower added the comment: Fixed, assuming the backports merge okay. -- assignee: -> steve.dower resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37589] Missing dependences in the Makefile

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset 248387f3f1182087da8f432c989ac6f18315b50f by Miss Islington (bot) in branch '3.8': bpo-37589: Add a few missing dependencies on .h files in the Makefile. (GH-15757)

[issue38061] FreeBSD: Optimize subprocess.Popen(close_fds=True) using closefrom()

2019-09-09 Thread Kubilay Kocak
Kubilay Kocak added the comment: > Would it be possible to modify FreeBSD to enable it by default? Or is there a > reason to not enable it by default? That's very unlikely to happen. I believe it was added as an opt-in feature for some linux compatibility situations. The correct solution is

[issue32587] Make REG_MULTI_SZ support zero-length strings

2019-09-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +15431 pull_request: https://github.com/python/cpython/pull/15778 ___ Python tracker ___

[issue32587] Make REG_MULTI_SZ support zero-length strings

2019-09-09 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset ef66f31ce21cd759cc0c618c5c42ba6da0a06834 by Jason R. Coombs (Steve Dower) in branch 'master': bpo-32587: Fixes unsafe downcast in PC/winreg.c (GH-15766) https://github.com/python/cpython/commit/ef66f31ce21cd759cc0c618c5c42ba6da0a06834

[issue32587] Make REG_MULTI_SZ support zero-length strings

2019-09-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +15430 pull_request: https://github.com/python/cpython/pull/15777 ___ Python tracker ___

[issue37283] Unexpected behavior when running installer a second time with the same arguments or unattend.xml

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset d3b8a6bf7c5f7574a3256468c4d0a755ba7a9048 by Miss Islington (bot) in branch '3.7': bpo-37283: Ensure command-line and unattend.xml setting override previously detected states in Windows installer (GH-15759)

[issue16575] ctypes: unions as arguments

2019-09-09 Thread Vinay Sajip
Vinay Sajip added the comment: Link to issue has changed to: https://github.com/libffi/libffi/issues/33 -- ___ Python tracker ___

[issue37936] gitignore file is too broad

2019-09-09 Thread Zachary Ware
Zachary Ware added the comment: New changeset 9ae9ac1061c76d637ebe9c1d6c6c802311d6ddba by Zachary Ware (Miss Islington (bot)) in branch '3.7': bpo-37936: Avoid ignoring files that we actually do track. (GH-15451) (GH-15748)

[issue26185] zipfile.ZipInfo slots can raise unexpected AttributeError

2019-09-09 Thread Dino Viehland
Dino Viehland added the comment: New changeset 992347d7376765fe3f4fc958fb1be193ba21f6c3 by Dino Viehland (Mickaël Schoentgen) in branch 'master': bpo-26185: Fix repr() on empty ZipInfo object (#13441) https://github.com/python/cpython/commit/992347d7376765fe3f4fc958fb1be193ba21f6c3

[issue37499] test_gdb.test_pycfunction should use dedicated test functions

2019-09-09 Thread Petr Viktorin
Change by Petr Viktorin : -- pull_requests: +15429 pull_request: https://github.com/python/cpython/pull/15776 ___ Python tracker ___

[issue38053] Update plistlib documentation

2019-09-09 Thread Jon Janzen
Jon Janzen added the comment: >* Remove notes about the new API being added in 3.4 since 3.4 is no longer >supported Per discussion in the PR, this is no longer a goal of this issue -- ___ Python tracker

[issue37283] Unexpected behavior when running installer a second time with the same arguments or unattend.xml

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset 2a4a982cbccf66dd8d29439dbd232c79fe3ec44e by Miss Islington (bot) in branch '3.8': bpo-37283: Ensure command-line and unattend.xml setting override previously detected states in Windows installer (GH-15759)

[issue34652] never enable lchmod on Linux

2019-09-09 Thread miss-islington
miss-islington added the comment: New changeset 12acb5b9c8c21e486083483bded422d8443c38a7 by Miss Islington (bot) in branch '3.8': bpo-34652 again: Remove lchmod from the default AC_CHECK_FUNCS list. (GH-15758) https://github.com/python/cpython/commit/12acb5b9c8c21e486083483bded422d8443c38a7

[issue38054] enhance pdb.set_trace() to run when the specified condition is true

2019-09-09 Thread Lisa Roach
Lisa Roach added the comment: Does this flag make things much easier? You would still need an if statement in order to correctly pass in True/False for the trigger flag. -- nosy: +lisroach ___ Python tracker

[issue36580] unittest.mock does not understand dataclasses

2019-09-09 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Closing this as not a bug since autospeccing with create_autospec can be used and spec only does attribute access validation. Thanks -- resolution: -> not a bug stage: -> resolved status: open -> closed

[issue38068] clean up configure logic for gettimeofday

2019-09-09 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +15428 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15775 ___ Python tracker

[issue15733] PEP 3121, 384 Refactoring applied to winapi module

2019-09-09 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch pull_requests: +15427 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15773 ___ Python tracker

[issue38068] clean up configure logic for gettimeofday

2019-09-09 Thread Benjamin Peterson
New submission from Benjamin Peterson : We assume gettimeofday exists, so we don't need a configure test for it. We should also assume it always takes a second argument per POSIX. -- messages: 351446 nosy: benjamin.peterson priority: normal severity: normal status: open title: clean

[issue37754] Consistency of Unix's shared_memory implementation with windows

2019-09-09 Thread Vinay Sharma
Vinay Sharma added the comment: Hi @davin, I researched on lots of approaches to solve this problem, and I have listed down some of the best ones. 1. As Eryk Sun suggested initially to use advisory locking to implement a reference count type of mechanism. I implemented this in the current

[issue37488] Document the "gotcha" behaviors in utcnow() and utcfromtimestamp()

2019-09-09 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch pull_requests: +15426 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15773 ___ Python tracker

[issue34596] [unittest] raise error if @skip is used with an argument that looks like a test method

2019-09-09 Thread Michael Foord
Michael Foord added the comment: I'm in favour of a default and "Unconditionally skipped" is fine with me. Although "Skipped" would also be fine. Making @skip work with no arguments is fine. Having to pass in arguments message arguments you don't want is a pain and there's no need to force

[issue37702] memory leak in ssl certification

2019-09-09 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +15425 pull_request: https://github.com/python/cpython/pull/15771 ___ Python tracker ___

[issue37185] use os.memfd_create in multiprocessing.shared_memory?

2019-09-09 Thread Davin Potts
Davin Potts added the comment: Unless I am missing something, memfd_create appears to be specific to the Linux kernel still so we would need to replicate its behavior on all of the other unix systems. To your point, but quoting from the docs, "separate invocations of memfd_create with the

[issue37702] memory leak in ssl certification

2019-09-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +15424 pull_request: https://github.com/python/cpython/pull/15770 ___ Python tracker ___

[issue37702] memory leak in ssl certification

2019-09-09 Thread Steve Dower
Steve Dower added the comment: New changeset ed70129e15ea028469145111044a4349960a4e6f by Steve Dower (neonene) in branch 'master': bpo-37702: Fix SSL's certificate-store leak on Windows (GH-15632) https://github.com/python/cpython/commit/ed70129e15ea028469145111044a4349960a4e6f --

[issue37702] memory leak in ssl certification

2019-09-09 Thread Steve Dower
Steve Dower added the comment: Thanks for the simpler patch. I'm happier taking that one, given we know the rest of the code already works. -- ___ Python tracker ___

[issue38067] Add headers parameter on RobotFileParser

2019-09-09 Thread Emmanuel Arias
New submission from Emmanuel Arias : Hello I open an issue from a PR that I think need discussion: I write here the @fuwaraido's PR description: > I found some website like "sony.co.jp" requests User-Agent field in headers > when I try to fetch their robots.txt. Unless they returns 403

[issue38066] Hide internal asyncio.Stream methods

2019-09-09 Thread Yury Selivanov
Yury Selivanov added the comment: BTW, if we are doing this -- maybe not expose the underlying transport at all? I don't like that we do that currently, and there multiple ways for the user to screw up the Stream object (and potentially break start_tls()/sendfile() etc) --

[issue37589] Missing dependences in the Makefile

2019-09-09 Thread Thomas Wouters
Change by Thomas Wouters : -- pull_requests: +15422 pull_request: https://github.com/python/cpython/pull/15769 ___ Python tracker ___

[issue37662] Document venv.EnvBuilder.upgrade_dependencies()

2019-09-09 Thread Vinay Sajip
Change by Vinay Sajip : -- keywords: +patch pull_requests: +15421 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15768 ___ Python tracker ___

[issue37589] Missing dependences in the Makefile

2019-09-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +15420 pull_request: https://github.com/python/cpython/pull/15767 ___ Python tracker ___

[issue37589] Missing dependences in the Makefile

2019-09-09 Thread Thomas Wouters
Thomas Wouters added the comment: New changeset b4612f5d54aced5bc37f1b85bf50b4cafa2480f0 by T. Wouters in branch 'master': bpo-37589: Add a few missing dependencies on .h files in the Makefile. (GH-15757) https://github.com/python/cpython/commit/b4612f5d54aced5bc37f1b85bf50b4cafa2480f0

[issue37705] winerror_to_errno implementation

2019-09-09 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue32587] Make REG_MULTI_SZ support zero-length strings

2019-09-09 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +15419 pull_request: https://github.com/python/cpython/pull/15766 ___ Python tracker ___

[issue37283] Unexpected behavior when running installer a second time with the same arguments or unattend.xml

2019-09-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +15418 pull_request: https://github.com/python/cpython/pull/15765 ___ Python tracker ___

[issue37283] Unexpected behavior when running installer a second time with the same arguments or unattend.xml

2019-09-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +15417 pull_request: https://github.com/python/cpython/pull/15764 ___ Python tracker ___

<    1   2   3   4   >