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