[issue17972] inspect module docs omits many functions

2017-12-21 Thread Anand Reddy Pandikunta
Change by Anand Reddy Pandikunta <anand21na...@gmail.com>: -- nosy: +chillaranand ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue23174] shelve.open fails with error "anydbm.error: db type could not be determined"

2017-04-16 Thread Anand Reddy Pandikunta
Anand Reddy Pandikunta added the comment: dbm.whichdb mentions that it returns empty string ('') if the file’s format can’t be guessed. Enhancing exception message should suffice. -- nosy: +ChillarAnand ___ Python tracker <rep...@bugs.python.

[issue12276] 3.x ignores sys.tracebacklimit=0

2017-01-01 Thread Anand Reddy Pandikunta
Anand Reddy Pandikunta added the comment: Update patch with better assertions -- Added file: http://bugs.python.org/file46110/Limit-traceback-if-sys.tracebacklimit-is-set.patch ___ Python tracker <rep...@bugs.python.org> <http://bugs.p

[issue12276] 3.x ignores sys.tracebacklimit=0

2016-12-27 Thread Anand Reddy Pandikunta
Anand Reddy Pandikunta added the comment: This patch fixes the issue. I have also added 2 test cases to make sure it works. -- keywords: +patch nosy: +ChillarAnand -docs@python Added file: http://bugs.python.org/file46053/Limit-traceback-if-sys.tracebacklimit-is-set.patch

[issue28917] Docs: Add missing protocol to pickle

2016-12-09 Thread Anand Reddy Pandikunta
Anand Reddy Pandikunta added the comment: Yes, Thanks. -- resolution: -> not a bug status: open -> closed ___ Python tracker <rep...@bugs.python.org> <http://bugs.python

[issue28917] Docs: Add missing protocol to pickle

2016-12-08 Thread Anand Reddy Pandikunta
New submission from Anand Reddy Pandikunta: In Python 2.7, it is documented. It is missing in Python 3 documentation. -- assignee: docs@python components: Documentation files: docs_pickle_add_missing_protocol.patch keywords: patch messages: 282764 nosy: ChillarAnand, abz64, docs@python

[issue24008] inspect.getsource is failing for sys.excepthook

2015-04-19 Thread Anand Reddy Pandikunta
New submission from Anand Reddy Pandikunta: inspect.getsource(sys.excepthook) Traceback (most recent call last): File stdin, line 1, in module File /usr/local/lib/python2.7/inspect.py, line 701, in getsource lines, lnum = getsourcelines(object) File /usr/local/lib/python2.7/inspect.py

[issue23310] Mock constructor configuration fails for magic methods

2015-03-23 Thread Anand Reddy Pandikunta
Anand Reddy Pandikunta added the comment: mock itself fails -- nosy: +Anand Reddy Pandikunta title: MagicMock constructor configuration fails for magic methods - Mock constructor configuration fails for magic methods Added file: http://bugs.python.org/file38654/test_mock.py