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.

Files changed (86) hide show
  1. iop/_async_request.py +3 -1
  2. iop/_business_host.py +2 -1
  3. iop/_business_service.py +6 -0
  4. iop/_cli.py +9 -1
  5. iop/_common.py +11 -1
  6. iop/_debugpy.py +145 -0
  7. iop/_director.py +40 -40
  8. iop/_iris.py +7 -0
  9. iop/_log_manager.py +9 -9
  10. iop/_serialization.py +62 -50
  11. iop/_utils.py +10 -10
  12. iop/cls/IOP/Common.cls +3 -1
  13. iop/cls/IOP/Utils.cls +59 -9
  14. {iris_pex_embedded_python-3.4.0b13.dist-info → iris_pex_embedded_python-3.4.1.dist-info}/METADATA +2 -1
  15. iris_pex_embedded_python-3.4.1.dist-info/RECORD +80 -0
  16. {iris_pex_embedded_python-3.4.0b13.dist-info → iris_pex_embedded_python-3.4.1.dist-info}/WHEEL +1 -1
  17. iris_pex_embedded_python-3.4.1.dist-info/top_level.txt +2 -0
  18. intersystems_iris/_BufferReader.py +0 -10
  19. intersystems_iris/_BufferWriter.py +0 -32
  20. intersystems_iris/_ConnectionInformation.py +0 -56
  21. intersystems_iris/_ConnectionParameters.py +0 -18
  22. intersystems_iris/_Constant.py +0 -38
  23. intersystems_iris/_DBList.py +0 -506
  24. intersystems_iris/_Device.py +0 -69
  25. intersystems_iris/_GatewayContext.py +0 -25
  26. intersystems_iris/_GatewayException.py +0 -4
  27. intersystems_iris/_GatewayUtility.py +0 -74
  28. intersystems_iris/_IRIS.py +0 -1294
  29. intersystems_iris/_IRISConnection.py +0 -516
  30. intersystems_iris/_IRISEmbedded.py +0 -85
  31. intersystems_iris/_IRISGlobalNode.py +0 -273
  32. intersystems_iris/_IRISGlobalNodeView.py +0 -25
  33. intersystems_iris/_IRISIterator.py +0 -143
  34. intersystems_iris/_IRISList.py +0 -360
  35. intersystems_iris/_IRISNative.py +0 -208
  36. intersystems_iris/_IRISOREF.py +0 -9
  37. intersystems_iris/_IRISObject.py +0 -424
  38. intersystems_iris/_IRISReference.py +0 -133
  39. intersystems_iris/_InStream.py +0 -149
  40. intersystems_iris/_LegacyIterator.py +0 -135
  41. intersystems_iris/_ListItem.py +0 -15
  42. intersystems_iris/_ListReader.py +0 -84
  43. intersystems_iris/_ListWriter.py +0 -161
  44. intersystems_iris/_LogFileStream.py +0 -115
  45. intersystems_iris/_MessageHeader.py +0 -51
  46. intersystems_iris/_OutStream.py +0 -25
  47. intersystems_iris/_PrintStream.py +0 -65
  48. intersystems_iris/_PythonGateway.py +0 -850
  49. intersystems_iris/_SharedMemorySocket.py +0 -87
  50. intersystems_iris/__init__.py +0 -79
  51. intersystems_iris/__main__.py +0 -7
  52. intersystems_iris/dbapi/_Column.py +0 -56
  53. intersystems_iris/dbapi/_DBAPI.py +0 -2631
  54. intersystems_iris/dbapi/_Descriptor.py +0 -46
  55. intersystems_iris/dbapi/_IRISStream.py +0 -65
  56. intersystems_iris/dbapi/_Message.py +0 -158
  57. intersystems_iris/dbapi/_Parameter.py +0 -171
  58. intersystems_iris/dbapi/_ParameterCollection.py +0 -141
  59. intersystems_iris/dbapi/_ResultSetRow.py +0 -361
  60. intersystems_iris/dbapi/_SQLType.py +0 -32
  61. intersystems_iris/dbapi/__init__.py +0 -0
  62. intersystems_iris/dbapi/preparser/_PreParser.py +0 -1674
  63. intersystems_iris/dbapi/preparser/_Scanner.py +0 -391
  64. intersystems_iris/dbapi/preparser/_Token.py +0 -81
  65. intersystems_iris/dbapi/preparser/_TokenList.py +0 -251
  66. intersystems_iris/dbapi/preparser/__init__.py +0 -0
  67. intersystems_iris/pex/_BusinessHost.py +0 -101
  68. intersystems_iris/pex/_BusinessOperation.py +0 -105
  69. intersystems_iris/pex/_BusinessProcess.py +0 -214
  70. intersystems_iris/pex/_BusinessService.py +0 -95
  71. intersystems_iris/pex/_Common.py +0 -228
  72. intersystems_iris/pex/_Director.py +0 -24
  73. intersystems_iris/pex/_IRISBusinessOperation.py +0 -5
  74. intersystems_iris/pex/_IRISBusinessService.py +0 -18
  75. intersystems_iris/pex/_IRISInboundAdapter.py +0 -5
  76. intersystems_iris/pex/_IRISOutboundAdapter.py +0 -17
  77. intersystems_iris/pex/_InboundAdapter.py +0 -57
  78. intersystems_iris/pex/_Message.py +0 -6
  79. intersystems_iris/pex/_OutboundAdapter.py +0 -46
  80. intersystems_iris/pex/__init__.py +0 -25
  81. iris_pex_embedded_python-3.4.0b13.dist-info/RECORD +0 -143
  82. iris_pex_embedded_python-3.4.0b13.dist-info/top_level.txt +0 -4
  83. irisnative/_IRISNative.py +0 -9
  84. irisnative/__init__.py +0 -10
  85. {iris_pex_embedded_python-3.4.0b13.dist-info → iris_pex_embedded_python-3.4.1.dist-info}/entry_points.txt +0 -0
  86. {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
-