iris-pex-embedded-python 3.4.0b13__py3-none-any.whl → 3.4.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of iris-pex-embedded-python might be problematic. Click here for more details.
- iop/_async_request.py +3 -1
- iop/_business_host.py +2 -1
- iop/_business_service.py +6 -0
- iop/_cli.py +9 -1
- iop/_common.py +11 -1
- iop/_debugpy.py +145 -0
- iop/_director.py +40 -40
- iop/_iris.py +7 -0
- iop/_log_manager.py +9 -9
- iop/_serialization.py +62 -50
- iop/_utils.py +10 -10
- iop/cls/IOP/Common.cls +3 -1
- iop/cls/IOP/Utils.cls +59 -9
- {iris_pex_embedded_python-3.4.0b13.dist-info → iris_pex_embedded_python-3.4.1.dist-info}/METADATA +2 -1
- iris_pex_embedded_python-3.4.1.dist-info/RECORD +80 -0
- {iris_pex_embedded_python-3.4.0b13.dist-info → iris_pex_embedded_python-3.4.1.dist-info}/WHEEL +1 -1
- iris_pex_embedded_python-3.4.1.dist-info/top_level.txt +2 -0
- intersystems_iris/_BufferReader.py +0 -10
- intersystems_iris/_BufferWriter.py +0 -32
- intersystems_iris/_ConnectionInformation.py +0 -56
- intersystems_iris/_ConnectionParameters.py +0 -18
- intersystems_iris/_Constant.py +0 -38
- intersystems_iris/_DBList.py +0 -506
- intersystems_iris/_Device.py +0 -69
- intersystems_iris/_GatewayContext.py +0 -25
- intersystems_iris/_GatewayException.py +0 -4
- intersystems_iris/_GatewayUtility.py +0 -74
- intersystems_iris/_IRIS.py +0 -1294
- intersystems_iris/_IRISConnection.py +0 -516
- intersystems_iris/_IRISEmbedded.py +0 -85
- intersystems_iris/_IRISGlobalNode.py +0 -273
- intersystems_iris/_IRISGlobalNodeView.py +0 -25
- intersystems_iris/_IRISIterator.py +0 -143
- intersystems_iris/_IRISList.py +0 -360
- intersystems_iris/_IRISNative.py +0 -208
- intersystems_iris/_IRISOREF.py +0 -9
- intersystems_iris/_IRISObject.py +0 -424
- intersystems_iris/_IRISReference.py +0 -133
- intersystems_iris/_InStream.py +0 -149
- intersystems_iris/_LegacyIterator.py +0 -135
- intersystems_iris/_ListItem.py +0 -15
- intersystems_iris/_ListReader.py +0 -84
- intersystems_iris/_ListWriter.py +0 -161
- intersystems_iris/_LogFileStream.py +0 -115
- intersystems_iris/_MessageHeader.py +0 -51
- intersystems_iris/_OutStream.py +0 -25
- intersystems_iris/_PrintStream.py +0 -65
- intersystems_iris/_PythonGateway.py +0 -850
- intersystems_iris/_SharedMemorySocket.py +0 -87
- intersystems_iris/__init__.py +0 -79
- intersystems_iris/__main__.py +0 -7
- intersystems_iris/dbapi/_Column.py +0 -56
- intersystems_iris/dbapi/_DBAPI.py +0 -2631
- intersystems_iris/dbapi/_Descriptor.py +0 -46
- intersystems_iris/dbapi/_IRISStream.py +0 -65
- intersystems_iris/dbapi/_Message.py +0 -158
- intersystems_iris/dbapi/_Parameter.py +0 -171
- intersystems_iris/dbapi/_ParameterCollection.py +0 -141
- intersystems_iris/dbapi/_ResultSetRow.py +0 -361
- intersystems_iris/dbapi/_SQLType.py +0 -32
- intersystems_iris/dbapi/__init__.py +0 -0
- intersystems_iris/dbapi/preparser/_PreParser.py +0 -1674
- intersystems_iris/dbapi/preparser/_Scanner.py +0 -391
- intersystems_iris/dbapi/preparser/_Token.py +0 -81
- intersystems_iris/dbapi/preparser/_TokenList.py +0 -251
- intersystems_iris/dbapi/preparser/__init__.py +0 -0
- intersystems_iris/pex/_BusinessHost.py +0 -101
- intersystems_iris/pex/_BusinessOperation.py +0 -105
- intersystems_iris/pex/_BusinessProcess.py +0 -214
- intersystems_iris/pex/_BusinessService.py +0 -95
- intersystems_iris/pex/_Common.py +0 -228
- intersystems_iris/pex/_Director.py +0 -24
- intersystems_iris/pex/_IRISBusinessOperation.py +0 -5
- intersystems_iris/pex/_IRISBusinessService.py +0 -18
- intersystems_iris/pex/_IRISInboundAdapter.py +0 -5
- intersystems_iris/pex/_IRISOutboundAdapter.py +0 -17
- intersystems_iris/pex/_InboundAdapter.py +0 -57
- intersystems_iris/pex/_Message.py +0 -6
- intersystems_iris/pex/_OutboundAdapter.py +0 -46
- intersystems_iris/pex/__init__.py +0 -25
- iris_pex_embedded_python-3.4.0b13.dist-info/RECORD +0 -143
- iris_pex_embedded_python-3.4.0b13.dist-info/top_level.txt +0 -4
- irisnative/_IRISNative.py +0 -9
- irisnative/__init__.py +0 -10
- {iris_pex_embedded_python-3.4.0b13.dist-info → iris_pex_embedded_python-3.4.1.dist-info}/entry_points.txt +0 -0
- {iris_pex_embedded_python-3.4.0b13.dist-info → iris_pex_embedded_python-3.4.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import inspect
|
|
2
|
-
import platform
|
|
3
|
-
import sys
|
|
4
|
-
import intersystems_iris._GatewayContext
|
|
5
|
-
|
|
6
|
-
class _GatewayUtility(object):
|
|
7
|
-
|
|
8
|
-
@staticmethod
|
|
9
|
-
def getLanguageName():
|
|
10
|
-
return "Python"
|
|
11
|
-
|
|
12
|
-
@staticmethod
|
|
13
|
-
def getLanguageVersion():
|
|
14
|
-
return platform.python_version()
|
|
15
|
-
|
|
16
|
-
@staticmethod
|
|
17
|
-
def writeOutput(data):
|
|
18
|
-
connection = intersystems_iris.GatewayContext.getConnection()
|
|
19
|
-
method_object = connection._output_redirect_handler
|
|
20
|
-
if method_object is None:
|
|
21
|
-
print(data, end="", flush=True)
|
|
22
|
-
else:
|
|
23
|
-
args = [ data ]
|
|
24
|
-
method_object(*args)
|
|
25
|
-
|
|
26
|
-
@classmethod
|
|
27
|
-
def dumpAllModules(cls, startswith = None):
|
|
28
|
-
if startswith is None: startswith = ""
|
|
29
|
-
lines = {}
|
|
30
|
-
gateway = intersystems_iris.GatewayContext.getConnection()._get_gateway()
|
|
31
|
-
cls._dumpOneModuleCollection(startswith, lines, sys.modules.copy())
|
|
32
|
-
cls._dumpOneModuleCollection(startswith, lines, gateway._thread_modules)
|
|
33
|
-
return "\r\n".join(sorted(lines.keys()))
|
|
34
|
-
|
|
35
|
-
@classmethod
|
|
36
|
-
def dumpSysModules(cls, startswith = None):
|
|
37
|
-
if startswith is None: startswith = ""
|
|
38
|
-
lines = {}
|
|
39
|
-
gateway = intersystems_iris.GatewayContext.getConnection()._get_gateway()
|
|
40
|
-
cls._dumpOneModuleCollection(startswith, lines, sys.modules.copy())
|
|
41
|
-
return "\r\n".join(sorted(lines.keys()))
|
|
42
|
-
|
|
43
|
-
@classmethod
|
|
44
|
-
def dumpThreadModules(cls, startswith = None):
|
|
45
|
-
if startswith is None: startswith = ""
|
|
46
|
-
lines = {}
|
|
47
|
-
gateway = intersystems_iris.GatewayContext.getConnection()._get_gateway()
|
|
48
|
-
cls._dumpOneModuleCollection(startswith, lines, gateway._thread_modules)
|
|
49
|
-
return "\r\n".join(sorted(lines.keys()))
|
|
50
|
-
|
|
51
|
-
@classmethod
|
|
52
|
-
def dumpMethods(cls, class_name = None):
|
|
53
|
-
lines = {}
|
|
54
|
-
gateway = intersystems_iris.GatewayContext.getConnection()._get_gateway()
|
|
55
|
-
class_object = gateway._load_class(class_name)
|
|
56
|
-
methods = inspect.getmembers(class_object, inspect.isfunction)
|
|
57
|
-
for m in range(len(methods)):
|
|
58
|
-
lines[methods[m][0]] = ""
|
|
59
|
-
return "\r\n".join(sorted(lines.keys()))
|
|
60
|
-
|
|
61
|
-
@classmethod
|
|
62
|
-
def _dumpOneModuleCollection(cls, startswith, lines, collection):
|
|
63
|
-
for module in collection.values():
|
|
64
|
-
module_name = module.__name__ + "."
|
|
65
|
-
if module_name.startswith(startswith): lines[module_name] = ""
|
|
66
|
-
try:
|
|
67
|
-
classes = inspect.getmembers(module, inspect.isclass)
|
|
68
|
-
for clazz in range(len(classes)):
|
|
69
|
-
class_name = module_name + classes[clazz][0]
|
|
70
|
-
if class_name.startswith(startswith): lines[class_name] = ""
|
|
71
|
-
except Exception as ex:
|
|
72
|
-
pass
|
|
73
|
-
return
|
|
74
|
-
|