[issue36908] "This module is always available" is confusing

2019-05-17 Thread Kushal Das
Kushal Das added the comment: In future we should do the similar change for any module. This will be helpful for new beginners. -- nosy: +kushal.das ___ Python tracker <https://bugs.python.org/issue36

[issue36908] "This module is always available" is confusing

2019-05-17 Thread Kushal Das
Kushal Das added the comment: New changeset 6faad355db6c2bd4a0ade7868f245b42c04f5337 by Kushal Das (Ned Batchelder) in branch 'master': bpo-36908: 'This module is always available' isn't helpful. (#13297) https://github.com/python/cpython/commit/6faad355db6c2bd

[issue30431] input function truncates prompt by NULL byte

2017-05-22 Thread Kushal Das
Changes by Kushal Das : -- nosy: +kushal.das ___ Python tracker <http://bugs.python.org/issue30431> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30431] input function truncates prompt by NULL byte

2017-05-22 Thread Kushal Das
Kushal Das added the comment: I am picking this up. -- assignee: -> kushal.das ___ Python tracker <http://bugs.python.org/issue30431> ___ ___ Python-bugs-lis

[issue30431] input function truncates prompt by NULL byte

2017-05-22 Thread Kushal Das
Changes by Kushal Das : -- pull_requests: +1828 ___ Python tracker <http://bugs.python.org/issue30431> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30376] Curses documentation refers to incorrect type

2017-05-22 Thread Kushal Das
Kushal Das added the comment: New changeset 93fc20b73eea3da0b6305aaee951e5dd22d5c408 by Kushal Das (Berker Peksag) in branch 'master': bpo-30376: Update outdated WindowObject references (#1630) https://github.com/python/cpython/commit/93fc20b73eea3da0b6305aaee951e5dd22d5c408 -

[issue30376] Curses documentation refers to incorrect type

2017-05-22 Thread Kushal Das
Changes by Kushal Das : -- pull_requests: +1835 ___ Python tracker <http://bugs.python.org/issue30376> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30376] Curses documentation refers to incorrect type

2017-05-22 Thread Kushal Das
Changes by Kushal Das : -- pull_requests: +1836 ___ Python tracker <http://bugs.python.org/issue30376> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30376] Curses documentation refers to incorrect type

2017-05-23 Thread Kushal Das
Kushal Das added the comment: New changeset 8af0a214be7c0c921ba5ce5c11043dd5b5da9211 by Kushal Das in branch '3.5': [3.5] bpo-30376: Update outdated WindowObject references (GH-1630) (#1747) https://github.com/python/cpython/commit/8af0a214be7c0c921ba5ce5c11043d

[issue30376] Curses documentation refers to incorrect type

2017-05-23 Thread Kushal Das
Kushal Das added the comment: New changeset 9bcf81da1436468c3c5e500ae36678a2ad675e32 by Kushal Das in branch '3.6': [3.6] bpo-30376: Update outdated WindowObject references (GH-1630) (#1746) https://github.com/python/cpython/commit/9bcf81da1436468c3c5e500ae36678

[issue30376] Curses documentation refers to incorrect type

2017-05-23 Thread Kushal Das
Kushal Das added the comment: Thanks for filing the bug, fixed now. Thank you Berker for the quick patch. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue30442] Skip test_xml_etree under coverage

2017-05-23 Thread Kushal Das
New submission from Kushal Das: test test_xml_etree failed -- Traceback (most recent call last): File "/home/travis/build/python/cpython/Lib/test/test_xml_etree.py", line 1553, in test_bug_xmltoolkit63 self.assertEqual(sys.getrefcount(None), count) AssertionError: 522146 != 522

[issue30442] Skip test_xml_etree under coverage

2017-05-23 Thread Kushal Das
Changes by Kushal Das : -- pull_requests: +1848 ___ Python tracker <http://bugs.python.org/issue30442> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30442] Skip test_xml_etree under coverage

2017-05-24 Thread Kushal Das
Kushal Das added the comment: New changeset 1de4705d00168afa8c5b6741af02e21fc609af58 by Kushal Das in branch 'master': bpo-30442: Skips refcount test in test_xml_etree under coverage (#1767) https://github.com/python/cpython/commit/1de4705d00168afa8c5b6741af02e2

[issue24758] unittest.mock.Mock's new "unsafe" feature needs a better error message

2019-05-08 Thread Kushal Das
Kushal Das added the comment: New changeset b9b08cd948de97d756a199b60becce8397a8c882 by Kushal Das (Zackery Spytz) in branch 'master': bpo-24758: Improve the error msg for unittest.mock.Mock()'s unsafe mode (#12991) https://github.com/python

[issue15615] More tests for JSON decoder to test Exceptions

2012-08-10 Thread Kushal Das
New submission from Kushal Das: Added two more tests in json module to test exception cases. test_extra_data: this test checks the error condition when we have extra data in the stream. test_invalid_escape: this test checks for the invalid escape sequence in the stream

[issue15615] More tests for JSON decoder to test Exceptions

2012-08-11 Thread Kushal Das
Kushal Das added the comment: Contributor's agreement signed and sent to the given email address. Thanks for the input. -- ___ Python tracker <http://bugs.python.org/is

[issue16053] "strict" parameter is not documented in csv module

2012-09-28 Thread Kushal Das
Kushal Das added the comment: csv.Dialect.strict is now documented. -- keywords: +patch nosy: +kushaldas Added file: http://bugs.python.org/file27340/csv_doc.patch ___ Python tracker <http://bugs.python.org/issue16

[issue16057] Subclasses of JSONEncoder should not be insturcted to call JSONEncoder.decode

2012-09-28 Thread Kushal Das
Kushal Das added the comment: The implementation clearly says that default method should return a serializable object or calls the base implementation to raise TypeError. So I don't think any of the examples is a bug. -- nosy: +kushaldas ___ P

[issue16071] fix link to email.message.Message in mailbox docs

2012-09-28 Thread Kushal Das
Kushal Das added the comment: But the whole 18.4.2 is mount mailbox.Message so, it seems to be correct documentation. email.Message.Message is properly mentioned in the 4th line properly. I don't think it is bug. -- nosy: +kushaldas ___ P

[issue16053] "strict" parameter is not documented in csv module

2012-09-28 Thread Kushal Das
Kushal Das added the comment: Updated with new patch -- Added file: http://bugs.python.org/file27341/csv_doc.patch ___ Python tracker <http://bugs.python.org/issue16

[issue16074] bad error message in os.rename

2012-09-28 Thread Kushal Das
Kushal Das added the comment: Now the printing the source name instead of the destination as the bug described. -- keywords: +patch nosy: +kushaldas Added file: http://bugs.python.org/file27342/os_rename.patch ___ Python tracker <h

[issue16074] bad error message in os.rename

2012-09-28 Thread Kushal Das
Kushal Das added the comment: Just for record the same issue can be seen in a Linux box also. I tested in a Fedora 17 system. -- ___ Python tracker <http://bugs.python.org/issue16

[issue16074] bad error message in os.rename

2012-09-28 Thread Kushal Das
Changes by Kushal Das : Removed file: http://bugs.python.org/file27342/os_rename.patch ___ Python tracker <http://bugs.python.org/issue16074> ___ ___ Python-bugs-list m

[issue16057] Subclasses of JSONEncoder should not be insturcted to call JSONEncoder.decode

2012-09-28 Thread Kushal Das
Kushal Das added the comment: Ok, I will submit a patch. -- ___ Python tracker <http://bugs.python.org/issue16057> ___ ___ Python-bugs-list mailing list Unsub

[issue16115] test that executable arg to Popen() takes precedence over args[0] arg

2012-10-03 Thread Kushal Das
Kushal Das added the comment: Attached patch which has a new test called test_executable_precedence to test precedence of executable argument over args[0]. -- keywords: +patch nosy: +kushaldas Added file: http://bugs.python.org/file27407/executable_precedence.patch

[issue16057] Subclasses of JSONEncoder should not be insturcted to call JSONEncoder.decode

2012-10-03 Thread Kushal Das
Kushal Das added the comment: Patch to update docstring and documentation with explicit saying that calling JSONEncoder.default raises a TypeError -- keywords: +patch Added file: http://bugs.python.org/file27408/explicit_json_doc_update_for_encoder_default.patch

[issue16057] Subclasses of JSONEncoder should not be insturcted to call JSONEncoder.decode

2012-10-03 Thread Kushal Das
Kushal Das added the comment: The previous patch should be back committed to all 3.x and 2.7 branch. -- ___ Python tracker <http://bugs.python.org/issue16

[issue16125] open accepts arbitrary mode strings as long as they contain U

2012-10-04 Thread Kushal Das
Kushal Das added the comment: I am working on patch for this. -- nosy: +kushaldas ___ Python tracker <http://bugs.python.org/issue16125> ___ ___ Python-bugs-list m

[issue16125] open accepts arbitrary mode strings as long as they contain U

2012-10-04 Thread Kushal Das
Kushal Das added the comment: Patch to update mode parsing of open call. All tests seem to be running ok. File changed: Objects/fileobject.c -- keywords: +patch Added file: http://bugs.python.org/file27411/open_mode2.patch ___ Python tracker <h

[issue16130] "Porting to Python 3.3" needs to be fixed in "What's new In Python 3.4"

2012-10-04 Thread Kushal Das
Kushal Das added the comment: Documentation patch to show correct Python version. -- keywords: +patch nosy: +kushaldas Added file: http://bugs.python.org/file27418/issue_16130.patch ___ Python tracker <http://bugs.python.org/issue16

[issue16137] Using time.asctime() with an array with negative tm_hour causes Python Crash.

2012-10-04 Thread Kushal Das
Kushal Das added the comment: Can not reproduce this on 2.7.3 on Fedora 17, x86_64. -- nosy: +kushaldas ___ Python tracker <http://bugs.python.org/issue16

[issue16115] test that executable arg to Popen() takes precedence over args

2012-10-06 Thread Kushal Das
Kushal Das added the comment: On Saturday, October 6, 2012, Andrew Svetlov wrote: > > Andrew Svetlov added the comment: > > Committed. Thank you, Kushal Das. > BTW, please fill http://www.python.org/psf/contrib/ as contributor of > Python project. > We would to get that agr

[issue15880] os.path.split() and long UNC names

2012-10-08 Thread Kushal Das
Kushal Das added the comment: splitunc is deprecated since 3.1. It is also written in the code that "Paths containing drive letters never have an UNC part" -- nosy: +kushaldas ___ Python tracker <http://bugs.python.o

[issue14039] Add "metavar" argument to add_subparsers() in argparse

2012-10-09 Thread Kushal Das
Changes by Kushal Das : -- nosy: +kushaldas ___ Python tracker <http://bugs.python.org/issue14039> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16061] performance regression in string replace for 3.3

2012-10-09 Thread Kushal Das
Changes by Kushal Das : -- nosy: +kushaldas ___ Python tracker <http://bugs.python.org/issue16061> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16125] open accepts arbitrary mode strings as long as they contain U

2012-10-09 Thread Kushal Das
Kushal Das added the comment: So, should I submit a new patch which will just put a warning ? -- ___ Python tracker <http://bugs.python.org/issue16125> ___ ___

[issue16238] Automatically remove build directory when build options changed

2012-10-15 Thread Kushal Das
Changes by Kushal Das : -- nosy: +kushaldas ___ Python tracker <http://bugs.python.org/issue16238> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16245] Update html.entities.html5 dictionary and parseentities.py

2012-10-16 Thread Kushal Das
Changes by Kushal Das : -- nosy: +kushaldas ___ Python tracker <http://bugs.python.org/issue16245> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16268] dir(closure) claims that a closure has no __dir__, only to work later after manually invoking __dir__ from its type

2012-10-17 Thread Kushal Das
Changes by Kushal Das : -- nosy: +kushaldas ___ Python tracker <http://bugs.python.org/issue16268> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21169] getpass.getpass() fails with non-ASCII characters in prompt

2014-04-08 Thread Kushal Das
Kushal Das added the comment: Here is a patch which stops the breakage in getpass for python3. -- keywords: +patch nosy: +kushaldas Added file: http://bugs.python.org/file34766/issue21169.patch ___ Python tracker <http://bugs.python.org/issue21

[issue21169] getpass.getpass() fails with non-ASCII characters in prompt

2014-04-08 Thread Kushal Das
Kushal Das added the comment: Version 2 of the patch with a test update. -- Added file: http://bugs.python.org/file34767/issue21169_v2.patch ___ Python tracker <http://bugs.python.org/issue21

[issue21170] Incorrect signature for unittest.TestResult.startTestRun(), .stopTestRun()

2014-04-08 Thread Kushal Das
Kushal Das added the comment: Here is a patch which fixes the documentation for unittest. -- keywords: +patch nosy: +kushaldas Added file: http://bugs.python.org/file34772/issue21170.patch ___ Python tracker <http://bugs.python.org/issue21

[issue21182] json.loads errors out on valid JSON

2014-04-08 Thread Kushal Das
Kushal Das added the comment: It is not a valid JSON. You may want to validate it against http://jsonlint.com/ What you have inside the string (single quotes) is the JSON representation but not the string representation which json.loads is supposed to parse. -- nosy: +kushaldas

[issue21169] getpass.getpass() fails with non-ASCII characters in prompt

2014-04-09 Thread Kushal Das
Kushal Das added the comment: Updated patch with discovering of currect locale and corresponding test case. -- Added file: http://bugs.python.org/file34775/issue21169_v3.patch ___ Python tracker <http://bugs.python.org/issue21

[issue21169] getpass.getpass() fails with non-ASCII characters in prompt

2014-04-09 Thread Kushal Das
Kushal Das added the comment: New patch with actual test case :) -- Added file: http://bugs.python.org/file34776/issue21169_v4.patch ___ Python tracker <http://bugs.python.org/issue21

[issue21169] getpass.getpass() fails with non-ASCII characters in prompt

2014-04-13 Thread Kushal Das
Kushal Das added the comment: Here is a new patch which uses stream.encoding instead getting the encoding from the locale as suggested by David. It also contains the new test. -- Added file: http://bugs.python.org/file34807/issue21169_v5.patch

[issue21169] getpass.getpass() fails with non-ASCII characters in prompt

2014-04-13 Thread Kushal Das
Kushal Das added the comment: New patchset with updated test, now sending ascii stream into the call as argument. -- Added file: http://bugs.python.org/file34810/issue21169_v6.patch ___ Python tracker <http://bugs.python.org/issue21

[issue21169] getpass.getpass() fails with non-ASCII characters in prompt

2014-04-14 Thread Kushal Das
Kushal Das added the comment: Another patch with docs update and one line code comment. -- Added file: http://bugs.python.org/file34815/issue21169_v7.patch ___ Python tracker <http://bugs.python.org/issue21

[issue17498] error responses from server are masked in smtplib when server closes connection

2014-04-14 Thread Kushal Das
Kushal Das added the comment: New version of the patch which can be successfully applied to tip. -- Added file: http://bugs.python.org/file34817/issue17498_v2.patch ___ Python tracker <http://bugs.python.org/issue17

[issue17660] mock.patch could whitelist builtins to not need create=True

2014-04-14 Thread Kushal Das
Kushal Das added the comment: Updated patch with builtins module. -- versions: +Python 3.4 -Python 3.5 Added file: http://bugs.python.org/file34825/issue17660_v3.patch ___ Python tracker <http://bugs.python.org/issue17

[issue17826] Setting a side_effect on mock from create_autospec doesn't work

2014-04-14 Thread Kushal Das
Kushal Das added the comment: New patch with fix in proper place for side_effect for functions (includes test case). -- versions: +Python 3.3 -Python 3.5 Added file: http://bugs.python.org/file34838/issue17826_v3.patch ___ Python tracker <h

[issue17861] put opcode information in one place

2014-04-14 Thread Kushal Das
Kushal Das added the comment: New patch with .hgtouch file details. -- versions: +Python 3.4 -Python 3.5 Added file: http://bugs.python.org/file34842/issue17861_v3.patch ___ Python tracker <http://bugs.python.org/issue17

[issue21222] Mock create_autospec with name argument fails

2014-04-14 Thread Kushal Das
New submission from Kushal Das: >>> from unittest import mock >>> def b(): ... print("hello") ... >>> q = mock.create_autospec(b, name="a") Traceback (most recent call last): File "", line 1, in File "/home/kdas/code/python/

[issue21222] Mock create_autospec with name argument fails

2014-04-14 Thread Kushal Das
Kushal Das added the comment: Fix for the issue with test case. We are checking name in keyword arguments, if found replace _name with it and delete it from keyword arguments. -- keywords: +patch Added file: http://bugs.python.org/file34854/issue21222.patch

[issue17861] put opcode information in one place

2014-04-14 Thread Kushal Das
Kushal Das added the comment: New patch with proper changesets. -- Added file: http://bugs.python.org/file34855/issue17861_v4.patch ___ Python tracker <http://bugs.python.org/issue17

[issue21229] Path used for HTTP PUT request doesn't match the description

2014-04-14 Thread Kushal Das
Kushal Das added the comment: You should have a look at the following guides: https://docs.python.org/devguide/docquality.html https://docs.python.org/devguide/patch.html -- nosy: +kushal.das ___ Python tracker <http://bugs.python.org/issue21

[issue17861] put opcode information in one place

2014-04-15 Thread Kushal Das
Kushal Das added the comment: New patch from a clean repo, with changed opcode.h -- Added file: http://bugs.python.org/file34872/issue17861_v5.patch ___ Python tracker <http://bugs.python.org/issue17

[issue21222] Mock create_autospec with name argument fails

2014-04-15 Thread Kushal Das
Kushal Das added the comment: New patchset with changes made as suggested. -- Added file: http://bugs.python.org/file34881/issue21222_v2.patch ___ Python tracker <http://bugs.python.org/issue21

[issue17861] put opcode information in one place

2014-04-15 Thread Kushal Das
Kushal Das added the comment: New patch with changes as suggested by Brett. -- Added file: http://bugs.python.org/file34883/issue17861_v6.patch ___ Python tracker <http://bugs.python.org/issue17

[issue21238] unittest.mock.Mock should not allow you to use non-existent assert methods

2014-04-16 Thread Kushal Das
Kushal Das added the comment: Patch with docs and test changes. -- keywords: +patch Added file: http://bugs.python.org/file34912/issue21238.patch ___ Python tracker <http://bugs.python.org/issue21

[issue21256] Sort keyword arguments in mock _format_call_signature

2014-04-16 Thread Kushal Das
Kushal Das added the comment: Patch uploaded for the same. -- keywords: +patch Added file: http://bugs.python.org/file34914/issue21256.patch ___ Python tracker <http://bugs.python.org/issue21

[issue21262] assert_not_called method for mocks

2014-04-16 Thread Kushal Das
Kushal Das added the comment: Patch with required changes. Code, docs, test and Misc/NEWS entry. -- keywords: +patch Added file: http://bugs.python.org/file34921/issue21262.patch ___ Python tracker <http://bugs.python.org/issue21

[issue21256] Sort keyword arguments in mock _format_call_signature

2014-04-21 Thread Kushal Das
Kushal Das added the comment: New patch with test and news entry. -- Added file: http://bugs.python.org/file34998/issue21256_v2.patch ___ Python tracker <http://bugs.python.org/issue21

[issue16459] sys.stdout.write printing length of string

2012-11-11 Thread Kushal Das
Kushal Das added the comment: sys.stdout.write returns the length of the string it printed. try these: x = sys.stdout.write("abc") print x or from console python -c 'import sys ; sys.stdout.write("abc")' -- nosy: +kushaldas

[issue16493] Document the 'optimize' argument to compile()

2012-11-17 Thread Kushal Das
Kushal Das added the comment: I will submit a patch if no one is working on it. -- nosy: +kushaldas ___ Python tracker <http://bugs.python.org/issue16493> ___ ___

[issue16493] Document the 'optimize' argument to compile()

2012-11-19 Thread Kushal Das
Kushal Das added the comment: I guess somebody already did the work http://docs.python.org/3.4/library/functions.html?highlight=compile#compile ? -- ___ Python tracker <http://bugs.python.org/issue16

[issue16799] switch regrtest from getopt options to argparse Namespace

2013-01-04 Thread Kushal Das
Kushal Das added the comment: The patches look good. Applied successfully and tests ran ok. -- nosy: +kushaldas ___ Python tracker <http://bugs.python.org/issue16

[issue17080] A better error message for float()

2013-01-30 Thread Kushal Das
Changes by Kushal Das : -- nosy: +kushaldas ___ Python tracker <http://bugs.python.org/issue17080> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19167] sqlite3 cursor.description varies across Linux (3.3.1), Win32 (3.3.2), when selecting from a view.

2013-10-08 Thread Kushal Das
Kushal Das added the comment: Looking at the code, it seems to be a sqlite issue. -- nosy: +kushaldas ___ Python tracker <http://bugs.python.org/issue19

[issue19716] test that touch doesn't change file contents

2013-11-22 Thread Kushal Das
Kushal Das added the comment: i will submit a patch tomorrow. -- nosy: +kushaldas ___ Python tracker <http://bugs.python.org/issue19716> ___ ___ Python-bugs-list m

[issue19716] test that touch doesn't change file contents

2013-11-22 Thread Kushal Das
Kushal Das added the comment: Patch to check no change in file content after pathlib.touch(). -- keywords: +patch Added file: http://bugs.python.org/file32792/issue19716_v1.patch ___ Python tracker <http://bugs.python.org/issue19

[issue21270] unittest.mock.call object has inherited count method

2014-07-07 Thread Kushal Das
Kushal Das added the comment: To start with I am overriding count and index method. Do you think this is enough? -- ___ Python tracker <http://bugs.python.org/issue21

[issue21270] unittest.mock.call object has inherited count method

2014-09-09 Thread Kushal Das
Kushal Das added the comment: Forgot to attach the patch. Includes NEWS entry. Overriden methods count() and index(). -- keywords: +patch Added file: http://bugs.python.org/file36581/issue21270.patch ___ Python tracker <http://bugs.python.

[issue21270] unittest.mock.call object has inherited count method

2014-09-16 Thread Kushal Das
Kushal Das added the comment: Uploading the second version of the patch. -- Added file: http://bugs.python.org/file36630/issue21270_v2.patch ___ Python tracker <http://bugs.python.org/issue21

[issue20842] pkgutil docs should reference glossary terms not PEP 302

2014-03-13 Thread Kushal Das
Kushal Das added the comment: Will submit a patch for this. -- nosy: +kushaldas ___ Python tracker <http://bugs.python.org/issue20842> ___ ___ Python-bugs-list m

[issue29274] Change “tests cases” → “test cases”

2017-01-15 Thread Kushal Das
Kushal Das added the comment: The patch looks good to me. -- nosy: +kushal.das ___ Python tracker <http://bugs.python.org/issue29274> ___ ___ Python-bugs-list m

[issue28735] Mock is equal to ANY but MagicMock is not

2017-01-20 Thread Kushal Das
Kushal Das added the comment: >From a checkout in last week. Python 3.7.0a0 (default:c163a76163f7, Jan 15 2017, 22:20:24) [GCC 6.3.1 20161221 (Red Hat 6.3.1-1)] on linux Type "help", "copyright", "credits" or "license" for more information.

[issue28735] Mock is equal to ANY but MagicMock is not

2017-01-20 Thread Kushal Das
Kushal Das added the comment: Now I understood, thanks. I think I should have more coffee before commenting on bugs :) -- ___ Python tracker <http://bugs.python.org/issue28

[issue21271] reset_mock needs parameters to also reset return_value and side_effect

2016-06-02 Thread Kushal Das
Kushal Das added the comment: Fixed in https://hg.python.org/cpython/rev/b110dd3d6cea -- status: open -> closed ___ Python tracker <http://bugs.python.org/issu

[issue19234] socket.fileno() documentation

2016-06-02 Thread Kushal Das
Kushal Das added the comment: Adds more lines to explain the behavior of socket.fileno() in case of error. -- keywords: +patch nosy: +kushal.das Added file: http://bugs.python.org/file43103/issue19234.patch ___ Python tracker <h

[issue25548] Show the address in the repr for class objects

2016-06-02 Thread Kushal Das
Kushal Das added the comment: Attaching the patch for the same. Had to update the test cases for the following tests to have this behavior as expected. test_functools test_cmd_line_script test_ctypes test_defaultdict test_descr test_descrtut test_doctest test_generators test_genexps

[issue25548] Show the address in the repr for class objects

2016-06-03 Thread Kushal Das
Kushal Das added the comment: Uploading the new patch with a new test case for the same. -- Added file: http://bugs.python.org/file43151/issue25548v2.patch ___ Python tracker <http://bugs.python.org/issue25

[issue25548] Show the address in the repr for class objects

2016-06-03 Thread Kushal Das
Kushal Das added the comment: Hey Raymond, I am uploading the patch which I almost committed along with whats new update :) I am also reassigning the ticket to you so that you can decide the next steps. -- assignee: kushal.das -> rhettinger Added file: http://bugs.python.org/file43

[issue25548] Show the address in the repr for class objects

2016-07-12 Thread Kushal Das
Kushal Das added the comment: The NEWS file got a typo. Thanks for noticing that. This change did require a lot of updates to the tests. If rest of the people agrees to revert this change, then we should go ahead and do it. Just wondering if Raymond has anything to add

[issue27584] New addition of vSockets to the python socket module

2016-08-10 Thread Kushal Das
Kushal Das added the comment: The patch can be applied, and build successfully. I have ran the current test suite[1]. The two failed tests do not seem to be have anything to do with this patch (read the end of the consoleText output). I think the thing remaining is the new test cases, and

[issue17256] code example in C API docsshould be highlighted

2013-02-21 Thread Kushal Das
Kushal Das added the comment: Following patch solves the problem. -- keywords: +patch nosy: +kushaldas Added file: http://bugs.python.org/file29154/issue17256.patch ___ Python tracker <http://bugs.python.org/issue17

[issue17227] devguide: buggy heading numbers

2013-02-21 Thread Kushal Das
Kushal Das added the comment: Adding a patch to fix this issue. -- keywords: +patch nosy: +kushaldas Added file: http://bugs.python.org/file29155/issue17227.patch ___ Python tracker <http://bugs.python.org/issue17

[issue17227] devguide: buggy heading numbers

2013-02-21 Thread Kushal Das
Kushal Das added the comment: >I had tried this, but doesn't this make the contents in the left side bar >unwieldy (and perhaps also on the devguide index page) -- is that what we >want? I was under the assumption that the purpose of the tocdepth directive >was to avoid t

[issue17227] devguide: buggy heading numbers

2013-02-21 Thread Kushal Das
Kushal Das added the comment: I found that http://docs.python.org/devguide/stdlibchanges.html also has left side bar text with full index just like my patch does. For FAQ the problem is title texts are kind of long so they look bad. -- ___ Python

[issue15465] Improved documentation for C API version info

2013-02-26 Thread Kushal Das
Kushal Das added the comment: Attaching patch with the initial documentation of the macros. It also fixes the typo in the title of stable API section. -- keywords: +patch nosy: +kushaldas Added file: http://bugs.python.org/file29258/issue15465.patch

[issue15465] Improved documentation for C API version info

2013-02-27 Thread Kushal Das
Kushal Das added the comment: Adding the updated patch with changes as suggested in the review -- Added file: http://bugs.python.org/file29260/issue15465v2.patch ___ Python tracker <http://bugs.python.org/issue15

[issue15465] Improved documentation for C API version info

2013-02-27 Thread Kushal Das
Kushal Das added the comment: version 3 of the patch where sys.hexversion table is moved and now a link to api and abi versioning given. -- Added file: http://bugs.python.org/file29277/issue15465v3.patch ___ Python tracker <http://bugs.python.

[issue15465] Improved documentation for C API version info

2013-03-05 Thread Kushal Das
Changes by Kushal Das : Added file: http://bugs.python.org/file29313/issue15465v4.patch ___ Python tracker <http://bugs.python.org/issue15465> ___ ___ Python-bugs-list m

[issue15465] Improved documentation for C API version info

2013-03-05 Thread Kushal Das
Kushal Das added the comment: version 4 of the patch contains a new column in table as Bytes as suggested by Ezio Melotti -- ___ Python tracker <http://bugs.python.org/issue15

[issue15465] Improved documentation for C API version info

2013-03-05 Thread Kushal Das
Kushal Das added the comment: Attached version 5 of the patch with changes based on suggestions of ncoghlan -- Added file: http://bugs.python.org/file29321/issue15465v5.patch ___ Python tracker <http://bugs.python.org/issue15

[issue17409] resource.setrlimit doesn't respect -1

2013-03-17 Thread Kushal Das
Kushal Das added the comment: On Fedora 17, x86_64 ./python Python 3.4.0a0 (default:fb50eb64e097, Feb 22 2013, 11:43:18) [GCC 4.7.2 20120921 (Red Hat 4.7.2-2)] on linux Type "help", "copyright", "credits" or "license" for more information. >&

[issue17358] imp.load_module() leads to the improper caching of the 'file' argument

2013-03-18 Thread Kushal Das
Kushal Das added the comment: Working on a patch for this. -- nosy: +kushaldas ___ Python tracker <http://bugs.python.org/issue17358> ___ ___ Python-bugs-list m

[issue17358] imp.load_module() leads to the improper caching of the 'file' argument

2013-03-18 Thread Kushal Das
Kushal Das added the comment: Can not reproduce it :( -- ___ Python tracker <http://bugs.python.org/issue17358> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5713] smtplib gets out of sync if server returns a 421 status

2013-03-20 Thread Kushal Das
Kushal Das added the comment: Here is a patch along with test case update which can be cleanly applied into default. -- nosy: +kushaldas Added file: http://bugs.python.org/file29507/issue5713.patch ___ Python tracker <http://bugs.python.

  1   2   >