[issue26187] sqlite3 trace callback prints duplicate line

2017-03-03 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- pull_requests: +360 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26187> ___ _

[issue26187] sqlite3 trace callback prints duplicate line

2017-03-03 Thread Anish Shah
Anish Shah added the comment: I can work on this. -- nosy: +anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26187> ___ ___

[issue27645] Supporting native backup facility of SQLite

2017-03-02 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- nosy: +anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27645> ___ _

[issue29693] DeprecationWarning/SyntaxError in test_import

2017-03-02 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- pull_requests: +350 ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29693> ___ _

[issue29693] DeprecationWarning/SyntaxError in test_import

2017-03-02 Thread Anish Shah
Anish Shah added the comment: I'm not able to reproduce the SyntaxError on latest commit 902e9c50e31209e796b6bbe26f8d2f57ec12071b on master branch. -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue29693] DeprecationWarning/SyntaxError in test_import

2017-03-02 Thread Anish Shah
Anish Shah added the comment: I will try to work on this! :) -- nosy: +anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue22234] urllib.parse.urlparse accepts any falsy value as an url

2016-04-26 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- nosy: -anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22234> ___ _

[issue26553] Write HTTP in uppercase

2016-03-14 Thread Anish Shah
Anish Shah added the comment: Patch for urllib and httplib in Python 2 -- keywords: +patch nosy: +anish.shah Added file: http://bugs.python.org/file42159/issue26553.patch ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue26553] Write HTTP in uppercase

2016-03-14 Thread Anish Shah
Anish Shah added the comment: Patch for http.client in Python3 -- Added file: http://bugs.python.org/file42160/issue26553-python3.patch ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue26252] Add an example to importlib docs on setting up an importer

2016-02-27 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- nosy: -anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26252> ___ _

[issue26269] zipfile should call lstat instead of stat if available

2016-02-27 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- nosy: -anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26269> ___ _

[issue26283] zipfile can not handle the path build by os.path.join()

2016-02-27 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- nosy: -anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26283> ___ _

[issue26386] tkinter - Treeview - .selection_add and selection_toggle

2016-02-24 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- nosy: -anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26386> ___ _

[issue26281] Clear sys.path_importer_cache from importlib.invalidate_caches()

2016-02-22 Thread Anish Shah
Anish Shah added the comment: Hi Brett, I'm looking for some issues to solve. Is this issue confirmed? Can I work on this? -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue26396] Create json.JSONType

2016-02-22 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- nosy: +anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26396> ___ _

[issue22234] urllib.parse.urlparse accepts any falsy value as an url

2016-02-22 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- nosy: +anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22234> ___ _

[issue26386] tkinter - Treeview - .selection_add and selection_toggle

2016-02-18 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- nosy: +anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26386> ___ _

[issue26149] Suggest PyCharm Community as an editor for Unix platforms

2016-02-18 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- nosy: +anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26149> ___ _

[issue26302] cookies module allows commas in keys

2016-02-17 Thread Anish Shah
Anish Shah added the comment: Is this patch ready to merge? -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26302> ___ ___ Pyth

[issue26209] TypeError in smtpd module with string arguments

2016-02-13 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- nosy: -anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26209> ___ _

[issue26282] Add support for partial keyword arguments in extension functions

2016-02-12 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- nosy: -anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26282> ___ _

[issue26209] TypeError in smtpd module with string arguments

2016-02-12 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- nosy: +anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26209> ___ _

[issue26302] cookies module allows commas in keys

2016-02-07 Thread Anish Shah
Anish Shah added the comment: I ran regex and issuperset version on a random string. The regex one gives better performance. So, I have included the re.escape in the patch. >>> random_str = ''.join(random.choice(_LegalChars) for _ in range(10 ** 8)) >>> is_legal_key

[issue26302] cookies module allows commas in keys

2016-02-07 Thread Anish Shah
Anish Shah added the comment: _LegalKeyChars contains "\-" whereas _LegalChars just contains "-". On Sun, Feb 7, 2016 at 4:33 PM, Martin Panter <rep...@bugs.python.org> wrote: > > Martin Panter added the comment: > > I take that back about _Cook

[issue26302] cookies module allows commas in keys

2016-02-06 Thread Anish Shah
Anish Shah added the comment: We just need to use '\-' instead of '-'. ``` >>> regex = re.compile("[a-z]") >>> bool(regex.match('b')) True >>> regex = re.compile("[a\-z]") >>> bool(regex.match('b')) False ``` I have up

[issue26302] cookies module allows commas in keys

2016-02-06 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- nosy: +anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26302> ___ _

[issue26136] DeprecationWarning for PEP 479 (generator_stop)

2016-02-06 Thread Anish Shah
Anish Shah added the comment: @martin.panter Any reviews for the patch? Is it ready to merge? -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue26302] cookies module allows commas in keys

2016-02-06 Thread Anish Shah
Anish Shah added the comment: @serhiy.storchaka OK, I have used re.escape instead of '\'. And I have added a test too. Also, may I know why '\' can not be in _LegalChars, so that I can remember this for future purpose? -- Added file: http://bugs.python.org/file41837

[issue26136] DeprecationWarning for PEP 479 (generator_stop)

2016-02-06 Thread Anish Shah
Anish Shah added the comment: @martin.panter I have fixed the What's New docs. I have updated the patch. Thanks! -- Added file: http://bugs.python.org/file41840/issue26136_20160207.patch ___ Python tracker <rep...@bugs.python.org>

[issue21573] Clean up turtle.py code formatting

2016-02-06 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- nosy: +anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21573> ___ _

[issue26269] zipfile should call lstat instead of stat if available

2016-02-04 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- nosy: +anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26269> ___ _

[issue26136] DeprecationWarning for PEP 479 (generator_stop)

2016-02-03 Thread Anish Shah
Anish Shah added the comment: Thanks @martin.panter. I learnt something new, I didn't know about annotate before. I have updated the patch. Thanks again. -- Added file: http://bugs.python.org/file41800/issue26136_20160204.patch ___ Python tracker

[issue26283] zipfile can not handle the path build by os.path.join()

2016-02-03 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- nosy: +anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26283> ___ _

[issue26252] Add an example to importlib docs on setting up an importer

2016-02-03 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- nosy: +anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26252> ___ _

[issue26281] Clear sys.path_importer_cache from importlib.invalidate_caches()

2016-02-03 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- nosy: +anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26281> ___ _

[issue26282] Add support for partial keyword arguments in extension functions

2016-02-03 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- nosy: +anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26282> ___ _

[issue26263] Serialize array.array to JSON by default

2016-02-03 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- nosy: +anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26263> ___ _

[issue26136] DeprecationWarning for PEP 479 (generator_stop)

2016-02-03 Thread Anish Shah
Anish Shah added the comment: Yes @martin.panter, the tests were failing. But, I didn't know where the tests for PendingDeprecationWarning were added. Thanks for telling the changeset. I have updated the patch. Can you please have a look? -- Added file: http://bugs.python.org

[issue26182] Deprecation warnings for the future async and await keywords

2016-02-02 Thread Anish Shah
Anish Shah added the comment: I would like to work on this, if it is okay with Marco? I look at the history of parsetok.c file and I think I can solve this issue. Also, I have a doubt - PEP 492 says that "async and await names will be softly deprecated in CPython 3.5 and 3.6". Wh

[issue24780] unittest assertEqual difference output foiled by newlines

2016-02-02 Thread Anish Shah
Anish Shah added the comment: The problem is in `difflib.ndiff` function. When the string does not have a trailing newline, we get an unreadable output. After applying my patch, the following is the output of test2.py (submitted by Elena.Oat).

[issue24780] unittest assertEqual difference output foiled by newlines

2016-02-02 Thread Anish Shah
Anish Shah added the comment: I would like to work on this.. -- nosy: +anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue26136] DeprecationWarning for PEP 479 (generator_stop)

2016-02-02 Thread Anish Shah
Anish Shah added the comment: I have submitted a patch. I have replace `PyExc_PendingDeprecationWarning` to `PyExc_DeprecationWarning` in Objects/genobject.c Can anyone please review? -- keywords: +patch Added file: http://bugs.python.org/file41783/issue26136.patch

[issue26182] Deprecation warnings for the future async and await keywords

2016-01-27 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- nosy: +anish.shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26182> ___ _

[issue12484] The Py_InitModule functions no longer exist, but remain in the docs

2015-12-24 Thread Anish Shah
Anish Shah added the comment: @brett.cannon Thanks! I have updated the patch. I removed "_PyImport_FixupExtension" from docs. -- Added file: http://bugs.python.org/file41404/issue12484.patch ___ Python tracker <rep...@bugs.pyth

[issue12484] The Py_InitModule functions no longer exist, but remain in the docs

2015-12-23 Thread Anish Shah
Anish Shah added the comment: Can anyone review the patch? -- ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12484> ___ ___ Pyth

[issue12484] The Py_InitModule functions no longer exist, but remain in the docs

2015-12-14 Thread Anish Shah
Anish Shah added the comment: will try to create a patch for this issue in a day. Thanks! -- nosy: +Anish.Shah ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue12484] The Py_InitModule functions no longer exist, but remain in the docs

2015-12-14 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- keywords: +patch Added file: http://bugs.python.org/file41310/remove_Py_InitModule_from_docs.patch ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue25346] test_regrtest fails because 'sys' is not imported.

2015-10-08 Thread Anish Shah
Changes by Anish Shah <shah.anis...@gmail.com>: -- components: Tests files: test_regrtest.patch keywords: patch nosy: Anish Shah, python-dev, steve.dower priority: normal severity: normal status: open title: test_regrtest fails because 'sys' is not imported. versions: Python 3.6