[pypy-dev] Print unicode strings in RPython?

2013-11-25 Thread Ryan Gonzalez
Hello, I'm writing an app in RPython. Whenever I try and print a unicode string, the compiled application will crash with a UnicodeEncodingError. Here is an example: def entry_point(argv): print u'\u2502' return 0 def target(driver, args): return entry_point, None When running it, I

[pypy-dev] some stm links

2013-11-25 Thread Carl Friedrich Bolz
Hi all, during OOPSLA I came upon some papers/projects that may be relevant to the STM effort, that I found interesting (though I haven't read them in detail yet, just skimmed). IBM Research Japan is doing a project to try to eliminate the GIL of Ruby's C VM using HTM extensions of various proces

Re: [pypy-dev] PyArray_Type cpyext bug

2013-11-25 Thread Antonio Cuni
Hi Matti, On 23/11/13 20:55, Matti Picus wrote: Can we just say "don't do that?" I guess the answer is no... Going down the initialization route seems to be the way numpy does it, I see import_array(); used extensively in numpy c code. Although making sure it is only called once seems to reall