[issue18401] Tests for pdb import ~/.pdbrc

2016-09-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: (Copied from my post to python-checkins.) On Windows, HOME is spelled USERPROFILE or ,HOMEDRIVE + HOMEPATH. These are set by default on Windows. The OS specific os.path.expanduser('~') deals with this difference. I don't know what you are testing exactly,

[issue18401] Tests for pdb import ~/.pdbrc

2016-09-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5aa77974dd56 by Victor Stinner in branch 'default': Issue #18401: Fix test_pdb on Windows https://hg.python.org/cpython/rev/5aa77974dd56 -- ___ Python tracker

[issue18401] Tests for pdb import ~/.pdbrc

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset 09c730db1aac by Victor Stinner in branch 'default': Issue #18401: Fix test_pdb if $HOME is not set https://hg.python.org/cpython/rev/09c730db1aac -- ___ Python tracker

[issue18401] Tests for pdb import ~/.pdbrc

2016-09-09 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks for your contribution, Martin and Sam! -- nosy: +lukasz.langa resolution: -> fixed status: open -> closed versions: +Python 3.6 -Python 3.5 ___ Python tracker

[issue18401] Tests for pdb import ~/.pdbrc

2016-09-09 Thread Roundup Robot
Roundup Robot added the comment: New changeset ee0bbfd972de by Łukasz Langa in branch 'default': Issue #18401: pdb tests don't read ~/.pdbrc anymore https://hg.python.org/cpython/rev/ee0bbfd972de -- nosy: +python-dev ___ Python tracker

[issue18401] Tests for pdb import ~/.pdbrc

2014-04-21 Thread R. David Murray
R. David Murray added the comment: Thanks, Sam. It is more helpful if the NEWS entry is *not* put in the patch given the current state of the tooling. What's needs to be added is an entry in Doc/whatsnew/3.5. For the new test, you can take advantage of the temp_dir and EnvironmentVarGuard

[issue18401] Tests for pdb import ~/.pdbrc

2014-04-15 Thread Sam Kimbrel
Sam Kimbrel added the comment: Picked up Martin's patch and added docs, misc/NEWS entry, and a test for readrc=False behavior. -- nosy: +sam.kimbrel Added file: http://bugs.python.org/file34892/18401-pdb-readrc-kwarg-with-docs-and-tests.diff ___

[issue18401] Tests for pdb import ~/.pdbrc

2014-04-14 Thread R. David Murray
R. David Murray added the comment: Adding a parameter is an enhancement. Probably not a bad thing to have anyway, but it can only go in 3.5. Since this isn't something that causes problems for production code, that seems fine. (The alternative would be to say have a private class variable

[issue18401] Tests for pdb import ~/.pdbrc

2013-10-20 Thread Martin Matusiak
Martin Matusiak added the comment: I have been thinking about a fix for this. A straightforward fix would be to add a kwarg readrc=True to the constructor of Pdb that will default to reading the rc files as it does now, and allows disabling this default. The implication is that all tests in

[issue18401] Tests for pdb import ~/.pdbrc

2013-07-08 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: -- assignee: ronaldoussoren - components: -Macintosh ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18401 ___

[issue18401] Tests for pdb import ~/.pdbrc

2013-07-07 Thread Stephen Tonkin
New submission from Stephen Tonkin: After a clean check out and a successful build of Python 3.4, doctests were failing when running test_pdb. Specifically, doctests were failing because they were getting a *** NameError: name 'execfile' is not defined when running. It turns out that my