[issue37256] urllib.request.Request documentation erroneously refers to the "final two"

2019-08-13 Thread Sanyam Khurana
Sanyam Khurana added the comment: Thanks for the bug report Alan & for the PR Ngalim! I've checked the current docs and this is a valid bug. I've also reviewed the Pull request and it looks good to me. @Mariatta, @Senthil can you please have a look at this? Many thanks! -

[issue37775] update doc of compileall

2019-08-14 Thread Sanyam Khurana
Sanyam Khurana added the comment: I've checked and approved this PR. This needs a core-review now. Thanks, Hai for your contribution. -- nosy: +CuriousLearner, Mariatta ___ Python tracker <https://bugs.python.org/is

[issue37853] [urllib.parse.urlparse] It does not correctly parse the URL with basic authentication.

2019-08-14 Thread Sanyam Khurana
Sanyam Khurana added the comment: Duplicate of Issue 37854 Fatih, Thank you for your report. I'm marking this one as a duplicate of another. Request you to not create multiple issues at once for the same thing. Thank you! -- nosy: +CuriousLearner resolution: -> duplica

[issue37854] [xmlrpc.client.ServerProxy] It does not correctly parse the URL with basic authentication.

2019-08-14 Thread Sanyam Khurana
Sanyam Khurana added the comment: Closed Issue 37853 as a duplicate. Adding Fatih's comment from there for urllib.parse.urlparse - No problem for these: "http://localhost:9100"; "http://user:password@l

[issue40358] pathlib's relative_to should behave like os.path.relpath

2020-04-30 Thread Sanyam Khurana
Change by Sanyam Khurana : -- nosy: +CuriousLearner ___ Python tracker <https://bugs.python.org/issue40358> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21914] Create unit tests for Turtle guionly

2019-05-22 Thread Sanyam Khurana
Change by Sanyam Khurana : -- pull_requests: +13409 ___ Python tracker <https://bugs.python.org/issue21914> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36168] DOC: Fix capitalization in string.rst

2019-07-01 Thread Sanyam Khurana
Sanyam Khurana added the comment: Mariatta, I see it also needs a backport to 3.8 We can close it once the backport is completed. -- nosy: +CuriousLearner ___ Python tracker <https://bugs.python.org/issue36

[issue36168] DOC: Fix capitalization in string.rst

2019-07-01 Thread Sanyam Khurana
Sanyam Khurana added the comment: Backport successfully completed. Marking this as fixed. Congrats on your first patch, Krishna! Thank you, everyone! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed _

[issue12128] Allow an abc.abstractproperty to be overridden by an instance data attribute

2019-08-09 Thread Sanyam Khurana
Sanyam Khurana added the comment: I was trying to search the mailing list archives for the URL posted by Eric: http://mail.python.org/pipermail/python-list/2011-May/1272604.html But I couldn't find it. Also that URL shows 404. Eric, is it possible for you to post the correct

[issue16837] Number ABC can be instantiated

2019-08-09 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hi Alexander, Can you please address the reviews and turn this patch into a GitHub PR, please? -- nosy: +CuriousLearner ___ Python tracker <https://bugs.python.org/issue16

[issue16837] Number ABC can be instantiated

2019-08-09 Thread Sanyam Khurana
Sanyam Khurana added the comment: I'm changing the versions to Python 3.8 and 3.9 for this bug. -- versions: +Python 3.8, Python 3.9 -Python 3.4, Python 3.5 ___ Python tracker <https://bugs.python.org/is

[issue37785] argparse uses %s in gettext calls causing xgettext warnings

2019-08-09 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hi Jakub, Welcome and thank you for contributing. I've added a suggestion on your pull request. Python 3.6 and Python 3.5 are in security fixes stage, so I've removed those tags from this bug. -- nosy: +CuriousLearner type: -> beha

[issue26543] [EASY] imaplib noop Debug: bytes vs Unicode bug in debug mode

2019-08-09 Thread Sanyam Khurana
Sanyam Khurana added the comment: Removing 3.5 as it is in security fix mode. Also, the PR just contains the test case that would trigger the condition and not the actual code. -- nosy: +CuriousLearner stage: -> patch review versions: +Python 3.7, Python 3.8, Python 3.9 -Python

[issue26543] [EASY] imaplib noop Debug: bytes vs Unicode bug in debug mode

2019-08-09 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hey ankostis, Please let us know if you've time to complete the PR. Thank you :) -- ___ Python tracker <https://bugs.python.org/is

[issue32912] Raise non-silent warning for invalid escape sequences

2019-08-09 Thread Sanyam Khurana
Change by Sanyam Khurana : -- nosy: +CuriousLearner ___ Python tracker <https://bugs.python.org/issue32912> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34331] Incorrectly pluralized abstract class error message

2019-08-09 Thread Sanyam Khurana
Sanyam Khurana added the comment: Adding 3.9 to this bug. I've reviewed the PR and it looks good to me. -- nosy: +CuriousLearner versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/is

[issue19692] Rename Py_SAFE_DOWNCAST

2019-08-10 Thread Sanyam Khurana
Change by Sanyam Khurana : -- nosy: +CuriousLearner versions: +Python 3.7, Python 3.8, Python 3.9 -Python 3.4 ___ Python tracker <https://bugs.python.org/issue19

[issue37819] as_integer_ratio() missing from fractions.Fraction()

2019-08-11 Thread Sanyam Khurana
Change by Sanyam Khurana : -- nosy: +CuriousLearner ___ Python tracker <https://bugs.python.org/issue37819> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26543] [EASY] imaplib noop Debug: bytes vs Unicode bug in debug mode

2019-08-11 Thread Sanyam Khurana
Change by Sanyam Khurana : -- pull_requests: +14935 pull_request: https://github.com/python/cpython/pull/15206 ___ Python tracker <https://bugs.python.org/issue26

[issue37785] argparse uses %s in gettext calls causing xgettext warnings

2019-08-12 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hi Eric, This is with reference to https://bugs.python.org/issue10528. I've looked at the PR and it's ready for a core-review: https://github.com/python/cpython/pull/15161 Can you please take a look at this? Many thanks! -- nosy

[issue30721] Show expected input for right shift operator usage in custom "print" error message

2017-06-20 Thread Sanyam Khurana
New submission from Sanyam Khurana: While working on issue: http://bugs.python.org/issue30597 to enhance the custom error message by showing expected output in Python3 syntax when someone uses Python2 syntax, a PR was raised: https://github.com/python/cpython/pull/2009, where we just handled

[issue30721] Show expected input for right shift operator usage in custom "print" error message

2017-06-22 Thread Sanyam Khurana
Changes by Sanyam Khurana : -- pull_requests: +2390 ___ Python tracker <http://bugs.python.org/issue30721> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30721] Show expected input for right shift operator usage in custom "print" error message

2017-08-18 Thread Sanyam Khurana
Sanyam Khurana added the comment: Ah, sorry for that. I'll just fix that right away in a few mins :) -- ___ Python tracker <http://bugs.python.org/is

[issue30721] Show expected input for right shift operator usage in custom "print" error message

2017-08-18 Thread Sanyam Khurana
Changes by Sanyam Khurana : -- pull_requests: +3165 ___ Python tracker <http://bugs.python.org/issue30721> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25439] Add type checks to urllib.request.Request

2018-11-20 Thread Sanyam Khurana
Change by Sanyam Khurana : -- assignee: -> CuriousLearner nosy: +CuriousLearner ___ Python tracker <https://bugs.python.org/issue25439> ___ ___ Python-

[issue25439] Add type checks to urllib.request.Request

2018-11-20 Thread Sanyam Khurana
Sanyam Khurana added the comment: I'm working on applying the patch cleanly to master branch for this. Also adding 3.8 and 3.7 as candidates for the bug. -- versions: +Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/is

[issue25439] Add type checks to urllib.request.Request

2018-11-20 Thread Sanyam Khurana
Change by Sanyam Khurana : -- pull_requests: +9862 ___ Python tracker <https://bugs.python.org/issue25439> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25439] Add type checks to urllib.request.Request

2018-11-21 Thread Sanyam Khurana
Sanyam Khurana added the comment: PR is up for a review: https://github.com/python/cpython/pull/10616 -- ___ Python tracker <https://bugs.python.org/issue25

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2018-11-21 Thread Sanyam Khurana
Change by Sanyam Khurana : -- pull_requests: +9886, 9887 stage: test needed -> patch review ___ Python tracker <https://bugs.python.org/issue24746> ___ ___ Py

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2018-11-21 Thread Sanyam Khurana
Change by Sanyam Khurana : -- pull_requests: +9886 stage: test needed -> patch review ___ Python tracker <https://bugs.python.org/issue24746> ___ ___ Python-

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2018-11-21 Thread Sanyam Khurana
Sanyam Khurana added the comment: > Unfortunately I was reminded a few days ago that there is a commit hook that > prevents patches containing trailing whitespace from being committed to the > repository. Is this still the case? I tried to figure out writing the test case, but I c

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2018-11-22 Thread Sanyam Khurana
Sanyam Khurana added the comment: Thanks for your suggestion, Tim. I've fixed the patch and it is ready for review at https://github.com/python/cpython/pull/10639 -- ___ Python tracker <https://bugs.python.org/is

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2018-11-22 Thread Sanyam Khurana
Change by Sanyam Khurana : -- assignee: -> CuriousLearner ___ Python tracker <https://bugs.python.org/issue24746> ___ ___ Python-bugs-list mailing list Un

[issue24925] Allow doctest to find line number of __test__ strings if formatted as a triple quoted string.

2018-11-22 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hey R. David Murray, Where do you think the unit test for `doctest` should be placed? Should it be in `test_doctest.py`? -- assignee: -> CuriousLearner versions: +Python 3.7, Python 3.8 ___ Python trac

[issue35614] Broken help() on metaclasses

2018-12-29 Thread Sanyam Khurana
Change by Sanyam Khurana : -- keywords: +patch, patch pull_requests: +10670, 10671 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35614] Broken help() on metaclasses

2018-12-29 Thread Sanyam Khurana
Change by Sanyam Khurana : -- keywords: +patch pull_requests: +10670 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35614> ___ ___ Py

[issue35614] Broken help() on metaclasses

2018-12-29 Thread Sanyam Khurana
Change by Sanyam Khurana : -- keywords: +patch, patch, patch pull_requests: +10670, 10671, 10672 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-09 Thread Sanyam Khurana
Change by Sanyam Khurana : -- pull_requests: +10999 ___ Python tracker <https://bugs.python.org/issue24746> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-09 Thread Sanyam Khurana
Change by Sanyam Khurana : -- pull_requests: +10999, 11000 ___ Python tracker <https://bugs.python.org/issue24746> ___ ___ Python-bugs-list mailing list Unsub

[issue24746] doctest 'fancy diff' formats incorrectly strip trailing whitespace

2019-01-09 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hi Victor, Senthil reverted the backport commit on 2.7 branch. Is there a way I can test reference leaks in CPython? Is it using valgrind or some other tool? Can you please point me to that? I can then see if I can fix this on 2.7 Thanks

[issue31506] Improve the error message logic for object_new & object_init

2019-01-21 Thread Sanyam Khurana
Change by Sanyam Khurana : -- pull_requests: +11416 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue31506> ___ ___ Python-

[issue31506] Improve the error message logic for object_new & object_init

2019-01-21 Thread Sanyam Khurana
Change by Sanyam Khurana : -- pull_requests: +11416, 11417 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue31506> ___ _

[issue31506] Improve the error message logic for object_new & object_init

2019-01-21 Thread Sanyam Khurana
Change by Sanyam Khurana : -- pull_requests: +11416, 11417, 11418 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue29710] Incorrect representation caveat on bitwise operation docs

2017-03-03 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hi, I'm working on this issue. -- nosy: +CuriousLearner ___ Python tracker <http://bugs.python.org/issue29710> ___ ___ Pytho

[issue29710] Incorrect representation caveat on bitwise operation docs

2017-05-20 Thread Sanyam Khurana
Changes by Sanyam Khurana : -- pull_requests: +1784 ___ Python tracker <http://bugs.python.org/issue29710> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25910] Fixing links in documentation

2017-06-03 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hi, If this work is not being actively worked on, can I work on this and fix the remaining links? -- nosy: +CuriousLearner ___ Python tracker <http://bugs.python.org/issue25

[issue24744] Lack of type checks in pkgutil.walk_packages and friends

2017-06-03 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hi r.david.murray, What error do you think should be raised in this case, when path is an instance of str? I'll issue a PR once I know what end results are expected. -- nosy: +CuriousLearner ___ Python tr

[issue24744] Lack of type checks in pkgutil.walk_packages and friends

2017-06-03 Thread Sanyam Khurana
Changes by Sanyam Khurana : -- pull_requests: +2006 ___ Python tracker <http://bugs.python.org/issue24744> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25910] Fixing links in documentation

2017-06-03 Thread Sanyam Khurana
Changes by Sanyam Khurana : -- pull_requests: +2010 ___ Python tracker <http://bugs.python.org/issue25910> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24744] Lack of type checks in pkgutil.walk_packages and friends

2017-06-04 Thread Sanyam Khurana
Sanyam Khurana added the comment: I've updated the PR with required changes along with the test. Please have a look and let me know if any changes are needed. -- ___ Python tracker <http://bugs.python.org/is

[issue30597] Show expected input in custom "print" error message

2017-06-08 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hi Nick, Can I work on this issue? -- nosy: +CuriousLearner ___ Python tracker <http://bugs.python.org/issue30597> ___ ___ Pytho

[issue30597] Show expected input in custom "print" error message

2017-06-08 Thread Sanyam Khurana
Changes by Sanyam Khurana : -- pull_requests: +2075 ___ Python tracker <http://bugs.python.org/issue30597> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4502] Allowing get_pre_input_hook from Readline

2019-02-23 Thread Sanyam Khurana
Sanyam Khurana added the comment: I'm working on applying this patch cleanly and writing a test for this. However, it seems I'm unable to import `readline` in compiled version of Python. I'm trying to provide a path to the installation of readline in my system using LD

[issue6911] Document changes in asynchat

2019-05-04 Thread Sanyam Khurana
Sanyam Khurana added the comment: Given that Python 2.x and async chat is deprecated in favor of new async io, we're better in closing this issue, rather than trying to apply this cleanly on the master branch. -- nosy: +CuriousLearner resolution: -> out of date stage: patc

[issue33187] Document ElementInclude (XInclude) support in ElementTree

2019-05-06 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hello Anjali, This PR is still lurking for your updates from almost 11 months. Please let us know if you're still working on this, else, we'll get this in. Thanks for your work! -- ___ Python track

[issue36822] Minor grammatical fix in glossary.rst

2019-05-06 Thread Sanyam Khurana
New submission from Sanyam Khurana : While working on translations, I saw a minor grammatical error in `Doc/glossary.rst`: ``` * The default Python prompt of the interactive shell when entering code for an indented code block ... ``` should be ``` * The default Python

[issue36822] Minor grammatical fix in glossary.rst

2019-05-06 Thread Sanyam Khurana
Change by Sanyam Khurana : -- keywords: +patch pull_requests: +13058 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2019-05-07 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hey Ron, Friendly ping :) Can you please convert this into a pull request? -- nosy: +CuriousLearner versions: +Python 3.9 ___ Python tracker <https://bugs.python.org/issue18

[issue36836] Test Suite not working on 3.4 and 3.5 on MacOS Mojave

2019-05-07 Thread Sanyam Khurana
New submission from Sanyam Khurana : I was testing this issue: https://bugs.python.org/issue10598 I checked both Python 3.4, 3.5, 3.6 and tagged commit v3.7.0 but I'm not able to run the test suite on any of them. I'm currently working on MacOS Mojave 10.14.4 I landed on i

[issue36836] Test Suite not working on 3.4, 3.5, 3.6, 3.7 on MacOS Mojave

2019-05-07 Thread Sanyam Khurana
Change by Sanyam Khurana : -- title: Test Suite not working on 3.4 and 3.5 on MacOS Mojave -> Test Suite not working on 3.4, 3.5, 3.6, 3.7 on MacOS Mojave ___ Python tracker <https://bugs.python.org/issu

[issue36836] Test Suite not working on 3.4, 3.5 on MacOS Mojave

2019-05-07 Thread Sanyam Khurana
Sanyam Khurana added the comment: I had to clean-up my build a bit, and it seems like it's not really happening on 3.6, but it is still an issue with 3.4, 3.5, etc. I've added a PR for 3.5 to resolve the issue. -- assignee: -> CuriousLearner title: Test Suite not w

[issue36836] Test Suite not working on 3.4, 3.5 on MacOS Mojave

2019-05-07 Thread Sanyam Khurana
Change by Sanyam Khurana : -- keywords: +patch pull_requests: +13083 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36836> ___ ___ Py

[issue36836] Test Suite not working on 3.4, 3.5 on MacOS Mojave

2019-05-07 Thread Sanyam Khurana
Sanyam Khurana added the comment: The issue does not seem to be on 3.7 and master branch, so I'm closing the bug as well as the pull request. -- resolution: -> out of date stage: patch review -> resolved status: open -> closed versions: +Python 3.5, Python 3

[issue18387] Add 'symbols' link to pydoc's html menu bar.

2019-05-09 Thread Sanyam Khurana
Change by Sanyam Khurana : -- pull_requests: +13135 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue18387> ___ ___ Python-bugs-lis

[issue36822] Minor grammatical fix in glossary.rst

2019-05-11 Thread Sanyam Khurana
Change by Sanyam Khurana : -- pull_requests: +13170 ___ Python tracker <https://bugs.python.org/issue36822> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25910] How many "critical"-level open issues are there?

2018-01-19 Thread Sanyam Khurana
Sanyam Khurana added the comment: Victor, there is just one last thing to do in here. All the links pointing to Github (that are build automatically) are permanently redirected from https://github.com/python/cpython/tree/master/* to https://github.com/python/cpython/blob/master/* I will

[issue32685] Erroneous suggestion in print statement

2018-01-27 Thread Sanyam Khurana
Sanyam Khurana added the comment: Thanks for the report Mayank! As we discussed offline, it is indeed reproducible if someone uses `print` on the same line (such as in this case, where a loop is used). I will look into this issue. -- ___ Python

[issue32685] Erroneous suggestion in print statement

2018-01-27 Thread Sanyam Khurana
Change by Sanyam Khurana : -- pull_requests: +5217 ___ Python tracker <https://bugs.python.org/issue32685> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue8525] Display exception's subclasses in help()

2018-02-08 Thread Sanyam Khurana
Change by Sanyam Khurana : -- assignee: -> CuriousLearner versions: +Python 3.8 -Python 3.7 ___ Python tracker <https://bugs.python.org/issue8525> ___ ___ Py

[issue24255] Replace debuglevel-related logic with logging

2018-02-20 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hey Erin, Can you please convert your patch to a PR on Github? -- nosy: +CuriousLearner ___ Python tracker <https://bugs.python.org/issue24

[issue33014] Clarify doc string for str.isidentifier()

2018-03-06 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hey David, I'm working on this issue. Will submit a PR in a while :) -- nosy: +CuriousLearner ___ Python tracker <https://bugs.python.org/is

[issue3014] file_dealloc() assumes errno is set when EOF is returned

2018-03-12 Thread Sanyam Khurana
Change by Sanyam Khurana : -- keywords: +patch pull_requests: +5849 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue3014> ___ ___ Py

[issue33014] Clarify str.isidentifier docstring; fix keyword.iskeyword docstring

2018-03-12 Thread Sanyam Khurana
Change by Sanyam Khurana : -- keywords: +patch pull_requests: +5850 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue33014] Clarify str.isidentifier docstring; fix keyword.iskeyword docstring

2018-03-12 Thread Sanyam Khurana
Sanyam Khurana added the comment: Carol, Yes, I've raised a PR. Currently, I've updated the docs for `str.isidentifier` clarifying the usage of `keyword.iskeyword` For updating the docstring of `keyword.iskeyword`, I saw that `Lib/Keyword.py` defines this on line 55: `iskeyword =

[issue24925] Allow doctest to find line number of __test__ strings if formatted as a triple quoted string.

2018-03-26 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hey Jurjen, Do you mind converting your patch in a Pull request please? -- nosy: +CuriousLearner ___ Python tracker <https://bugs.python.org/issue24

[issue31810] Travis CI, buildbots: run "make smelly" to check if CPython leaks symbols

2017-10-19 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hi Haypo, I'd like to work on a patch for this issue. Can you please guide me how the tests are configured for buildbots? -- nosy: +CuriousLearner ___ Python tracker <https://bugs.python.org/is

[issue31810] Travis CI, buildbots: run "make smelly" to check if CPython leaks symbols

2017-10-19 Thread Sanyam Khurana
Change by Sanyam Khurana : -- keywords: +patch pull_requests: +4023 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue31810> ___ ___ Py

[issue21862] cProfile command-line should accept "-m module_name" as an alternative to script path

2017-11-06 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hey, seems like this bug is not updated for a while. Can I work on this? -- nosy: +CuriousLearner ___ Python tracker <https://bugs.python.org/issue21

[issue21862] cProfile command-line should accept "-m module_name" as an alternative to script path

2017-11-06 Thread Sanyam Khurana
Sanyam Khurana added the comment: Thanks for the heads up! I'll do that ;) -- ___ Python tracker <https://bugs.python.org/issue21862> ___ ___ Python-bugs-l

[issue21862] cProfile command-line should accept "-m module_name" as an alternative to script path

2017-11-06 Thread Sanyam Khurana
Change by Sanyam Khurana : -- pull_requests: +4259 ___ Python tracker <https://bugs.python.org/issue21862> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19982] Add a "target" parameter to runpy.run_path and runpy.run_module

2017-11-06 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hey ncoghlan, Does this issue makes sense to be worked on for Python 3.7? -- nosy: +CuriousLearner ___ Python tracker <https://bugs.python.org/issue19

[issue21862] cProfile command-line should accept "-m module_name" as an alternative to script path

2017-11-08 Thread Sanyam Khurana
Sanyam Khurana added the comment: Thanks a lot Antoine and Nick :) -- ___ Python tracker <https://bugs.python.org/issue21862> ___ ___ Python-bugs-list mailin

[issue10598] Add test for curses haskey replacement

2017-11-08 Thread Sanyam Khurana
Sanyam Khurana added the comment: Is this bug still valid or we can just close it? -- nosy: +CuriousLearner ___ Python tracker <https://bugs.python.org/issue10

[issue16055] incorrect error text for int(base=1000, x='1')

2017-11-12 Thread Sanyam Khurana
Change by Sanyam Khurana : -- pull_requests: +4325 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue16055> ___ ___ Python-

[issue32028] Syntactically wrong suggestions by the new custom print statement error message

2017-11-14 Thread Sanyam Khurana
Sanyam Khurana added the comment: Sure, let me have a look at it and work on fix. -- ___ Python tracker <https://bugs.python.org/issue32028> ___ ___ Python-bug

[issue22671] Typo in class io.BufferedIOBase docs

2017-11-25 Thread Sanyam Khurana
Change by Sanyam Khurana : -- pull_requests: +4496 ___ Python tracker <https://bugs.python.org/issue22671> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25910] Fixing links in documentation

2017-12-02 Thread Sanyam Khurana
Change by Sanyam Khurana : -- pull_requests: +4582 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue25910> ___ ___ Python-bugs-list mai

[issue32197] Compiling against master branch fails; error: expected expression SET_DECODE_ERROR

2017-12-02 Thread Sanyam Khurana
New submission from Sanyam Khurana : The current master branch at commit af5a895073c24637c094772b27526b94a12ec897 fails while building the interpreter. The following is the traceback while running `make` after `./configure --with-pydebug` gcc -c -Wno-unused-result -Wsign-compare

[issue32197] Compiling against master branch fails; error: expected expression SET_DECODE_ERROR

2017-12-02 Thread Sanyam Khurana
Sanyam Khurana added the comment: I used git bisect to track down the commit that broke the build. Seems like this is the SHA: ebac19dad6263141d5db0a2c923efe049dba99d2 ebac19dad6263141d5db0a2c923efe049dba99d2 is the first bad commit commit ebac19dad6263141d5db0a2c923efe049dba99d2 Author

[issue32197] Compiling against master branch fails; error: expected expression SET_DECODE_ERROR

2017-12-02 Thread Sanyam Khurana
Sanyam Khurana added the comment: I tried to resolve the issue by trying to figure out the syntax for the SET_DECODE_ERROR macro. I tried to call a function from the macro, and eventually do the checking in that function. Second way I tried was to replace statement for macro instead of

[issue32197] Compiling against master branch fails; error: expected expression SET_DECODE_ERROR

2017-12-02 Thread Sanyam Khurana
Sanyam Khurana added the comment: Even a simple use of ternary operator instead of using if-else inside do-while to handle the macro like: #define SET_DECODE_ERROR(NAME, LEN) \ pymain->err = ((LEN) == (size_t)-2) \ ? _Py_INIT_USER_ERR("cannot decode " #NAME) \ : _Py_I

[issue32028] Syntactically wrong suggestions by the new custom print statement error message

2017-12-03 Thread Sanyam Khurana
Change by Sanyam Khurana : -- keywords: +patch pull_requests: +4601 stage: test needed -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue32197] Compiling against master branch fails; error: expected expression SET_DECODE_ERROR

2017-12-04 Thread Sanyam Khurana
Sanyam Khurana added the comment: Hey Victor, thanks for the update. I was confused about how the macro was replaced in the previous version. -- ___ Python tracker <https://bugs.python.org/issue32

[issue31506] Improve the error message logic for object_new & object_init

2017-12-05 Thread Sanyam Khurana
Sanyam Khurana added the comment: I'll work on a fix for this and issue a PR. -- nosy: +CuriousLearner ___ Python tracker <https://bugs.python.org/is

[issue31506] Improve the error message logic for object_new & object_init

2017-12-05 Thread Sanyam Khurana
Sanyam Khurana added the comment: Nick, I think the error messages are incorrect. We expect error message to be `takes no argument` rather than `takes exactly one argument`. Can you please confirm that? I think for the class without any method overrides, the functionality should be

[issue31506] Improve the error message logic for object_new & object_init

2017-12-06 Thread Sanyam Khurana
Change by Sanyam Khurana : -- pull_requests: +4643 stage: needs patch -> patch review ___ Python tracker <https://bugs.python.org/issue31506> ___ ___ Python-

[issue15045] Make textwrap.dedent() consistent with str.splitlines(True) and str.strip()

2017-12-08 Thread Sanyam Khurana
Sanyam Khurana added the comment: Ezra, can you please convert your patch to a Pull Request on Github? -- nosy: +CuriousLearner ___ Python tracker <https://bugs.python.org/issue15

[issue19678] smtpd.py: channel should be passed to process_message

2017-12-10 Thread Sanyam Khurana
Sanyam Khurana added the comment: Leslie, would you like to work on a patch for this? -- nosy: +CuriousLearner ___ Python tracker <https://bugs.python.org/issue19

[issue31506] Improve the error message logic for object_new & object_init

2017-12-11 Thread Sanyam Khurana
Sanyam Khurana added the comment: Serhiy, can you please elaborate on that a bit? I'll try to fix this. -- ___ Python tracker <https://bugs.python.org/is

[issue22671] Typo in class io.BufferedIOBase docs

2017-12-12 Thread Sanyam Khurana
Change by Sanyam Khurana : -- pull_requests: +4708 ___ Python tracker <https://bugs.python.org/issue22671> ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   >