On Wed, 29 Sep 2010 18:40:39 -0700 (PDT), meanerelk <meaner...@gmail.com> wrote: > > Yes, it works with examples/demo.py. I am on Linux, CentOS: > > uname -s -r -p > Linux 2.6.18-194.8.1.el5 x86_64 > > Here is a minimal program that causes this issue: > > import sys > > def main(argv=None): > if argv is None: > argv = sys.argv[1:] > > if __name__ == "__main__": > sys.exit(main()) > > I've also tried appending this code to the end of demo.py. It failed at the > same line.
This seems to be some weird bug in Python's handling of the '-m' option. A workaround should be in git, but also check http://bugs.python.org/issue10129 which I've just reported. Thanks for the report, Andreas
pgpAc21ohjA0q.pgp
Description: PGP signature
_______________________________________________ PyCUDA mailing list PyCUDA@tiker.net http://lists.tiker.net/listinfo/pycuda