forum.vmspython.org Forum Index forum.vmspython.org
Forum system
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Maybe a few known things...

 
Post new topic   Reply to topic    forum.vmspython.org Forum Index -> Python for OpenVMS
View previous topic :: View next topic  
Author Message
jescab



Joined: 28 Jan 2008
Posts: 252

PostPosted: Fri Oct 31, 2014 1:09 pm    Post subject: Maybe a few known things... Reply with quote

Hi.
What running compile_all on the new kits (jfplib0008 and jfppy0700)
I get a few syntax errors. Maybe expected... Smile
Jan-Erik.

Code:

$ sea sys$login:a.log SyntaxError/win=(4,1)
Compiling /python_root/lib/lib2to3/tests/data/py3_test_grammar.py ...
  File "/python_root/lib/lib2to3/tests/data/py3_test_grammar.py", line 130
    x = ...
        ^
SyntaxError: invalid syntax

***************
Compiling /python_root/local/mpmath/libmp/exec_py3.py ...
  File "/python_root/local/mpmath/libmp/exec_py3.py", line 1
    exec_ = exec
               ^
SyntaxError: invalid syntax

***************
Compiling /python_root/local/mpmath/tests/extratest_gamma.py ...
  File "/python_root/local/mpmath/tests/extratest_gamma.py", line 50
    print("%s ok;" % name, end=' ')
                              ^
SyntaxError: invalid syntax

Compiling /python_root/local/mpmath/tests/torture.py ...
  File "/python_root/local/mpmath/tests/torture.py", line 80
    print(".", end=' ')
                  ^
SyntaxError: invalid syntax

***************
Compiling /python_root/local/reportlab/tools/pythonpoint/demos/examples.py ...
  File "/python_root/local/reportlab/tools/pythonpoint/demos/examples.py", line 786
    for a,b in g.items()):
                        ^
SyntaxError: invalid syntax
Back to top
View user's profile Send private message
jfp



Joined: 12 Jul 2004
Posts: 618

PostPosted: Sat Nov 01, 2014 8:11 am    Post subject: Reply with quote

Hi Jan-Erik,

Except the last one these are Python3 programs, so you can ignore the errors.

The last one is really a syntax error, you can fix it by removing the last ")" character. This is not a specific VMS problem,.

JF
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vmspython.org Forum Index -> Python for OpenVMS All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group