File tree Expand file tree Collapse file tree 4 files changed +13
-4
lines changed Expand file tree Collapse file tree 4 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 1
1
language : julia
2
2
julia :
3
- - 0.7
4
3
- 1.0
5
- - 1.1
4
+ - 1.2
6
5
- nightly
7
6
matrix :
8
7
allow_failures :
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
7
7
8
8
[compat ]
9
9
PyCall = " ≥ 1.90.0"
10
- julia = " ≥ 0.7.0 "
10
+ julia = " ≥ 1 "
11
11
12
12
[extras ]
13
13
Test = " 8dfed614-e22c-5e08-85e1-65c5234f0b40"
Original file line number Diff line number Diff line change @@ -18,7 +18,9 @@ include("callbacks.jl")
18
18
function __init__ ()
19
19
# Put julia's ARGS into python's so remappings will work
20
20
copy! (_py_sys, pyimport (" sys" ))
21
- _py_sys." argv" = ARGS
21
+ if length (ARGS ) > 0
22
+ _py_sys. argv = ARGS
23
+ end
22
24
23
25
# Fill in empty PyObjects
24
26
if ! (dirname (@__FILE__ ) in _py_sys." path" )
Original file line number Diff line number Diff line change
1
+ import PyCall
2
+
1
3
# Test basic rospy interactions
2
4
init_node (" jltest" , anonymous= true )
3
5
@@ -32,3 +34,9 @@ RobotOS.get_node_uri()
32
34
RobotOS. get_caller_id ()
33
35
RobotOS. get_published_topics ()
34
36
RobotOS. get_ros_root ()
37
+
38
+ # Issue 73 - Corruption of Python sys.argv
39
+ PyCall. py """
40
+ import argparse
41
+ argparse.ArgumentParser()
42
+ """
You can’t perform that action at this time.
0 commit comments