Re: [pypy-dev] os.tmpnam warnings

2011-06-08 Thread Armin Rigo
Hi Amaury, On Mon, Jun 6, 2011 at 3:55 PM, Amaury Forgeot d'Arc wrote: > Also ensure that the warning message points to the *caller* of os.tempnam(). > (I don't remember whether applevel functions are visible in the Traceback) They aren't; sys._getframe() ignores them completely. Armin. __

Re: [pypy-dev] setpgrp and getpgrp platform:errors

2011-06-08 Thread Armin Rigo
Hi Da_Blitz, On Mon, Jun 6, 2011 at 3:32 PM, Da_Blitz wrote: > according to the man page on linux (debian) there are 2 calling > conventions, the System V and the BSD the os.setpgrp and os.getpgrp do > not appear to take arguments Yes, it's done for the BSD. According to my Linux manpage and to

Re: [pypy-dev] M.Sc. student introducing myself

2011-06-08 Thread Chris Wj
Awesome, keep us posted! On Wed, Jun 8, 2011 at 11:16 AM, Even wrote: > Hello, I'm a computer science student who intent to work on PyPy for > my M.Sc. thesis. > > I have been a passionate Python programmer for seven years, and I > additionally knows C, C++, Java, Oz, Lisp and Assembler. > > My

Re: [pypy-dev] Interactive fails on pypy

2011-06-08 Thread Amaury Forgeot d'Arc
2011/6/8 Thomas Heller : > Well, comtypes doesn't work with pypy, but it uses some really deep > things from ctypes that is implemented differently in pypy.  Maybe > I can fix that ;-) A few years ago I did implement many things for comtypes. I went to the point where it could generate Python wrap

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 some frameworks that

Re: [pypy-dev] Interactive fails on pypy

2011-06-08 Thread Amaury Forgeot d'Arc
Hello Thomas! Still working with ctypes? ;-) 2011/6/8 Thomas Heller : > +putwch.argtypes = [ctypes.c_char] It's probably a c_wchar here... Otherwise it looks good! -- Amaury Forgeot d'Arc ___ pypy-dev mailing list [email protected] http://mail.pyth

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:[email protected]>> On 8 June 2011 11:15, Paolo Basso mailto:[email protected]>> wrote: I tryed to run the attached code with pypy b

[pypy-dev] M.Sc. student introducing myself

2011-06-08 Thread Even
Hello, I'm a computer science student who intent to work on PyPy for my M.Sc. thesis. I have been a passionate Python programmer for seven years, and I additionally knows C, C++, Java, Oz, Lisp and Assembler. My academic interests are algorithms, compilers and evolutionary algorithms, and I have

Re: [pypy-dev] Interactive fails on pypy

2011-06-08 Thread Amaury Forgeot d'Arc
Hi, 2011/6/8 Paolo Basso : > if msvcrt.kbhit(): > AttributeError: 'module' object has no attribute 'kbhit' The msvcrt module is implemented in pure Python (in pypy_lib/msvcrt.py) This function seems easy to add. Patches are welcome! -- Amaury Forgeot d'Arc __

Re: [pypy-dev] Interactive fails on pypy

2011-06-08 Thread Paolo Basso
Yep... Are there plans to implement the missing functions? Thanks, P 2011/6/8 Caleb Hattingh > On 8 June 2011 11:15, Paolo Basso wrote: > >> I tryed to run the attached code with pypy but it fails (it works >> correctly with python 2.6). >> Can anybody tell me why? Thanks. >> > > Error is this

[pypy-dev] Interactive fails on pypy

2011-06-08 Thread Paolo Basso
Hi, I tryed to run the attached code with pypy but it fails (it works correctly with python 2.6). Can anybody tell me why? Thanks. P Interactive.py Description: Binary data ___ pypy-dev mailing list [email protected] http://mail.python.org/mailman/l

Re: [pypy-dev] Arrays in rpython

2011-06-08 Thread Carl Friedrich Bolz
On 06/07/2011 06:03 PM, Amaury Forgeot d'Arc wrote: 2011/6/7 Santhosh Edukulla: Actually, there is also a module by name "Array" import array t=array.array(I,size) But is this allowed in RPython code? no, it is not. Cheers, Carl Friedrich ___ py