To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=54155
------- Additional comments from [EMAIL PROTECTED] Sun Nov 6 05:23:55 -0800
2005 -------
Hi,
seems to me to be a bug (or a strange behaviour) in python itself. I use the
python exec statement, e.g. start python and do the following
--------------
Python 2.3.4 (#53, Jul 2 2004, 22:10:14) [MSC v.1200 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> exec 'def f():\n\tpass\n#'
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "<string>", line 3
#
^
SyntaxError: invalid syntax
>>> exec 'def f():\n\tpass\n#\n'
>>>
-----------------------------
The syntax error is not given, when you import such a file, so python sadly
does something more than just evaluating the code :-(.
I think, I will work around this by adding a line feed when the code does not
end with one.
Joerg
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]