Weird output in pyperl
Felix Schwarz <[email protected]> Sun, 10 Jul 2005 14:01:50 +0100
| Newsgroups | gmane.comp.web.zope.perl |
|---|---|
| Message-ID | <[email protected]> |
------------10DDF1CD1E9CC4FE Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all, without too much hope for an helping hand as this list seems to be very quiet but I try nevertheless. :-) I succeeded in compiling pyperl on Fedora Core 2 [1]. After that I tried running the test suite. 8 failing tests (after patching test.py so that they get executed at all). I'm down to 7 now (Python error messages seem to have changed since 2001, patched apply.py accordingly). Now I am stuck after looking at eval.py. There is a problem that output gets lost if a program is executed via os.popen and pyperl is used. Attached is a very small testcase for that. I am very interested in getting pyperl running again with newer versions of Python (2.3+) and Perl (5.8+). Is there anyone on the list that knows a bit more about C and pyperl who wants to help me with that? Mentoring would be nice, too. If it helps I can provide a new pyperl package with all patches I have so far. [1] I got only three warnings that _POSIX_C_SOURCE is being redefined. That seems to be a conflict in /usr/include/sys/types.h and /usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE/perl.h. -- Felix ------------10DDF1CD1E9CC4FE Content-Type: text/plain; name="caller.py" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="caller.py" IyEvdXNyL2Jpbi9lbnYgcHl0aG9uCgppbXBvcnQgb3MKaW1wb3J0IHN5cwoKdGVzdGZpbGUgPSAn Y2FsbGVlLnB5JwpwaXBlID0gb3MucG9wZW4oJyIlcyIgIiVzIicgJSAoc3lzLmV4ZWN1dGFibGUs IHRlc3RmaWxlKSkKCndoaWxlIFRydWU6CiAgICBsaW5lID0gcGlwZS5yZWFkbGluZSgpCiAgICBp ZiBsaW5lID09ICcnOgogICAgICAgIGJyZWFrCiAgICBlbHNlOgogICAgICAgIHByaW50IGxpbmUK ------------10DDF1CD1E9CC4FE Content-Type: text/plain; name="callee.py" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="callee.py" IyEvdXNyL2Jpbi9lbnYgcHl0aG9uCgppbXBvcnQgcGVybAoKcHJpbnQgIlB5dGhvbiIKcmVzdWx0 ID0gcGVybC5ldmFsKCIiIgogICAgcHJpbnQgIlBlcmxcbiI7CiIiIikK ------------10DDF1CD1E9CC4FE Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Zope-perl maillist - [email protected] http://mail.zope.org/mailman/listinfo/zope-perl ------------10DDF1CD1E9CC4FE--