iris-pex-embedded-python 3.1.5b7__py3-none-any.whl → 3.1.5b9__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/cls/IOP/Common.cls CHANGED
@@ -118,7 +118,13 @@ Method Connect() As %Status
118
118
  Method OnTearDown() As %Status
119
119
  {
120
120
  set tSC = $$$OK
121
- do ..%class."_dispatch_on_tear_down"()
121
+ if $isObject(..%class) {
122
+ try {
123
+ do ..%class."_dispatch_on_tear_down"()
124
+ } catch ex {
125
+ set tSC = ex.AsStatus()
126
+ }
127
+ }
122
128
  quit tSC
123
129
  }
124
130
 
iop/cls/IOP/Message.cls CHANGED
@@ -1,7 +1,3 @@
1
- /* Copyright (c) 2021 by InterSystems Corporation.
2
- Cambridge, Massachusetts, U.S.A. All rights reserved.
3
- Confidential property of InterSystems Corporation. */
4
-
5
1
  Class IOP.Message Extends (Ens.MessageBody, %CSP.Page, %XML.Adaptor)
6
2
  {
7
3
 
@@ -79,11 +75,16 @@ Method jsonSet(pInput) As %Status
79
75
  , "Stream":..jsonStream
80
76
  , :$$$NULLOREF)
81
77
  Quit:tOldStream=pInput $$$OK
82
- Do:..type'="" Clear() Set i%type=""
78
+
79
+ If ..type'="" {
80
+ Set:(..type="String") i%jsonString=""
81
+ Set:(..type="Stream") i%jsonStream=$$$NULLOREF
82
+ Set i%type = ""
83
+ }
83
84
 
84
85
  If $ISOBJECT(pInput) {
85
86
  if pInput.%Extends("%Stream.GlobalCharacter") {
86
- Set ..jsonStream=pInput, i%type="Stream"
87
+ Set r%jsonStream=pInput, i%type="Stream"
87
88
  }
88
89
  else {
89
90
  Throw ##class(%Exception.General).%New("Invalid input type, must be a %Stream.GlobalCharacter or a %String")
@@ -97,15 +98,12 @@ Method jsonSet(pInput) As %Status
97
98
  Set sc = stream.Write($EXTRACT(pInput,i,(i+..#BUFFER)))
98
99
  Quit:$$$ISERR(sc)
99
100
  }
100
- Set ..jsonStream=stream, i%type="Stream"
101
+ Set r%jsonStream=stream, i%type="Stream"
102
+ }
103
+ else {
104
+ Set i%jsonString=pInput, i%type="String"
101
105
  }
102
- Set i%jsonString=pInput, i%type="String"
103
106
  }
104
- Quit $$$OK
105
- Clear()
106
- If ..type="String" { Set r%jsonString="" }
107
- ElseIf ..type="Stream" { Set r%jsonStream=$$$NULLOREF }
108
- Quit
109
107
  }
110
108
 
111
109
  Method GetObjectJson(ByRef atEnd)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: iris_pex_embedded_python
3
- Version: 3.1.5b7
3
+ Version: 3.1.5b9
4
4
  Summary: Iris Interoperability based on Embedded Python
5
5
  Author-email: grongier <guillaume.rongier@intersystems.com>
6
6
  License: MIT License
@@ -109,10 +109,10 @@ iop/_utils.py,sha256=b1vFnAXbcNV4uN9zojIeSeLgr0CuSt9bBgguZra0ve8,18105
109
109
  iop/cls/IOP/BusinessOperation.cls,sha256=lrymqZ8wHl5kJjXwdjbQVs5sScV__yIWGh-oGbiB_X0,914
110
110
  iop/cls/IOP/BusinessProcess.cls,sha256=s3t38w1ykHqM26ETcbCYLt0ocjZyVVahm-_USZkuJ1E,2855
111
111
  iop/cls/IOP/BusinessService.cls,sha256=7ebn32J9PiZXUgXuh5Xxm_7X6zHBiqkJr9c_dWxbPO8,1021
112
- iop/cls/IOP/Common.cls,sha256=vYTnsL-ch-vTjpigBtwOHgrnOQMmuTkqXT9F-vWE650,11068
112
+ iop/cls/IOP/Common.cls,sha256=4f4ZpLj8fsj8IKJDNb9pKoCokzo522JHWX0OqpAaC5g,11192
113
113
  iop/cls/IOP/Director.cls,sha256=M43LoTb6lwSr0J81RFxi1YLW1mwda09wQ7Xqr3nBtxo,2008
114
114
  iop/cls/IOP/InboundAdapter.cls,sha256=GeoCm6q5HcLJ5e4VxgqXiErJXqolBbpKwpunaNzpvjU,610
115
- iop/cls/IOP/Message.cls,sha256=n0r0FslXdDfPcHIiAlW7n596DDsDSNlTX8UTPaMnSV8,9911
115
+ iop/cls/IOP/Message.cls,sha256=0VYfCHsowTaOk76JpLM9Fcl_o9jNCYiRaXNQr4rMhM8,9717
116
116
  iop/cls/IOP/OutboundAdapter.cls,sha256=9eOwy5ojwcTzwrHs6LNrFQvUD8aqcoNCZrILN1ycdDM,958
117
117
  iop/cls/IOP/PickleMessage.cls,sha256=S3y7AClQ8mAILjxPuHdCjGosBZYzGbUQ5WTv4mYPNMQ,1673
118
118
  iop/cls/IOP/Test.cls,sha256=gAC9PEfMZsvAEWIa241-ug2FWAhITbN1SOispZzJPnI,2094
@@ -129,9 +129,9 @@ iop/cls/IOP/Service/WSGI.cls,sha256=VLNCXEwmHW9dBnE51uGE1nvGX6T4HjhqePT3LVhsjAE,
129
129
  iop/wsgi/handlers.py,sha256=NrFLo_YbAh-x_PlWhAiWkQnUUN2Ss9HoEm63dDWCBpQ,2947
130
130
  irisnative/_IRISNative.py,sha256=HQ4nBhc8t8_5OtxdMG-kx1aa-T1znf2I8obZOPLOPzg,665
131
131
  irisnative/__init__.py,sha256=6YmvBLQSURsCPKaNg7LK-xpo4ipDjrlhKuwdfdNb3Kg,341
132
- iris_pex_embedded_python-3.1.5b7.dist-info/LICENSE,sha256=rZSiBFId_sfbJ6RL0GjjPX-InNLkNS9ou7eQsikciI8,1089
133
- iris_pex_embedded_python-3.1.5b7.dist-info/METADATA,sha256=9apjpt62zloIoG66G2JK-SmnofhS3VQP7GUiegU2jD0,4367
134
- iris_pex_embedded_python-3.1.5b7.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
135
- iris_pex_embedded_python-3.1.5b7.dist-info/entry_points.txt,sha256=pj-i4LSDyiSP6xpHlVjMCbg1Pik7dC3_sdGY3Yp9Vhk,38
136
- iris_pex_embedded_python-3.1.5b7.dist-info/top_level.txt,sha256=VWDlX4YF4qFVRGrG3-Gs0kgREol02i8gIpsHNbhfFPw,42
137
- iris_pex_embedded_python-3.1.5b7.dist-info/RECORD,,
132
+ iris_pex_embedded_python-3.1.5b9.dist-info/LICENSE,sha256=rZSiBFId_sfbJ6RL0GjjPX-InNLkNS9ou7eQsikciI8,1089
133
+ iris_pex_embedded_python-3.1.5b9.dist-info/METADATA,sha256=4R4ENHCZJfl3daH7IUYD3njvra6ntf0BUhEZRw4yO-8,4367
134
+ iris_pex_embedded_python-3.1.5b9.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
135
+ iris_pex_embedded_python-3.1.5b9.dist-info/entry_points.txt,sha256=pj-i4LSDyiSP6xpHlVjMCbg1Pik7dC3_sdGY3Yp9Vhk,38
136
+ iris_pex_embedded_python-3.1.5b9.dist-info/top_level.txt,sha256=VWDlX4YF4qFVRGrG3-Gs0kgREol02i8gIpsHNbhfFPw,42
137
+ iris_pex_embedded_python-3.1.5b9.dist-info/RECORD,,