[issue42468] subprocess.CompletedProcess: Add boolean value

2020-11-25 Thread Guido van Rossum
Guido van Rossum added the comment: Greg, do you have an opinion here? -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-

[issue41103] Removing old buffer support

2020-11-25 Thread Inada Naoki
Inada Naoki added the comment: Thank you for reporting. I removed these APIs to get such feedback as early as possible. We are free to revive these APIs if it breaks too much and some projects can not be fixed before Python 3.10 release. Some project maintainers ignore deprecations and wait

[issue42468] subprocess.CompletedProcess: Add boolean value

2020-11-25 Thread Gregory P. Smith
Change by Gregory P. Smith : -- assignee: -> gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31904] Python should support VxWorks RTOS

2020-11-25 Thread Peixing Xin
Change by Peixing Xin : -- pull_requests: +22403 pull_request: https://github.com/python/cpython/pull/23518 ___ Python tracker ___ _

[issue42468] subprocess.CompletedProcess: Add boolean value

2020-11-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Here's a before and after example from my code. == class GraphvizResult(NamedTuple): svg: str err: str def create_svg(dot: str) -> GraphvizResult: 'Convert a string in the

[issue42376] Add helpers to populate modules in C

2020-11-25 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue42450] Docstrings in itertools recipes should have triple-quotes

2020-11-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks Eric, I will update those quotation marks in the next edit to the recipes. Peter, sorry I closed this so abruptly. All suggestions are welcome. In this case, readability trumps other rules. Also, PEP 257 wasn't intended to be strict. Lots of c

[issue42468] subprocess.CompletedProcess: Add boolean value

2020-11-25 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue42461] os.statvfs_result doesn't show f_fsid

2020-11-25 Thread haoyixing
haoyixing <359062...@qq.com> added the comment: Under my mac and fedora test environment, calling statfs in C language as a non-privileged user both returned meaningful fsid. And in python os.statvfs(some_path).f_fsid can also show the f_fsid of path. So I didn't see any inconveniences so far

[issue42468] subprocess.CompletedProcess: Add boolean value

2020-11-25 Thread Gregory P. Smith
Gregory P. Smith added the comment: My concern with this as an API change is if anyone is returning or passing a CompletedProcess instance around it may well be used in a context where None is a potential value. Existing code in that situation would ordinarily be doing a bare `if cp:` test

[issue42468] subprocess.CompletedProcess: Add boolean value

2020-11-25 Thread Gregory P. Smith
Gregory P. Smith added the comment: Thanks for the suggestion though ThatXliner. It is good for us to keep these things in mind for future API designs. That __bool__ exists and could be meaningful in some contexts is often overlooked. -- resolution: -> rejected stage: -> resolved

[issue42469] Space in re's {min, max} should raise an error, rather than fail silently

2020-11-25 Thread Reuven Lerner
New submission from Reuven Lerner : I just discovered that having whitespace inside of {min,max} causes the regexp to report no matches, rather than an error: >>> import re >>> s = 'abbccce' >>> re.findall('d{1, 4}', s) [] >>> re.findall('d{1,4}', s) [''] Ruby and JavaScript have

[issue41200] Add pickle.loads fuzz test

2020-11-25 Thread Gregory P. Smith
Gregory P. Smith added the comment: Given that pickle is documented as: """ Warning The pickle module is not secure. Only unpickle data you trust. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling. """ https://docs.python.org/3/library/pic

[issue39529] Deprecate get_event_loop()

2020-11-25 Thread Andrew Svetlov
Andrew Svetlov added the comment: I think the deprecation of `set_event_loop()` is a good idea. The function is not required by `asyncio.run()` implementation. -- ___ Python tracker _

[issue42392] remove the 'loop' parameter from __init__ in all classes in asyncio.locks

2020-11-25 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset f533cb80cbbb7acdf9ce1978cfba095ce5eeedaa by Yurii Karabas in branch 'master': bpo-42392: Remove loop parameter from asyncio.streams (GH-23517) https://github.com/python/cpython/commit/f533cb80cbbb7acdf9ce1978cfba095ce5eeedaa -- __

[issue42392] remove the 'loop' parameter from __init__ in all classes in asyncio.locks

2020-11-25 Thread Andrew Svetlov
Andrew Svetlov added the comment: A few functions in `tasks.py` a left and documentation should be updated. -- ___ Python tracker ___ _

[issue42440] MACBOOK Python launcher

2020-11-25 Thread Ronald Oussoren
Change by Ronald Oussoren : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Pyt

<    1   2