iris-pex-embedded-python 2.3.23b2__py3-none-any.whl → 2.3.23b3__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.

@@ -31,23 +31,21 @@ ClassMethod Page(skipheader As %Boolean = 0) As %Status [ ProcedureBlock = 1 ]
31
31
  Set %response.Domain = ..#DOMAIN
32
32
  Do %response.MatchLanguage()
33
33
 
34
+ if ..#DEVMODE {
35
+ w %session.SessionId
36
+ }
37
+
34
38
  #; Record if device re-direction is already active
35
39
  Set tRedirected=##class(%Library.Device).ReDirectIO()
36
40
 
37
41
  #; Record the redirect routine
38
42
  Set tRedirectRoutine=$System.Device.GetMnemonicRoutine()
39
-
40
- if ..#DEVMODE {
41
- #; Not so pretty but help to for reload the WSGI application
42
- do outputError^%SYS.cspServer2("","","","")
43
- }
44
- else {
45
- #; Now switch to using THIS routine for device redirection
46
- Use $io::("^%SYS.cspServer2")
47
43
 
48
- #; Switch device redirection on (may already be on but thats ok)
49
- Do ##class(%Library.Device).ReDirectIO(1)
50
- }
44
+ #; Now switch to using THIS routine for device redirection
45
+ Use $io::("^%SYS.cspServer2")
46
+
47
+ #; Switch device redirection on (may already be on but thats ok)
48
+ Do ##class(%Library.Device).ReDirectIO(1)
51
49
 
52
50
  #; Ensure that the application is defined (security check)
53
51
  If $$$GetSecurityApplicationsDispatchClass(%request.AppData)="" {
@@ -96,7 +94,7 @@ ClassMethod Page(skipheader As %Boolean = 0) As %Status [ ProcedureBlock = 1 ]
96
94
 
97
95
  Do ..Http500(##class(%Exception.StatusException).CreateFromStatus(tSC))
98
96
  }
99
-
97
+
100
98
  #; Ensure that at least something is written out as the body
101
99
  #; This will trigger the device redirect capture and force headers to be written
102
100
  #; (if not already done)
@@ -111,8 +109,7 @@ ClassMethod Page(skipheader As %Boolean = 0) As %Status [ ProcedureBlock = 1 ]
111
109
  #; Switch device redirection on
112
110
  Do ##class(%Library.Device).ReDirectIO(1)
113
111
  }
114
-
115
- #; Any errors should have been caught and reported
112
+
116
113
  Quit $$$OK
117
114
  }
118
115
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: iris_pex_embedded_python
3
- Version: 2.3.23b2
3
+ Version: 2.3.23b3
4
4
  Summary: Iris Interoperability based on Embedded Python
5
5
  Author-email: grongier <guillaume.rongier@intersystems.com>
6
6
  License: MIT License
@@ -18,7 +18,7 @@ grongier/cls/Grongier/PEX/PrivateSession/Message/Ack.cls,sha256=WbBn7pWj5mzruVfL
18
18
  grongier/cls/Grongier/PEX/PrivateSession/Message/Poll.cls,sha256=2lj-e20AH7RR8UgGJaldrk-1kd8WjQJNPiH-duds_4A,987
19
19
  grongier/cls/Grongier/PEX/PrivateSession/Message/Start.cls,sha256=DAtq4DyRqFq2_4Isa0cZjjwuAzdHjsQu8wMppK4myzs,994
20
20
  grongier/cls/Grongier/PEX/PrivateSession/Message/Stop.cls,sha256=ofVKjrN6UPFasalrjPFWYNwlJ5IBlAE62IH8_U07c0g,1435
21
- grongier/cls/Grongier/Service/WSGI.cls,sha256=2KrnsATyoarrN6un-2sJwNK-ANw36Waa8GgFx97XQKA,10598
21
+ grongier/cls/Grongier/Service/WSGI.cls,sha256=6nQq8Ddj-gXmnnVkQeQ9BPsn0I9i8hu9dbili742N1w,10391
22
22
  grongier/pex/__init__.py,sha256=nvcmRCxLy-lpL5GzlCKrmsSK8LF8Q0aKddx6ib8U50E,1166
23
23
  grongier/pex/__main__.py,sha256=ebEYPDOBKiXOlmdI4onpQLzfBKU4wyfijYyquA5dWV4,107
24
24
  grongier/pex/_business_host.py,sha256=G4-eWlQzWMvjaHauISfSoogPsfQYJavmRi563ak6FS8,20858
@@ -105,9 +105,9 @@ iris/iris_ipm.py,sha256=Q0jcNItjywlqOPZr0hgdTFSeLPNEmB-tcICOI_cXnaY,790
105
105
  iris/iris_ipm.pyi,sha256=j7CNUZcjeDu5sgeWUZJO_Qi4vQmHh6aD-jPWv8OdoUs,374
106
106
  irisnative/_IRISNative.py,sha256=HQ4nBhc8t8_5OtxdMG-kx1aa-T1znf2I8obZOPLOPzg,665
107
107
  irisnative/__init__.py,sha256=6YmvBLQSURsCPKaNg7LK-xpo4ipDjrlhKuwdfdNb3Kg,341
108
- iris_pex_embedded_python-2.3.23b2.dist-info/LICENSE,sha256=rZSiBFId_sfbJ6RL0GjjPX-InNLkNS9ou7eQsikciI8,1089
109
- iris_pex_embedded_python-2.3.23b2.dist-info/METADATA,sha256=i4jd-lv7DrBSOBzsc01noZTT-lszckwRwEG4DFy312Y,49682
110
- iris_pex_embedded_python-2.3.23b2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
111
- iris_pex_embedded_python-2.3.23b2.dist-info/entry_points.txt,sha256=atkAtHoIuwXcZ0jl5gwof0l__ru_lt8WhVYk6HxYf70,47
112
- iris_pex_embedded_python-2.3.23b2.dist-info/top_level.txt,sha256=Tl4ZHgeNefaZW2Oug30vSldhD-tWzixsIfzASBrZ9ps,43
113
- iris_pex_embedded_python-2.3.23b2.dist-info/RECORD,,
108
+ iris_pex_embedded_python-2.3.23b3.dist-info/LICENSE,sha256=rZSiBFId_sfbJ6RL0GjjPX-InNLkNS9ou7eQsikciI8,1089
109
+ iris_pex_embedded_python-2.3.23b3.dist-info/METADATA,sha256=4hV0DcHpmZqQuZIDLiK6qI3devsAFLvNA4NtMQ60hSo,49682
110
+ iris_pex_embedded_python-2.3.23b3.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
111
+ iris_pex_embedded_python-2.3.23b3.dist-info/entry_points.txt,sha256=atkAtHoIuwXcZ0jl5gwof0l__ru_lt8WhVYk6HxYf70,47
112
+ iris_pex_embedded_python-2.3.23b3.dist-info/top_level.txt,sha256=Tl4ZHgeNefaZW2Oug30vSldhD-tWzixsIfzASBrZ9ps,43
113
+ iris_pex_embedded_python-2.3.23b3.dist-info/RECORD,,