daniel hahler added the comment:
@Andrei
That is something different, caused by "y" only being defined later.
But it would be nice if it would work. Should be a separate/new issue though.
--
nosy: +blueyed
___
Python track
daniel hahler added the comment:
This works however (Python 3.7), but is just buggy in pdbpp (another project).
--
___
Python tracker
<https://bugs.python.org/issue5
Change by daniel hahler :
--
nosy: +blueyed
___
Python tracker
<https://bugs.python.org/issue9633>
___
___
Python-bugs-list mailing list
Unsubscribe:
daniel hahler added the comment:
This is a good idea.
I am currently leaning towards using a threading.Lock around `Pdb.interaction`,
or `pdb.set_trace` with pdb++.
This would at least mitigate the issue where `pdb.set_trace` is used in some
code that gets executed again, and two pdb
Change by daniel hahler :
--
nosy: +blueyed
___
Python tracker
<https://bugs.python.org/issue21281>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by daniel hahler :
--
nosy: +blueyed
___
Python tracker
<https://bugs.python.org/issue23163>
___
___
Python-bugs-list mailing list
Unsubscribe:
daniel hahler added the comment:
I seems like http.cookiejar should be used for clients, which includes more
relaxed parsing of cookies. This is mentioned in the docs at
https://github.com/python/cpython/blame/443fe5a52a3d6a101795380227ced38b4b5e0a8b/Doc/library/http.cookies.rst#L63-L65
daniel hahler added the comment:
Duplicate of https://bugs.python.org/issue10933.
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
daniel hahler added the comment:
It was added in 477c8d5e702 (a huge svn merge commit), with this reference:
r45955 | georg.brandl | 2006-05-10 19:13:20 +0200 (Wed, 10 May 2006) | 4
lines
Patch #721464: pdb.Pdb instances can now be given explicit stdin and
stdout
daniel hahler added the comment:
Just for reference and searchability: this causes tab completion to not work
with `debug foo()` also.
--
___
Python tracker
<https://bugs.python.org/issue31
daniel hahler added the comment:
> I think a good alternative patch might be:
This however makes it behave different in tests, where stdout might be
mocked/wrapped intentionally.
Therefore I think using the parent's `use_rawinput` is the better fix for this
(the originally propos
daniel hahler added the comment:
Just for reference: https://github.com/python/cpython/pull/6233 is about fixing
this.
--
keywords: +patch
nosy: +blueyed
pull_requests: +5995
stage: needs patch -> patch review
___
Python tracker
<
New submission from daniel hahler :
I was not aware of `python -m test -m …`, but think that supporting `python -m
test test.module.class.name` should be supported for selecting a single test.
--
components: Tests
messages: 320325
nosy: blueyed
priority: normal
pull_requests: 7489
New submission from daniel hahler :
With "." in sys.path the "__file__" attribute will be a relative path, and
therefore cannot be used after "chdir".
This likely affects relative paths in general, but have not tested it.
```
import os
import sys
sys.path.
Change by daniel hahler :
--
nosy: +blueyed
___
Python tracker
<https://bugs.python.org/issue35137>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by daniel hahler :
--
keywords: +patch
pull_requests: +9833
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue35270>
___
___
Py
New submission from daniel hahler :
When `parseline` returns `None` for `cmd` (like pdb++ might cause it when
changing a cmd "disable" to "!disable"), the following will cause a TypeError:
> compfunc = getattr(self, 'complete_' + cmd)
"None" s
New submission from daniel hahler:
posix.unsetenv fails to clear the environment if there's an entry with an empty
key.
TEST CASE:
Python 2.7.6 (default, Jan 6 2014, 17:05:19)
[GCC 4.8.1] on linux2
Type "help", "copyright", "credits"
daniel hahler added the comment:
Please note that I have noticed this not because of setting it via
`os.environ`, but because a program using `os.environ.clear()` crashed:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1281086
I cannot say how this unusual entry was added to the
daniel hahler added the comment:
> It would help to know if the key was set manually by apport, or if it comes
> from the real environment. The environment looks correct:
It comes from the real environment.
I wanted to use apport, but could not from the current shell, because of this
b
New submission from daniel hahler :
This patch fixes the vimrc example file to use matchadd() instead of ":match",
so that the second "match" does not overwrite the first one.
This resulted in leading tabs not highlighted as BadWhitespace.
--
components: Demo
Changes by daniel hahler :
--
keywords: +patch
Added file: http://bugs.python.org/file17773/python-vimrc-use-matchadd.diff
___
Python tracker
<http://bugs.python.org/issue9
New submission from daniel hahler:
The following code fails on Arch Linux:
import ctypes.util
print(ctypes.util.find_library("ncurses"))
It first looks at "ldconfig -p" (via _findSoname_ldconfig), which only
contains:
libncursesw.so.6 (libc6,x86-64) => /u
101 - 123 of 123 matches
Mail list logo