New submission from Thomas Caswell :
Changing faulthandler to only allocate it's stack when use causes python to
segfault with
import faulthandler
faulthandler.cancel_dump_traceback_later()
https://bugs.python.org/issue37851 https://github.com/python/cpython/pull/15358
--
compo
Change by Thomas Caswell :
--
components: +Extension Modules -Library (Lib)
___
Python tracker
<https://bugs.python.org/issue37933>
___
___
Python-bugs-list m
Change by Thomas Caswell :
--
keywords: +patch
pull_requests: +15133
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/15440
___
Python tracker
<https://bugs.python.org/issu
New submission from Thomas Caswell :
In python37, numpy1.17 the following runs without warning.
import numpy as np
sorted([1, 2], reverse=np.bool_(True))
with python38 this emits a
DeprecationWarning: In future, it will be an error for 'np.bool_' scalars to be
interpreted as a
Change by Thomas Caswell :
Added file: https://bugs.python.org/file48569/python_bisect.sh
___
Python tracker
<https://bugs.python.org/issue37980>
___
___
Python-bug
Change by Thomas Caswell :
Added file: https://bugs.python.org/file48570/test.py
___
Python tracker
<https://bugs.python.org/issue37980>
___
___
Python-bugs-list mailin
Thomas Caswell added the comment:
xref numpy issue https://github.com/numpy/numpy/issues/14397
--
___
Python tracker
<https://bugs.python.org/issue37
Change by Thomas Caswell :
--
components: +Library (Lib)
versions: +Python 3.9
___
Python tracker
<https://bugs.python.org/issue37980>
___
___
Python-bugs-list m
Thomas Caswell added the comment:
Any update on resolving this?
--
___
Python tracker
<https://bugs.python.org/issue37980>
___
___
Python-bugs-list mailin
Thomas Caswell added the comment:
I believe this can be closed, the regression has been fixed and there is now a
test to prevent it from coming back.
--
___
Python tracker
<https://bugs.python.org/issue37
Thomas Caswell added the comment:
This change also affects PyQt6:
Python 3.10.0b2+ (heads/3.10:d0991e2db3, Jun 1 2021, 11:42:08) [GCC 11.1.0] on
linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyQt
New submission from Thomas Caswell :
The module attribute signal.SIGCLD
(https://docs.python.org/3/library/signal.html#signal.SIGCLD) is an "archaic"
(quoting from the GNU C Library source) alias for signal.SIGCHLD
(https://docs.python.org/3/library/signal.html#sign
New submission from Thomas Caswell :
https://github.com/python/cpython/commit/e1becf46b4e3ba6d7d32ebf4bbd3e0804766a423
causes pyqt5 to segfault an accessing an attribute
To reproduce this:
pip install pyqt5
pip install sip
python -c "import PyQt5.QtCore; PyQt5.QtCore.Qt.Key_Control&quo
Thomas Caswell added the comment:
Sorry, forgot to add this is on Linux.
--
___
Python tracker
<https://bugs.python.org/issue40574>
___
___
Python-bugs-list m
Thomas Caswell added the comment:
The script I used for the bisect was:
---
TARGET_ENV=bisect_env
rm -r ~/.pybuild/$TARGET_ENV || true
git clean -xfd
./configure --prefix=/home/tcaswell/.pybuild/$TARGET_ENV
make -j 9
make install
~/.pybuild/$TARGET_ENV/bin/python3 -m venv --copies --clear
Thomas Caswell added the comment:
I think I have figured out the problem. I had a locally built and cached wheel
of PyQt5-sip from before PEP573 went in. If that wheel is used for later
commits I get the segfault, if I rebuilt the wheel from source it works.
I am not sure if this is an
Thomas Caswell added the comment:
The path is
- on a commit prior to e1becf46b4e3ba6d7d32ebf4bbd3e0804766a423 install
pyqt-sip. pip will build a wheel for you called
PyQt5_sip-12.7.2-cp39-cp39-linux_x86_64.whl
- on a commit after e1becf46b4e3ba6d7d32ebf4bbd3e0804766a423 if you do `pip
Thomas Caswell added the comment:
That seems reasonable.
To be pedantic, it is pyqt5-sip (not sip) that was the source of the problem.
I am going to open an issue with pip to disable caching locally built wheels
for pre-released versions of Python
Change by Thomas Caswell :
--
nosy: +tcaswell
___
Python tracker
<https://bugs.python.org/issue40257>
___
___
Python-bugs-list mailing list
Unsubscribe:
Thomas Caswell added the comment:
bisecting agrees with Matthias:
# first bad commit: [c067183605cf84bb1a246635f52827251d0476f8] bpo-40807: Show
warnings once from codeop._maybe_compile (GH-20486)
--
nosy: +tcaswell
___
Python tracker
<ht
New submission from Thomas Caswell :
The fix for
https://bugs.python.org/issue37213 in 3498c642f4e83f3d8e2214654c0fa8e0d51cebe5
(https://github.com/python/cpython/pull/13969) seems to break building numpy
(master) with cython (master) due to a pickle failure.
The traceback (which is mostly
Thomas Caswell added the comment:
This change also causes failures in the cython test suite (see attached).
--
Added file: https://bugs.python.org/file48422/cython_test_log.txt
___
Python tracker
<https://bugs.python.org/issue37
Thomas Caswell added the comment:
I can confirm that master branches of cpython, cython, and numpy all build
together again, thank you for the quick investigation and fix!
--
___
Python tracker
<https://bugs.python.org/issue37
Thomas Caswell added the comment:
https://github.com/python/cpython/pull/1236 has been merged, I believe this
issue can be closed.
--
nosy: +tcaswell
___
Python tracker
<http://bugs.python.org/issue30
New submission from Thomas Caswell:
Code to reproduce:
def import_in_finally_fail():
try:
print('yo')
finally:
import asyncio.queues as aq
Results in:
In [68]: import_in_finally
Thomas Caswell added the comment:
Your welcome!
Matplotlib ended up just moving the import out of the finally block once we
understood the issue.
Tom
On Tue, Aug 29, 2017 at 8:50 AM Serhiy Storchaka
wrote:
>
> Serhiy Storchaka added the comment:
>
> Thank you for your r
Change by Thomas Caswell :
--
keywords: +patch
pull_requests: +7589
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue31546>
___
___
Py
Thomas Caswell added the comment:
I agree this is very confusing (and in fact confused me for about an hour
between getting import errors, double checking the docs, checking I was in the
right env, double checking the docs, checking the source of my env, double
checking the docs, checking the
Changes by Thomas Caswell :
--
pull_requests: +50
___
Python tracker
<http://bugs.python.org/issue29481>
___
___
Python-bugs-list mailing list
Unsubscribe:
Thomas Caswell added the comment:
I am not optimistic about the speed at which my employer will get this
sorted out.
better to just fix it and drop my commit!
On Tue, Feb 14, 2017, 23:43 Mariatta Wijaya wrote:
Mariatta Wijaya added the comment:
Thanks, Raymond :) I prepared the pull
Thomas Caswell added the comment:
I do not think that readline-cancel.patch is sufficient. The clean up function
that readline uses internally
(http://git.savannah.gnu.org/cgit/readline.git/tree/isearch.c#n720 ) also
cleans up the context that used by isearch.
The functions to cleanup the
Thomas Caswell added the comment:
For reference https://github.com/ludwigschwardt/python-gnureadline/pull/47 is
what a back-port of the functionality looks like.
--
___
Python tracker
<http://bugs.python.org/issue24
Thomas Caswell added the comment:
I do not think this got reported to mpl, is a year and a half old, and has no
example, probably can be closed.
--
nosy: +tcaswell
___
Python tracker
<http://bugs.python.org/issue22
New submission from Thomas Caswell:
On the current tip (changeset: 96023:4b5461dcd190) the following results in a
syntax error
def test(a='a', b='b'):
print(a, b)
opta = dict()
optb = dict(a=1, b=2)
test(**(opta or {})) # <- works on all python
test(**optb or {})
34 matches
Mail list logo