[pywin32-bugs] [ pywin32-Bugs-796215 ] StarTeam object causes interpreter bug
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2003-08-27 21:43:37
|
Bugs item #796215, was opened at 2003-08-27 14:02 Message generated for change (Comment added) made by ramrom You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=796215&group_id=78018 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Charles Lechasseur (clechasseur_c) Assigned to: Nobody/Anonymous (nobody) Summary: StarTeam object causes interpreter bug Initial Comment: i try to use python to access the StarTeam COM interface thru automation (StarTeam is a source-control system: http://www.borland.com/starteam/). i do the following: import win32com.client from win32com.client import Dispatch f = Dispatch('StarTeam.StServerFactory') s = f.Create('<server>', <port>) at this point, the interpreter seems to break. anything i write (and i mean *anything*) results in File "<stdin>", line 1 dir() ^ SyntaxError: invalid syntax this behavior has been observed both in Python 2.3 with the appropriate win32all extensions and in ActivePython 2.2. ---------------------------------------------------------------------- Comment By: bob gailer (ramrom) Date: 2003-08-27 15:43 Message: Logged In: YES user_id=587593 When I do something similar I enter s = f.Create('<server>', <port>) and get Traceback ( File "<interactive input>", line 1 s = f.Create('<server>', <port>) ^ SyntaxError: invalid syntax (the caret is under the < before ports) which is what I'd expect, as the < is a relational operator expecting a left argument as well as a right. Or did you actually type something different than what you posted? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=796215&group_id=78018 |