[issue39380] ftplib uses latin-1 as default encoding

2020-01-27 Thread STINNER Victor
STINNER Victor added the comment: Before changing the default, I would prefer to see a PR adding an encoding parameter to the FTP constructor. -- ___ Python tracker ___

[issue39460] test_zipfile: test_add_file_after_2107() fails on s390x Fedora Rawhide 3.x

2020-01-27 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +Dormouse759 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39459] test_import: test_unwritable_module() fails on AMD64 Fedora Stable Clang Installed 3.x

2020-01-27 Thread STINNER Victor
STINNER Victor added the comment: Same error on x86 Gentoo Installed with X 3.x: https://buildbot.python.org/all/#/builders/128/builds/204 -- ___ Python tracker ___

[issue39459] test_import: test_unwritable_module() fails on AMD64 Fedora Stable Clang Installed 3.x

2020-01-27 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +dino.viehland ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38337] inspect: getmembers calls properties

2020-01-27 Thread Jonas Drotleff
Jonas Drotleff added the comment: > Here is a link to the discussion of this on ideas Thank you for posting the link. I feel like I came to a dead end with this issue. As I am fairly new to CPython and have never contributed to this project before, I have no idea how to address this and to

[issue38856] asyncio ProactorEventLoop: wait_closed() can raise ConnectionResetError

2020-01-27 Thread Kyle Stanley
Kyle Stanley added the comment: > The exception should probably be just ignored. It looks like the "ERROR_NETNAME_DELETED" (win32 error 64) exception is already ignored in multiprocessing's connection.wait():

[issue39459] test_import: test_unwritable_module() fails on AMD64 Fedora Stable Clang Installed 3.x

2020-01-27 Thread STINNER Victor
New submission from STINNER Victor : AMD64 Fedora Stable Clang Installed 3.x: https://buildbot.python.org/all/#/builders/127/builds/212 test_unwritable_module (test.test_import.CircularImportTests) ... ERROR == ERROR:

[issue39459] test_import: test_unwritable_module() fails on AMD64 Fedora Stable Clang Installed 3.x

2020-01-27 Thread STINNER Victor
STINNER Victor added the comment: Test added in bpo-39336 by: commit 9b6fec46513006d7b06fcb645cca6e4f5bf7c7b8 Author: Dino Viehland Date: Wed Jan 22 16:42:38 2020 -0800 bpo-39336: Allow packages to not let their child modules be set on them (#18006) * bpo-39336: Allow

[issue39336] Immutable module type can't be used as package in custom loader

2020-01-27 Thread STINNER Victor
STINNER Victor added the comment: test_unwritable_module() fails on AMD64 Fedora Stable Clang Installed 3.x: bpo-39459. -- nosy: +vstinner ___ Python tracker ___

[issue39320] Handle unpacking of */** arguments and rvalues in the compiler

2020-01-27 Thread Mark Shannon
Mark Shannon added the comment: New changeset 8a4cd700a7426341c2074a2b580306d2d60ec839 by Mark Shannon in branch 'master': bpo-39320: Handle unpacking of **values in compiler (GH-18141) https://github.com/python/cpython/commit/8a4cd700a7426341c2074a2b580306d2d60ec839 --

[issue38856] asyncio ProactorEventLoop: wait_closed() can raise ConnectionResetError

2020-01-27 Thread Kyle Stanley
Change by Kyle Stanley : -- keywords: +patch pull_requests: +17577 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18199 ___ Python tracker ___

[issue39460] test_zipfile: test_add_file_after_2107() fails on s390x Fedora Rawhide 3.x

2020-01-27 Thread STINNER Victor
New submission from STINNER Victor : s390x Fedora Rawhide 3.x: https://buildbot.python.org/all/#/builders/323/builds/6 == FAIL: test_add_file_after_2107 (test.test_zipfile.StoredTestsWithSourceFile)

[issue39461] os.environ does not support Path-like values, but subprocess(..., env=...) does

2020-01-27 Thread Antony Lee
New submission from Antony Lee : As of Py3.8/Linux: In [1]: os.environ["foo"] = Path("bar") --- TypeError

[issue39340] shutil.rmtree and write protected files

2020-01-27 Thread Peter Liedholm
Peter Liedholm added the comment: What I would expect is a consistent behaviour and as a user I am not interested in inner guts of differences between filesystems. Regards /Peter -- ___ Python tracker

[issue39463] ast.Constant, bytes, and ast.unparse

2020-01-27 Thread Tal Ben-Nun
Change by Tal Ben-Nun : -- versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39463] ast.Constant, bytes, and ast.unparse

2020-01-27 Thread Batuhan
Batuhan added the comment: Origin of this thread: https://github.com/simonpercivall/astunparse/pull/44 -- nosy: +BTaskaya, pablogsal ___ Python tracker ___

[issue39462] DataClass typo-unsafe attribute creation & unexpected behaviour (dataclasses)

2020-01-27 Thread Marcel
New submission from Marcel : After instantiation of a variable of a DataClass, it is possible to assign new attributes (that were not defined in defining the DataClass): data.new_attribute = 3.0 # does NOT raise Error! This gives unexpected behaviour: if you print the variable, then

[issue39462] DataClass typo-unsafe attribute creation & unexpected behaviour (dataclasses)

2020-01-27 Thread Marcel
Marcel added the comment: The demo-script also needs: "from dataclasses import dataclass" Sorry about this omission, I've attached the update -- Added file: https://bugs.python.org/file48866/bug_demo_dataclass_typo_unsafe.py ___ Python tracker

[issue39463] ast.Constant, bytes, and ast.unparse

2020-01-27 Thread Tal Ben-Nun
New submission from Tal Ben-Nun : In Python 3.8, the "kind" field was introduced into the Constant AST class. This brings about a problem when unparsing the AST for various packages. First, it breaks backward compatibility for older code that creates ast.Num without specifying kind (which is

[issue39461] [RFE] os.environ should support Path-like values, like subprocess(..., env=...)

2020-01-27 Thread STINNER Victor
Change by STINNER Victor : -- title: os.environ does not support Path-like values, but subprocess(..., env=...) does -> [RFE] os.environ should support Path-like values, like subprocess(..., env=...) type: -> enhancement ___ Python tracker

[issue39463] ast.Constant, bytes, and ast.unparse

2020-01-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > First, it breaks backward compatibility for older code that creates ast.Num > without specifying kind The ast changes during versions, and in the current master there are no "Num" nodes, so not much we could do there safely. >Second, since bytes

[issue39463] ast.Constant, bytes, and ast.unparse

2020-01-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Maybe we need to clarify to the docs of 'unparse' that the AST object needs to be valid. -- ___ Python tracker ___

[issue33997] multiprocessing Pool hangs in terminate()

2020-01-27 Thread Alex Hall
Alex Hall added the comment: I'm also experiencing hanging on terminate. I haven't made a debug build or anything but it's happening to me consistently on 3.8, although I haven't managed to create a small example to reproduce. Replacing pool.py with

[issue39461] os.environ does not support Path-like values, but subprocess(..., env=...) does

2020-01-27 Thread STINNER Victor
STINNER Victor added the comment: subprocess.Popen encodes the env parameter using os.fsencode(). os.fsencode() has been patched in bpo-27182 to use os.fspath(): commit c1cbeedf0c650c3f7c64f04479070d39e15e1baf Author: Ethan Furman Date: Sat Jun 4 10:19:27 2016 -0700 issue27182:

[issue39442] from __future__ import annotations makes dataclasses.Field.type a string, not type

2020-01-27 Thread Wojciech Łopata
Wojciech Łopata added the comment: I thought of this behaviour as a bug, because PEP 563 mentions breaking "applications depending on arbitrary objects to be directly present in annotations", while it is also breaking users of dataclasses.fields(), that is a part of the standard library.

[issue39462] DataClass typo-unsafe attribute creation & unexpected behaviour (dataclasses)

2020-01-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33997] multiprocessing Pool hangs in terminate()

2020-01-27 Thread Alex Hall
Alex Hall added the comment: Sorry, I should have looked around more, I think my problem is https://bugs.python.org/issue22393 -- ___ Python tracker ___

[issue39463] ast.Constant, bytes, and ast.unparse

2020-01-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > First, it breaks backward compatibility for older code that creates ast.Num > without specifying kind The ast changes during versions, and in the current master there are no "Num" nodes, so not much we could do there sadly. >Second, since bytes

[issue39463] ast.Constant, bytes, and ast.unparse

2020-01-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg360757 ___ Python tracker ___ ___ Python-bugs-list

[issue39461] [RFE] os.environ should support Path-like values, like subprocess(..., env=...)

2020-01-27 Thread Ethan Furman
Ethan Furman added the comment: True, but this example of implicit conversion is only for Path objects which are currently implicitly converted throughout the stdlib where appropriate, and this looks like one of those appropriate places. I don't know enough about os.environb to offer an

[issue39430] tarfile.open(mode="r") race condition when importing lzma

2020-01-27 Thread Brett Cannon
Brett Cannon added the comment: > When was this change made? It has always been this way, so no change here. We have actually improved the situation over the years with attempts at better locking in importlib itself. -- ___ Python tracker

[issue39468] .python_history write permission improvements

2020-01-27 Thread SilentGhost
SilentGhost added the comment: 1. Your PR contains unrelated changes 2. Please test your code: submitting syntactically incorrect code just wastes everyone's time -- nosy: +SilentGhost ___ Python tracker

[issue39459] test_import: test_unwritable_module() fails on AMD64 Fedora Stable Clang Installed 3.x

2020-01-27 Thread Brett Cannon
Brett Cannon added the comment: Was the Makefile updated to install Lib/test/test_import/date/unwritable? -- nosy: +brett.cannon ___ Python tracker ___

[issue39459] test_import: test_unwritable_module() fails on AMD64 Fedora Stable Clang Installed 3.x

2020-01-27 Thread Dino Viehland
Change by Dino Viehland : -- pull_requests: +17590 pull_request: https://github.com/python/cpython/pull/18211 ___ Python tracker ___

[issue39453] Use-after-free in list contain

2020-01-27 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +17582 pull_request: https://github.com/python/cpython/pull/18205 ___ Python tracker ___

[issue39453] Use-after-free in list contain

2020-01-27 Thread miss-islington
miss-islington added the comment: New changeset 9e1ed518a576897f914227bf538bac426a02a081 by Miss Islington (bot) (Dong-hee Na) in branch 'master': bpo-39453: Add testcase for bpo-39453 (GH-18202) https://github.com/python/cpython/commit/9e1ed518a576897f914227bf538bac426a02a081 --

[issue39248] test_distutils fails on PPC64 Fedora 3.x: /tmp/subprocess.py

2020-01-27 Thread David Edelsohn
David Edelsohn added the comment: The file was created and owned by another user. I have removed the file. I have reached out to the user to find out why he is creating it. -- ___ Python tracker

[issue38610] use-after-free in list object function

2020-01-27 Thread Dong-hee Na
Change by Dong-hee Na : -- versions: +Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39467] Allow to deprecate CLI arguments in argparse

2020-01-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +djarb, paul.j3, rhettinger -4383 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue39461] [RFE] os.environ should support Path-like values, like subprocess(..., env=...)

2020-01-27 Thread Brett Cannon
Brett Cannon added the comment: I don't think this should be done (and I honestly would have disagreed with the Popen change for its 'env' argument or any other place that is dealing with environment variables). Environment variables are strings, period, so they should be specified as such;

[issue38631] Replace Py_FatalError() with regular Python exceptions

2020-01-27 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17594 pull_request: https://github.com/python/cpython/pull/18214 ___ Python tracker ___

[issue39466] Spam

2020-01-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks Zachary. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39469] Support for relative home path in pyvenv.cfg

2020-01-27 Thread Jeff Edwards
New submission from Jeff Edwards : Currently, the interpreter only supports absolute paths for the 'home' directory in the pyvenv.cfg file. While this works when the interpreter is always installed at a fixed location, it impacts the portability of virtual environments and can make it

[issue39453] Use-after-free in list contain

2020-01-27 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +17583 pull_request: https://github.com/python/cpython/pull/18206 ___ Python tracker ___

[issue39424] [easy] test_signal: test_pidfd_send_signal() uses deprecated assertRaisesRegexp() method

2020-01-27 Thread Hakan
Hakan added the comment: I want to work on this as my first contribution -- nosy: +hakancelik ___ Python tracker ___ ___

[issue39461] [RFE] os.environ should support Path-like values, like subprocess(..., env=...)

2020-01-27 Thread Eryk Sun
Eryk Sun added the comment: Supporting __fspath__ for os.environ[b] makes it consistent with POSIX os.putenv, which already supports it via PyUnicode_FSConverter. For example: os.putenv(Path('spam'), Path('eggs')) getenv = ctypes.CDLL('libc.so.6').getenv getenv.restype =

[issue39430] tarfile.open(mode="r") race condition when importing lzma

2020-01-27 Thread Ethan Furman
Ethan Furman added the comment: Cool. I appreciate all the work in this area, thank you! -- ___ Python tracker ___ ___

[issue39467] Allow to deprecate CLI arguments in argparse

2020-01-27 Thread hervé
Change by hervé : -- keywords: +patch pull_requests: +17585 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18208 ___ Python tracker ___

[issue39468] .python_history write permission improvements

2020-01-27 Thread Aurora
Change by Aurora : -- pull_requests: +17589 pull_request: https://github.com/python/cpython/pull/18210 ___ Python tracker ___ ___

[issue39461] [RFE] os.environ should support Path-like values, like subprocess(..., env=...)

2020-01-27 Thread Eryk Sun
Eryk Sun added the comment: > I honestly would have disagreed with the Popen change for its 'env' > argument or any other place that is dealing with environment > variables os.spawnve (Windows) and os.execve support __fspath__ for the env dict partially due to me (bpo-28114), so sorry if

[issue39468] .python_history write permission improvements

2020-01-27 Thread Aurora
Change by Aurora : -- keywords: +patch pull_requests: +17586 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18210 ___ Python tracker ___

[issue39468] .python_history write permission improvements

2020-01-27 Thread Aurora
Change by Aurora : -- pull_requests: -17586 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39459] test_import: test_unwritable_module() fails on AMD64 Fedora Stable Clang Installed 3.x

2020-01-27 Thread Dino Viehland
Dino Viehland added the comment: Ahh, that's probably it Brett, I didn't know that was there, thanks! -- ___ Python tracker ___

[issue39459] test_import: test_unwritable_module() fails on AMD64 Fedora Stable Clang Installed 3.x

2020-01-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4a46adc7746930c4589ee483cad88d3f8504c045 by Victor Stinner in branch 'master': bpo-39459: test.pythoninfo logs effective uid/gid (GH-18203) https://github.com/python/cpython/commit/4a46adc7746930c4589ee483cad88d3f8504c045 --

[issue39467] Allow to deprecate CLI arguments in argparse

2020-01-27 Thread hervé
New submission from hervé : Today it's not possible to deprecate CLI arguments designed with argparse, it could be useful to introduce deprecation feature in argparse to allow developers to inform their apps's users when an argument is planed to be removed in the future. --

[issue39459] test_import: test_unwritable_module() fails on AMD64 Fedora Stable Clang Installed 3.x

2020-01-27 Thread Dino Viehland
Dino Viehland added the comment: The curious thing about this is other tests in CircularImportTests are importing packages from test.test_import.data in the exact same way. -- ___ Python tracker

[issue39468] .python_history write permission improvements

2020-01-27 Thread Aurora
Aurora added the comment: https://github.com/opensource-assist/cpython/blob/opensource-assist-patch-sitepy-1/Lib/site.py -- ___ Python tracker ___

[issue39461] [RFE] os.environ should support Path-like values, like subprocess(..., env=...)

2020-01-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Path-like objects are now unintentionally accepted for many non-path things, like hostname in socket.sethostname() and username in os.initgroups(). I also think it was a mistake, and we should not make new mistakes. --

[issue39461] [RFE] os.environ should support Path-like values, like subprocess(..., env=...)

2020-01-27 Thread Ethan Furman
Ethan Furman added the comment: The idea behind PEP 519 was to alleviate str(path_obj) calls between the os/program interface. We can either make that as consistent as we can as we find places that still require the str(path_obj) idiom, or we can make users remember which ones do, and

[issue38610] use-after-free in list object function

2020-01-27 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +17584 pull_request: https://github.com/python/cpython/pull/18207 ___ Python tracker ___

[issue39468] .python_history write permission improvements

2020-01-27 Thread Aurora
New submission from Aurora : On a typical Linux system, if you run 'chattr +i /home/user/.python_history', and then run python, then exit, the following error message will be printed out: Error in atexit._run_exitfuncs: Traceback (most recent call last): File

[issue38631] Replace Py_FatalError() with regular Python exceptions

2020-01-27 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17591 pull_request: https://github.com/python/cpython/pull/18212 ___ Python tracker ___

[issue39469] Support for relative home path in pyvenv.cfg

2020-01-27 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +17592 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18213 ___ Python tracker ___

[issue38631] Replace Py_FatalError() with regular Python exceptions

2020-01-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset a94c6b61aa5c09237b8105e5aee638cd54197b6f by Victor Stinner in branch 'master': bpo-38631: Avoid Py_FatalError() in PyModule_Create2() (GH-18212) https://github.com/python/cpython/commit/a94c6b61aa5c09237b8105e5aee638cd54197b6f --

[issue38631] Replace Py_FatalError() with regular Python exceptions

2020-01-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset 47ee8a6063c22ec272fe7a2d95d12f7811ebb48b by Victor Stinner in branch 'master': bpo-38631: Avoid Py_FatalError() in _memory_release() (GH-18214) https://github.com/python/cpython/commit/47ee8a6063c22ec272fe7a2d95d12f7811ebb48b --

[issue39466] Spam

2020-01-27 Thread Zachary Ware
Zachary Ware added the comment: I've removed the `User` role from that account since all of its posts have been spam; it will no longer be able to post. -- nosy: +zach.ware resolution: fixed -> not a bug title: Great -> Spam ___ Python tracker

[issue39459] test_import: test_unwritable_module() fails on AMD64 Fedora Stable Clang Installed 3.x

2020-01-27 Thread STINNER Victor
STINNER Victor added the comment: > AMD64 Fedora Stable Clang Installed 3.x: > https://buildbot.python.org/all/#/builders/127/builds/212 So, I added effective uid/gid to pythoninfo, here you have: os.getegid: 1000 os.geteuid: 1000 os.getgid: 1000 os.getgrouplist: 1000 os.getgroups: 1000

[issue39461] [RFE] os.environ should support Path-like values, like subprocess(..., env=...)

2020-01-27 Thread STINNER Victor
STINNER Victor added the comment: > I don't think this should be done (and I honestly would have disagreed with > the Popen change for its 'env' argument or any other place that is dealing > with environment variables). Environment variables are strings, period, so > they should be

[issue39248] test_distutils fails on PPC64 Fedora 3.x: /tmp/subprocess.py

2020-01-27 Thread STINNER Victor
STINNER Victor added the comment: The buildbot is back to green, thank you David :-) https://buildbot.python.org/all/#/builders/8/builds/254 -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker

[issue39282] python-config --embed documentation

2020-01-27 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: Leaving this for @victor to decide since he is the PR author. -- nosy: +nanjekyejoannah, vstinner ___ Python tracker ___

[issue38631] Replace Py_FatalError() with regular Python exceptions

2020-01-27 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17595 pull_request: https://github.com/python/cpython/pull/18215 ___ Python tracker ___

[issue39467] Allow to deprecate CLI arguments in argparse

2020-01-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: Will leave this open for a while so that many people can comment on the proposal before we act on it. My initial take is: * Having a way to deprecate seems useful. * In practice, I haven't seen this done very much (in big tooling such as GCC perhaps,

[issue39391] Nondeterministic Pydoc output on functions that have functions as default parameters

2020-01-27 Thread Peter O.
Peter O. added the comment: No, the use case I have in mind is storing outputs of the pydoc3 program -- as is -- in version control systems such as Git (e.g., running a command like "pydoc3 mymodule > mymodule_doc.txt"). The pydoc3 output is not further parsed by programs, or even

[issue36018] Add a Normal Distribution class to the statistics module

2020-01-27 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +17606 pull_request: https://github.com/python/cpython/pull/18226 ___ Python tracker ___

[issue36018] Add a Normal Distribution class to the statistics module

2020-01-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 01bf2196d842fc20667c5336e0a7a77eb4fdc25c by Raymond Hettinger in branch 'master': bpo-36018: Minor fixes to the NormalDist() examples and recipes. (GH-18226) https://github.com/python/cpython/commit/01bf2196d842fc20667c5336e0a7a77eb4fdc25c

[issue36018] Add a Normal Distribution class to the statistics module

2020-01-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +17607 pull_request: https://github.com/python/cpython/pull/18227 ___ Python tracker ___

[issue39471] Meaning and clarification of PyBuffer_Release()

2020-01-27 Thread Sebastian Berg
New submission from Sebastian Berg : The current documentation of ``PyBuffer_Release()`` and the PEP is a bit fuzzy about what the function can and cannot do. When an object exposes the buffer interface, I believe it should always return a `view` (in NumPy speak) of its own data, i.e. the

[issue39471] Meaning and clarification of PyBuffer_Release()

2020-01-27 Thread Sebastian Berg
Sebastian Berg added the comment: Hmmm, it seems I had missed this chunk of PEP 3118 before: > Exporters will need to define a bf_releasebuffer function if they can > re-allocate their memory, strides, shape, suboffsets, or format variables > which they might share through the struct

[issue38631] Replace Py_FatalError() with regular Python exceptions

2020-01-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset d3a1de22705cc79d7e8a0f44c4f00255e58c8b20 by Victor Stinner in branch 'master': bpo-38631: Avoid Py_FatalError() in _PyCodecRegistry_Init() (GH-18217) https://github.com/python/cpython/commit/d3a1de22705cc79d7e8a0f44c4f00255e58c8b20 --

[issue39153] Clarify refcounting semantics of PyDict_SetItem[String]

2020-01-27 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch pull_requests: +17600 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/18220 ___ Python tracker

[issue31414] IDLE: Entry tests should delete before insert.

2020-01-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue31414] IDLE: Entry tests should delete before insert.

2020-01-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Opened #39472 for changes dialog itself. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue39459] test_import: test_unwritable_module() fails on AMD64 Fedora Stable Clang Installed 3.x

2020-01-27 Thread STINNER Victor
STINNER Victor added the comment: > I've added the files to the makefile and AMD64 Fedora Stable Clang Installed > 3.x was passing. Thanks for the fix! I didn't notice that only "Installed" buildbot workers were impacted. -- ___ Python tracker

[issue36018] Add a Normal Distribution class to the statistics module

2020-01-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 41f4dc3bcf30cb8362a062a26818311c704ea89f by Raymond Hettinger (Miss Islington (bot)) in branch '3.8': bpo-36018: Minor fixes to the NormalDist() examples and recipes. (GH-18226) (GH-18227)

[issue39470] Indicate that os.makedirs is equivalent to Path.mkdir

2020-01-27 Thread Joannah Nanjekye
New submission from Joannah Nanjekye : :func:`os.makedirs` is equivalent to ``mkdir -p`` and :meth:`Path.mkdir()` when given an optional *exist_ok* argument. -- messages: 360808 nosy: nanjekyejoannah priority: normal severity: normal status: open title: Indicate that os.makedirs is

[issue38631] Replace Py_FatalError() with regular Python exceptions

2020-01-27 Thread STINNER Victor
STINNER Victor added the comment: There are still around 122 calls to Py_FatalError() in the master branch. But remaining ones are the hardest to remove. I close the issue, it's already better than previously. Compare this number to 285 calls in Python 3.6. -- resolution: -> fixed

[issue39471] Meaning and clarification of PyBuffer_Release()

2020-01-27 Thread Sebastian Berg
Sebastian Berg added the comment: I went through Python, `array` seems to not break the logic. pickling has a comment which specifically wants to run into the argument parsing corner case above (I am not sure that it is really important). However, `Modules/_testbuffer.c` (which is just

[issue39471] Meaning and clarification of PyBuffer_Release()

2020-01-27 Thread Eric Wieser
Change by Eric Wieser : -- nosy: +Eric Wieser ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39205] Hang when interpreter exits after ProcessPoolExecutor.shutdown(wait=False)

2020-01-27 Thread Brian Quinlan
Brian Quinlan added the comment: New changeset 884eb89d4a5cc8e023deaa65001dfa74a436694c by Brian Quinlan in branch 'master': bpo-39205: Tests that highlight a hang on ProcessPoolExecutor shutdown (#18221) https://github.com/python/cpython/commit/884eb89d4a5cc8e023deaa65001dfa74a436694c

[issue39413] Implement os.unsetenv() on Windows

2020-01-27 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39470] Indicate that os.makedirs is equivalent to Path.mkdir

2020-01-27 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch pull_requests: +17596 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18216 ___ Python tracker

[issue30780] IDLE: configdialog - add tests for ConfigDialog GUI.

2020-01-27 Thread miss-islington
miss-islington added the comment: New changeset 7b57b15bd83879ee35f8758a84a7857a9968c145 by Miss Islington (bot) in branch '3.8': bpo-30780: Add IDLE configdialog tests (GH-3592) https://github.com/python/cpython/commit/7b57b15bd83879ee35f8758a84a7857a9968c145 --

[issue39459] test_import: test_unwritable_module() fails on AMD64 Fedora Stable Clang Installed 3.x

2020-01-27 Thread Dino Viehland
Dino Viehland added the comment: I've added the files to the makefile and AMD64 Fedora Stable Clang Installed 3.x was passing. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue39472] IDLE: improve handling of int entry in settings dialog

2020-01-27 Thread Terry J. Reedy
New submission from Terry J. Reedy : Spinoff from #31414, about int entry fields. It claims: Note: a deeper problem is attaching a tracer that get called with each keystroke. Using a StringVar avoids the error when the entry is blanked, but currently allows non-ints to be saved. A better

[issue39467] Allow to deprecate CLI arguments in argparse

2020-01-27 Thread Raymond Hettinger
Change by Raymond Hettinger : -- Removed message: https://bugs.python.org/msg360813 ___ Python tracker ___ ___ Python-bugs-list

[issue39467] Allow to deprecate CLI arguments in argparse

2020-01-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: Will leave this open for a while so that many people can comment on the proposal before we act on it. My initial take is: * Having a way to deprecate seems useful. * In practice, I haven't seen this done very much (in big tooling such as GCC perhaps,

[issue38797] x86-64 High Sierra 3.x buildbot worker fails to build Python: python.exe setup.py does crash with a bus error

2020-01-27 Thread STINNER Victor
STINNER Victor added the comment: High Sierra buildbot worker is gone. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___

[issue39205] Hang when interpreter exits after ProcessPoolExecutor.shutdown(wait=False)

2020-01-27 Thread Brian Quinlan
Change by Brian Quinlan : -- keywords: +patch pull_requests: +17601 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18221 ___ Python tracker ___

[issue30780] IDLE: configdialog - add tests for ConfigDialog GUI.

2020-01-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +17599 pull_request: https://github.com/python/cpython/pull/18219 ___ Python tracker ___

[issue38644] Pass explicitly tstate to function calls

2020-01-27 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17602 pull_request: https://github.com/python/cpython/pull/18222 ___ Python tracker ___

  1   2   >