[issue25810] Python 3 documentation for eval is incorrect

2019-08-08 Thread Philipp Rauch
Change by Philipp Rauch : -- versions: +Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25810] Python 3 documentation for eval is incorrect

2019-08-08 Thread Philipp Rauch
Change by Philipp Rauch : -- versions: +Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue25810] Python 3 documentation for eval is incorrect

2019-08-08 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +14905 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15173 ___ Python tracker

[issue21261] Teach IDLE to Autocomplete dictionary keys

2019-08-08 Thread Tal Einat
Tal Einat added the comment: Many thanks for the review, Kyle! -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37788] fix for bpo-36402 (threading._shutdown() race condition) causes reference leak

2019-08-08 Thread Anselm Kruis
Change by Anselm Kruis : -- pull_requests: +14906 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15175 ___ Python tracker ___

[issue37791] Propose to deprecate ignore_errors,

2019-08-08 Thread Marco Sulla
Change by Marco Sulla : -- nosy: Marco Sulla priority: normal severity: normal status: open title: Propose to deprecate ignore_errors, ___ Python tracker ___

[issue35892] Fix awkwardness of statistics.mode() for multimodal datasets

2019-08-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset e43e7ed36480190083740fd75e2b9cdca72f1a68 by Raymond Hettinger in branch 'master': bpo-35892: Add usage note to mode() (GH-15122) https://github.com/python/cpython/commit/e43e7ed36480190083740fd75e2b9cdca72f1a68 --

[issue35892] Fix awkwardness of statistics.mode() for multimodal datasets

2019-08-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +14907 pull_request: https://github.com/python/cpython/pull/15176 ___ Python tracker ___

[issue37791] Propose to deprecate `ignore_errors` and `onerror` parameters of `shutil.rmtree()`

2019-08-08 Thread Marco Sulla
New submission from Marco Sulla : I propose to mark as deprecated the parameters `ignore_errors` and `onerror` of `shutil.rmtree()`, and raise a warning if used. The reason is I feel them unpythonic. For emulating `ignore_errors=True`, the code can be written simply with a `try-except` that

[issue35892] Fix awkwardness of statistics.mode() for multimodal datasets

2019-08-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 5925b7d555bc36bd43ee8704ae75cc51900cf2d4 by Raymond Hettinger (Miss Islington (bot)) in branch '3.8': bpo-35892: Add usage note to mode() (GH-15122) (GH-15176) https://github.com/python/cpython/commit/5925b7d555bc36bd43ee8704ae75cc51900cf2d4

[issue37791] Propose to deprecate `ignore_errors` and `onerror` parameters of `shutil.rmtree()`

2019-08-08 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +giampaolo.rodola, serhiy.storchaka, tarek ___ Python tracker ___ ___

[issue37788] fix for bpo-36402 (threading._shutdown() race condition) causes reference leak

2019-08-08 Thread Anselm Kruis
Anselm Kruis added the comment: The root cause for the reference leak is the global set threading._shutdown_locks. It contains Thread._tstate_lock locks of non-daemon threads. If a non-daemon thread terminates and no other thread joins the terminated thread, the _tstate_lock remains in

[issue37788] fix for bpo-36402 (threading._shutdown() race condition) causes reference leak

2019-08-08 Thread Anselm Kruis
Change by Anselm Kruis : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37587] JSON loads performance improvement for long strings

2019-08-08 Thread Inada Naoki
Inada Naoki added the comment: New changeset 2a570af12ac5e4ac5575a68f8739b31c24d01367 by Inada Naoki in branch 'master': bpo-37587: optimize json.loads (GH-15134) https://github.com/python/cpython/commit/2a570af12ac5e4ac5575a68f8739b31c24d01367 --

[issue11165] Document PyEval_Call* functions

2019-08-08 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35484] Segmentation fault due to faulthandler on Solaris

2019-08-08 Thread Jakub Kulik
Jakub Kulik added the comment: Oh, thanks for the catch, it most likely is. -- resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker ___

[issue14465] xml.etree.ElementTree: add feature to prettify XML output

2019-08-08 Thread Andrew Grant
Change by Andrew Grant : -- nosy: +Andrew Grant ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31226] shutil.rmtree fails when target has an internal directory junction (Windows)

2019-08-08 Thread Vidar Fauske
Vidar Fauske added the comment: Thanks for the detailed explanation Eryk. While it is a little annoying that it comes 2 years after the initial proposed solution, I'll happily take that if the end result is a better fix :) That being said, this fix seems quite a bit more involved to

[issue37786] Doesn't delete PATH from System Variables (uninstallation)

2019-08-08 Thread Steve Dower
Steve Dower added the comment: There's no difference in the implementation between them, so unless you see that the command line approach works but the GUI does not, they are going to be exactly the same bug (and probably against either Windows or Wix, rather than CPython, but I haven't dug

[issue37793] argparse uses "container object", should be "iterable"

2019-08-08 Thread Eric V. Smith
Eric V. Smith added the comment: Actually, I might have mislead you on this. I now think that plain iterators won't work. I'm still researching this, I'll get back to you on it. I apologize if it turns out I wasted your time. -- ___ Python

[issue37793] argparse uses "container object", should be "iterable"

2019-08-08 Thread Srinivas Nyayapati
Change by Srinivas Nyayapati : -- keywords: +patch pull_requests: +14909 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15178 ___ Python tracker

[issue37745] 3.8b3 - windows install gui/ inconsistent options

2019-08-08 Thread Christopher Brousseau
Christopher Brousseau added the comment: First, I'd like to say **thank you** all the work you and the team here do for Python, and Python on Windows. I really appreciate the thoughtful feedback on these ideas. Following up on items in this thread: > do you mean we change "Install

[issue37794] Replace /Ox with /O2

2019-08-08 Thread Nikita Kniazev
Change by Nikita Kniazev : -- keywords: +patch pull_requests: +14910 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15179 ___ Python tracker ___

[issue37794] Replace /Ox with /O2

2019-08-08 Thread Nikita Kniazev
New submission from Nikita Kniazev : The /O2 is a superset of /Ox with additional /GF and /Gy switches which enables strings and functions deduplication and almost always are favorable optimizations without downsides. https://docs.microsoft.com/en-us/cpp/build/reference/ox-full-optimization

[issue37793] argparse uses "container object", should be "iterable"

2019-08-08 Thread Srinivas Nyayapati
Srinivas Nyayapati added the comment: I understand eric.smith. I can close this PR. I currently have the following 3 other PR's waiting for review on github - https://github.com/python/cpython/pull/15180 https://github.com/python/cpython/pull/15170

[issue25172] Unix-only crypt should not be present on Windows.

2019-08-08 Thread Paul Moore
Paul Moore added the comment: New changeset f4e725f224b864bf9bf405ff7f863cda46fca1cd by Paul Moore (shireenrao) in branch 'master': bpo-25172: Raise appropriate ImportError msg when crypt module used on Windows (GH-15149)

[issue25172] Unix-only crypt should not be present on Windows.

2019-08-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +14914 pull_request: https://github.com/python/cpython/pull/15182 ___ Python tracker ___

[issue25172] Unix-only crypt should not be present on Windows.

2019-08-08 Thread Steve Dower
Steve Dower added the comment: Or better yet (since my last suggestion was bad), add a second test class to test_crypt try: import crypt IMPORT_ERROR = None except ImportError as ex: crypt = None IMPORT_ERROR = str(ex) @skipIf(crypt) class TestWhyCryptDidNotImport(TestCase):

[issue25172] Unix-only crypt should not be present on Windows.

2019-08-08 Thread Paul Moore
Paul Moore added the comment: On reflection, adding a test for the Windows-specific behaviour looks like it could be more complex than I'd anticipated, so I'm happy for this to go in without an extra test. I'll look at adding a test in a follow-up PR (or if someone else wants to, that's

[issue25172] Unix-only crypt should not be present on Windows.

2019-08-08 Thread Srinivas Nyayapati
Srinivas Nyayapati added the comment: I am curious how one would create a test for this? Would this be a new test script? The new script would skip if platform not win32 and the test case would be to import the crypt module and check for "not supported" string in the ImportError?

[issue37636] Deprecate slicing and ordering operations on sys.version

2019-08-08 Thread Philip Dye
Change by Philip Dye : -- nosy: +Philip Dye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25172] Unix-only crypt should not be present on Windows.

2019-08-08 Thread Steve Dower
Steve Dower added the comment: Yes. support.import_module is going to raise a skip when the module can't be imported, but we want to handle ImportError differently. -- ___ Python tracker

[issue37795] Fix deprecation warnings causing the test suite to fail when running with -Werror

2019-08-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +14917 pull_request: https://github.com/python/cpython/pull/15185 ___ Python tracker ___

[issue25172] Unix-only crypt should not be present on Windows.

2019-08-08 Thread Steve Dower
Steve Dower added the comment: Sure. You can post a new PR with the same bug number (and it won't need a NEWS file this time). -- ___ Python tracker ___

[issue36266] Which module could not be found?

2019-08-08 Thread Srinivas Nyayapati
Srinivas Nyayapati added the comment: I just submitted a PR for this issue. -- nosy: +shireenrao ___ Python tracker ___ ___

[issue37544] Test hang causes --enable-optimizations build to hang

2019-08-08 Thread Jarek Zgoda
Jarek Zgoda added the comment: Not really. I tried with limited test list and I keep getting the exact same failure in test_logging, moreover build passes all tests on all other machines we have. I guess this is some weird isolated issue not related to Python at all so I'm closing it as

[issue36753] Python modules not linking to libpython causes issues for RTLD_LOCAL system-wide

2019-08-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: In the What's New section of 3.8 (https://docs.python.org/3.8/whatsnew/3.8.html#changes-in-the-c-api) it indicates that: > On Unix, C extensions are no longer linked to libpython except on Android and > Cygwin. When Python is embedded, libpython

[issue25172] Unix-only crypt should not be present on Windows.

2019-08-08 Thread Steve Dower
Steve Dower added the comment: > The alternative would be, if there was a "Windows-specific tests" test > module, we could have put a test for this situation in there Maybe test___all__? -- ___ Python tracker

[issue37268] Deprecate the parser module

2019-08-08 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +14915 pull_request: https://github.com/python/cpython/pull/15183 ___ Python tracker ___

[issue37795] Fix deprecation warnings causing the test suite to fail when running with -Werror

2019-08-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset aa542c2cf26c5af9298dda6064576b18906cdfbf by Pablo Galindo in branch 'master': bpo-37795: Capture DeprecationWarnings in the test suite (GH-15184) https://github.com/python/cpython/commit/aa542c2cf26c5af9298dda6064576b18906cdfbf

[issue27777] cgi.FieldStorage can't parse simple body with Content-Length and no Content-Disposition

2019-08-08 Thread Christoph Zwerschke
Christoph Zwerschke added the comment: This also happens when sending POST requests with JSON payload from a browser with XMLHttpRequest to a Python 3.7 backend using FieldStorage. It seems XMLHttpRequest adds the content length automatically. --

[issue37795] Fix deprecation warnings causing the test suite to fail when running with -Werror

2019-08-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue32810] Expose ags_gen and agt_gen in asynchronous generators

2019-08-08 Thread George Zhang
George Zhang added the comment: Also, while the PEP first introducing asynchronous generators stated that its .asend() and .athrow() methods will return a "coroutine-like object", it doesn't allow any introspection into its state or parent async generator. My workaround was to wrap the

[issue37793] argparse uses "container object", should be "iterable"

2019-08-08 Thread Eric V. Smith
Eric V. Smith added the comment: Sorry, shireenrao, but I'm closing this. It's entirely my error: I misread the source where it was converting this to a list. The requirement is really that it be something you can iterate over multiple times, and supports "in". I guess "container object" is

[issue37792] xml.etree.ElementTree.Element.__eq__ does compare only objects identity

2019-08-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: By default, all objects compare based solely on identity. Are you making a feature request for Element objects to grow a recursive equality test that includes attributes regardless of order and disregards processing instructions and comments? What is

[issue25172] Unix-only crypt should not be present on Windows.

2019-08-08 Thread Paul Moore
Paul Moore added the comment: That's where I decided it was too complex for now :-) The whole test_crypt.py file is skipped if you can't import crypt, via the use of the test.support.import_module() function. To be able to write a test for a platform where the whole point is that you can't

[issue36511] Add Windows ARM32 buildbot

2019-08-08 Thread Paul Monson
Change by Paul Monson : -- pull_requests: +14913 pull_request: https://github.com/python/cpython/pull/15181 ___ Python tracker ___

[issue25172] Unix-only crypt should not be present on Windows.

2019-08-08 Thread Srinivas Nyayapati
Srinivas Nyayapati added the comment: Are you suggesting using the try/except block instead of import_module in test_crypt.py -- ___ Python tracker ___

[issue36266] Which module could not be found?

2019-08-08 Thread Srinivas Nyayapati
Change by Srinivas Nyayapati : -- keywords: +patch pull_requests: +14912 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/15180 ___ Python tracker

[issue27777] cgi.FieldStorage can't parse simple body with Content-Length and no Content-Disposition

2019-08-08 Thread Christoph Zwerschke
Change by Christoph Zwerschke : -- nosy: +cito ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37779] configparser: add documentation about several read() behaviour

2019-08-08 Thread Stéphane Blondon
Stéphane Blondon added the comment: Thank you for the idea. :) I committed something else, based on the previous example of the 'Quick Start' section. What do you think about it? -- ___ Python tracker

[issue16535] json encoder unable to handle decimal

2019-08-08 Thread Richard Musil
Richard Musil added the comment: It looks like I am resurrecting an old item, but I have been just hit by this and was directed to this issue (https://mail.python.org/archives/list/python-id...@python.org/thread/WT6Z6YJDEZXKQ6OQLGAPB3OZ4OHCTPDU/) I wonder if adding something similar to what

[issue37268] Deprecate the parser module

2019-08-08 Thread miss-islington
miss-islington added the comment: New changeset 10a0a093231ea82a3bfd33fd63322aebd8406866 by Miss Islington (bot) (Zackery Spytz) in branch 'master': bpo-37268: test_parser fails when run with -Werror (GH-15183) https://github.com/python/cpython/commit/10a0a093231ea82a3bfd33fd63322aebd8406866

[issue37795] Fix deprecation warnings causing the test suite to fail when running with -Werror

2019-08-08 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : The test suite is failing when running with python -Werror due to some uncatched DeprecationWarnings. -- components: Tests messages: 349261 nosy: pablogsal priority: normal severity: normal status: open title: Fix deprecation warnings

[issue37795] Fix deprecation warnings causing the test suite to fail when running with -Werror

2019-08-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +14916 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15184 ___ Python tracker

[issue25172] Unix-only crypt should not be present on Windows.

2019-08-08 Thread Srinivas Nyayapati
Srinivas Nyayapati added the comment: Can I have a go at it? Do I need to open a new issue to post a new PR? -- ___ Python tracker ___

[issue37793] argparse uses "container object", should be "iterable"

2019-08-08 Thread Srinivas Nyayapati
Srinivas Nyayapati added the comment: Done. Thank you. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37793] argparse uses "container object", should be "iterable"

2019-08-08 Thread Srinivas Nyayapati
Srinivas Nyayapati added the comment: Not at all. I just started contributing to cpython 2 days ago and finally got the hang of it and was able to push this without any issues on my side. So either way I would still call this a win for me :) --

[issue37797] Add name attribute to NameError

2019-08-08 Thread skreft
New submission from skreft : PEP 473 was recently rejected (https://mail.python.org/pipermail/python-dev/2019-March/156692.html) because it was too broad and was suggested to be broken down in smaller issues. This issue is requesting the addition of the optional attribute `name` to

[issue1820] Enhance Object/structseq.c to match namedtuple and tuple api

2019-08-08 Thread Philip Dye
Change by Philip Dye : -- nosy: +Philip Dye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37696] FileIO.read() on a closed TTY throws an exception prematurely

2019-08-08 Thread David Wilson
David Wilson added the comment: A real example of where returning the partial buffer is dangerous would be EBADF. - Repeated reading succeeds, building up a partial buffer. Another thread runs, and buggy code causes an unrelated fd blonging to the file object to be closed. - Original

[issue36511] Add Windows ARM32 buildbot

2019-08-08 Thread Steve Dower
Steve Dower added the comment: New changeset ed70a344b5fbddea85726ebc1964ee0cfdef9c40 by Steve Dower (Paul Monson) in branch 'master': bpo-36511: Fix failures in Windows ARM32 buildbot (GH-15181) https://github.com/python/cpython/commit/ed70a344b5fbddea85726ebc1964ee0cfdef9c40 --

[issue36511] Add Windows ARM32 buildbot

2019-08-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +14918 pull_request: https://github.com/python/cpython/pull/15186 ___ Python tracker ___

[issue21861] io class name are hardcoded in reprs

2019-08-08 Thread Philip Dye
Change by Philip Dye : -- nosy: +Philip Dye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18697] Unify arguments names in Unicode object C API documentation

2019-08-08 Thread Philip Dye
Change by Philip Dye : -- nosy: +Philip Dye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37795] Fix deprecation warnings causing the test suite to fail when running with -Werror

2019-08-08 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 162d45c531552d0699f945d2c22a763941dca3c1 by Pablo Galindo in branch '3.8': [3.8] bpo-37795: Capture DeprecationWarnings in the test suite (GH-15184) (GH-15188)

[issue37696] FileIO.read() on a closed TTY throws an exception prematurely

2019-08-08 Thread David Wilson
David Wilson added the comment: If we treat different errnos specially, the list of 'okay to silently fail' errors seems quite succinct. In another project I treat EIO, EPIPE and ECONNRESET as EOF, and raise all others --

[issue37798] Add C fastpath for statistics.NormalDist.inv_cdf()

2019-08-08 Thread Raymond Hettinger
New submission from Raymond Hettinger : Create new module: Modules/_statisticsmodule.c Add a function:_normal_dist_inv_cdf(p, mu, sigma) |-> x Mostly, it should be a cut-and-paste from the pure Python version, just add argument processing and semi-colons. Expect to measure a manyfold

[issue17301] An in-place version of many bytearray methods is needed

2019-08-08 Thread Philip Dye
Change by Philip Dye : -- nosy: +Philip Dye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23560] Group the docs of similar methods in stdtypes.rst

2019-08-08 Thread Philip Dye
Change by Philip Dye : -- nosy: +Philip Dye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37796] ModuleFinder does not resolve ".." correctly

2019-08-08 Thread Michael Kleehammer
New submission from Michael Kleehammer : The modulefinder module does not handle relative directories properly. The error I found is when one subpackage attempts to import from a sibling subpackage using the form from ..language import ( DirectiveDefinitionNode, ...

[issue37795] Fix deprecation warnings causing the test suite to fail when running with -Werror

2019-08-08 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +14920 pull_request: https://github.com/python/cpython/pull/15188 ___ Python tracker ___

[issue15436] __sizeof__ is not documented

2019-08-08 Thread Philip Dye
Change by Philip Dye : -- nosy: +Philip Dye ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37696] FileIO.read() on a closed TTY throws an exception prematurely

2019-08-08 Thread David Wilson
David Wilson added the comment: Interesting, this immediately turns into a little rabbit hole :) The reason read() is failing in this case, is because argument clinic defaults the size parameter to -1, which redirects the call to readall(). So this issue is actually about readall().

[issue37795] Fix deprecation warnings causing the test suite to fail when running with -Werror

2019-08-08 Thread miss-islington
Change by miss-islington : -- pull_requests: +14919 pull_request: https://github.com/python/cpython/pull/15187 ___ Python tracker ___

[issue37791] Propose to deprecate `ignore_errors` and `onerror` parameters of `shutil.rmtree()`

2019-08-08 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Passing ignore_errors=True is not the same as catching and silencing OSError outside of the function. In the former case you continue removing other files in the directory even if you can't remove some of them. In the latter case you stop after the first

[issue37792] xml.etree.ElementTree.Element.__eq__ does compare only objects identity

2019-08-08 Thread Marco Sulla
New submission from Marco Sulla : Currectly, even if two `Element`s elem1 and elem2 are different objects but the tree is identical, elem1 == elem2 returns False. The only effective way to compare two `Element`s is ElementTree.tostring(elem1) == ElementTree.tostring(elem2) Furthermore, from

[issue37792] xml.etree.ElementTree.Element.__eq__ does compare only objects identity

2019-08-08 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eli.bendersky, scoder ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37793] argparse uses "container object", should be "iterable"

2019-08-08 Thread Eric V. Smith
New submission from Eric V. Smith : https://docs.python.org/3/library/argparse.html#choices says "These can be handled by passing a container object as the choices keyword argument to add_argument()". I think this should be "iterable" instead. Internally, argparse reads the iterable and

[issue36753] Python modules not linking to libpython causes issues for RTLD_LOCAL system-wide

2019-08-08 Thread László Várady
László Várady added the comment: I'd like to mention a real-world example for this issue: syslog-ng with its plugin system. Plugins are loaded using dlopen() after the initial plugin discovery. RTLD_LOCAL would be a reasonable choice, since symbols in plugins should not pollute the global

[issue18236] str.isspace should use the Unicode White_Space property

2019-08-08 Thread Greg Price
Greg Price added the comment: Good question! With the patch: >>> import re >>> re.match(r'\s', '\x1e') >>> In other words, the definition of the regexp r'\s' follows along. Good to know. -- ___ Python tracker

[issue37791] Propose to deprecate `ignore_errors` and `onerror` parameters of `shutil.rmtree()`

2019-08-08 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: There’s too much code out there relying on both args (especially ignore_errors in unit tests) that would break for no real benefit. -- ___ Python tracker

[issue37793] argparse uses "container object", should be "iterable"

2019-08-08 Thread Eric V. Smith
Eric V. Smith added the comment: shireenrao: yes, please! As they say, PR's accepted! I'll warn you that I think the only way this could become newcomer-unfriendly is if there are objections that "iterable" is too much jargon for the argparse documentation. But I'll argue that there's a

[issue37791] Propose to deprecate `ignore_errors` and `onerror` parameters of `shutil.rmtree()`

2019-08-08 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't see the point of shifting the burden to the caller. That doesn't make their code smaller, clearer, faster, easier to write, or easier to get right. Also, deprecations almost always cause pain so we try to avoid them unless the feature is

[issue37779] configparser: add documentation about several read() behaviour

2019-08-08 Thread Stéphane Blondon
Change by Stéphane Blondon : -- keywords: +patch pull_requests: +14908 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15177 ___ Python tracker

[issue37793] argparse uses "container object", should be "iterable"

2019-08-08 Thread Srinivas Nyayapati
Srinivas Nyayapati added the comment: Can I work on this? -- nosy: +shireenrao ___ Python tracker ___ ___ Python-bugs-list mailing