Re: [pypy-dev] Experimental GIL

2013-03-23 Thread Maciej Fijalkowski
On Sat, Mar 23, 2013 at 1:07 PM, Marko Tasic mtasi...@gmail.com wrote: Hi, I have had an idea for some time to re-implement how GIL works, but nothing radical. On purpose I'm saying that I don't want to remove GIL, but to modify it, so people who follow your list don't get too excited. Let

Re: [pypy-dev] python annotations

2013-03-14 Thread Maciej Fijalkowski
On Thu, Mar 14, 2013 at 2:18 PM, Dzhelil Rufat dzhe...@gmail.com wrote: I just found out about a new feature in python that allows you to do function annotations like below: def greet(name: str, age: int) - str: print('Hello {0}, you are {1} years old'.format(name, age)) See this link

Re: [pypy-dev] newbie question: why doesn't pypy run google app engine dev_appserver.py?

2013-03-02 Thread Maciej Fijalkowski
Hi Adam. I have no idea. Posting a traceback (or describing the way it does not work) will be a good start. On Sat, Mar 2, 2013 at 8:29 AM, Adam Sah a...@midgard.net wrote: There are hordes of small app engine apps that would love to self-host but for the (very) poor performance of

[pypy-dev] cffi in stdlib

2013-02-26 Thread Maciej Fijalkowski
Hello. I would like to discuss on the language summit a potential inclusion of cffi[1] into stdlib. This is a project Armin Rigo has been working for a while, with some input from other developers. It seems that the main reason why people would prefer ctypes over cffi these days is because it's

Re: [pypy-dev] cffi in stdlib

2013-02-26 Thread Maciej Fijalkowski
Eh, I'm a moron, this was supposed to go to python-dev, not here. please ignore On Tue, Feb 26, 2013 at 5:11 PM, Maciej Fijalkowski fij...@gmail.com wrote: Hello. I would like to discuss on the language summit a potential inclusion of cffi[1] into stdlib. This is a project Armin Rigo has been

Re: [pypy-dev] cffi in stdlib

2013-02-26 Thread Maciej Fijalkowski
. There is not much more than I described in the mail put it in :) Cheers. Davide Del Vento, On 02/26/2013 08:13 AM, Maciej Fijalkowski wrote: Eh, I'm a moron, this was supposed to go to python-dev, not here. please ignore On Tue, Feb 26, 2013 at 5:11 PM, Maciej Fijalkowski fij...@gmail.com

Re: [pypy-dev] translating pypy benchmarks to C

2013-02-24 Thread Maciej Fijalkowski
On Sun, Feb 24, 2013 at 7:29 PM, Ghitulete Razvan razvan.ghitul...@gmail.com wrote: On Sun, Feb 24, 2013 at 6:58 PM, Alex Gaynor alex.gay...@gmail.com wrote: Hi, Why are you trying to do this? The translator doesn't handle random Python, only RPython. Alex I am working on a research

Re: [pypy-dev] translating pypy benchmarks to C

2013-02-24 Thread Maciej Fijalkowski
On Sun, Feb 24, 2013 at 10:10 PM, Daπid davidmen...@gmail.com wrote: On 24 February 2013 18:54, Douwe Osinga do...@triposo.com wrote: Have you tried cython? Another possibility is Shedskin: an experimental compiler, that can translate pure, but implicitly statically typed Python (2.4-2.6)

Re: [pypy-dev] [rpython] What might prevent a function call from beeing invlined by the JIT?

2013-02-22 Thread Maciej Fijalkowski
Maciej Fijalkowski fij...@gmail.com: On Fri, Feb 22, 2013 at 8:49 AM, Костя Лопухин kostia.lopu...@gmail.com wrote: In what cases does the jit decide not to inline a function call, but place call_may_force instead? The context is that I have a simple interpreter, like an expanded kermit

Re: [pypy-dev] HTML Parser?

2013-02-20 Thread Maciej Fijalkowski
On Wed, Feb 20, 2013 at 8:02 PM, Amaury Forgeot d'Arc amaur...@gmail.com wrote: 2013/2/20 Joe Hillenbrand joehil...@gmail.com What is the recommended HTML parser to run in PyPy? The typical goto for Python is lxml, but of course that doesn't work with PyPy. This is not true anymore. There

Re: [pypy-dev] HTML Parser?

2013-02-20 Thread Maciej Fijalkowski
On Wed, Feb 20, 2013 at 9:29 PM, Armin Rigo ar...@tunes.org wrote: Hi all, Just so everybody knows, the plan is to release CFFI 0.6 latest when we do the PyPy 2.0 release, and include it fully inside PyPy too. (The idea is to avoid pip install cffi, which would get a potentially incompatible

Re: [pypy-dev] Unicode encode/decode speed (cont)

2013-02-19 Thread Maciej Fijalkowski
On Tue, Feb 19, 2013 at 2:09 PM, Eleytherios Stamatogiannakis est...@gmail.com wrote: On 18/02/13 21:15, Amaury Forgeot d'Arc wrote: 2013/2/18 Alex Gaynor alex.gay...@gmail.com mailto:alex.gay...@gmail.com So, iter(file).next() is slow? Yes, but only with rU mode. My benchmark with

Re: [pypy-dev] Unicode encode/decode speed

2013-02-17 Thread Maciej Fijalkowski
On Sun, Feb 17, 2013 at 11:43 AM, Armin Rigo ar...@tunes.org wrote: Hi, On Tue, Feb 12, 2013 at 7:14 PM, Eleytherios Stamatogiannakis est...@gmail.com wrote: Also we are looking into adding a special ffi.string_decode_UTF8 in CFFI's backend to reduce the number of calls that are needed to go

Re: [pypy-dev] [pypy-commit] pypy jitframe-on-heap: fix for call_assembler with floats. The offset calculation for the arguments to call_assembler in rewrite.py assumes a double-word aligned JITFRAME

2013-02-17 Thread Maciej Fijalkowski
On Sun, Feb 17, 2013 at 4:00 AM, bivab nore...@buildbot.pypy.org wrote: Author: David Schneider david.schnei...@picle.org Branch: jitframe-on-heap Changeset: r61341:017892f48c74 Date: 2013-02-17 02:59 +0100 http://bitbucket.org/pypy/pypy/changeset/017892f48c74/ Log:fix for

Re: [pypy-dev] Release date for PyPy 2.0 beta 2?

2013-02-16 Thread Maciej Fijalkowski
On Sat, Feb 16, 2013 at 11:48 PM, Dinu Gherman gher...@darwin.in-berlin.de wrote: Hi, I'm trying to make some performance comparisons using various tools like CPython, Cython, PyPy and Numba as described in an exercise I've put up here for a presentation (a tiny function generating digits of

Re: [pypy-dev] [pypy-commit] pypy jitframe-on-heap: start fixing call_assembler for ARM

2013-02-14 Thread Maciej Fijalkowski
Hi David. I started working on this, but also this is again a direct copy of x86 code. I understand where it comes from but please refrain from doing it in the future. I will work out the call_assembler and friends, but I'll backout your commit. On Thu, Feb 14, 2013 at 5:44 PM, bivab

Re: [pypy-dev] Generator leaks

2013-02-14 Thread Maciej Fijalkowski
On Thu, Feb 14, 2013 at 11:33 PM, Mark Roberts wiz...@gmail.com wrote: On Tue, Feb 12, 2013 at 10:14 AM, pypy-dev-requ...@python.org wrote: Hi pypy-dev (and hi armin :) Quick question - do we make https://bugs.pypy.org/issue1282 a release blocker? As far as I understand this is a

Re: [pypy-dev] test_all.py can't recognize has multi inherited classes

2013-02-14 Thread Maciej Fijalkowski
On Fri, Feb 15, 2013 at 9:45 AM, Ronny Pfannschmidt ronny.pfannschm...@gmx.de wrote: i confirmed the issue - its in the included pytest and its fixed upstream its going to be fixed in the pytest branch of pypy later Can't you fix it on default? On 02/15/2013 08:34 AM, Ronny Pfannschmidt

Re: [pypy-dev] Unicode encode/decode speed

2013-02-13 Thread Maciej Fijalkowski
On Tue, Feb 12, 2013 at 8:14 PM, Eleytherios Stamatogiannakis est...@gmail.com wrote: On 12/02/13 11:04, Maciej Fijalkowski wrote: I would like to see some evidence about it. Did you try valgrind? Cheers, fijal Even better, we wanted to find a way for you to be able to test

Re: [pypy-dev] Unicode encode/decode speed

2013-02-13 Thread Maciej Fijalkowski
On Wed, Feb 13, 2013 at 1:39 PM, Eleytherios Stamatogiannakis est...@gmail.com wrote: On 13/02/13 10:08, Maciej Fijalkowski wrote: Hey I have serious trouble running apsw. Message I got so far: /home/fijal/.virtualenvs/cffi/local/lib/python2.7/site-packages/apsw.so: undefined symbol

Re: [pypy-dev] gcc warnings / errors in translation

2013-02-12 Thread Maciej Fijalkowski
On Tue, Feb 12, 2013 at 6:57 AM, Justin Bogner m...@justinbogner.com wrote: Armin Rigo ar...@tunes.org writes: Ah, indeed. We declare most arrays as itemtype x[1], so gcc complains when it can prove we do accesses at an index 0. Is there a good reason not to use the C99 itemtype x[] or even

Re: [pypy-dev] efficient string concatenation (yep, from 2004)

2013-02-12 Thread Maciej Fijalkowski
Hi Christian. We have it, just not enabled by default. --objspace-with-strbuf I think On Wed, Feb 13, 2013 at 1:53 AM, Christian Tismer tis...@stackless.com wrote: Hi friends, efficient string concatenation has been a topic in 2004. Armin Rigo proposed a patch with the name of the subject,

Re: [pypy-dev] gcc warnings / errors in translation

2013-02-11 Thread Maciej Fijalkowski
This: warning: array subscript is above array bounds [-Warray-bounds] Sounds like it's never correct. Should we pass -Wno-array-bounds? On Mon, Feb 11, 2013 at 10:39 AM, Armin Rigo ar...@tunes.org wrote: Hi Matti, On Mon, Feb 11, 2013 at 6:16 AM, Matti Picus matti.pi...@gmail.com wrote:

Re: [pypy-dev] win32 own test failures

2013-02-11 Thread Maciej Fijalkowski
On Mon, Feb 11, 2013 at 10:57 AM, Armin Rigo ar...@tunes.org wrote: Hi all, On Wed, Feb 6, 2013 at 12:26 AM, Maciej Fijalkowski fij...@gmail.com wrote: it's probably already fixed on jitframe-on-heap which we aim to merge Just answering this mail for the records: yes, on windows these tests

Re: [pypy-dev] NumPyPy effort

2013-02-07 Thread Maciej Fijalkowski
On Thu, Feb 7, 2013 at 8:52 AM, Esteban Gínez egi...@gmail.com wrote: Hi there! I am currently looking to help out with PyPy and it seems like a good place to put some effort is in the NumPy. If someone can give pointers and resource on where/how to get started I would appreciated a ton.

Re: [pypy-dev] Great experience with PyPy

2013-02-07 Thread Maciej Fijalkowski
On Thu, Feb 7, 2013 at 1:55 PM, Marko Tasic mtasi...@gmail.com wrote: Hi, I would like to share short story with you and share what we have accomplished with PyPy and its friends so far. Company that I have worked for last 7 months (intentionally unnamed) gave me absolute permission to pick

Re: [pypy-dev] Parallella open hardware platform

2013-02-06 Thread Maciej Fijalkowski
Hi John. Let me summarize your long post how I understood it. You guys should bet everything on platform X that both does not need PyPy and expressed no real interest. The reason why is because PyPy is not growing fast enough and we need a niche market. On top of that we should answer a lot of

Re: [pypy-dev] win32 own test failures

2013-02-05 Thread Maciej Fijalkowski
On Wed, Feb 6, 2013 at 12:51 AM, Matti Picus matti.pi...@gmail.com wrote: fwiw, this happened on the remove-globals-in-jit branch and began occurring soon after the first commits on the branch, after changeset 8c87151e76f0 on that branch the test passed on 64 bit linux. Matti it's probably

Re: [pypy-dev] Should jitviewer come with a warning?

2013-02-04 Thread Maciej Fijalkowski
On Mon, Feb 4, 2013 at 2:12 AM, John Camara john.m.cam...@gmail.com wrote: that is definitely a no (my screen is too small to have some noise there, if for no other reason), it might have a warning in the documentation though, if it's any useful. But honestly, I doubt such a warning makes any

Re: [pypy-dev] Should jitviewer come with a warning?

2013-02-03 Thread Maciej Fijalkowski
On Sun, Feb 3, 2013 at 9:25 PM, exar...@twistedmatrix.com wrote: On 05:39 pm, john.m.cam...@gmail.com wrote: I have been noticing a pattern where many who are writing Python code to run on PyPy are relying more and more on using the jitviewer to help them write faster code. Unfortunately,

Re: [pypy-dev] Should jitviewer come with a warning?

2013-02-03 Thread Maciej Fijalkowski
On Sun, Feb 3, 2013 at 10:12 PM, Maciej Fijalkowski fij...@gmail.com wrote: On Sun, Feb 3, 2013 at 10:08 PM, John Camara john.m.cam...@gmail.com wrote: What makes you think people will even read this warning, let alone prioritize it over their immediate desire to make their program run faster

Re: [pypy-dev] Parallella open hardware platform

2013-02-03 Thread Maciej Fijalkowski
On Fri, Feb 1, 2013 at 12:01 AM, John Camara john.m.cam...@gmail.com wrote: A couple of days ago I heard about the Parallella [1] project which is an open hardware platform similar to the Raspberry Pi but with much higher capabilities. It has a Zynq Z-7010 which has both a dual core ARM A9

Re: [pypy-dev] Should jitviewer come with a warning?

2013-02-03 Thread Maciej Fijalkowski
On Sun, Feb 3, 2013 at 10:29 PM, John Camara john.m.cam...@gmail.com wrote: Also, looking at the msgpack - this code is maybe not ideal, but if you're dealing with buffer-level protocols, you end up with code looking like C a lot. I do agree that this type a code will likely end up looking

Re: [pypy-dev] Should jitviewer come with a warning?

2013-02-03 Thread Maciej Fijalkowski
On Mon, Feb 4, 2013 at 12:39 AM, Steven D'Aprano st...@pearwood.info wrote: On 04/02/13 06:25, exar...@twistedmatrix.com wrote: On 05:39 pm, john.m.cam...@gmail.com wrote: I have been noticing a pattern where many who are writing Python code to run on PyPy are relying more and more on using

Re: [pypy-dev] Translating safely (without executing)

2013-01-28 Thread Maciej Fijalkowski
On Tue, Jan 29, 2013 at 1:55 AM, Ronny Pfannschmidt ronny.pfannschm...@gmx.de wrote: Hi Kirk, you need to check for __name__ == '__main__' before the last line rpython does load code by importing and the last line will always run the program, guard it with a condition, and it will work

Re: [pypy-dev] Extending include path when translating?

2013-01-27 Thread Maciej Fijalkowski
On Sun, Jan 27, 2013 at 4:22 PM, Skip Montanaro s...@pobox.com wrote: I'm back messing around, trying to get PyPy going on Solaris. I worked around one issue to get it to use the -std=c99 flag with GCC. I stumbled on a bug in ctypes/util.py and found a patch which solves that problem:

Re: [pypy-dev] python bytecode optimization.

2013-01-21 Thread Maciej Fijalkowski
On Mon, Jan 21, 2013 at 1:38 PM, Armin Rigo ar...@tunes.org wrote: Hi, We should also mention that all, or almost all, of these optimizations have limited benefits in PyPy: as soon as the JIT kicks in, they are entirely pointless. They have a limited benefit anyway in the sense that they

Re: [pypy-dev] CFFI speed results

2012-12-26 Thread Maciej Fijalkowski
On Wed, Dec 26, 2012 at 5:24 PM, Elefterios Stamatogiannakis est...@gmail.com wrote: On 26/12/2012 12:48 μμ, Maciej Fijalkowski wrote: On Mon, Dec 17, 2012 at 10:42 PM, Maciej Fijalkowski fij...@gmail.com wrote: On Mon, Dec 17, 2012 at 3:46 PM, Eleytherios Stamatogiannakis est...@gmail.com

Re: [pypy-dev] Config value owner

2012-12-24 Thread Maciej Fijalkowski
On Mon, Dec 24, 2012 at 1:16 PM, anatoly techtonik techto...@gmail.com wrote: What is the meaning of value owner in Config class? It prevents useful debugging output from displaying (like --help option, which doesn't work for translator.py on my machine due to missing compiler traceback).

Re: [pypy-dev] pypy services hosting / action needed!

2012-12-21 Thread Maciej Fijalkowski
On Fri, Dec 21, 2012 at 4:11 PM, holger krekel hol...@merlinux.eu wrote: Hi all, as to migrating speed.pypy.org, how is it related to speed.python.org? just stumbled over a thread discussing the latter here: http://mail.python.org/pipermail/speed/2012-October/000224.html There is even

Re: [pypy-dev] pypy services hosting / action needed!

2012-12-21 Thread Maciej Fijalkowski
On Fri, Dec 21, 2012 at 4:56 PM, holger krekel hol...@merlinux.eu wrote: On Fri, Dec 21, 2012 at 16:13 +0200, Maciej Fijalkowski wrote: On Fri, Dec 21, 2012 at 4:11 PM, holger krekel hol...@merlinux.eu wrote: Hi all, as to migrating speed.pypy.org, how is it related to speed.python.org

Re: [pypy-dev] Twisted sandbox library.

2012-12-20 Thread Maciej Fijalkowski
On Fri, Dec 21, 2012 at 12:21 AM, Jonathan Slenders jonat...@slenders.be wrote: Hi all, me again :) As contributions for a better sandbox hypervisor library were welcome, I here contribute our Twisted Matrix hypervisor.

Re: [pypy-dev] CFFI speed results

2012-12-17 Thread Maciej Fijalkowski
On Mon, Dec 17, 2012 at 3:46 PM, Eleytherios Stamatogiannakis est...@gmail.com wrote: We had a bug in our previous benchmark (mspw_bench.sql). The way it was written allowed SQLite to short-circuit column data retrieval, ending up with minimal exercising of the CFFI layer. I thought it was a

Re: [pypy-dev] CFFI speed results

2012-12-15 Thread Maciej Fijalkowski
On Sat, Dec 15, 2012 at 12:27 PM, Armin Rigo ar...@tunes.org wrote: Hi, On Sat, Dec 15, 2012 at 7:51 AM, Maciej Fijalkowski fij...@gmail.com wrote: And ASPW does the same right? I understand the general need for UTF8, I just didn't find it in this particular query. Fwiw, I wonder again

Re: [pypy-dev] SegFault when running Scrapy tests.

2012-12-14 Thread Maciej Fijalkowski
On Fri, Dec 14, 2012 at 8:24 PM, Joe Hillenbrand joehil...@gmail.com wrote: Hi all, I'm starting a new thread because the last one seems to be on a new topic. I was just trying out the scrapy unit tests in PyPy and I've run into some segfaults. To reproduce, download and install Scrapy:

Re: [pypy-dev] Scrapy fails in PyPy

2012-12-14 Thread Maciej Fijalkowski
On Fri, Dec 14, 2012 at 9:44 PM, Stefan Behnel stefan...@behnel.de wrote: Alex Gaynor, 13.12.2012 08:43: Out of curiosity Stefan, if we had an alternate C-API with similar methods (e.g. PyPyList_Append or so), but different signatures and memory model, how hard do you think it would be to have

Re: [pypy-dev] SegFault when running Scrapy tests.

2012-12-14 Thread Maciej Fijalkowski
On Fri, Dec 14, 2012 at 9:38 PM, Maciej Fijalkowski fij...@gmail.com wrote: On Fri, Dec 14, 2012 at 8:24 PM, Joe Hillenbrand joehil...@gmail.com wrote: Hi all, I'm starting a new thread because the last one seems to be on a new topic. I was just trying out the scrapy unit tests in PyPy

Re: [pypy-dev] SegFault when running Scrapy tests.

2012-12-14 Thread Maciej Fijalkowski
On Fri, Dec 14, 2012 at 11:39 PM, Joe Hillenbrand joehil...@gmail.com wrote: Hi Joe It crashes somewhere in the error recovering code of lxml. Chances are either cython or lxml do something that pypy is unhappy about. We're just discussing a medium-term plan how to fight with such issues

Re: [pypy-dev] CFFI speed results

2012-12-14 Thread Maciej Fijalkowski
On Sat, Dec 15, 2012 at 2:56 AM, Elefterios Stamatogiannakis est...@gmail.com wrote: On 15/12/2012 12:00 πμ, Maciej Fijalkowski wrote: Hi. For what is worth roughly 1/3 of the time is spent importing all the things. This is done in the compilation step in the ASPW, so please try running

Re: [pypy-dev] CFFI speed results

2012-12-13 Thread Maciej Fijalkowski
to the previous one, and we'll provide it to you. Many many thanks, Thanks! l. On 11/12/2012 7:48 μμ, Maciej Fijalkowski wrote: Hi Quick question - can you post your benchmarks somewhere so I can try them? (I'll answer the rest of your mail separately) Cheers, fijal

Re: [pypy-dev] Scrapy fails in PyPy

2012-12-13 Thread Maciej Fijalkowski
On Thu, Dec 13, 2012 at 9:35 AM, Stefan Behnel stefan...@behnel.de wrote: Maciej Fijalkowski, 12.12.2012 20:10: On Wed, Dec 12, 2012 at 7:06 PM, Joe Hillenbrand wrote: I was able to fix the issue with scrapy. https://github.com/joehillen/scrapy/commit/8778af5c5be50a5d746751352f8d710d1f24681c

Re: [pypy-dev] Scrapy fails in PyPy

2012-12-13 Thread Maciej Fijalkowski
On Thu, Dec 13, 2012 at 7:21 PM, Stefan Behnel stefan...@behnel.de wrote: Maciej Fijalkowski, 13.12.2012 09:13: On Thu, Dec 13, 2012 at 9:35 AM, Stefan Behnel wrote: Maciej Fijalkowski, 12.12.2012 20:10: On Wed, Dec 12, 2012 at 7:06 PM, Joe Hillenbrand wrote: I was able to fix the issue

Re: [pypy-dev] Scrapy fails in PyPy

2012-12-13 Thread Maciej Fijalkowski
On Thu, Dec 13, 2012 at 10:47 PM, Amaury Forgeot d'Arc amaur...@gmail.com wrote: 2012/12/13 Stefan Behnel stefan...@behnel.de My intuition was to add a fastpath to Py_DECREF() that would do (close to) nothing if the PyPy object is still alive. Either that, or move this whole decision into C

Re: [pypy-dev] CFFI speed results

2012-12-11 Thread Maciej Fijalkowski
On Tue, Dec 11, 2012 at 7:00 PM, Eleytherios Stamatogiannakis est...@gmail.com wrote: Hello, We have been testing CFFI here for the purpose of speeding up madIS [*], and here are some preliminary results. First of all, under pypy, CFFI is a *lot* faster than ctypes. In callback

Re: [pypy-dev] pypy services hosting / action needed!

2012-12-07 Thread Maciej Fijalkowski
On Fri, Dec 7, 2012 at 5:35 AM, Carl Friedrich Bolz cfb...@gmx.de wrote: On 12/07/2012 08:58 AM, Maciej Fijalkowski wrote: On Thu, Dec 6, 2012 at 10:47 AM, Alex Gaynor alex.gay...@gmail.com wrote: I have a slight preference for the PSF servers if it's possible, I'll get in touch with Noah

Re: [pypy-dev] Scrapy fails in PyPy

2012-12-06 Thread Maciej Fijalkowski
On Wed, Dec 5, 2012 at 3:40 PM, Joe Hillenbrand joehil...@gmail.com wrote: I've found a place where PyPy and CPython disagree. https://gist.github.com/4220533 This might not be the only issue, but it's the first thing I've found so far. -Joe This is a well known issue - PyPy's methods and

Re: [pypy-dev] Javascript interpreter and r_uint

2012-12-06 Thread Maciej Fijalkowski
On Thu, Dec 6, 2012 at 3:52 AM, holger krekel hol...@merlinux.eu wrote: On Thu, Dec 06, 2012 at 02:14 -0800, Maciej Fijalkowski wrote: On Thu, Dec 6, 2012 at 1:58 AM, Jonathan Slenders jonat...@slenders.be wrote: Hi all, Yesterday, I did some experiments with the existing javascript

Re: [pypy-dev] pypy services hosting / action needed!

2012-12-06 Thread Maciej Fijalkowski
On Thu, Dec 6, 2012 at 8:26 AM, holger krekel hol...@merlinux.eu wrote: On Thu, Dec 06, 2012 at 07:57 -0800, Maciej Fijalkowski wrote: On Thu, Dec 6, 2012 at 7:23 AM, holger krekel hol...@merlinux.eu wrote: Hi folks, for the last several years i cared for hosting these pypy services

Re: [pypy-dev] PPC

2012-12-03 Thread Maciej Fijalkowski
On Mon, Dec 3, 2012 at 8:29 AM, David Edelsohn dje@gmail.com wrote: On Mon, Dec 3, 2012 at 10:24 AM, Wiktor Mizdal wiktor8...@o2.pl wrote: Which operating systems will support Pypy PowerPC backend? PPC64 Linux. It probably could run on PPC64 FreeBSD as well. It could run on AIX,

Re: [pypy-dev] PyPy 2.0 beta 1 released

2012-11-25 Thread Maciej Fijalkowski
on. Greenlets support in the JIT is one that we would like to have before 2.0 final. Two important items that will not make it to 2.0, but are being actively worked on, are: * Faster JIT warmup time. * Software Transactional Memory. Cheers, Maciej Fijalkowski, Armin Rigo and the PyPy team

Re: [pypy-dev] PyPy 2.0 beta 1 released

2012-11-25 Thread Maciej Fijalkowski
On Sun, Nov 25, 2012 at 11:36 AM, Stefan Behnel stefan...@behnel.de wrote: Maciej Fijalkowski, 25.11.2012 11:14: On Fri, Nov 23, 2012 at 4:51 PM, Phyo Arkar wrote: ARM Build! thats mean we can run Pypy in android now right? I am building my own Python for Android with required dependencies , i

[pypy-dev] PyPy 2.0 beta 1 released

2012-11-22 Thread Maciej Fijalkowski
, but are being actively worked on, are: * Faster JIT warmup time. * Software Transactional Memory. Cheers, Maciej Fijalkowski, Armin Rigo and the PyPy team ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Is cffi fixed for win32?

2012-11-08 Thread Maciej Fijalkowski
On Wed, Nov 7, 2012 at 9:18 PM, Armin Rigo ar...@tunes.org wrote: Hi Matti, hi all, On Tue, Nov 6, 2012 at 10:54 PM, Matti Picus matti.pi...@gmail.com wrote: Are there anymore failing win32 tests for cffi, or is cffi fully supported for windows now? There are no failure left from test_c,

Re: [pypy-dev] Excessive blocking in multiprocessing?

2012-11-03 Thread Maciej Fijalkowski
On Sat, Nov 3, 2012 at 1:02 AM, Alejandro Pulver alepul...@gmail.com wrote: On 11/02/2012 07:36 PM, Alejandro Pulver wrote: On 11/02/2012 06:40 PM, Taavi Burns wrote: I see that you're reading from the compressed zip file directly. That makes me suspect that your map/reduce is waiting for

Re: [pypy-dev] documentation of _immutable_?

2012-10-29 Thread Maciej Fijalkowski
On Tue, Oct 30, 2012 at 1:15 AM, Maciej Fijalkowski fij...@gmail.com wrote: On Tue, Oct 30, 2012 at 12:19 AM, wlavrij...@lbl.gov wrote: Hi, any place where I can find docs describing _immutable_ and _immutable_fields_ in some detail? As it happens, they don't quite do what I expected, which

Re: [pypy-dev] Weird C code in crashing code line

2012-10-12 Thread Maciej Fijalkowski
On Thu, Oct 11, 2012 at 7:41 AM, Stefan Behnel stefan...@behnel.de wrote: Hi, I get a crash in lxml's test suite on 64bit Linux, right with the first test. I couldn't investigate it in depth so far, but at least I found that it crashes in line 606 of obmalloc.c, which reads as follows:

Re: [pypy-dev] Research with PyPy Translation Toolchain

2012-10-04 Thread Maciej Fijalkowski
On Thu, Oct 4, 2012 at 8:17 PM, Adam R. Smith smith...@illinois.edu wrote: I am a PhD candidate at the University of Illinois. I am interested in learning more about how to use the PyPy Translation Toolchain as part of a research project. We would like to write some code in Python and generate

Re: [pypy-dev] Research with PyPy Translation Toolchain

2012-10-04 Thread Maciej Fijalkowski
On Thu, Oct 4, 2012 at 11:22 PM, Adam R. Smith mradamsm...@gmail.com wrote: Is there any documentation available on what RPython consists of? I can't seem to find a manual. http://doc.pypy.org/en/latest/coding-guide.html#id1 On Thu, Oct 4, 2012 at 4:05 PM, Maciej Fijalkowski fij

Re: [pypy-dev] MalGen as a benchmark?

2012-09-30 Thread Maciej Fijalkowski
On Sun, Sep 30, 2012 at 7:56 PM, Chris Leary cdle...@acm.org wrote: On Sun, Sep 30, 2012 at 6:08 AM, Maciej Fijalkowski fij...@gmail.com wrote: at current svn version it plain doesn't work without seed data Yeah, the first step is that it has to generate seed data. Since it's the same loop

Re: [pypy-dev] MalGen as a benchmark?

2012-09-29 Thread Maciej Fijalkowski
On Sat, Sep 29, 2012 at 3:22 AM, Chris Leary cdle...@acm.org wrote: On Fri, Sep 28, 2012 at 4:39 PM, Alex Gaynor alex.gay...@gmail.com wrote: Looks like it could be a good addition, have you run benchmarks on it yourself? (Also, should we be directing any new benchmarks to the python-speed

Re: [pypy-dev] nightly builds require OpenSSL 1.0 ?

2012-09-29 Thread Maciej Fijalkowski
at fault - the distributions -- Ronny On 09/29/2012 01:19 PM, Stefan Behnel wrote: Armin Rigo, 31.08.2012 10:15: On Fri, Aug 31, 2012 at 9:27 AM, Maciej Fijalkowski wrote: This was an effect of a system update. Binary compatibility on linux is hard :/ I hacked *yet again another time

[pypy-dev] source code documentation in PyPy

2012-09-26 Thread Maciej Fijalkowski
Hi I would like to suggest we add a requirement to document PyPy source code slightly better. Step one would be to have few-sentences where are you now info at the top of each file. How about we try to stick to a policy where each time anyone does a major work on a file, he adds documentation to

[pypy-dev] PyPy at FOSDEM

2012-09-19 Thread Maciej Fijalkowski
Hi Just a quick question - is anyone from the team planning on attending FOSDEM in Brussels on 2-3rd of Feb 2013? Cheers, fijal ___ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] Flow graphs, backends and JIT

2012-09-19 Thread Maciej Fijalkowski
On Wed, Sep 19, 2012 at 11:38 AM, Armin Rigo ar...@tunes.org wrote: Hi Carl Friedrich, On Tue, Sep 18, 2012 at 10:00 PM, Carl Friedrich Bolz cfb...@gmx.de wrote: 2. More fundamentally (and this is where I think you have missed a detail about the JIT so far) the JIT ist trace-based. The JIT

Re: [pypy-dev] Flow graphs, backends and JIT

2012-09-18 Thread Maciej Fijalkowski
On Tue, Sep 18, 2012 at 9:35 AM, haael ha...@interia.pl wrote: 3. Which component actually does the JIT? Is it just a tweak on the code generator or are the flow graphs generated differently? The flow graphs are taken from the translator and modified by the JIT generator. My question

[pypy-dev] rlib/runicode, python 3 and pypy

2012-09-12 Thread Maciej Fijalkowski
Hi This is mostly a mail to Antonio, but I'm interested in everyone's opinion. Al rlib/runicode.py differs on py3k branch from the default. IMO this is a very very bad idea. This is a push towards more convoluted interpreter/translator interaction rather than less. Also it makes RPython a less

Re: [pypy-dev] pymongo compatibility broken with version 2.3

2012-08-30 Thread Maciej Fijalkowski
On Thu, Aug 30, 2012 at 12:45 PM, Jan Riechers janpet...@freenet.de wrote: Hello, I know this is not particular subject for this mailing list, but this info might help someone else using pymongo for mongodb with pypy. --- Latest release of the mongodb driver, pymongo (version 2.3, off

Re: [pypy-dev] [ANN] global nonlinear optimization constrained solver for PyPy

2012-08-28 Thread Maciej Fijalkowski
On Tue, Aug 28, 2012 at 10:18 AM, Dmitrey dmitre...@ukr.net wrote: Hi all, FYI global nonlinear optimization (GLP) constrained solver de (differential evolution) from free OpenOpt framework ( http://openopt.org ) now works with PyPy, for more details see

Re: [pypy-dev] wsgi

2012-08-28 Thread Maciej Fijalkowski
On Tue, Aug 28, 2012 at 2:57 AM, Stepanov Aleksandr alex@yandex.com wrote: Are there any wsgi server for latest or latest stable pypy? uwsgi needs to be built with pypy-c and shared libpypy , but i failed to build pypy as described on uwsgi wiki after 5 hours of compiling. i have not

Re: [pypy-dev] [pypy-commit] pypy ppc-jit-backend: For getinteriorfield and setinteriorfield, if immediate offset is too

2012-08-25 Thread Maciej Fijalkowski
Such fixes should come with tests in test_runner On Fri, Aug 24, 2012 at 8:56 PM, edelsohn nore...@buildbot.pypy.org wrote: Author: edelsohn Branch: ppc-jit-backend Changeset: r56844:a4efe6ca0483 Date: 2012-08-24 14:56 -0400 http://bitbucket.org/pypy/pypy/changeset/a4efe6ca0483/ Log:

Re: [pypy-dev] PPC64 backend compile_framework_7_interior failure

2012-08-24 Thread Maciej Fijalkowski
On Fri, Aug 24, 2012 at 2:50 AM, David Edelsohn dje@gmail.com wrote: Armin, et al, compile_framework_7_interior in test_zrpy_gc fails for the PPC64 backend in a strange way. Identical problems happen on the public system and my private system, but GDB on the public system is not

Re: [pypy-dev] win64

2012-08-24 Thread Maciej Fijalkowski
On Fri, Aug 24, 2012 at 8:58 AM, jason ye jason.micro...@gmail.com wrote: Hi Does anybody know the progress of the WIN64 port? I have a python program which require 4GB memory, expecting WIN64 PYPY Hi Jason The Windows development port is stalled right now (nothing happened for the past X

[pypy-dev] spectacular fail while upgrading tannit

2012-08-24 Thread Maciej Fijalkowski
Hi I tried to upgrade tannit to a new Ubuntu LTS server. Unfortunately ubuntu forces people to upgrade grub to grub2, which also does not work in the partition setup that we have on tannit. The machine is lost (unbootable) and someone with physical access have to go there and fix it. Cheers,

Re: [pypy-dev] spectacular fail while upgrading tannit

2012-08-24 Thread Maciej Fijalkowski
On Fri, Aug 24, 2012 at 3:04 PM, Jacob Hallén ja...@openend.se wrote: Friday 24 August 2012 you wrote: Hi I tried to upgrade tannit to a new Ubuntu LTS server. Unfortunately ubuntu forces people to upgrade grub to grub2, which also does not work in the partition setup that we have on tannit.

Re: [pypy-dev] cpyext performance

2012-08-23 Thread Maciej Fijalkowski
On Thu, Aug 23, 2012 at 11:11 AM, Stefan Behnel stefan...@behnel.de wrote: Maciej Fijalkowski, 05.07.2012 14:50: On Thu, Jul 5, 2012 at 2:35 PM, Stefan Behnel wrote: Maciej Fijalkowski, 05.07.2012 11:01: On Thu, Jul 5, 2012 at 10:26 AM, Amaury Forgeot d'Arc wrote: 2012/7/5 Stefan Behnel Back

Re: [pypy-dev] ARM backend release

2012-08-19 Thread Maciej Fijalkowski
On Sat, Aug 18, 2012 at 7:41 PM, Wiktor Mizdal wiktor8...@o2.pl wrote: When we expected a stable release of ARM backend? It possible in this year? Cheers, Wiktor ARM buildbot is green, which means it runs and works. Expect the next pypy release to officially support ARM. Cheers, fijal

Re: [pypy-dev] Issues with Networkx subgraph function - Slower than cPython

2012-08-15 Thread Maciej Fijalkowski
On Wed, Aug 15, 2012 at 9:22 PM, Andrew Elliott andrew.elli...@spc.ox.ac.uk wrote: Hello I have recently tried to move some code across to pypy from cPython, and it takes around 1.5x longer than the cPython implementation (~12 seconds against 19 seconds). Most of the time (90%) is spent in

Re: [pypy-dev] Need some pointers on my interpreter

2012-08-14 Thread Maciej Fijalkowski
On Tue, Aug 14, 2012 at 1:38 PM, Timothy Baldridge tbaldri...@gmail.com wrote: Here is my jitlog: https://gist.github.com/3341474 I updated my jitlog after the work I did last night. I was able to pull about 50+ ops out of the jitted code, but still, I'm dealing with the fact that the JIT

Re: [pypy-dev] custom interpreter split_block error

2012-08-11 Thread Maciej Fijalkowski
On Fri, Aug 10, 2012 at 11:15 PM, Armin Rigo ar...@tunes.org wrote: Hi, On Fri, Aug 10, 2012 at 11:06 PM, Timothy Baldridge tbaldri...@gmail.com wrote: jitdriver.jit_merge_point(ip = self._ip, func = self._call_stack[-1],

[pypy-dev] jvm tests failing on os x

2012-08-11 Thread Maciej Fijalkowski
Anyone has any idea how to fix/disable them? An example: http://buildbot.pypy.org/summary/longrepr?testname=TestJvmException.%28%29.test_multiple_prebuilt_dead_weakrefsbuilder=own-macosx-x86-32build=984mod=translator.jvm.test.test_weakref Cheers, fijal

Re: [pypy-dev] Invitation to participate in SIAM CSE Minisymposium

2012-08-09 Thread Maciej Fijalkowski
On Wed, Aug 8, 2012 at 8:52 PM, Andy Ray Terrel ater...@tacc.utexas.edu wrote: Hello all, I'm putting together a minisymposium at SIAM CSE 2013 ( http://www.siam.org/meetings/cse13/ ) on Fast Numerical Code in High Level Languages. Having a speaker from your community would be a wonderful

Re: [pypy-dev] Invitation to participate in SIAM CSE Minisymposium

2012-08-09 Thread Maciej Fijalkowski
On Thu, Aug 9, 2012 at 4:58 PM, Andy Ray Terrel ater...@tacc.utexas.edu wrote: On Thu, Aug 9, 2012 at 9:03 AM, Maciej Fijalkowski fij...@gmail.com wrote: On Wed, Aug 8, 2012 at 8:52 PM, Andy Ray Terrel ater...@tacc.utexas.edu wrote: Hello all, I'm putting together a minisymposium at SIAM

Re: [pypy-dev] __pycache__ folders

2012-07-31 Thread Maciej Fijalkowski
On Tue, Jul 31, 2012 at 12:35 PM, Stefano Rivera stef...@rivera.za.net wrote: Hi Armin (2012.07.31_12:10:01_+0200) I think that PyPy shouldn't do that, because CPython doesn't. If Debian/Ubuntu also hacked CPython to do that, then fine; we are then free to point users to them (blame them?)

Re: [pypy-dev] Any easy tasks for newcomers?

2012-07-25 Thread Maciej Fijalkowski
On Wed, Jul 25, 2012 at 5:30 PM, Chirag Jadwani chirag.jadw...@gmail.com wrote: Hi all, I am interested in contributing to PyPy. I have a total of ~2 years of experience as a Django dev and some (read-only) knowledge of C. I can be available 12 hours/week, possibly more if I get addicted.

Re: [pypy-dev] Compiling for pypy

2012-07-20 Thread Maciej Fijalkowski
On Fri, Jul 20, 2012 at 10:11 AM, Jan Riechers janpet...@freenet.de wrote: On 19.07.2012 23:10, Raymond Roberts wrote: Have you tried building the pymongo driver without the C extensions? Hello Raymond thank you for coming back, I just tried once more and the pymongo driver works. Also

Re: [pypy-dev] cpyext performance

2012-07-10 Thread Maciej Fijalkowski
On Tue, Jul 10, 2012 at 12:45 PM, Amaury Forgeot d'Arc amaur...@gmail.comwrote: 2012/7/10 Eleytherios Stamatogiannakis est...@gmail.com: On 10/07/12 01:04, wlavrij...@lbl.gov wrote: provide a prioritized list of what's still missing for you? I'm following a more or less random walk

Re: [pypy-dev] cpyext performance

2012-07-09 Thread Maciej Fijalkowski
On Tue, Jul 10, 2012 at 12:04 AM, wlavrij...@lbl.gov wrote: Hi Alex, cppyy is still so unfinished provide a prioritized list of what's still missing for you? I'm following a more or less random walk otherwise, with most work going into the CINT backend at the moment. and requires

Re: [pypy-dev] cpyext performance

2012-07-09 Thread Maciej Fijalkowski
On Tue, Jul 10, 2012 at 12:17 AM, wlavrij...@lbl.gov wrote: Hi Maciej, Or CFFI did I miss an announcement and has it been added to PyPy? I can't find it ... Thanks, Wim it's in the process. look on ffi-backend branch -- wlavrij...@lbl.gov--+1 (510) 486 6411--

Re: [pypy-dev] cpyext performance

2012-07-06 Thread Maciej Fijalkowski
Thanks! i might think bad about those benchmarks representing python workloads, howecer they are very likely good for cpyext. good job. On Thursday, July 5, 2012, Stefan Behnel stefan...@behnel.de wrote: Stefan Behnel, 05.07.2012 14:35: http://cython.org/callgrind-pypy-nbody.png I've set up

Re: [pypy-dev] cpyext performance

2012-07-05 Thread Maciej Fijalkowski
On Thu, Jul 5, 2012 at 10:26 AM, Amaury Forgeot d'Arc amaur...@gmail.comwrote: 2012/7/5 Stefan Behnel stefan...@behnel.de Back to that question then: Is there a way to get readable debugging symbols in a translated PyPy that would tell me what is being executed? I fear that pypy

<    1   2   3   4   5   6   7   8   >