[issue35582] Argument Clinic: inline parsing code for functions with only positional parameters

2019-01-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Is it possible to run custom builds or benchmark of this once merged on speed.python.org ? I hope this give will be a noticeable dip in the benchmark graphs. -- nosy: +xtreak ___ Python tracker <ht

[issue35725] Using for...in.. generator-iterator

2019-01-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I was also typing a similar reply and Steve explained it better :) Just to add there is a note on implicit next call on a for loop in the documentation. https://docs.python.org/3/reference/expressions.html#generator.__next__ > Starts the execut

[issue35726] QueueHandler formating affects other handlers

2019-01-12 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip ___ Python tracker <https://bugs.python.org/issue35726> ___ ___ Python-bugs-list mailing list Unsub

[issue35726] QueueHandler formating affects other handlers

2019-01-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: @vinay.sajip It's known issue discussed here https://github.com/python/bugs.python.org/issues/12 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/is

[issue35715] ProcessPool workers hold onto return value of last task in memory

2019-01-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +bquinlan, pitrou ___ Python tracker <https://bugs.python.org/issue35715> ___ ___ Python-bugs-list mailin

[issue35731] Modify to support multiple urls in webbrowser.open

2019-01-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Since you can do list comprehension over the URLs as in your example I don't see a good reason to change the current API to take multiple URLs. [browser.open(url, new, autoraise) for url in urls] -- nosy: +x

[issue35734] ipaddress's _BaseV4._is_valid_netmask fails to detect invalid netmask like 255.254.128.0

2019-01-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue35734> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35734] ipaddress's _BaseV4._is_valid_netmask fails to detect invalid netmask like 255.254.128.0

2019-01-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pmoody ___ Python tracker <https://bugs.python.org/issue35734> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35733] isinstance(ast.Constant(value=True), ast.Num) should be False

2019-01-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +serhiy.storchaka ___ Python tracker <https://bugs.python.org/issue35733> ___ ___ Python-bugs-list mailin

[issue35733] isinstance(ast.Constant(value=True), ast.Num) should be False

2019-01-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Added Serhiy since this seems to have been caused due to issue32892 and changes made in 6015cc50bc ➜ cpython git:(6015cc50bc) ./python.exe -c 'import ast; print(isinstance(ast.Constant(False), ast.Num))' True ➜ cpython git:(6015c

[issue35734] ipaddress's _BaseV4._is_valid_netmask fails to detect invalid netmask like 255.254.128.0

2019-01-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > I couldn't find any use of _is_valid_netmask() in the code, why should this > netmask be invalid? There is an open issue to remove this method which is unused and undocumented issue27860. I have less knowledge on the subnet masking

[issue35736] Missing component in table after getElementsByTagName("nn")

2019-01-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Please post a minimal code snippet with what you are expecting and the actual output of the program explaining the problem and how it's a bug in Python and not the actual code's logic. -- nos

[issue35736] Missing component in table after getElementsByTagName("nn")

2019-01-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: It seems you have added a reply with the program at https://bugs.python.org/file48049/unnamed but it's filled with escaped HTML I hope. I assume you have a problem that there are 34 items with 'operation name' under grep and in

[issue24780] unittest assertEqual difference output foiled by newlines

2019-01-14 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Sorry, I just stumbled upon issue2142 which is a similar report for unique_diff producing wrong output due to missing trailing newlines and could have been the original reason where the title was changed. But since there is a PR now towards adding

[issue35741] unittest.skipUnless(time._STRUCT_TM_ITEMS == 11, "needs tm_zone support") doesn't work

2019-01-15 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +belopolsky ___ Python tracker <https://bugs.python.org/issue35741> ___ ___ Python-bugs-list mailing list Unsub

[issue35750] process finished with exit code -1073740940 (0xc0000374)

2019-01-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Please include a minimal code snippet without external dependencies to reproduce the issue. Describe what you have done (script, traceback, operating system environment etc) and what you are expecting. Without these information it's uncle

[issue35748] urlparse library detecting wrong hostname leads to open redirect vulnerability

2019-01-16 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +martin.panter ___ Python tracker <https://bugs.python.org/issue35748> ___ ___ Python-bugs-list mailing list Unsub

[issue35748] urlparse library detecting wrong hostname leads to open redirect vulnerability

2019-01-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I just tested other implementations in Ruby and Go and they too return host as "evil.com" for "http://www.google@evil.com"; along with the user info component. $ ruby -e 'require "uri"; puts URI("ht

[issue35748] urlparse library detecting wrong hostname leads to open redirect vulnerability

2019-01-16 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There are also some notes at https://tools.ietf.org/html/rfc3986#section-7.6 Because the userinfo subcomponent is rarely used and appears before the host in the authority component, it can be used to construct a URI intended to mislead a human user

[issue23078] unittest.mock patch autospec doesn't work on staticmethods

2019-01-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: @berker.peksag I have converted the patch at https://bugs.python.org/file40470/issue23078.patch and pushed it to a GitHub branch https://github.com/python/cpython/compare/master...tirkarthi:bpo23078 . I am willing to open a PR attributing to @fov

[issue35734] ipaddress's _BaseV4._is_valid_netmask fails to detect invalid netmask like 255.254.128.0

2019-01-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > I opened https://github.com/python/cpython/pull/11591 to remove > _valid_mask_octets, _is_valid_netmask and _is_hostmask from ipaddress, the > patch proposed in issue27860 has a larger scope so it's probably better to > re

[issue35759] inspect module does not implement introspection API for asynchronous generators

2019-01-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: see also msg300475 -- nosy: +ncoghlan, xtreak, yselivanov ___ Python tracker <https://bugs.python.org/issue35

[issue35765] Document references object x but doesn't show it in the example

2019-01-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. I think x here is implied as [1, 'simple', 'list']. Do you want to make it explicit with x = [1, 'simple', 'list'] in the code block? Removing 3.5 since it's in security fixes

[issue35767] unittest loader doesn't work with partial test functions

2019-01-17 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems this was introduced with issue32071 -- nosy: +jonash, pitrou, xtreak ___ Python tracker <https://bugs.python.org/issue35

[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

2019-01-17 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : I used to launch IDLE using from master using ./python.exe -m idlelib . It used to work but fails on master on Mac OS now. There seems to be some discussion about this on msg332672 after the commit c1b4b0f6160e1919394586f44b12538505fed300. Feel

[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

2019-01-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks, I can confirm that your fix launches idlelib. Not working : del mainmenu.menudefs[-2][1][0] Working : del mainmenu.menudefs[-3][1][0] Options menu listing on master with the fix with "Show code context" disabled. - Show code cont

[issue35774] ASAN, memory leak

2019-01-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gregory.p.smith ___ Python tracker <https://bugs.python.org/issue35774> ___ ___ Python-bugs-list mailing list Unsub

[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

2019-01-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Cheryl, feel free to submit a patch since I have less exposure to IDLE code. I can manually test the PR on my Mac and report back since this seems to be a Mac specific patch. It would be helpful if someone with access to other Mac OS versions can

[issue35770] IDLE: python -m idlelib fails on master on Mac OS 10.10.4

2019-01-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > Since it is my fix, I will write the PR. But first, please test part 2, > changing '0' to '0:1', just to make sure it works. Just tested it and it works fine with slice. Please find the respective diff and optio

[issue23078] unittest.mock patch autospec doesn't work on staticmethods

2019-01-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +11348 ___ Python tracker <https://bugs.python.org/issue23078> ___ ___ Python-bugs-list mailing list Unsub

[issue23078] unittest.mock patch autospec doesn't work on staticmethods

2019-01-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +11348, 11349 ___ Python tracker <https://bugs.python.org/issue23078> ___ ___ Python-bugs-list mailin

[issue23078] unittest.mock patch autospec doesn't work on staticmethods

2019-01-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +11348, 11349, 11350 ___ Python tracker <https://bugs.python.org/issue23078> ___ ___ Python-bugs-list m

[issue35778] RF: ``pathlib.Path.checksum()`` member

2019-01-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pitrou ___ Python tracker <https://bugs.python.org/issue35778> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35781] `logger.warn` method is used in "Logging HOWTO" documentation though `logger.warn` method is deprecated in Python 3.7

2019-01-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. Would you like to propose a PR for this? Cases of using warn method in documentation examples : * https://github.com/python/cpython/blob/master/Doc/howto/logging.rst * https://github.com/python/cpython/blob/master/Doc/howto

[issue35737] crypt AuthenticationError introduced with new Linux kernel

2019-01-18 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. I couldn't find any CPython related stack trace in the traceback and this looks like a custom validation error raised by salt. Can you please add a simple reproducer without any external dependencies to reproduce

[issue35782] Missing whitespace after comma in randrange raise error

2019-01-18 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- stage: resolved -> needs patch ___ Python tracker <https://bugs.python.org/issue35782> ___ ___ Python-bugs-list mai

[issue35784] document that hashlib.new takes kwargs

2019-01-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +christian.heimes, gregory.p.smith versions: +Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue35

[issue35507] multiprocessing: seg fault when creating RawArray from numpy ctypes

2019-01-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I am closing this with third party as resolution. Feel free to reopen this if it's an issue with multiprocessing and CPython. Thanks for triaging. -- nosy: +xtreak resolution: -> third party stage: -> resolved status: ope

[issue35782] Missing whitespace after comma in randrange raise error

2019-01-19 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > I previously close this issue is because not sure if someone rely on > exception string to do something, should we consider this? I think this is a valid issue since error messages have been modified in the past. I am not sure if this w

[issue35785] argparse crashes in gettext when processing missing arguments

2019-01-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +bethard ___ Python tracker <https://bugs.python.org/issue35785> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35726] QueueHandler formatting affects other handlers

2019-01-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +11457 ___ Python tracker <https://bugs.python.org/issue35726> ___ ___ Python-bugs-list mailing list Unsub

[issue35726] QueueHandler formatting affects other handlers

2019-01-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +11457, 11458 ___ Python tracker <https://bugs.python.org/issue35726> ___ ___ Python-bugs-list mailin

[issue35726] QueueHandler formatting affects other handlers

2019-01-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +11457, 11458, 11459 ___ Python tracker <https://bugs.python.org/issue35726> ___ ___ Python-bugs-list m

[issue35726] QueueHandler formatting affects other handlers

2019-01-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: +11457, 11458, 11459, 11460 ___ Python tracker <https://bugs.python.org/issue35726> ___ ___ Python-bug

[issue35809] test_concurrent_futures.ProcessPoolForkExecutorDeadlockTest fails intermittently on Travis and passes in verbose mode

2019-01-23 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : I can see this test failing intermittently many times on Travis during the first run and to pass later during a verbose run hence the failure is not visible. I don't know the exact cause and haven't checked the buildbots. Search a

[issue28890] logging.handlers: Document that QueueListener is a daemon thread

2019-01-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip, xtreak versions: +Python 3.7, Python 3.8 -Python 3.5 ___ Python tracker <https://bugs.python.org/issue28

[issue35814] Syntax quirk with variable annotations

2019-01-23 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gvanrossum, levkivskyi ___ Python tracker <https://bugs.python.org/issue35814> ___ ___ Python-bugs-list mailin

[issue35816] csv.DictReader, skipinitialspace does not ignore tabs

2019-01-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: https://bugs.python.org/issue21297#msg216907 to be related and has a patch. It refers to whitespace as only space ('U+0020') with tabs being ignored. Current code where only space is taken into account : https://github.com/python/cp

[issue35816] csv.DictReader, skipinitialspace does not ignore tabs

2019-01-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Sorry, I overlooked the patch. The issue reported is the same in issue21297 but the patch was about changing whitespace to space in the doc instead of changing the behavior as I can see from the discussion

[issue35821] Clarify when logging events are propagated when propagate is true

2019-01-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip, xtreak ___ Python tracker <https://bugs.python.org/issue35821> ___ ___ Python-bugs-list mailin

[issue35824] http.cookies._CookiePattern modifying regular expressions

2019-01-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the MDN cookie directive link. I didn't know it links to Date link in the GitHub PR. I don't see space optional in the sane-date format specified for expires attribute. I could be reading the grammar wrong. I will wait f

[issue35224] PEP 572: Assignment Expressions

2019-01-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I don't know if this is the correct issue for questions/clarifications but it seems parens are mandatory while using named expressions in while statement which makes some of the examples invalid like https://www.python.org/dev/peps/pep

[issue35666] Update design FAQ about assignment expression

2019-01-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > I believe a spot where assignment expressions are explicitly mentioned as not > being included in the language, which is no longer the case Emily, I guess you were referring to this issue in https://bugs.python.org/issue35224#msg334331

[issue35666] Update design FAQ about assignment expression

2019-01-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Ah sorry I think this could be a duplicate of issue34237 where you have added an update. -- ___ Python tracker <https://bugs.python.org/issue35

[issue35815] Able to instantiate a subclass with abstract methods from __init_subclass__ of the ABC

2019-01-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger, stutzbach ___ Python tracker <https://bugs.python.org/issue35815> ___ ___ Python-bugs-list mailin

[issue35829] datetime: parse "Z" timezone suffix in fromisoformat()

2019-01-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +belopolsky, p-ganssle ___ Python tracker <https://bugs.python.org/issue35829> ___ ___ Python-bugs-list mailin

[issue34766] BaseProxy cache should be cleaned when Manager client is reconnected

2019-01-25 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +davin, pitrou ___ Python tracker <https://bugs.python.org/issue34766> ___ ___ Python-bugs-list mailing list Unsub

[issue35824] http.cookies._CookiePattern modifying regular expressions

2019-01-26 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Yes, sorry I thought it was the format used for parsing too. Thanks for the example Martin. I am linking @MeiK PR to the issue where I asked them to open an issue for this. -- keywords: +patch pull_requests: +11517 stage: -> patch rev

[issue35832] Installation error

2019-01-26 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <https://bugs.python.org/issue35

[issue35834] get_type_hints exposes an instance of ForwardRef (internal class) in its result, with `from __future__ import annotations` enabled

2019-01-26 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +gvanrossum, levkivskyi ___ Python tracker <https://bugs.python.org/issue35834> ___ ___ Python-bugs-list mailin

[issue32834] test_gdb fails with Posix locale in 3.7

2019-01-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Possibly fixed with issue34537 ? -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue32834> ___ ___

[issue35835] There is no mention of breakpoint() in the pdb documentation

2019-01-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > New in version 3.7: breakpoint() replaces the previous line. replaces sounds little more like removed or deprecated to me. How about the below under pdb.set_trace() doc and example using it in the beginning? New in version 3.7: breakpoint() i

[issue35835] There is no mention of breakpoint() in the pdb documentation

2019-01-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I didn't want the doc to sound like breakpoint() is encouraged since it's optional and a shortcut. Hence my personal preference to just add a note with link to breakpoint() that it does the same thing. I will wait for someone else to r

[issue35835] There is no mention of breakpoint() in the pdb documentation

2019-01-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I am ok with Cheryl's idea too. -- ___ Python tracker <https://bugs.python.org/issue35835> ___ ___ Python-bugs-l

[issue35837] smtpd PureProxy breaks on mail_options keyword argument

2019-01-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. smtpd is deprecated in favor of aiosmtpd. Some of the fixes were closed in the past as won't fix. Please see https://bugs.python.org/issue35788#msg334088 and the discussion for deprecation and removal. --

[issue35837] smtpd PureProxy breaks on mail_options keyword argument

2019-01-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Sorry, I overlooked that one. While searching for other smtpd issues many of them were closed as won't fix and hence my message. Thanks for the link. -- ___ Python tracker <https://bugs.py

[issue35838] ConfigParser calls optionxform twice when assigning dict

2019-01-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +lukasz.langa ___ Python tracker <https://bugs.python.org/issue35838> ___ ___ Python-bugs-list mailing list Unsub

[issue35835] There is no mention of breakpoint() in the pdb documentation

2019-01-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: @jcrmatos yes, you should be making a PR to CPython repo's master branch since GitHub PRs are accepted. I hope also need to sign the CLA for your contribution to get merged though it's a documentation fi

[issue35838] ConfigParser calls optionxform twice when assigning dict

2019-01-28 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This seems to be a bug with read_dict which is used internally when a dictionary is directly assigned. In read_dict optionxform is called with key [0] to check for duplicate and the transformed value is again passed to self.set which also calls

[issue32834] test_gdb fails with Posix locale in 3.7

2019-01-28 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This passes on my Ubuntu box and fails for the commit before issue34537 with the stack trace as per the original report. karthi@ubuntu-s-1vcpu-1gb-blr1-01:~/cpython$ LC_ALL=C ./python -We -m test -vuall -m test_strings test_gdb == CPython 3.8.0a0

[issue35843] importlib.util docs for namespace packages innaccurate

2019-01-28 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +brett.cannon ___ Python tracker <https://bugs.python.org/issue35843> ___ ___ Python-bugs-list mailing list Unsub

[issue35500] Align expected and actual calls on mock.assert_called_with error message

2019-01-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Cheryl, this is a good first issue for new contributor. I was waiting for suggestion and I am not sure if there is a consensus over the format. I would like to go with the below format as per suggestion from Mario and Terry. AssertionError

[issue35848] readinto is not a method on io.TextIOBase

2019-01-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: https://docs.python.org/3/library/io.html#io.TextIOBase > Base class for text streams. This class provides a character and line based > interface to stream I/O. There is no readinto() method because Python’s > character strings are immu

[issue35851] Make search result in online docs keep their position when search finishes

2019-01-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I have minimum experience with CSS but this seems to be a Sphinx level enhancement that needs to be made. The text is set after search completion at [0]. The element [1] to which the text is added has no fixed height and is empty at the beginning

[issue35848] readinto is not a method on io.TextIOBase

2019-01-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks Steve for the details. I am adding io module maintainers to the issue who will have better context on whether to clarify the docs or to change the implementation to raise UnsupportedOperation. -- nosy: +benjamin.peterson, stutzbach

[issue35856] bundled pip syntaxwarning

2019-01-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This needs to be updated in vendor files for pip repo and then updating the files in CPython. The upstream issue on requests is fixed. -- nosy: +dstufft, ncoghlan, xtreak ___ Python tracker <ht

[issue35857] Stacktrace shows lines from updated file on disk, not code actually running

2019-01-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also issue8087 that has a similar case with interactive shell where the imported module was changed on disk. It has some discussion along similar lines with some more possible cases msg145291. -- nosy: +xtreak

[issue35857] Stacktrace shows lines from updated file on disk, not code actually running

2019-01-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Looking more into the issue8087 there is issue31300 and issue23594 that are linked as duplicates with issue31300 very similar to this report. Maybe close this to continue discussion on issue8087

[issue35760] test_asyncio: test_async_gen_asyncio_gc_aclose_09() race condition

2019-01-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems this used to happen rarely on Appveyor builds too in the past randomly. Past report of the same issue issue32646 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue35

[issue35861] test_named_expressions raises SyntaxWarning

2019-01-30 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : SyntaxWarning was recently added for comparison using "is" over literals with issue34850. This is raised on master for a PEP 572 related test. The warning is emitted twice which is covered with bpo-35798 and I verified the patch. The fix

[issue35861] test_named_expressions raises SyntaxWarning

2019-01-30 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks Emily, I am marking this as easy since it's related to tests and doesn't affect alpha release. If no one gets to this I will raise a fix for this by Sunday. -- keywords: +easy ___ Pyth

[issue35863] email.headers wraps headers badly

2019-01-30 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +email nosy: +barry, r.david.murray ___ Python tracker <https://bugs.python.org/issue35863> ___ ___ Python-bug

[issue35871] Pdb NameError in generator param and list comprehension

2019-01-31 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. This seems related to issue21161 and issue26072 that contain explanation about scope where exec is called with the code and patches that fix this issue. As a possible workaround in the issues you can use "interact&quo

[issue35877] parenthesis is mandatory for named expressions in while statement

2019-02-01 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : I thought to open a separate report itself in order to keep the original issue not cluttered with questions since it could be used for other docs. Sorry for my report there. Original report as per msg334341 . It seems parens are mandatory while

[issue35875] Crash - algos.cp36-win_amd64.pyd join.cp36-win_amd64.pyd

2019-02-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Can you please add a minimal reproducer for this without any external dependencies? I couldn't see any references to the extensions you have mentioned in the title in CPython repo. Please add in a description over how this is a problem

[issue35881] test_type_comments leaks references and memory blocks

2019-02-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This looks like the same as https://bugs.python.org/issue35879 -- nosy: +vstinner, xtreak ___ Python tracker <https://bugs.python.org/issue35

[issue35879] test_type_comments leaks references

2019-02-01 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +pablogsal ___ Python tracker <https://bugs.python.org/issue35879> ___ ___ Python-bugs-list mailing list Unsub

[issue35877] parenthesis is mandatory for named expressions in while statement

2019-02-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > Emily, I think this would be as simple as making a tiny change to > Grammar/Grammar and running make regen-grammar. Can you take care of that? Thanks, can confirm that this fixes the issue. I changed test to namedexpr_test for while statem

[issue30670] pprint for dict in sorted order or insert order?

2019-02-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: https://docs.python.org/3/library/pprint.html > Dictionaries are sorted by key before the display is computed. https://mail.python.org/pipermail/python-dev/2017-December/151369.html . There was some discussion in the thread about this bein

[issue35877] parenthesis is mandatory for named expressions in while statement

2019-02-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > Thanks, Karthikeyan! Can you submit that as a PR? Sure, I will submit the patch with tests for the same. Thanks -- ___ Python tracker <https://bugs.python.org/issu

[issue35877] parenthesis is mandatory for named expressions in while statement

2019-02-01 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +11603 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35877] parenthesis is mandatory for named expressions in while statement

2019-02-01 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch, patch pull_requests: +11603, 11604 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35877] parenthesis is mandatory for named expressions in while statement

2019-02-01 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch, patch, patch pull_requests: +11603, 11604, 11605 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35877] parenthesis is mandatory for named expressions in while statement

2019-02-01 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks a lot Guido and Emily for guidance on this issue. Happy to see this for alpha release :) -- ___ Python tracker <https://bugs.python.org/issue35

[issue30670] pprint for dict in sorted order or insert order?

2019-02-04 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- stage: resolved -> needs patch ___ Python tracker <https://bugs.python.org/issue30670> ___ ___ Python-bugs-list mai

[issue35897] Support list as argument to .startswith()

2019-02-05 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Related discussion : issue34312 -- nosy: +xtreak ___ Python tracker <https://bugs.python.org/issue35897> ___ ___

[issue35838] ConfigParser calls optionxform twice when assigning dict

2019-02-05 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch, patch, patch pull_requests: +11707, 11708, 11709 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35838] ConfigParser calls optionxform twice when assigning dict

2019-02-05 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +11707 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35838] ConfigParser calls optionxform twice when assigning dict

2019-02-05 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch, patch pull_requests: +11707, 11708 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35898] The TARGETDIR variable must be provided when invoking this installer

2019-02-05 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker <https://bugs.python.org/issue35

<    14   15   16   17   18   19   20   21   22   23   >