gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libextractor-python] branch master updated: debugging


From: gnunet
Subject: [GNUnet-SVN] [libextractor-python] branch master updated: debugging
Date: Sun, 17 Jun 2018 15:50:50 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository libextractor-python.

The following commit(s) were added to refs/heads/master by this push:
     new b0fffb7  debugging
b0fffb7 is described below

commit b0fffb70d102642fedcfa53e85e2a14ca743472a
Author: Nils Gillmann <address@hidden>
AuthorDate: Sun Jun 17 13:51:21 2018 +0000

    debugging
    
    Signed-off-by: Nils Gillmann <address@hidden>
---
 libextractor/examples/__main__.py | 3 +++
 libextractor/extractor.py         | 4 ++++
 2 files changed, 7 insertions(+)

diff --git a/libextractor/examples/__main__.py 
b/libextractor/examples/__main__.py
index 9f67f1c..91bab1d 100644
--- a/libextractor/examples/__main__.py
+++ b/libextractor/examples/__main__.py
@@ -28,7 +28,10 @@ from libextractor import extractor
 import sys
 from ctypes import *
 import struct
+import logging
+import faulthandler
 
+faulthandler.enable()
 
 xtract = extractor.Extractor()
 
diff --git a/libextractor/extractor.py b/libextractor/extractor.py
index 3d5c1dc..efb20f9 100644
--- a/libextractor/extractor.py
+++ b/libextractor/extractor.py
@@ -36,6 +36,10 @@ from ctypes import *
 from ctypes import CDLL
 from ctypes.util import find_library
 import os
+import logging
+import faulthandler
+
+faulthandler.enable()
 
 # Can be useful:
 # "DYLD_LIBRARY_PATH" in os.environ

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]