You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/PythonCall.jl
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ include("JlWrap/JlWrap.jl")
14
14
include("Compat/Compat.jl")
15
15
16
16
# re-export everything
17
-
for m in [:_Py, :_pyconvert, :_pymacro, :_pywrap, :_jlwrap, :_compat]
17
+
for m in [:Core, :Convert, :PyMacro, :Wrap, :JlWrap, :Compat]
18
18
for k innames(@eval($m))
19
19
if k != m
20
20
@evalusing .$m:$k
@@ -24,19 +24,19 @@ for m in [:_Py, :_pyconvert, :_pymacro, :_pywrap, :_jlwrap, :_compat]
24
24
end
25
25
26
26
# non-exported API
27
-
for k in [:C, :GC, :pynew, :pyisnull, :pycopy!, :getptr, :pydel!, :unsafe_pynext, :PyNULL, :CONFIG]
28
-
@evalconst$k =_Py.$k
27
+
for k in [:pynew, :pyisnull, :pycopy!, :getptr, :pydel!, :unsafe_pynext, :PyNULL, :CONFIG]
28
+
@evalconst$k =Core.$k
29
29
end
30
30
for k in [:pyconvert_add_rule, :pyconvert_return, :pyconvert_unconverted, :PYCONVERT_PRIORITY_WRAP, :PYCONVERT_PRIORITY_ARRAY, :PYCONVERT_PRIORITY_CANONICAL, :PYCONVERT_PRIORITY_NORMAL, :PYCONVERT_PRIORITY_FALLBACK]
31
-
@evalconst$k =_pyconvert.$k
31
+
@evalconst$k =Convert.$k
32
32
end
33
33
for k in [:event_loop_on, :event_loop_off, :fix_qt_plugin_path]
34
-
@evalconst$k =_compat.$k
34
+
@evalconst$k =Compat.$k
35
35
end
36
36
37
37
# not API but used in tests
38
38
for k in [:pyjlanytype, :pyjlarraytype, :pyjlvectortype, :pyjlbinaryiotype, :pyjltextiotype, :pyjldicttype, :pyjlmoduletype, :pyjlintegertype, :pyjlrationaltype, :pyjlrealtype, :pyjlcomplextype, :pyjlsettype, :pyjltypetype]
0 commit comments