[issue33346] Syntax error with async generator inside dictionary comprehension

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue33346> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23584] test_doctest lineendings fails in verbose mode

2018-09-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the patch. It seems this was fixed with 09a08de363cbe18a87392e1c2ebf0ac1f414592c (3.x) and c747e5564f0315357a3e7d2f580c6d1c8a3b4ab8 (2.7) by applying the code suggested in the patch. Can this be closed? Thanks -- nosy: +xtreak

[issue23097] unittest can unnecessarily modify sys.path (and with the wrong case)

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue23097> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24063] Support Mageia and Arch Linux in the platform module

2018-09-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Just to add some more context the function platform.linux_distribution() was removed in Python 3 with 8b94b41ab7b12f745dea744e8940631318816935. Refer https://bugs.python.org/issue28167 for more discussion. https://pypi.org/project/distro/ is the

[issue1180267] expanding platform module and making it work as it should

2018-09-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can this be closed as since platform.linx_distribution() was removed with https://bugs.python.org/issue28167 and distro is the recommended package which can be frequently updated. Thanks -- nosy: +xtreak

[issue23706] pathlib.Path.write_text should include a newline argument

2018-09-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: It seems a similar API was suggested in the initial stages at https://bugs.python.org/issue20218#msg209017 . But looking at the reference library in the comment https://github.com/jaraco/path.py I think it's more about converting newlines i

[issue24341] Test suite emits many DeprecationWarnings about sys.exc_clear() when -3 is enabled

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue24341> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21465] sqlite3 Row can return duplicate keys when using adapters

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue21465> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13822] is(upper/lower/title) are not exactly correct

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue13822> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34476] asyncio.sleep(0) not documented

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue34476> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16360] argparse: comma in metavar causes assertion failure when formatting long usage message

2018-09-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks @paul.j3 for the PR. The PR in the linked issue was merged and I cannot reproduce the original assertion error in the latest 2.7 branch with the script. $ ./python.exe Python 2.7.15+ (remotes/upstream/2.7:10be1d3f80, Sep 22 2018, 22:10:28

[issue30773] async generator receives wrong value when shared between coroutines

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue30773> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32181] runaway Tasks with Task.cancel() ignored.

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue32181> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31973] Incomplete DeprecationWarning for async/await keywords

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue31973> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33039] int() and math.trunc don't accept objects that only define __index__

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue33039> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32897] test_gdb failed on Fedora 27

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue32897> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32644] unittest.mock.call len() error

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue32644> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31521] segfault in PyBytes_AsString

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue31521> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31218] del expects __delitem__ if __setitem__ is defined

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue31218> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29164] make test always fail at 218/405 ( AssertionError: ', ' not found in '1234.5' )

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue29164> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29081] time.strptime() return wrong result

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue29081> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29143] Logger should ignore propagate property for disabled handlers.

2018-09-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please attach a script that has a relevant sample logging configuration along with the output you are expecting? Thanks -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue29

[issue12294] multiprocessing.Pool: Need a way to find out if work are finished.

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue12294> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27709] difflib.HtmlDiff produces different output from difflib.ndiff

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue27709> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24638] asyncio "loop argument must agree with future" error message could be improved

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue24638> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23082] pathlib relative_to() can give confusing error message

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue23082> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27513] email.utils.getaddresses does not handle Header objects

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue27513> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33232] Segmentation fault in operator.attrgetter

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue33232> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33194] Path-file objects does not have method to delete itself if its a file

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue33194> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33194] Path-file objects does not have method to delete itself if its a file

2018-09-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Maybe this can be added to list at the end (https://docs.python.org/3/library/pathlib.html#correspondence-to-tools-in-the-os-module) for more visibility. There was a similar thread in python-ideas to add more functions : https://groups.google.com

[issue33043] Add a 'Contributing to Docs' link at the bottom of docs.python.org

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue33043> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31737] Documentation renders incorrectly

2018-09-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Just as an update current docs site uses Sphinx 1.7.6 and the rendering is correct. Thanks -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue31

[issue30701] Exception parsing certain invalid email address headers

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue30701> ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue25597> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34609] Importing certain modules while debugging raises an exception

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue34609> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24307] pip error on windows whose current user name contains non-ascii characters

2018-09-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the patch. Would you like to make a GitHub PR. I think it's a problem with optparse in general while trying to have a default value with unicode character and %default in the help string. The same code is present in Python 3 but st

[issue21919] Changing cls.__bases__ must ensure proper metaclass inheritance

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue21919> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9350] add remove_argument_group to argparse

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue9350> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17185] unittest mock create_autospec doesn't correctly replace mocksignature

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue17185> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34775] pathlib.PurePath division raises TypeError instead of returning NotImplemented

2018-09-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue34775> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28418] Raise Deprecation warning for tokenize.generate_tokens

2018-09-23 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I just stumbled upon this issue while triaging. With the related issue https://bugs.python.org/issue12486 closed making generate_tokens public can this issue be closed since the original issue is not valid? Thanks -- nosy: +xtreak

[issue32915] Running Python 2 with -3 flag doesn't complain about cmp/__cmp__

2018-09-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue32915> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33340] Inaccurate docs on `import` behaviour

2018-09-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue33340> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33947] Dataclasses can raise RecursionError in __repr__

2018-09-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue33947> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33002] Making a class formattable as hex/oct integer with printf-style formatting requires both __int__ and __index__ for no good reason

2018-09-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue33002> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26752] Mock(2.0.0).assert_has_calls() raise AssertionError in two same calls

2018-09-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue26752> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9134] sre bug: lastmark_save/restore

2018-09-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue9134> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27261] io.BytesIO.truncate does not work as advertised

2018-09-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue27261> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue27154] Regression in file.writelines behavior

2018-09-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue27154> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25403] urllib.parse.urljoin is broken in python 3.5

2018-09-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue25403> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26144] test_pkg test_4 and/or test_7 sometimes fail

2018-09-23 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think this was fixed with https://bugs.python.org/issue34200 though the patch was not applied to 3.5 and 3.4 as they are in security bug fixes mode. Thanks -- nosy: +xtreak ___ Python tracker <ht

[issue26000] Crash in Tokenizer - Heap-use-after-free

2018-09-23 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Is this still reproducible? On master (Python 3.8) with a debug build it throws a SyntaxError. I don't have Python 3.5 installed to check this though $ ./python.exe Python 3.8.0a0 (heads/master:c87d9f406b, Sep 23 2018, 19:48:30) [Clang 7.0.2 (

[issue33553] Documentation improvement proposal for multiprocessing

2018-09-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue33553> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26374] concurrent_futures Executor.map semantics better specified in docs

2018-09-23 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There were some improvements made that clarify differences between builtin map with https://bugs.python.org/issue32306 and https://github.com/python/cpython/commit/a7a751dd7b08a5bb6cb399c1b2a6ca7b24aba51d Thanks -- nosy: +xtreak

[issue25567] shlex.quote doesn't work on bytestrings

2018-09-23 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the patch since the current workflow uses GitHub PR the patch can be made as a PR to move it forward. It seems there are some conflicts as I tried to apply the attached patch against latest master. Thanks -- nosy: +xtreak

[issue24653] Mock.assert_has_calls([]) is surprising for users

2018-09-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue24653> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20463] sqlite dumpiter dumps invalid script when virtual tables are used

2018-09-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue20463> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34734] Azure linux buildbot failure

2018-09-23 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems this is a known problem with VSTS and I am closing this as third party. Reference : https://mail.python.org/pipermail/python-committers/2018-September/006084.html -- resolution: -> third party stage: -> resolved status

[issue34783] segmentation-fault/core dump when try to run non-existing file specified on commandline

2018-09-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue34783> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34782] Pdb crashes when code is executed in a mapping that does not define `__contains__`

2018-09-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue34782> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26000] Crash in Tokenizer - Heap-use-after-free

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks William for the information. I can reproduce this on 3.5.6. I was able to bisect this down to #31852 that deals with similar cases and fixed with commit 690c36f2f1085145d364a89bfed5944dd2470308. $ cpython git:(master) git checkout

[issue29685] test_gdb failed

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please add your GDB version? The version parsing is done with regex r"^GNU gdb.*?\b(\d+)\.(\d+)" and I think it's not matching your version which seems to be empty. Adding the output of `gdb -nx --version` will be helpful in

[issue34752] warnings.warn fails silently with unicode input

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think this a known limitation as per https://bugs.python.org/issue23637#msg239361 where non-ASCII characters would require byte string. I couldn't find the relevant documentation for it though. $ ./python.exe Python 2.7.15+ (remotes/upstrea

[issue34752] warnings.warn fails silently with unicode input

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I looked some more into the linked issue and I think this is an explicit decision and the comment in the code indicates that the warning will be lost : https://github.com/python/cpython/blob/69d0bc1430d2e9cddf0b39054ddcb86dbbe7927e/Lib/warnings.py

[issue34752] warnings.warn fails silently with unicode input

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Since Nick had some issue on adding a message to the issue I am adding the email sent to me as a message below : (sorry I can't see how to post a reply message on the bugs page, I'm still new to this) anyhow here's what I

[issue34786] ProcessPoolExecutor documentation reports wrong exception being raised

2018-09-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue34786> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34786] ProcessPoolExecutor documentation reports wrong exception being raised

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think it raises BrokenThreadPool . A sample program that I tried as below raising an exception in the initializer. Maybe I am wrong here. Can you please attach a script that triggers BrokenProcessPool? # bpo34786.py import concurrent.futures

[issue34786] ProcessPoolExecutor documentation reports wrong exception being raised

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Got it. Sorry about that I copy pasted the quoted string and assumed ThreadPoolExecutor overlooking the PR. The change is reasonable to me. Thanks -- ___ Python tracker <https://bugs.python.

[issue23584] test_doctest lineendings fails in verbose mode

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the patch. As part of triaging I am closing this as fixed since the patch was applied with the below commits except for 3.4 branch : 09a08de363cbe18a87392e1c2ebf0ac1f414592c (3.5) c747e5564f0315357a3e7d2f580c6d1c8a3b4ab8 (2.7) Thanks

[issue28418] Raise Deprecation warning for tokenize.generate_tokens

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Since generate_tokens was made public and documented with issue12486 I am closing this issue as won't fix as part of triaging. Feel free to reopen this issue if needed. Thanks -- resolution: -> wont fix stage: -> resolved s

[issue26144] test_pkg test_4 and/or test_7 sometimes fail

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I am closing this issue as duplicate as part of triaging adding issue34200 as superseder that reports the same error along with a PR and discussion. There have been no failures reported with respect to test_pkg after the fix was merged. Feel free

[issue26000] Crash in Tokenizer - Heap-use-after-free

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: As part of triaging I am closing this issue as duplicate adding issue31852 as superseder which has the relevant PR and discussion about the fix. I have also verified the fix as in https://bugs.python.org/issue26000#msg326204. I think backporting

[issue33309] Unittest Mock objects do not freeze arguments they are called with

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the details. As part of triaging I am closing this as not a bug since passing mutable arguments to a mock object and modifying it is a documented behavior at https://docs.python.org/3/library/unittest.mock-examples.html#coping-with

[issue31535] configparser unable to write comment with a upper cas letter

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: All config options including comment are converted to lowercase when they are stored. You can customize this behavior using https://docs.python.org/3/library/configparser.html#configparser.ConfigParser.optionxform . You can also refer to https

[issue34539] namedtuple's exec() throws segmentation fault

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks Álvaro for the report and script. As part of triaging I am closing this as out of date since this bug seemed to have been fixed with issue34087 and is not reproducible on latest master and 3.7 branch. Feel free to reopen this if needed

[issue26452] Wrong line number attributed to comprehension expressions

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks much Greg for the details but I am closing this as fixed since there have been some improvements merged with issue12458 along with tests. The original issue reported regarding multi-line comprehension was fixed as I have tested it on https

[issue34788] ipaddress module fails on rfc4007 scoped IPv6 addresses

2018-09-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue34788> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34790] Deprecate passing coroutine objects to asyncio.wait()

2018-09-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue34790> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34792] Tutorial doesn''t discuss / and * function arguments

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There is a related issue to document / in signatures though : https://bugs.python.org/issue21314 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue34

[issue34793] Remove support for "with (await asyncio.lock):"

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I can see only around 3 results on GitHub with "with await asyncio.lock" and just wanted to add it as a data point : https://github.com/search?utf8=%E2%9C%93&q=%22with+await+asyncio.lock%22&type=Code --

[issue34793] Remove support for "with (await asyncio.lock):"

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Another discussion : https://github.com/python/cpython/pull/4753/files#r155656583 -- ___ Python tracker <https://bugs.python.org/issue34

[issue31177] unittest mock's reset_mock throws an error when an attribute has been deleted

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Adding Michael for thoughts on the fix and desired behavior. Removing 3.5 since only security fixes are accepted and adding 3.8 which is also affected. Thanks -- nosy: +michael.foord versions: +Python 3.8 -Python 3.5

[issue34777] urllib.request accepts anything as a header parameter for some URLs

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. I tried similar requests and it works this way for other tools like curl since Akcept could be a custom header in some use cases though it could be a typo in this context. There is no predefined set of media types that we

[issue34794] memory leak in TkApp:_createbytearray

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report David. Feel free to attach reproducible script if any that might trigger this. I am adding Serhiy who might have a better understanding of this. Relevant issue where _createbytearray was added : issue21580 . -- nosy

[issue31865] html.unescape does not work as per documentation

2018-09-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. The relevant regex to is at https://github.com/python/cpython/blob/f6c8007a29b95b3ea3ca687a9b4924769a696328/Lib/html/__init__.py#L118 added with the commit 4a9ee26750aa8cb37b5072b2bb4dd328819febb4 . As far as I can see from

[issue34748] Incorrect HTML link in functools.partial

2018-09-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks @xitop for the report. Seems reasonable to me to link to https://docs.python.org/3.8/library/functools.html#partial-objects . Along similar lines I would suggest the below too where "partial objects" could be linked #partial-objec

[issue31628] test_emails failure on FreeBSD

2018-09-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I just searched for the error and a very similar or in fact the same issue that fails with the same test was reported. It was closed as outdated since there were no errors on buildbots I hope. Adding it here the issue here that might be helpful in

[issue31636] test_locale failure on OpenBSD

2018-09-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Related issue on OpenBSD that proposes a patch catching the exception and skipping the test : https://bugs.python.org/issue25191 . I propose closing either of these as duplicate. It seems the PR 9178 was added to the issue by mistake and is not

[issue27903] Avoid ResourceWarnings from platform._dist_try_harder

2018-09-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report and patch Ville. CPython development now uses GitHub PR instead of patches. It seems usages of this function was removed in 8b94b41ab7b12f745dea744e8940631318816935 during removal of platform.linux_distribution. This

[issue34679] asyncio.add_signal_handler call fails if not on main thread

2018-09-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue34679> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33940] datetime.strptime have no directive to convert date values with Era and Time Zone name

2018-09-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue33940> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33940] datetime.strptime have no directive to convert date values with Era and Time Zone name

2018-09-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report Raghunath. Regarding timezone detection there is a limitation with %Z supporting only UTC, GMT and `time.tzname` which is not documented and it's an open issue tracked at issue22377 . Regarding a directive to determine

[issue33797] json int encoding incorrect for dbus.Byte

2018-09-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue33797> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33643] Mock functions with autospec STILL don't support assert_called_once, assert_called, assert_not_called

2018-09-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Can you please add a sample script that reproduces the error and the version of Python you are using? The fix was not merged to Python 3.5 as per msg278214 and I am little confused that this issue has Python 3.6 as affected

[issue33442] Python 3 doc sidebar dosnt follow page scrolling like 2.7 doc sidebar.

2018-09-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue33442> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33442] Python 3 doc sidebar dosnt follow page scrolling like 2.7 doc sidebar.

2018-09-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report Pete. The Python documentation theme is maintained at https://github.com/python/python-docs-theme/ and this particular issue is tracked at https://github.com/python/python-docs-theme/issues/20 . Related issues : issue34378

[issue33563] fileinput input's and Fileinput's bufsize=0 do not remit deprecationWarnings

2018-09-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue33563> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32750] lib2to3 log_error method behavior is inconsitent with documentation

2018-09-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue32750> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31962] test_importlib double free or corruption

2018-09-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue31962> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31541] Mock called_with does not ensure self/cls argument is used

2018-09-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue31541> ___ ___ Python-bugs-list mailing list Unsubscribe:

<    23   24   25   26   27   28   29   30   31   >