[issue39476] Not convinced with the dynamic data type assignment

2020-01-28 Thread Sushma
Sushma added the comment: Thank you On Tue, Jan 28, 2020, 6:30 PM Steven D'Aprano wrote: > > Steven D'Aprano added the comment: > > The "num" variable is not a number, it *is* a string. Just because you > call it "num" doesn't magically turn it into a num

Re: [docs] Dynamic Data type assignment

2020-01-28 Thread sushma ms
Thanks a lot. But why can't we make output of input also dynamic data assignment. Thanks & Regards, Sushma MS On Tue, Jan 28, 2020, 9:54 PM Mariatta wrote: > input() returns a string. If you want it to be treated as an int you need > to cast it, example: > > num =int(inpu

Dynamic Data type assignment

2020-01-28 Thread sushma ms
ring string formatting Created the issue: msg 360865 created issue 39476 created -- Thanks & Regards, - Sushma Mob:9740055884 -- https://mail.python.org/mailman/listinfo/python-list

[issue39476] Not convinced with the dynamic data type assignment

2020-01-28 Thread Sushma
New submission from Sushma : Hi Please find below example and the compiler error, when i'm assigning value dynamically and when we comparing in "if" loop it is throwing compiler error. It should not throw error it should assign and act as int why it is thinking as string. Co

[issue37970] urllib.parse docstrings incomplete

2019-09-08 Thread sushma
sushma added the comment: got it - thanks for the detailed explanation! I'll go ahead and create a PR soon -- ___ Python tracker <https://bugs.python.org/issue37

[issue37970] urllib.parse docstrings incomplete

2019-09-04 Thread sushma
sushma added the comment: I guess what I'm wondering is this: urlsplit(url, scheme='', allow_fragments=True) Parse a URL into 5 components: :///?# Return a 5-tuple: (scheme, netloc, path, query, fragment). Note that we don't break the components up in smaller bits (e.g

[issue37970] urllib.parse docstrings incomplete

2019-09-04 Thread sushma
sushma added the comment: hello! I can see that we might want to add documentation for splitting netloc, but I don't understand why we'd have scheme and netloc, but nothing for path and query. What are you suggesting we add for scheme/allow_fragements? Thanks! -- nosy

[issue36858] f-string '=' debugging output needs to be documented

2019-08-21 Thread sushma
sushma added the comment: Hello, I'd like to work on this and will take a look. -- nosy: +syadlapalli ___ Python tracker <https://bugs.python.org/issue36

[issue16970] argparse: bad nargs value raises misleading message

2019-07-18 Thread sushma
sushma added the comment: Hello! I added the patch and submitted the PR and ran the test, could you please take a look? Also, I see this 3.6 Thanks -- message_count: 8.0 -> 9.0 nosy: +syadlapalli nosy_count: 4.0 -> 5.0 pull_requests: +14635 stage: needs patch -> pat

[issue30754] textwrap.dedent mishandles empty lines

2019-06-29 Thread sushma
Change by sushma : -- keywords: +patch pull_requests: +14286 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14469 ___ Python tracker <https://bugs.python.org/issu

[issue30754] textwrap.dedent mishandles empty lines

2019-06-12 Thread sushma
sushma added the comment: I'm going to try and contribute this documentation fix. -- nosy: +syadlapalli ___ Python tracker <https://bugs.python.org/issue30