Re: [pypy-dev] Patch: comtypes works with these changes.

2011-06-17 Thread Thomas Heller
Am 09.06.2011 16:45, schrieb Thomas Heller: I have never build pypy myself, so I would prefer to wait for some windows binaries before trying this. I have now built pypy from the repository - the build did only work with -O2 not with -Ojit. And I have uploaded a new patch plus unittest

[pypy-dev] Understanding pypy

2011-06-09 Thread Thomas Heller
I have read the blog posts about 'writing an interpreter with pypy' with large interest, but not tried the code myself. It seems that if I restrict myself to the RPython subset, then I can write programs with python syntax, and compile them to standalone executables, optionally containing a jit c

Re: [pypy-dev] Patch: comtypes works with these changes.

2011-06-09 Thread Thomas Heller
Am 09.06.2011 16:32, schrieb Antonio Cuni: On 09/06/11 15:54, Thomas Heller wrote: Hello, here are patches against pypy 1.5 so that comtypes works with it (I hope it is acceptable to post patches here; I have no time to Hello Thomas, thank you for the patch. However, I fear that it might

Re: [pypy-dev] Patch: comtypes works with these changes.

2011-06-09 Thread Thomas Heller
Am 09.06.2011 16:04, schrieb Laura Creighton: Thank you for the patches, which are most appreciated. If you have any more of them, can you send them to the bug tracker https://bugs.pypy.org/ ? Things posted to the mailing list sometimes get forgotten. Sure: https://bugs.pypy.org/issue743 Tho

[pypy-dev] Patch: comtypes works with these changes.

2011-06-09 Thread Thomas Heller
Hello, here are patches against pypy 1.5 so that comtypes works with it (I hope it is acceptable to post patches here; I have no time to learn mercurial at the moment). Thanks, Thomas diff -x *.*~ -x *.orig -x *.pyc -ur c:\pypy-1.5.0a0-win32\lib_pypy/_ctypes/basics.py c:\pypy\lib_pypy/_ctypes/

Re: [pypy-dev] Interactive fails on pypy

2011-06-08 Thread Thomas Heller
Am 08.06.2011 18:28, schrieb Amaury Forgeot d'Arc: Hello Thomas! 2011/6/8 Thomas Heller: +putwch.argtypes = [ctypes.c_char] It's probably a c_wchar here... Sure, sorry for that. > Still working with ctypes? ;-) > With ctypes - yes, of course. It's the foundation of

Re: [pypy-dev] Interactive fails on pypy

2011-06-08 Thread Thomas Heller
Am 08.06.2011 11:27, schrieb Paolo Basso: Yep... Are there plans to implement the missing functions? Thanks, P 2011/6/8 Caleb Hattingh mailto:caleb.hatti...@gmail.com>> On 8 June 2011 11:15, Paolo Basso mailto:pa.ba...@gmail.com>> wrote: I tryed to run the attached code with pypy b