karthikbalaguru wrote: > Hi, > > I am new to python, Kindly suggest to resolve a problem with a python > file. > What does the below error refer to ? > I use Redhat 9.0, python-2.2.2-26, python-devel-2.2.2-26 and > db4-4.0.14-20. > > [EMAIL PROTECTED] processor]# Analyzer processorcycle > /usr/local/SDK/bin/../core/bin/processorlib.py:8 > 8: Warning: 'yield' will become a reserved keyword in the future > Traceback (most recent call last): > File "/usr/local/SDK/bin/Analyzer", line 48, in ? > from debuglib import ProcessorInfo > File "/usr/local/SDK/bin/../core/bin/processorlib.py", line 88 > yield ProcessorObjectInfo(child, self.pt) > ^ > SyntaxError: invalid syntax > > Is this error related with the version of python / python-devel that i > use . > Any ideas / tips ?
I asked you yesterday why you are under the impression that your script is destined for version 2.2. The above error proves: it is *not*. Why don't you try running it with the installed version 2.4 or whatever fedora ships? Diez -- http://mail.python.org/mailman/listinfo/python-list