[issue24666] Buffered I/O does not take file position into account when reading blocks

2020-01-27 Thread CRYSTAL
Change by CRYSTAL : -- assignee: -> docs@python components: +2to3 (2.x to 3.x conversion tool), Build, Cross-Build, Documentation, Extension Modules, FreeBSD, Installation, Interpreter Core, Library (Lib), SSL, Tests, Unicode, ctypes nosy: +Alex.Willmer, docs@python, ezio.melotti,

[issue14074] argparse allows nargs>1 for positional arguments but doesn't allow metavar to be a tuple

2020-01-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: -0 on going forward with this. AFAICT, no one has requested tuple support (the OP just wanted better error handling). And more fined grained control can already be had just by specifying separate positional arguments. Paul suggested that it may be a

[issue39298] add BLAKE3 to hashlib

2020-01-27 Thread Larry Hastings
Larry Hastings added the comment: I just tried it with clang, and uff-da! 2,737,446,868 bytes/sec! p.s. I compiled with -O3 for both gcc and clang -- ___ Python tracker ___

[issue22831] Use "with" to avoid possible fd leaks

2020-01-27 Thread CRYSTAL
Change by CRYSTAL : -- components: +Build nosy: +Hinsonlcrystal -Arfrever, berker.peksag, dstufft, eric.araujo, ezio.melotti, martin.panter, python-dev, rhettinger, serhiy.storchaka, vstinner type: resource usage -> security versions: +Python 3.9

[issue39473] Enable import behavior consistency option

2020-01-27 Thread DarkTrick
New submission from DarkTrick : Matter: `import`s are not handled the same throughout the different ways of calling. Current situation: === The resolution of `import` is dependant on the way of calling the script. Three ways of calling a script are shown below: 1)

[issue39298] add BLAKE3 to hashlib

2020-01-27 Thread Larry Hastings
Larry Hastings added the comment: I gave it a go. And yup, I see a definite improvement: it jumped from 1,583,326,242 bytes/sec to 2,376,741,703 bytes/sec on my Intel laptop using AVX2. A 50% improvement! I also *think* I'm seeing a 10% improvement in ARM using NEON. On my DE10-Nano

[issue21696] Idle: test configuration files

2020-01-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: The issue is obsolete with respect to the minimal test implied by the opening message. At least two tests (added since this was written) read the .def files. Some of the proposed tests are, now at least, redundant For boolean tests like

[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)

[issue38644] Pass explicitly tstate to function calls

2020-01-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset 61f4db8c56ca4b7e60050d96ecc255cfb03d92a0 by Victor Stinner in branch 'master': bpo-38644: Pass tstate in ceval.c (GH-18222) https://github.com/python/cpython/commit/61f4db8c56ca4b7e60050d96ecc255cfb03d92a0 --

[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 ___

[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

[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

[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: commit 2528a6c3d0660c03ae43d796628462ccf8e58190 Author: Dino Viehland Date: Mon Jan 27 14:04:56 2020 -0800 Add test.test_import.data.unwritable package to makefile (#18211) -- ___ Python tracker

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

2020-01-27 Thread STINNER Victor
STINNER Victor added the comment: commit 2528a6c3d0660c03ae43d796628462ccf8e58190 Author: Dino Viehland Date: Mon Jan 27 14:04:56 2020 -0800 Add test.test_import.data.unwritable package to makefile (#18211) -- ___ Python tracker

[issue38605] [typing] PEP 563: Postponed evaluation of annotations: enable it by default before Python 4.0

2020-01-27 Thread STINNER Victor
STINNER Victor added the comment: I started a thread on typing-sig: https://mail.python.org/archives/list/typing-...@python.org/thread/JG4IWHO3TZORNESR6ARXFL6OUZU2BEBX/ -- ___ Python tracker

[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 ___

[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 ___

[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 ___

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

2020-01-27 Thread STINNER Victor
Change by STINNER Victor : -- title: Hang when interpreter exits after ProcessPoolExecutor.shutdown(wait=False) -> multiprocessing: Hang when interpreter exits after ProcessPoolExecutor.shutdown(wait=False) ___ Python tracker

[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

[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,

[issue39390] shutil.copytree - 3.8 changed argument types of the ignore callback

2020-01-27 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- assignee: docs@python -> giampaolo.rodola resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39392] Python Turtle is not filling alternate overlapping areas of a shape with same color

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

[issue39392] Python Turtle is not filling alternate overlapping areas of a shape with same color

2020-01-27 Thread miss-islington
miss-islington added the comment: New changeset 005b0596326cf1b4f17e8d38bfc3887d4486e564 by Miss Islington (bot) in branch '3.7': bpo-39392: Turtle overlap fill depends on OS (GH-18223) https://github.com/python/cpython/commit/005b0596326cf1b4f17e8d38bfc3887d4486e564 -- nosy:

[issue39392] Python Turtle is not filling alternate overlapping areas of a shape with same color

2020-01-27 Thread miss-islington
miss-islington added the comment: New changeset b487a8ed5bd267d62a05c3cab7def6b1f36999ea by Miss Islington (bot) in branch '3.8': bpo-39392: Turtle overlap fill depends on OS (GH-18223) https://github.com/python/cpython/commit/b487a8ed5bd267d62a05c3cab7def6b1f36999ea --

[issue39390] shutil.copytree - 3.8 changed argument types of the ignore callback

2020-01-27 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: New changeset cf9d00554715febf21cf94950da4f42723b80498 by Giampaolo Rodola (mbarkhau) in branch '3.8': [3.8] bpo-39390 shutil: fix argument types for ignore callback (GH-18122)

[issue39392] Python Turtle is not filling alternate overlapping areas of a shape with same color

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

[issue39392] Python Turtle is not filling alternate overlapping areas of a shape with same color

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

[issue39392] Python Turtle is not filling alternate overlapping areas of a shape with same color

2020-01-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 2824c45a0a020f12f27da7e7162e8636c21bf869 by Terry Jan Reedy in branch 'master': bpo-39392: Turtle overlap fill depends on OS (#18223) https://github.com/python/cpython/commit/2824c45a0a020f12f27da7e7162e8636c21bf869 --

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

2020-01-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8, Python 3.9 -Python 3.6 ___ 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

[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

[issue39392] Python Turtle is not filling alternate overlapping areas of a shape with same color

2020-01-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +17603 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/18223 ___ Python tracker

[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

[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:

[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 ___

[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

[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

[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

[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 --

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

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

[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

[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 --

[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

[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,

[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 ___

[issue38631] Replace Py_FatalError() with regular Python exceptions

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

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

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

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

2020-01-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset dd023ad1619b6f1ab313986e8953eea32c18f50c by Terry Jan Reedy (Cheryl Sabella) in branch 'master': bpo-30780: Add IDLE configdialog tests (#3592) https://github.com/python/cpython/commit/dd023ad1619b6f1ab313986e8953eea32c18f50c --

[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

[issue38631] Replace Py_FatalError() with regular Python exceptions

2020-01-27 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +17597 pull_request: https://github.com/python/cpython/pull/18217 ___ 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

[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: 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 --

[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
Change by STINNER Victor : -- pull_requests: +17595 pull_request: https://github.com/python/cpython/pull/18215 ___ Python tracker ___

[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 ___ ___

[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

[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

[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 ___

[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

[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 ___

[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. --

[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
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 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

[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

[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 ___

[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 Brett Cannon
Brett Cannon added the comment: Was the Makefile updated to install Lib/test/test_import/date/unwritable? -- nosy: +brett.cannon ___ Python tracker ___

[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;

[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

[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 Aurora
Change by Aurora : -- pull_requests: +17589 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:

[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 ___

[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

[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 ___

[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

[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

[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 =

[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

[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 ___ ___

[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 ___

[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. --

[issue39466] Spam

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

[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:

[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 ___

[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

[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

[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 ___

[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: 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 --

[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 --

[issue39453] Use-after-free in list contain

2020-01-27 Thread Dong-hee Na
Change by Dong-hee Na : -- pull_requests: +17581 pull_request: https://github.com/python/cpython/pull/18204 ___ 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: Implicit conversion can also hide some bugs. Semantically os.environ is an str to str mapping and os.environb is a bytes to bytes mapping. -- nosy: +serhiy.storchaka ___ Python tracker

  1   2   >