[pywin32-bugs] [ pywin32-Bugs-1166627 ] Makepy do not work for python-2.4.1c2
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2005-03-21 09:03:02
|
Bugs item #1166627, was opened at 2005-03-19 23:30 Message generated for change (Comment added) made by bor-ka You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1166627&group_id=78018 Category: com Group: None Status: Open Resolution: None Priority: 5 Submitted By: Boris Nazaroff (bor-ka) Assigned to: Nobody/Anonymous (nobody) Summary: Makepy do not work for python-2.4.1c2 Initial Comment: I've tried to install python-2.4.1c2 and pywin32 - (build 203 for 2.4). And when trying to use makepy on MSXML-4 or MSXML-3 it just bailed out with syntax error somewhere in the generated py-file. (Moreover, i've tried com tests - many of them have failed). Also I've tried latest CVS snapshot as of 10:00 (GMT+3) 19-Mar, have built it with MSVS 7.1 - no luck. I cannot decide if this is related to the "long code" bug, since (1) python do not crash, it just report syntax error and (2) this "long code" appears to be fixed at this moment. So I desided to add this issue as a new bug. Unfortunately I cannot check it with python 2.4 now, I'll report on this later. (Since latest ActiveState Python build works fine for me with python 2.4, and, as I think with pywin January snapshot - there were some pathches for overflows in the generation). I'll attach generated gen-py file and the error message, may be it'll help. ---------------------------------------------------------------------- >Comment By: Boris Nazaroff (bor-ka) Date: 2005-03-21 12:03 Message: Logged In: YES user_id=1242633 Ok, I've tried it on python 2.4 and 2.4.1c2. Generated {CLSID}.py file on 2.4.1c2. 2.4 imports it Ok 2.4.1c2 reports error in this module I do not know Python enough ot decide if this is a bug in 2.4.1c2 (or in 2.4 contrary, that parsed errorneous file Ok instead of producing an error). If this is a bug in 2.4.1c2, should it be reported to python project? ---------------------------------------------------------------------- Comment By: Boris Nazaroff (bor-ka) Date: 2005-03-20 20:07 Message: Logged In: YES user_id=1242633 It appears that it 'errs' in random place, at least I have tried several COMs and haven't succeeded in finding a patter, except that it always in the comment after some function. I'll try to reproduce it on another computer at work. May be it is 2.4.1 that is broken... ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2005-03-20 13:28 Message: Logged In: YES user_id=14198 That is a very strange error - I can see no problem with the generated file, and the error in the traceback is clearly referencing a 'return' in a comment. I've never seen anything like it :) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1166627&group_id=78018 |