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,
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
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
Ł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
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
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
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
___
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
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
Changes by Ronald Oussoren ronaldousso...@mac.com:
--
assignee: ronaldoussoren -
components: -Macintosh
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18401
___
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
11 matches
Mail list logo