Skip to content

Commit 5e56dfc

Browse files
committed
[fix] single-threaded: use condition-backtrace
1 parent 65111b3 commit 5e56dfc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

single-threaded/package.lisp

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
(:use :cl :cffi :alexandria)
33
(:reexport :py4cl2-cffi)
44
(:import-from :py4cl2-cffi
5+
#:condition-backtrace
6+
57
#:*internal-features*
68

79
#:*pygc-threshold*

single-threaded/pystart.lisp

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Please restart your lisp and call PY4CL2-CFFI/SINGLE-THREADED:PYSTART
2626
;; (setf (pymain-result) (apply fun args))
2727
(handler-case (setf (pymain-result) (apply fun args))
2828
(error (c)
29-
(trivial-backtrace:print-backtrace c))))
29+
(condition-backtrace c))))
3030
(bt:signal-semaphore *pymain-thread-result-semaphore*)))
3131
:name "py4cl2-cffi-python-main-thread"))
3232

0 commit comments

Comments
 (0)