2023-12-29 18:15:59 +00:00
|
|
|
Index: construct-2.10.70/construct/__init__.py
|
2019-01-11 09:56:50 +00:00
|
|
|
===================================================================
|
2023-12-29 18:15:59 +00:00
|
|
|
--- construct-2.10.70.orig/construct/__init__.py
|
|
|
|
+++ construct-2.10.70/construct/__init__.py
|
2019-01-11 09:56:50 +00:00
|
|
|
@@ -21,7 +21,6 @@ Hands-on example:
|
|
|
|
|
|
|
|
from construct.core import *
|
|
|
|
from construct.expr import *
|
|
|
|
-from construct.debug import *
|
|
|
|
from construct.version import *
|
|
|
|
from construct import lib
|
|
|
|
|
2023-12-29 18:15:59 +00:00
|
|
|
@@ -71,7 +70,6 @@ __all__ = [
|
2019-01-11 09:56:50 +00:00
|
|
|
'ConstructError',
|
|
|
|
'Container',
|
|
|
|
'CString',
|
|
|
|
- 'Debugger',
|
|
|
|
'Default',
|
|
|
|
'Double',
|
2023-12-29 18:15:59 +00:00
|
|
|
'EncryptedSym',
|
|
|
|
@@ -148,7 +146,6 @@ __all__ = [
|
2019-01-11 09:56:50 +00:00
|
|
|
'possiblestringencodings',
|
|
|
|
'Prefixed',
|
|
|
|
'PrefixedArray',
|
|
|
|
- 'Probe',
|
|
|
|
'ProcessRotateLeft',
|
|
|
|
'ProcessXor',
|
|
|
|
'RangeError',
|
2023-12-29 18:15:59 +00:00
|
|
|
@@ -213,3 +210,9 @@ __all__ = [
|
2019-01-11 09:56:50 +00:00
|
|
|
]
|
|
|
|
__all__ += ["Int%s%s%s" % (n,us,bln) for n in (8,16,24,32,64) for us in "us" for bln in "bln"]
|
2020-02-12 12:21:40 +00:00
|
|
|
__all__ += ["Float%s%s" % (n,bln) for n in (16,32,64) for bln in "bln"]
|
2019-01-11 09:56:50 +00:00
|
|
|
+
|
|
|
|
+try:
|
|
|
|
+ from construct.debug import *
|
|
|
|
+ __all__ += ['Debugger', 'Probe']
|
|
|
|
+except ImportError:
|
|
|
|
+ pass
|