[pypy-svn] r15428 - pypy/dist/pypy/translator/goal
hpk at codespeak.net
hpk at codespeak.net
Sat Jul 30 19:57:27 CEST 2005
Author: hpk
Date: Sat Jul 30 19:57:26 2005
New Revision: 15428
Modified:
pypy/dist/pypy/translator/goal/targetpypymain.py
Log:
we have to pass a zero-splitted string
(the entry_point builds the argv by splitting a
string by the 0 terminator)
Modified: pypy/dist/pypy/translator/goal/targetpypymain.py
==============================================================================
--- pypy/dist/pypy/translator/goal/targetpypymain.py (original)
+++ pypy/dist/pypy/translator/goal/targetpypymain.py Sat Jul 30 19:57:26 2005
@@ -63,7 +63,7 @@
w_entry_point = space.getitem(w_dict, space.wrap('entry_point'))
# sanity-check: call the entry point
- res = entry_point("app_example.py")
+ res = entry_point("pypy\x00app_example.py")
assert res == 0
return entry_point, [SomeString()]
More information about the Pypy-commit
mailing list