[issue227470] Memory leak in bdb

2022-04-10 Thread admin
Change by admin : -- github: None -> 33660 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue515005] remove pychecker warnings in bdb

2022-04-10 Thread admin
Change by admin : -- github: None -> 36057 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue18567] Python 2.7.5 CENTOS6 Error building dbm using bdb

2020-04-26 Thread Zachary Ware
Zachary Ware added the comment: Sorry this issue never got attention, but Python 2.7 has now reached end-of-life and with it the _bsddb module. As such, I'm going to go ahead and close this issue. -- nosy: +zach.ware resolution: -> out of date stage: -> resolved status: open ->

[issue39967] bdb calls linecache.checkcache, resulting in source being different from code

2020-03-15 Thread daniel hahler
Change by daniel hahler : -- keywords: +patch pull_requests: +18360 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19013 ___ Python tracker ___

[issue39967] bdb calls linecache.checkcache, resulting in source being different from code

2020-03-15 Thread daniel hahler
severity: normal status: open title: bdb calls linecache.checkcache, resulting in source being different from code versions: Python 3.9 ___ Python tracker <https://bugs.python.org/issue39

[issue19417] Bdb: add a unittest file (test.test_bdb)

2019-04-12 Thread Xavier de Gaye
Change by Xavier de Gaye : -- dependencies: -Bdb: add docstrings resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue36494] bdb: should set f_trace_lines = True

2019-03-31 Thread daniel hahler
Change by daniel hahler : -- keywords: +patch pull_requests: +12572 stage: -> patch review ___ Python tracker ___ ___

[issue36494] bdb: should set f_trace_lines = True

2019-03-31 Thread daniel hahler
github.com/nedbat/coveragepy/pull/791). -- messages: 339259 nosy: blueyed priority: normal severity: normal status: open title: bdb: should set f_trace_lines = True versions: Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.o

[issue19417] Bdb: add a unittest file (test.test_bdb)

2018-09-16 Thread miss-islington
miss-islington added the comment: New changeset 57e70d3802a2a78e638999c6923053c63fe373f8 by Miss Islington (bot) (xdegaye) in branch '2.7': [2.7] bpo-19417: Add test_bdb.py (GH-5217) (GH-6156) https://github.com/python/cpython/commit/57e70d3802a2a78e638999c6923053c63fe373f8 --

[issue33139] Bdb doesn't find instruction in linecache after pdb.set_trace() following os.chdir("/tmp")

2018-07-25 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems related : https://bugs.python.org/issue31121 -- nosy: +xtreak ___ Python tracker ___

[issue33139] Bdb doesn't find instruction in linecache after pdb.set_trace() following os.chdir("/tmp")

2018-03-25 Thread Peter Rounce
nother pdb.set_trace() has been executed, which creates a new Pdb # class instance, and thus a new Bdb instance, where Bdb.fncache # used by the canonic function is {}. # The canonic function is passed just the filename 'testpdb.py" and # canonic uses os.path.abs to g

[issue19417] Bdb: add a unittest file (test.test_bdb)

2018-03-20 Thread Xavier de Gaye
Change by Xavier de Gaye : -- pull_requests: +5913 ___ Python tracker ___ ___

[issue19417] Bdb: add a unittest file (test.test_bdb)

2018-03-19 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 424f3dafea16fbaee55a30903af2d6717f4d4a6b by Mariatta (xdegaye) in branch '3.6': bpo-19417: Add test_bdb.py (GH-5217) https://github.com/python/cpython/commit/424f3dafea16fbaee55a30903af2d6717f4d4a6b --

[issue19417] Bdb: add a unittest file (test.test_bdb)

2018-03-19 Thread Xavier de Gaye
Change by Xavier de Gaye : -- pull_requests: +5908 ___ Python tracker ___ ___

[issue19417] Bdb: add a unittest file (test.test_bdb)

2018-03-18 Thread miss-islington
miss-islington added the comment: New changeset fdd8e8b4ffb68a4e8749bdc3b130fea7bbbf821e by Miss Islington (bot) in branch '3.7': bpo-19417: Add test_bdb.py (GH-5217) https://github.com/python/cpython/commit/fdd8e8b4ffb68a4e8749bdc3b130fea7bbbf821e

[issue19417] Bdb: add a unittest file (test.test_bdb)

2018-03-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +5904 ___ Python tracker ___

[issue19417] Bdb: add a unittest file (test.test_bdb)

2018-03-18 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 3fe33043ee83d19e15551094fc1e0984617ded3c by Mariatta (xdegaye) in branch 'master': bpo-19417: Add test_bdb.py (GH-5217) https://github.com/python/cpython/commit/3fe33043ee83d19e15551094fc1e0984617ded3c --

[issue19417] Bdb: add a unittest file (test.test_bdb)

2018-01-17 Thread Xavier de Gaye
Xavier de Gaye <xdeg...@gmail.com> added the comment: PR 5217 adds the test.test_bdb module and provides a framework for adding more tests to the bdb module. Added versions 3.6 and 2.7. This is consistent with what was done in issues #21916 and #25616 for example, but the main

[issue19417] Bdb: add a unittest file (test.test_bdb)

2018-01-17 Thread Xavier de Gaye
Change by Xavier de Gaye : -- pull_requests: +5070 ___ Python tracker ___ ___

[issue30429] bdb and pdb: Add watchpoint function

2017-06-28 Thread Xavier de Gaye
Xavier de Gaye added the comment: See the related issue 5654. -- ___ Python tracker ___ ___ Python-bugs-list

[issue30429] bdb and pdb: Add watchpoint function

2017-06-26 Thread Louie Lu
Louie Lu added the comment: @xdegaye, would you like to review this PR? thanks. -- nosy: +xdegaye ___ Python tracker ___

[issue30429] bdb and pdb: Add watchpoint function

2017-06-17 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list

[issue30429] bdb and pdb: Add watchpoint function

2017-05-23 Thread Louie Lu
Louie Lu added the comment: watch and awatch will detect value change and breakout, rwatch using dis module to get the file bytecode, with the lineno it can detect current line is load (read) or not. -- ___ Python tracker

[issue30429] bdb and pdb: Add watchpoint function

2017-05-23 Thread Louie Lu
Changes by Louie Lu : -- pull_requests: +1841 ___ Python tracker ___ ___ Python-bugs-list

[issue30429] bdb and pdb: Add watchpoint function

2017-05-22 Thread Louie Lu
Changes by Louie Lu : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list

[issue30429] bdb and pdb: Add watchpoint function

2017-05-22 Thread Raymond Hettinger
Changes by Raymond Hettinger <raymond.hettin...@gmail.com>: -- title: bdb: Add watchpoint function -> bdb and pdb: Add watchpoint function ___ Python tracker <rep...@bugs.python.org> <http://bugs.pyt

[issue30429] bdb: Add watchpoint function

2017-05-22 Thread Louie Lu
New submission from Louie Lu: Trying to add watchpoint function to bdb and pdb. It's goal is to do as gdb for three different watch: watch, rwatch and a watch. watch: when expr is written by program and value has changed, it will break rwatch: when expr is read by program, it will break awatch

[issue30419] Bdb: Update doc page

2017-05-21 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- pull_requests: +1791 ___ Python tracker ___ ___

[issue30419] Bdb: Update doc page

2017-05-20 Thread Cheryl Sabella
New submission from Cheryl Sabella: Update bdb docs to reflect issues found in #30211. -- assignee: docs@python components: Documentation messages: 294057 nosy: csabella, docs@python, terry.reedy priority: normal severity: normal status: open title: Bdb: Update doc page type

[issue19417] Bdb: add a unittest file (test.test_bdb)

2017-05-16 Thread Cheryl Sabella
Cheryl Sabella added the comment: Wondering if it might make sense to use Mock in this patch? -- ___ Python tracker ___

[issue30211] Bdb: add docstrings

2017-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: I still need to push a News Entry. -- ___ Python tracker ___ ___

[issue30211] Bdb: add docstrings

2017-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 0774e79b93cc494b3a957d538c7c112e289973c0 by terryjreedy (csabella) in branch 'master': bpo-30211: bdb: add docstrings (#1350) https://github.com/python/cpython/commit/0774e79b93cc494b3a957d538c7c112e289973c0

[issue30211] Bdb: add docstrings

2017-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: I plan to merge when I can. Possible future improvements for bdb.py. 1. Bdb attributes. 2. Say what user_xyz functions might do. Anything better than 'Intervene in debugging process.'? 3. Clarify what get_stack does. Improvement for bdb.rst (optional

[issue30211] Bdb: add docstrings

2017-05-16 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thank you. I had some questions that I put on the commit. You're right about it saying it must be in canonic form and then it calls canonic. I figured someone added the call later to prevent an error, but didn't change the warning, but I didn't know if I

[issue30211] Bdb: add docstrings

2017-05-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: The bdb class or __init__ docstring needs to document the data members with a short explanation. Some of the args need better explanation. Some of this I may fill in *after* reviewing the proposed tests, when I understand the code better. Reviewing pdb

[issue30211] Bdb: add docstrings

2017-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: As I just posted to core-mentorship, my attempt to push to the PR failed. Did you leave the 'allow pushes' box checked when you created the PR? -- ___ Python tracker

[issue30211] Bdb: add docstrings

2017-05-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: In the entry at https://docs.python.org/3/library/bdb.html#bdb.Bdb.canonic, ", stripped of surrounding angle brackets" is wrong, and should be replaced by ". 'Filenames' with angle brackets, such as "", generated in interactive mode, are returned unchanged"

[issue30211] Bdb: add docstrings

2017-04-30 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- components: +Documentation -IDLE ___ Python tracker ___ ___

[issue30211] Bdb: add docstrings

2017-04-30 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- components: +IDLE -Documentation ___ Python tracker ___ ___

[issue19417] Bdb: add a unittest file (test.test_bdb)

2017-04-30 Thread Xavier de Gaye
Xavier de Gaye added the comment: Thanks Terry and Cheryl for splitting the issue :) -- ___ Python tracker ___

[issue19417] Bdb: add a unittest file (test.test_bdb)

2017-04-29 Thread Terry J. Reedy
Changes by Terry J. Reedy <tjre...@udel.edu>: -- dependencies: +Bdb: add docstrings title: Bdb: add docstrings and a unittest file (test.test_bdb) -> Bdb: add a unittest file (test.test_bdb) ___ Python tracker <rep...@bugs.pytho

[issue19417] Bdb: add docstrings and a unittest file (test.test_bdb)

2017-04-29 Thread Cheryl Sabella
Cheryl Sabella added the comment: Moved to issue 30211 for docstrings. -- ___ Python tracker ___ ___

[issue19417] Bdb: add docstrings and a unittest file (test.test_bdb)

2017-04-29 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- pull_requests: -1462 ___ Python tracker ___ ___

[issue30211] Bdb: add docstrings

2017-04-29 Thread Cheryl Sabella
New submission from Cheryl Sabella: Add docstrings to Bdb. See issue 19417. -- assignee: docs@python components: Documentation messages: 292598 nosy: csabella, docs@python, terry.reedy priority: normal pull_requests: 1467 severity: normal status: open title: Bdb: add docstrings type

[issue19417] Bdb: add docstrings and a unittest file (test.test_bdb)

2017-04-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: While I have previously done docstrings and tests together, I can see that for this issue, separation might be preferable. Cherl, can you open a new issue and re-title the PR? (I don't know if that will be sufficient to 'move' it, but I hope so.)

[issue19417] Bdb: add docstrings and a unittest file (test.test_bdb)

2017-04-29 Thread Xavier de Gaye
Xavier de Gaye added the comment: > The file is nearly devoid of docstrings, so I would like to add those first, > probably in a separate patch. Please move this new request for enhancement to a separate issue. -- ___ Python tracker

[issue19417] Bdb: add docstrings and a unittest file (test.test_bdb)

2017-04-28 Thread Cheryl Sabella
Changes by Cheryl Sabella : -- pull_requests: +1462 ___ Python tracker ___ ___

[issue19417] Bdb: add docstrings and a unittest file (test.test_bdb)

2017-04-27 Thread Cheryl Sabella
Cheryl Sabella added the comment: I'll work on the bdb docstrings. -- nosy: +csabella ___ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/i

[issue19417] Bdb: add docstrings and a unittest file (test.test_bdb)

2017-04-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: IDLE's debugger needs multiple patches. It is based on bdb. So I want to be able to understand the bdb code and know that it is sound. The file is nearly devoid of docstrings, so I would like to add those first, probably in a separate patch. A first draft

[issue22534] bsddb memory leak with MacPorts bdb 4.6

2014-10-07 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22534 ___ ___ Python-bugs-list mailing list

[issue22534] bsddb memory leak with MacPorts bdb 4.6

2014-10-02 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- title: bsddb memory leak on Mac OS X 10.9 - bsddb memory leak with MacPorts bdb 4.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22534

[issue22534] bsddb memory leak with MacPorts bdb 4.6

2014-10-02 Thread TJ
TJ added the comment: For future visitors, here is the MacPorts issue: https://trac.macports.org/ticket/45247 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22534 ___

[issue13745] configuring --with-dbmliborder=bdb doesn't build the gdbm extension

2014-07-03 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- components: +Build type: - behavior versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13745

[issue19417] Add tests for bdb (previously not tested)

2013-11-03 Thread Xavier de Gaye
Xavier de Gaye added the comment: A less invasive alternative could be to instrument Bdb with a subclass that processes send-expect sequences. This is what does http://code.google.com/p/pdb-clone/source/browse/Lib/test/test_bdb.py This code could be adapted to run with python bdb

[issue19417] Add tests for bdb (previously not tested)

2013-11-03 Thread Colin Williams
Colin Williams added the comment: I've updated the patch to consolidate some duplicated code. Unfortunately, I wasn't able to move anything to setUpClass without messing even more with the internals. I haven't had a chance to refine the code further based on xdegaye's suggestions, but I

[issue19417] Add tests for bdb (previously not tested)

2013-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is the patch against 3.4? I am not sure if we backport new test files. -- components: +Tests nosy: +terry.reedy stage: - patch review title: bdb test coverage - Add tests for bdb (previously not tested) type: - enhancement versions: +Python 3.4

[issue19417] Add tests for bdb (previously not tested)

2013-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Does all of the code for say, BdbTestCase.setUp, need to be repeated for each test method, versus being put in a .setUpClass method to be executed just once for all the methods in BdbTestCase. -- ___ Python tracker

[issue19417] bdb test coverage

2013-10-27 Thread Colin Williams
status: open title: bdb test coverage Added file: http://bugs.python.org/file32389/bdb.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19417 ___ ___ Python

[issue18567] Python 2.7.5 CENTOS6 Error building dbm using bdb

2013-07-26 Thread Denise Mauldin
New submission from Denise Mauldin: CC='gcc -pthread' LDSHARED='gcc -pthread -shared -L/u5/tools/lib -L/u5/tools/lib64' OPT='-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes' ./python -E ./setup.py $quiet build running build running build_ext building dbm using bdb building '_bsddb' extension

[issue18567] Python 2.7.5 CENTOS6 Error building dbm using bdb

2013-07-26 Thread Denise Mauldin
Denise Mauldin added the comment: I installed bsddb3-6.0.0, db-6.0.20.NC, and gdbm-1.10 on a 2.6.32-358.11.1.el6.x86_64 CENTOS6 linux server and continue to run into the Segmentation fault. Not sure what's going on. -- ___ Python tracker

Detecting the end of the program using bdb

2013-03-06 Thread Alexandre Zani
Hello all, I am attempting to write a remote debugger using bdb. One problem I am running into is that if I call self.set_next when on the last line of my program, I see this line printed: Exception AttributeError: 'NoneType' object has no attribute 'path' in function _remove at 0x7f97639b4668

[issue13745] configuring --with-dbmliborder=bdb doesn't build the gdbm extension

2012-01-09 Thread Matthias Klose
New submission from Matthias Klose d...@debian.org: configuring --with-dbmliborder=bdb doesn't build the gdbm extension. this option should only affect the build of the dbm extension, not the build of the gdbm extension. -- messages: 150943 nosy: doko priority: low severity: normal

[issue2498] bdb modernized

2008-03-28 Thread Georg Brandl
Georg Brandl [EMAIL PROTECTED] added the comment: Go ahead and commit -- and don't forget the issue number :) -- assignee: georg.brandl - benjamin.peterson resolution: - accepted __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2498

[issue2498] bdb modernized

2008-03-28 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Commited with a message in r60218 -- status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue2498 __

[issue2498] bdb modernized

2008-03-27 Thread Benjamin Peterson
messages: 64607 nosy: benjamin.peterson, georg.brandl severity: normal status: open title: bdb modernized type: feature request versions: Python 2.6 Added file: http://bugs.python.org/file9879/bdb_modern.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org

[issue1136] Bdb documentation

2007-09-12 Thread Tim Golden
Tim Golden added the comment: I've reviewed the docs for English and general readability. As mentioned, I've no idea of the tech involved. I did look through the bdb.py source and the existing docs for pdb to get some idea of the terminology used. Ultimately I've changed very little; in a couple

[issue1136] Bdb documentation

2007-09-12 Thread Georg Brandl
Georg Brandl added the comment: Thanks for reviewing, I'll finish and commit that one shortly. -- assignee: - georg.brandl nosy: +georg.brandl __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1136 __

[issue1136] Bdb documentation

2007-09-12 Thread Cristina Yenyxe González García
Cristina Yenyxe González García added the comment: Oops, of course a filename should be in canonical form (an absolute name which does not contain repeated path separators or symbolic links)! __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1136

[issue1136] Bdb documentation

2007-09-12 Thread Georg Brandl
Georg Brandl added the comment: Okay, committed as rev. 58112, 58113. Thank you! -- resolution: - accepted status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1136 __

[issue1136] Bdb documentation

2007-09-09 Thread Cristina Yenyxe González García
New submission from Cristina Yenyxe González García: Hello, I thought it could be interesting to write some documentation for the bdb module, since it keeps undocumented on Python 2.6 and 3.0. The document I attach is written in reStructuredText, and for using it with 2.5 it only needs

[issue1136] Bdb documentation

2007-09-09 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- keywords: +patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1136 __ ___ Python-bugs-list mailing list Unsubscribe:

bdb

2005-01-23 Thread jimbo
Hi, I am trying to sort how to best programmatically run the debugger on a program, and another way that I am trying to explore is by using the bdb module. There isn't any documentation for this and I have tried reading through the source, which includes an example/test at the end of bdb.py

bdb question

2004-12-16 Thread Philippe C. Martin
Hi, I am trying to fix the following problem: 1) I have a gui thread + a background thread that intantiates a bdb child. 2) When I wish to quit in the middle of a debugged program, I roughly do the following: 2.a) set_quit() 2.b) kill my bdb child 2.c) stop my background thread I notice