Re: [pypy-dev] docs on doc.pypy.org

2011-05-05 Thread Maciej Fijalkowski
On Thu, May 5, 2011 at 11:00 PM, Daniel Collins dacja...@gmail.com wrote: Hello! After following the project for a long time, I just joined the pypy mailing list looking to help out.  I would love to help on the pypy.org website; admittedly, I am fairly new to web design but I think I could

Re: [pypy-dev] speed of sympy tests

2011-05-03 Thread Maciej Fijalkowski
On Tue, May 3, 2011 at 9:22 AM, Ondrej Certik ond...@certik.cz wrote: Hi, I have downloaded the pypy 1.5 binary (with jit) and run tests (only sympy/core, so that it's fast) on Ubuntu Natty, 64bit: ondrej@eagle:~/repos/sympy(master)$ bin/test sympy/core/ = test

Re: [pypy-dev] PyPy Assembler SQRT Patch

2011-05-03 Thread Maciej Fijalkowski
Hi. Sorry it took so long to review, long weekend and whatnot. The test for x86 backend actually fails for -1.0 on 64bit. Can you reproduce/deny? On Tue, Apr 26, 2011 at 11:51 PM, Joe qbpro...@gmail.com wrote: Attached is a patch to allow pypy to use SQRTSD rather than calling out to libc.  

Re: [pypy-dev] speed of sympy tests

2011-05-03 Thread Maciej Fijalkowski
On Tue, May 3, 2011 at 9:44 AM, Ondrej Certik ond...@certik.cz wrote: On Tue, May 3, 2011 at 12:31 AM, Maciej Fijalkowski fij...@gmail.com wrote: On Tue, May 3, 2011 at 9:22 AM, Ondrej Certik ond...@certik.cz wrote: Hi, I have downloaded the pypy 1.5 binary (with jit) and run tests (only

Re: [pypy-dev] speed of sympy tests

2011-05-03 Thread Maciej Fijalkowski
On Tue, May 3, 2011 at 3:18 PM, Maciej Fijalkowski fij...@gmail.com wrote: On Tue, May 3, 2011 at 9:44 AM, Ondrej Certik ond...@certik.cz wrote: On Tue, May 3, 2011 at 12:31 AM, Maciej Fijalkowski fij...@gmail.com wrote: On Tue, May 3, 2011 at 9:22 AM, Ondrej Certik ond...@certik.cz wrote: Hi

Re: [pypy-dev] Problem with large allocation in test

2011-04-19 Thread Maciej Fijalkowski
On Tue, Apr 19, 2011 at 12:59 AM, p...@pocketnix.org wrote: On Mon, Apr 18, 2011 at 06:25:44PM -0400, Joe wrote: I was trying to run the test file: pypy/jit/backend/x86/test/test_rx86_64_auto_encoding.py and was getting the following traceback: http://paste.pocoo.org/show/374129/ If you

Re: [pypy-dev] Ignore 'pinsrb/w/d' instructions in trackgcroot

2011-04-18 Thread Maciej Fijalkowski
thanks, commited! On Sun, Apr 17, 2011 at 10:03 PM, Matthew Woodcraft matt...@woodcraft.me.uk wrote: I found I needed the following patch in order to run translation with gcc 4.6 and -march=corei7. -M- --- a/pypy/translator/c/gcc/trackgcroot.py +++ b/pypy/translator/c/gcc/trackgcroot.py

Re: [pypy-dev] [pypy-svn] pypy default: fixed test_circular

2011-04-15 Thread Maciej Fijalkowski
On Fri, Apr 15, 2011 at 10:38 AM, Antonio Cuni anto.c...@gmail.com wrote: Right. My point was that since we dont care if they are there or not the test should not test that they are there and fail if they are not. So if there is an easy way to ignore them in this new test_pypy_c framework

Re: [pypy-dev] project infrastructure issues

2011-04-15 Thread Maciej Fijalkowski
On Fri, Apr 15, 2011 at 9:42 PM, holger krekel hol...@merlinux.eu wrote: On Thu, Apr 14, 2011 at 21:01 -0400, Alex Gaynor wrote: On Thu, Apr 14, 2011 at 1:47 PM, holger krekel hol...@merlinux.eu wrote: Hey all, now that pypy's codespeak subversion usage is basically gone i'd like to

Re: [pypy-dev] Possible sprint in Genova before/after Europython

2011-04-13 Thread Maciej Fijalkowski
On Wed, Apr 13, 2011 at 12:20 PM, Antonio Cuni anto.c...@gmail.com wrote: Hi all, as we were discussing yesterday in another thread, the post-europython sprint will be only two days long, and so we might want to have a longer one either before or after europython. I am considering

[pypy-dev] Waf benchmark

2011-04-11 Thread Maciej Fijalkowski
Hello. I propose the waf benchmark removal. Originally, the idea was that we're slower than CPython for no good reason. Now that this benchmark measures some obscure piece of stdlib time (subprocesses) I don't think it's that necessary. Besides: * the variation between runs is too big, so we

[pypy-dev] An interesting article on chip design

2011-04-10 Thread Maciej Fijalkowski
For those interested in hardware/assembler. http://www.lighterra.com/papers/modernmicroprocessors/ It's a good read and fills some of our gaps :) Cheers, fijal ___ pypy-dev@codespeak.net http://codespeak.net/mailman/listinfo/pypy-dev

Re: [pypy-dev] PyPy in the benchmarks game - yes or no?

2011-04-08 Thread Maciej Fijalkowski
On Fri, Apr 8, 2011 at 7:43 PM, Isaac Gouy igo...@yahoo.com wrote: The benchmarks game web pages now only show one language implementation for each programming language. Java -Xint, Tracemonkey JavaScript, LuaJIT, CPython, Iron Python, PyPy, Ruby 1.8.7 and JRuby 1.6 are no longer shown.

Re: [pypy-dev] PyPy in the benchmarks game - yes or no?

2011-04-08 Thread Maciej Fijalkowski
On Fri, Apr 8, 2011 at 8:30 PM, Isaac Gouy igo...@yahoo.com wrote: --- On Fri, 4/8/11, Maciej Fijalkowski fij...@gmail.com wrote: The benchmarks game web pages now only show one language implementation for each programming language. Java -Xint, Tracemonkey JavaScript, LuaJIT, CPython

Re: [pypy-dev] PyPy in the benchmarks game - yes or no?

2011-04-08 Thread Maciej Fijalkowski
On Fri, Apr 8, 2011 at 9:03 PM, Isaac Gouy igo...@yahoo.com wrote: --- On Fri, 4/8/11, Maciej Fijalkowski fij...@gmail.com wrote: -snip- I guess a lot of discussions are about getting some sort of consensus. I see this one is so you can know what we think and that's it. Well, that comes

Re: [pypy-dev] PyPy in the benchmarks game - yes or no?

2011-04-06 Thread Maciej Fijalkowski
On Wed, Apr 6, 2011 at 1:22 AM, Aaron DeVore aaron.dev...@gmail.com wrote: On Tue, Apr 5, 2011 at 2:49 PM, Joe qbpro...@gmail.com wrote: While I spent my Saturday trying to make PyPy look better in the language shootout, I'm leaning towards taking it out.  While a comparison between languages

Re: [pypy-dev] PyPy in the benchmarks game - yes or no?

2011-04-06 Thread Maciej Fijalkowski
On Wed, Apr 6, 2011 at 3:15 PM, Isaac Gouy igo...@yahoo.com wrote: --- On Wed, 4/6/11, Maciej Fijalkowski fij...@gmail.com wrote: -snip- I have another issue with ctypes numpy. This is that C implementations are allowed to use gcc-specific hacks and non-standard libraries (apache malloc

Re: [pypy-dev] PyPy in the benchmarks game - yes or no?

2011-04-06 Thread Maciej Fijalkowski
On Wed, Apr 6, 2011 at 3:08 PM, Isaac Gouy igo...@yahoo.com wrote: --- On Wed, 4/6/11, Maciej Fijalkowski fij...@gmail.com wrote: -snip- We don't get that information now at least, since those benchmarks are badly skewed towards CPython. I know how hard is to find out a reasonable set

Re: [pypy-dev] PyPy in the benchmarks game - yes or no?

2011-04-06 Thread Maciej Fijalkowski
On Wed, Apr 6, 2011 at 5:18 PM, Isaac Gouy igo...@yahoo.com wrote: --- On Wed, 4/6/11, Maciej Fijalkowski fij...@gmail.com wrote: -snip- Do you mean the program you contributed is badly skewed towards CPython? http://shootout.alioth.debian.org/u32/program.php?test=nbody〈=pypyid=1

Re: [pypy-dev] PyPy in the benchmarks game - yes or no?

2011-04-06 Thread Maciej Fijalkowski
On Wed, Apr 6, 2011 at 7:33 PM, Isaac Gouy igo...@yahoo.com wrote: --- On Wed, 4/6/11, Maciej Fijalkowski fij...@gmail.com wrote: -snip- CPython bugs - How strange that the CPython bug was never mentioned! - maybe. Ok. The bug was not mentioned because it takes time to decide it's

Re: [pypy-dev] PyPy in the benchmarks game - yes or no?

2011-04-06 Thread Maciej Fijalkowski
On Thu, Apr 7, 2011 at 4:31 AM, Leonardo Santagada santag...@gmail.com wrote: On Wed, Apr 6, 2011 at 2:33 PM, Isaac Gouy igo...@yahoo.com wrote: So the position is that GCC is allowed to use extensions because it's the only C implementation shown and PyPy is not, because all Python programs

Re: [pypy-dev] The JVM backend and Jython

2011-03-31 Thread Maciej Fijalkowski
On Wed, Mar 30, 2011 at 12:11 PM, Antonio Cuni anto.c...@gmail.com wrote: On 30/03/11 19:37, fwierzbi...@gmail.com wrote: My thoughts here are taking a very primitive step - that is run the JVM translation and look at the generated Java - then see what needs to be modified so that I could use

Re: [pypy-dev] The JVM backend and Jython

2011-03-31 Thread Maciej Fijalkowski
On Thu, Mar 31, 2011 at 4:02 PM, Antonio Cuni anto.c...@gmail.com wrote: On 31/03/11 21:57, Maciej Fijalkowski wrote: Ok, so if Ademan tells me that he's not going to work on the ootype-virtualref branch, I'll try to finish the work so you can start playing with it. Note to frank

Re: [pypy-dev] Google Summer of Code Idea Proposal

2011-03-28 Thread Maciej Fijalkowski
On Sun, Mar 27, 2011 at 2:07 PM, Romain Guillebert romain...@gmail.com wrote: Hi I'm interested in doing the Summer of code on PyPy, from what I saw on the mailing list and on irc, I would like to work on 2 things which might interest you (there is no order of preference). * Python backend

Re: [pypy-dev] Ctypes module written in RPython

2011-03-24 Thread Maciej Fijalkowski
On Thu, Mar 24, 2011 at 3:14 PM, Alex Perry alex.pe...@pamurray.com wrote: I can't find it in the docs, but it has been alluded to in the past. How far is the project from being able to compile a rpython module? I'd expect that to emit a wrapper that imports ctypes and declares calls into a

Re: [pypy-dev] status of the graphviz server on codespeak?

2011-03-23 Thread Maciej Fijalkowski
On Wed, Mar 23, 2011 at 2:36 AM, Laura Creighton l...@openend.se wrote: In a message of Wed, 23 Mar 2011 09:02:25 +0100, Antonio Cuni writes: On 23/03/11 02:36, Maciej Fijalkowski wrote: On Tue, Mar 22, 2011 at 7:17 PM, Laura Creighton l...@openend.se wrote : getting-started-dev says

Re: [pypy-dev] Implementing CAS

2011-03-22 Thread Maciej Fijalkowski
On Tue, Mar 22, 2011 at 3:14 PM, Benjamin Peterson benja...@python.org wrote: 2011/3/22 Timothy Baldridge tbaldri...@gmail.com: After my last discussion about getting some multi-threading primitives, I took a look at how locks are implemented in PyPy. PyPy currently uses OS level

Re: [pypy-dev] status of the graphviz server on codespeak?

2011-03-22 Thread Maciej Fijalkowski
On Tue, Mar 22, 2011 at 7:17 PM, Laura Creighton l...@openend.se wrote: getting-started-dev says: Download and install `Dot Graphviz`_ (optional if you have an internet    connection: the flowgraph viewer then connects to    codespeak.net and lets it convert the flowgraph by a graphviz

Re: [pypy-dev] ideas for Google Summer of code

2011-03-17 Thread Maciej Fijalkowski
On Thu, Mar 17, 2011 at 12:00 PM, Danilo Freitas dsurvi...@gmail.com wrote: Hi, all. I'm interested in applying for GSoC this year. I'm talking to Miquel Torres about some stuff in Codespeed, but I don't know if it could be considered as PyPy project for GSoC. We're trying to allow Codespeed

Re: [pypy-dev] translation with --stackless option

2011-03-12 Thread Maciej Fijalkowski
On Sat, Mar 12, 2011 at 9:11 PM, Hervé Coatanhay herve.coatan...@gmail.com wrote: After a clone of the repository, whereas i can do the following translation with just some warnings: python translate.py --opt=jit targetpypystandalone.py I got an exception with that one: python translate.py

Re: [pypy-dev] Change to the frontpage of speed.pypy.org

2011-03-09 Thread Maciej Fijalkowski
On Wed, Mar 9, 2011 at 8:19 AM, Massa, Harald Armin c...@ghum.de wrote: I really, really like the new display! And it motivated me to dig into the data ... which is a great result on its own. The first question for myself was hey, why is it slow on slowspitfire, and, btw, what is

Re: [pypy-dev] Change to the frontpage of speed.pypy.org

2011-03-09 Thread Maciej Fijalkowski
Hey Miquel. A small feature request ;-) Can we get favicon? Cheers, fijal ___ pypy-dev@codespeak.net http://codespeak.net/mailman/listinfo/pypy-dev

Re: [pypy-dev] Change to the frontpage of speed.pypy.org

2011-03-08 Thread Maciej Fijalkowski
On Tue, Mar 8, 2011 at 8:14 AM, Laura Creighton l...@openend.se wrote: In a message of Tue, 08 Mar 2011 09:10:32 +0100, Miquel Torres writes: Hi, I finished the changes to the speed.pypy.org home page last night, but alas!, I didn't have time to deploy. I will do it later today and will then

Re: [pypy-dev] GIL in non-Python languages

2011-03-07 Thread Maciej Fijalkowski
On Mon, Mar 7, 2011 at 9:08 AM, Timothy Baldridge tbaldri...@gmail.com wrote: Right, that would be an issue. In this case, I could probably start with a reference counting GCas I'm not exactly sure that it's possible to get cyclic references with immutable objects. At least not without

Re: [pypy-dev] extradoc moved / pypy-z moved / new pypy groups

2011-03-01 Thread Maciej Fijalkowski
On Tue, Mar 1, 2011 at 8:42 PM, holger krekel hol...@merlinux.eu wrote: Hi all, I just turned    http://codespeak.net/svn/pypy/extradoc as well as the internal pypy-z repository READ-ONLY. Thanks to Ronny's conversion work we now have these repositories at bitbucket.org:    

Re: [pypy-dev] Change to the frontpage of speed.pypy.org

2011-02-27 Thread Maciej Fijalkowski
Hey. Just my 5 cents. It would be cool if default view has a down-scaled version of comparison against CPython. I can look anywhere for recent changes. Also the recent changes as they're now are not very informative and I don't use them at all. They stick around, so I don't know if they're new

Re: [pypy-dev] implementing the additional repo migrations

2011-02-26 Thread Maciej Fijalkowski
On Sat, Feb 26, 2011 at 11:51 AM, Laura Creighton l...@openend.se wrote: In a message of Sat, 26 Feb 2011 10:25:45 +0100, Jacob Hallén writes: snip While I am fine with dropping older revisions of just about everything in extradoc, I wonder if it wouldn't be better better for the future to

Re: [pypy-dev] [pypy-svn] pypy jit-virtual_state: never retrace a loop more than 5 times

2011-02-08 Thread Maciej Fijalkowski
On Tue, Feb 8, 2011 at 8:42 PM, hakanardo commits-nore...@bitbucket.org wrote: Author: Hakan Ardo ha...@debian.org Branch: jit-virtual_state Changeset: r41714:91586ef4b9c5 Date: 2011-02-08 19:42 +0100 http://bitbucket.org/pypy/pypy/changeset/91586ef4b9c5/ Log:    never retrace a loop more

Re: [pypy-dev] testing floating point

2011-02-03 Thread Maciej Fijalkowski
On Thu, Feb 3, 2011 at 11:56 AM, Fredrik Johansson fredrik.johans...@gmail.com wrote: On Thu, Feb 3, 2011 at 8:01 AM, Maciej Fijalkowski fij...@gmail.com wrote: On Thu, Feb 3, 2011 at 1:43 AM, Fredrik Johansson fredrik.johans...@gmail.com wrote: On Thu, Feb 3, 2011 at 12:32 AM, Alex Gaynor

Re: [pypy-dev] testing floating point

2011-02-03 Thread Maciej Fijalkowski
On Thu, Feb 3, 2011 at 12:23 PM, Fredrik Johansson fredrik.johans...@gmail.com wrote: On Thu, Feb 3, 2011 at 11:14 AM, Maciej Fijalkowski fij...@gmail.com wrote: Mixture of old and new style classes is not only preventing us from doing optimizations but also hits a bad case of tradeoffs

Re: [pypy-dev] testing floating point

2011-02-03 Thread Maciej Fijalkowski
On Thu, Feb 3, 2011 at 2:10 PM, Amaury Forgeot d'Arc amaur...@gmail.com wrote: 2011/2/3 Maciej Fijalkowski fij...@gmail.com: You should make PyPy print warnings when it encounters mixed-type classes :) That's not a bad idea actually. Maybe with something like some -X option? If we use

Re: [pypy-dev] testing floating point

2011-02-03 Thread Maciej Fijalkowski
On Thu, Feb 3, 2011 at 2:21 PM, Antonio Cuni anto.c...@gmail.com wrote: On 03/02/11 13:13, Maciej Fijalkowski wrote: I'm not sure about warnings module. How about --jit warnings=1 ? That would fit with other jit options. not really. The other jit options really belongs to the JIT engine

Re: [pypy-dev] testing floating point

2011-02-03 Thread Maciej Fijalkowski
On Thu, Feb 3, 2011 at 6:15 PM, Stefan Behnel stefan...@behnel.de wrote: Maciej Fijalkowski, 03.02.2011 11:14: On Thu, Feb 3, 2011 at 11:56 AM, Fredrik Johansson wrote: On Thu, Feb 3, 2011 at 8:01 AM, Maciej Fijalkowski wrote: * Use list comprehension instead of generator expression. I hope

Re: [pypy-dev] pypy jit

2011-02-02 Thread Maciej Fijalkowski
2011/2/2 Łukasz Ligowski orangewarr...@gmail.com: Hi, First of all I'd like to thank all developers for good work on PyPy ;) I'd like to ask are there any rules of thumb to write code that PyPy JIT can easily optimize? Or maybe which constructs are hardly optimizable by JIT so it's better

Re: [pypy-dev] testing floating point

2011-02-02 Thread Maciej Fijalkowski
On Thu, Feb 3, 2011 at 1:43 AM, Fredrik Johansson fredrik.johans...@gmail.com wrote: On Thu, Feb 3, 2011 at 12:32 AM, Alex Gaynor alex.gay...@gmail.com wrote: If you have any benchmarks where we are slower that don't involve longs that'd be great, since for float operations we really should be

Re: [pypy-dev] Link errors while translating with VS2010 and 64bit

2011-02-01 Thread Maciej Fijalkowski
On Tue, Feb 1, 2011 at 10:11 AM, Amaury Forgeot d'Arc amaur...@gmail.com wrote: Hi, 2011/2/1 Tasos Vogiatzoglou tvog...@gmail.com: Amaury, It seems that there is a general issue with the compiler/link . I did the translations without the _hashlib and ssl and after a while I got the

[pypy-dev] Worrying set of checkins

2011-02-01 Thread Maciej Fijalkowski
Anyone feeling like looking into this: http://speed.pypy.org/changes/?tre=10rev=41510:77f94f44989aexe=3env=tannit ? ___ pypy-dev@codespeak.net http://codespeak.net/mailman/listinfo/pypy-dev

Re: [pypy-dev] Worrying set of checkins

2011-02-01 Thread Maciej Fijalkowski
On Tue, Feb 1, 2011 at 12:17 PM, Amaury Forgeot d'Arc amaur...@gmail.com wrote: 2011/2/1 Maciej Fijalkowski fij...@gmail.com: Anyone feeling like looking into this: http://speed.pypy.org/changes/?tre=10rev=41510:77f94f44989aexe=3env=tannit This show benchmarks for pypy *without* JIT

Re: [pypy-dev] Worrying set of checkins

2011-02-01 Thread Maciej Fijalkowski
On Tue, Feb 1, 2011 at 12:19 PM, Maciej Fijalkowski fij...@gmail.com wrote: On Tue, Feb 1, 2011 at 12:17 PM, Amaury Forgeot d'Arc amaur...@gmail.com wrote: 2011/2/1 Maciej Fijalkowski fij...@gmail.com: Anyone feeling like looking into this: http://speed.pypy.org/changes/?tre=10rev=41510

Re: [pypy-dev] PyObject_AsCharBuffer: compiler warning

2011-01-24 Thread Maciej Fijalkowski
On Mon, Jan 24, 2011 at 10:38 AM, Arnd Rechenburg arnd.rechenb...@tomtom.com wrote: Hi, When I try to use the function PyObject_AsCharBuffer I get the following compiler warning: warning: passing argument 2 of 'PyObject_AsCharBuffer' from incompatible pointer type By using Python it

[pypy-dev] Fwd: [issue10994] implementation details in sys module

2011-01-24 Thread Maciej Fijalkowski
I think this explanation what sys.getsizeof does is interesting. We might want to have it. -- Forwarded message -- From: Antoine Pitrou rep...@bugs.python.org Date: Mon, Jan 24, 2011 at 4:13 PM Subject: [issue10994] implementation details in sys module To: fij...@gmail.com

Re: [pypy-dev] rPython

2011-01-21 Thread Maciej Fijalkowski
On Fri, Jan 21, 2011 at 5:03 PM, Eva Maia eva_m...@sapo.pt wrote: Hi, It is possible through the PyPy toolchain check if a program is a rPython program? I know the tool Pylint (RPylint) gives an idea, but it seems to me that this tool gives some errors that result from being a little

Re: [pypy-dev] New version of Codespeed (0.7) for speed.pypy.org

2011-01-20 Thread Maciej Fijalkowski
Great! On Thu, Jan 20, 2011 at 11:00 PM, Miquel Torres tob...@googlemail.com wrote: Hi all, I want to announce the release of Codespeed 0.7, the version which is now powering speed.pypy.org The announcement has been made on

Re: [pypy-dev] OSError: [Errno 10] No child processes

2011-01-13 Thread Maciej Fijalkowski
On Thu, Jan 13, 2011 at 2:12 PM, Armin Rigo ar...@tunes.org wrote: Hi Amaury, On Wed, Jan 12, 2011 at 2:49 AM, Paolo Giarrusso p.giarru...@gmail.com wrote: I propose that PyPy keeps reporting the error for files opened in any write mode I would also think that it's better to keep

Re: [pypy-dev] PyPy is now available in Fedora

2011-01-03 Thread Maciej Fijalkowski
Good job! On Tue, Jan 4, 2011 at 12:13 AM, David Malcolm dmalc...@redhat.com wrote: I've packaged pypy in RPM form for the Fedora distribution [1] - RPM packages are now built in the development branch targeting the next major release (Fedora 15). So it should now be possible for Fedora

Re: [pypy-dev] Mercurial support for speed.pypy.org

2010-12-25 Thread Maciej Fijalkowski
On Sat, Dec 25, 2010 at 1:10 AM, Miquel Torres tob...@googlemail.com wrote: Hi all, I finally added Mercurial support to Codespeed, following Antonio's suggestion of parsing the (templated) command line output.Thanks to everyone that helped! I waited for today to give the awesome PyPy team

Re: [pypy-dev] dlopen NotImplementedError

2010-12-22 Thread Maciej Fijalkowski
CDLL(None) (or LoadLibrary(None)) is supposed to return to you the whole namespace (all loaded libraries). It's unsupported as far as I can tell. On Thu, Dec 23, 2010 at 12:45 AM, Alex Gaynor alex.gay...@gmail.com wrote: On Wed, Dec 22, 2010 at 4:41 PM, exar...@twistedmatrix.com wrote: On

Re: [pypy-dev] long.__itemsize__

2010-12-21 Thread Maciej Fijalkowski
On Tue, Dec 21, 2010 at 1:02 PM, René Dudfield ren...@gmail.com wrote: Hi, __itemsize__ - in bytes, corresponds to item size field in the types definition structure. It's a field for types. See:    http://docs.python.org/c-api/typeobj.html#tp_itemsize Well... Those are docs for C API. It

Re: [pypy-dev] long.__itemsize__

2010-12-21 Thread Maciej Fijalkowski
On Tue, Dec 21, 2010 at 1:31 PM, Antonio Cuni anto.c...@gmail.com wrote: On 21/12/10 12:05, Maciej Fijalkowski wrote: __itemsize__ - in bytes, corresponds to item size field in the types definition structure. It's a field for types. See:    http://docs.python.org/c-api/typeobj.html

Re: [pypy-dev] Fwd: [IronPython] SciPy

2010-12-21 Thread Maciej Fijalkowski
Oh wow, that's really cool. On Tue, Dec 21, 2010 at 6:15 PM, Gary Robinson gary...@me.com wrote: I thought this email could be relevant for those interested in SciPy / Numpy on pypy. With enthought implementing a smaller core and using compatibility layers for alternative platforms, it would

Re: [pypy-dev] Interpretor for vectorized langugage

2010-12-16 Thread Maciej Fijalkowski
On Fri, Dec 17, 2010 at 1:12 AM, Paolo Giarrusso p.giarru...@gmail.com wrote: On Thu, Dec 16, 2010 at 10:16, Armin Rigo ar...@tunes.org wrote: Hi, have you seen numpy/scipy? Of course you are then going to hit the same problems that Ademan tries to solve for numpy/scipy, notably how to

Re: [pypy-dev] Problem building C Extension

2010-12-14 Thread Maciej Fijalkowski
Not to comment on issue, but it's actually pretty good that zope.interface C speedups don't work. They won't be speedups in pypy case even if they did work. On Tue, Dec 14, 2010 at 12:13 PM, Kevin Gill ke...@movieextras.ie wrote: Hi, I am new to PyPy. I built pypy using... $ python

Re: [pypy-dev] [pypy-svn] pypy commit 7b8aa74da1fb: Handle output on standard error when invoking Mercurial.

2010-12-14 Thread Maciej Fijalkowski
This commit contains no tests whatsoever, it would be cooler if it did. On Tue, Dec 14, 2010 at 8:19 PM, Bitbucket commits-nore...@bitbucket.org wrote: # HG changeset patch -- Bitbucket.org # Project pypy # URL http://bitbucket.org/pypy/pypy/overview # User Dan Villiom Podlaski Christiansen

Re: [pypy-dev] Idea for speed.pypy.org

2010-12-13 Thread Maciej Fijalkowski
Leonardo Santagada santag...@gmail.com: why not have only 2 versions, both with the same size table and name one spitfire_cstringio and the other spitfire_strjoin? I think it would make things clearer. On Mon, Dec 13, 2010 at 2:43 PM, Maciej Fijalkowski fij...@gmail.com wrote: Hi. spitfires

Re: [pypy-dev] Migration to mercurial

2010-12-13 Thread Maciej Fijalkowski
On Tue, Dec 14, 2010 at 9:24 AM, Seung Soo, sungs...@gmail.com wrote: Antonio Cuni anto.cuni at gmail.com writes: Hi all, finally, it's happening . Thanks to Ronny's work, we are going to complete the migration to mercurial very soon. +1 Cool. Providing binaries through

Re: [pypy-dev] Idea for speed.pypy.org

2010-12-13 Thread Maciej Fijalkowski
Hey miquel, didn't we loose colors somehow? On Tue, Dec 14, 2010 at 8:32 AM, Maciej Fijalkowski fij...@gmail.com wrote: On Mon, Dec 13, 2010 at 10:51 PM, Miquel Torres tob...@googlemail.com wrote: @Maciej: it doesn't make a lot of sense. Looking at this graph: http://speed.pypy.org/comparison

Re: [pypy-dev] [pypy-svn] r79938 - in pypy/trunk/pypy: module/posix module/posix/test rpython/module translator/c/test

2010-12-09 Thread Maciej Fijalkowski
Do we *really* need those functions available on RPython level? On Thu, Dec 9, 2010 at 7:30 PM, ar...@codespeak.net wrote: Author: arigo Date: Thu Dec  9 18:30:33 2010 New Revision: 79938 Modified:   pypy/trunk/pypy/module/posix/__init__.py   pypy/trunk/pypy/module/posix/interp_posix.py  

Re: [pypy-dev] Idea for speed.pypy.org

2010-12-08 Thread Maciej Fijalkowski
can do some stuff. I was serious about documenting why we're slow/fast on benchmarks - that maybe we should bring down our docs to a manageable number first :) Benchmarks descriptions are however unlikely to change 2010/12/4 Maciej Fijalkowski fij...@gmail.com: On Sat, Dec 4, 2010 at 1:05 PM

Re: [pypy-dev] Idea for speed.pypy.org

2010-12-04 Thread Maciej Fijalkowski
On Sat, Dec 4, 2010 at 1:05 PM, Laura Creighton l...@openend.se wrote: re: keeping the 'why we are slower/what we could do to fix it' info up to date -- one possibility is to make a 'why we were/what we are for release 1.4.'  Then every time you make a major release, you update those fields as

Re: [pypy-dev] Testing if a function exists?

2010-12-03 Thread Maciej Fijalkowski
Use: import __builtin__ and treat it as module. __builtins__ is an ugly hack that is sometimes a dict and sometimes a module and pypy has different corner cases. __builtin__ will always work On Fri, Dec 3, 2010 at 9:13 PM, Leonardo Santagada santag...@gmail.com wrote: (I'm guessing but) In

Re: [pypy-dev] Idea for speed.pypy.org

2010-12-03 Thread Maciej Fijalkowski
- Why PyPy performs better/worse than CPYthon (if known) I'm a bit worried about keeping this up to date ___ pypy-dev@codespeak.net http://codespeak.net/mailman/listinfo/pypy-dev

Re: [pypy-dev] Testing if a function exists?

2010-12-03 Thread Maciej Fijalkowski
/trunk i686-pc-linux-gnu 22275 - above cmd done 2010 Fri Dec 03 09:41 PM $ /usr/local/cpython-2.5/bin/python -c 'import __builtin__' benchbox-dstromberg:~/src/home-svn/backshift/trunk i686-pc-linux-gnu 22275 - above cmd done 2010 Fri Dec 03 09:41 PM $ On Fri, Dec 3, 2010 at 11:37 AM, Maciej

Re: [pypy-dev] which xml libraries? was (Re: PyPy 1.4 released)

2010-12-01 Thread Maciej Fijalkowski
On Wed, Dec 1, 2010 at 9:48 AM, Stefan Behnel stefan...@behnel.de wrote: Paolo Giarrusso, 01.12.2010 00:34: Anyway, this does not interact with benchmarks above - Stefan, I still don't get why you complained that pyexpat is slow by showing benchmarks for another module, I guess I do not

Re: [pypy-dev] (no subject)

2010-12-01 Thread Maciej Fijalkowski
Hey. I would suggest using array module. It allocates memory in a non-moving location and it's address can be found using buffer_info method. Cheers, fijal On Wed, Dec 1, 2010 at 3:18 PM, renaud blanch rndbl...@gmail.com wrote: hi, i'm trying to make some pyopengl [0] -based code [1] run on

Re: [pypy-dev] which xml libraries? was (Re: PyPy 1.4 released)

2010-11-29 Thread Maciej Fijalkowski
On Tue, Nov 30, 2010 at 1:45 AM, Amaury Forgeot d'Arc amaur...@gmail.com wrote: 2010/11/30 Paolo Giarrusso p.giarru...@gmail.com As a matter of fact, however, pyexpat is not involved here for PyPy, and here (v1.4) it is still implemented through ctypes (in lib_pypy/pyexpat.py), and not in

Re: [pypy-dev] PyPy 1.4 released

2010-11-28 Thread Maciej Fijalkowski
Hey. On Sun, Nov 28, 2010 at 10:57 AM, Phyo Arkar phyo.arkarl...@gmail.com wrote: i got python-magic working , after i installed without easy_install (easy_install fail because it tried to install ctypes). great Now what is not working is python-lxml , which is very important for my

Re: [pypy-dev] which xml libraries? was (Re: PyPy 1.4 released)

2010-11-28 Thread Maciej Fijalkowski
don't think there are any working (unless someone wrote a pure-python one) Cheers, fijal On Sun, Nov 28, 2010 at 9:48 AM, Maciej Fijalkowski fij...@gmail.com wrote: Hey. On Sun, Nov 28, 2010 at 10:57 AM, Phyo Arkar phyo.arkarl...@gmail.com wrote: i got python-magic working , after i

[pypy-dev] PyPy 1.4 released

2010-11-26 Thread Maciej Fijalkowski
Cheers, Carl Friedrich Bolz, Antonio Cuni, Maciej Fijalkowski, Amaury Forgeot d'Arc, Armin Rigo and the PyPy team ___ pypy-dev@codespeak.net http://codespeak.net/mailman/listinfo/pypy-dev

Re: [pypy-dev] [pypy-svn] r79480 - pypy/trunk/pypy/jit/tool

2010-11-25 Thread Maciej Fijalkowski
On Thu, Nov 25, 2010 at 9:45 AM, Antonio Cuni anto.c...@gmail.com wrote: On 25/11/10 07:40, Maciej Fijalkowski wrote: Is pypy repository really a place for such files? Maybe we should keep it somewhere else? well, it's the memory usage of cpython when translating pypy. Why the pypy repo

Re: [pypy-dev] [pypy-svn] r79382 - pypy/trunk/pypy/config

2010-11-24 Thread Maciej Fijalkowski
On Wed, Nov 24, 2010 at 2:39 PM, Armin Rigo ar...@tunes.org wrote: Hi, On Wed, Nov 24, 2010 at 1:19 AM,  exar...@twistedmatrix.com wrote: I guess it should just be another log category, like jit-summary. Then you can get the effect you want by setting (in the shell) PYPYLOG to jit-summary:-.

Re: [pypy-dev] [pypy-svn] r79480 - pypy/trunk/pypy/jit/tool

2010-11-24 Thread Maciej Fijalkowski
Is pypy repository really a place for such files? Maybe we should keep it somewhere else? On Wed, Nov 24, 2010 at 6:39 PM, antoc...@codespeak.net wrote: Author: antocuni Date: Wed Nov 24 17:39:03 2010 New Revision: 79480 Added:   pypy/trunk/pypy/jit/tool/cpython.vmrss Log: add the vmrss

Re: [pypy-dev] [pypy-svn] r79382 - pypy/trunk/pypy/config

2010-11-23 Thread Maciej Fijalkowski
On Tue, Nov 23, 2010 at 6:52 PM, Armin Rigo ar...@tunes.org wrote: Hi Anto, On Tue, Nov 23, 2010 at 8:31 AM, Antonio Cuni anto.c...@gmail.com wrote: Disable jit debugging by default Not sure it's a good idea. It's useful to see the statistics at the end of the run.  I know that you can

Re: [pypy-dev] Memory error when importing optparse module

2010-11-21 Thread Maciej Fijalkowski
the bug if you help me to help you. - Roman On Nov 20, 2010, at 10:09 AM, Maciej Fijalkowski wrote: Hey. Unfortunately we don't have a full-time OS X developer and it makes it harder for this platform to be fully spported. Is your python 32bit or 64bit? How did you build that executable

Re: [pypy-dev] Memory error when importing optparse module

2010-11-21 Thread Maciej Fijalkowski
have pypy-c that doesn't work. May be that was caused by --opt=jit on my x64 platform. Will try to go with --opt=2 a bit later and report you the result. - Roman On Nov 21, 2010, at 2:20 PM, Maciej Fijalkowski wrote: I guess the first thing would be to build pypy svn yourself instead

Re: [pypy-dev] Memory error when importing optparse module

2010-11-20 Thread Maciej Fijalkowski
Hey. Unfortunately we don't have a full-time OS X developer and it makes it harder for this platform to be fully spported. Is your python 32bit or 64bit? How did you build that executable? On Fri, Nov 19, 2010 at 9:46 PM, Roman Prykhodchenko romcheg.pri...@gmail.com wrote: Hi guys, I'm

Re: [pypy-dev] Needs some guidance in writing the kqueue part of select

2010-11-20 Thread Maciej Fijalkowski
(part response) 2) How do I declare that an argument is const in rffi? usually you don't ___ pypy-dev@codespeak.net http://codespeak.net/mailman/listinfo/pypy-dev

Re: [pypy-dev] gdbm

2010-11-16 Thread Maciej Fijalkowski
On Wed, Nov 17, 2010 at 1:24 AM, Dan Stromberg drsali...@gmail.com wrote: On Tue, Nov 16, 2010 at 8:38 AM, exar...@twistedmatrix.com wrote: On 04:27 pm, drsali...@gmail.com wrote: On Tue, Nov 16, 2010 at 4:17 AM, Antonio Cuni anto.c...@gmail.com wrote: Sounds fine, do you feel like

[pypy-dev] Memory consumption of pypy-c translate.py

2010-11-10 Thread Maciej Fijalkowski
Hello. I did a bit of measurments using various techniques and pypy-c-64bit-jit and the outcome is that after a bit of annotation, where memory consumption is 1200M, we get: * 31M of mmaped code blocks for assembler * about 150M I can account for that is jit resume data * about 150M of the rest

Re: [pypy-dev] PyPy JIT C extensions

2010-10-25 Thread Maciej Fijalkowski
On Mon, Oct 25, 2010 at 2:08 PM, Armin Rigo ar...@tunes.org wrote: Hi, On Mon, Oct 25, 2010 at 5:12 AM, Andrew Francis andrewfr_...@yahoo.com wrote: A few days ago, I floated this idea in the #pypy IRC channel. Why can't we take a JITed pypy, install the greenlet package, run it and see

Re: [pypy-dev] [pypy-svn] r78267 - pypy/branch/arm-backend/pypy/jit/backend/arm/tools

2010-10-25 Thread Maciej Fijalkowski
Hey. Can we make this directory 'tool' instead of 'tools' like every other tool directory? Cheers, fijal On Mon, Oct 25, 2010 at 4:45 PM, da...@codespeak.net wrote: Author: david Date: Mon Oct 25 16:45:58 2010 New Revision: 78267 Added:  

Re: [pypy-dev] [pypy-svn] r77933 - pypy/branch/jitffi/pypy/jit/metainterp/test

2010-10-17 Thread Maciej Fijalkowski
The exception still can't happen though. On Thu, Oct 14, 2010 at 3:32 PM, antoc...@codespeak.net wrote: Author: antocuni Date: Thu Oct 14 15:32:22 2010 New Revision: 77933 Modified:   pypy/branch/jitffi/pypy/jit/metainterp/test/test_optimizefficall.py Log: update this test too

Re: [pypy-dev] issue tracker spam issues / switching

2010-10-11 Thread Maciej Fijalkowski
On Sun, Oct 10, 2010 at 9:37 AM, holger krekel hol...@merlinux.eu wrote: Hi all, seems like the pypy-dev issue tracker got some spam through bot-registered users.  Unless i am mistaken there is no easy way to add a captcha in addition to the e-mail confirmation registration and so i made the

Re: [pypy-dev] [pypy-svn] r77589 - pypy/trunk/pypy/jit/metainterp

2010-10-05 Thread Maciej Fijalkowski
On Mon, Oct 4, 2010 at 11:56 PM, Antonio Cuni anto.c...@gmail.com wrote: On 04/10/10 23:32, fi...@codespeak.net wrote:   def transform(op):       from pypy.jit.metainterp.history import AbstractDescr -    # Rename CALL_PURE to CALL. +    # Rename CALL_PURE and CALL_INVARIANT to CALL.      

Re: [pypy-dev] Question on the future of RPython

2010-09-28 Thread Maciej Fijalkowski
On Tue, Sep 28, 2010 at 2:43 AM, Terrence Cole list-s...@trainedmonkeystudios.org wrote: On Tue, 2010-09-28 at 01:57 +0200, Jacob Hallén wrote: Monday 27 September 2010 you wrote: On Sun, 2010-09-26 at 23:57 -0700, Saravanan Shanmugham wrote: Well, I am happy to see that the my interest in

Re: [pypy-dev] PyPy JIT C extensions, greenlet

2010-09-27 Thread Maciej Fijalkowski
Hey. greenlet C module is quite incompatible with pypy and won't work. However making pypy work with jit and stackless is something that requires a bit of work only (teaching jit how to unroll the stack mostly) and I plan to look into it in the very near future. Cheers, fijal On Mon, Sep 27,

Re: [pypy-dev] PyPy JIT C extensions, greenlet

2010-09-27 Thread Maciej Fijalkowski
a subset of Stackless without the scheduling? Could you explain a bit more? Thanks. --- On Mon, 9/27/10, Maciej Fijalkowski fij...@gmail.com wrote: From: Maciej Fijalkowski fij...@gmail.com Subject: Re: [pypy-dev] PyPy JIT C extensions, greenlet To: Ian P. Cooke i...@srand.net Cc: pypy

Re: [pypy-dev] External RPython mailing list

2010-09-13 Thread Maciej Fijalkowski
On Mon, Sep 13, 2010 at 10:08 AM, Armin Rigo ar...@tunes.org wrote: Hi Maciej, On Mon, Sep 13, 2010 at 10:03 AM, Maciej Fijalkowski fij...@gmail.com wrote: While we're at it, how about splitting the translation toolchain from pypy interpreter? I don't mean on technical merits, it can still

Re: [pypy-dev] PyPy JIT and Django

2010-09-09 Thread Maciej Fijalkowski
On Thu, Sep 9, 2010 at 10:37 PM, Amaury Forgeot d'Arc amaur...@gmail.com wrote: 2010/9/9 Andy angelf...@yahoo.com: Thanks Antonio. So right now there's no way to run PyPy JIT on Linux 64 bit? Yes there is! Armin merged the asmgcc-64 branch yesterday. You have to use trunk version of PyPy,

Re: [pypy-dev] Question on the future of RPython

2010-09-02 Thread Maciej Fijalkowski
On Thu, Sep 2, 2010 at 9:56 AM, Paolo Giarrusso p.giarru...@gmail.com wrote: Hi, I was curious about the interplay between type inference and separate compilation. On Thu, Sep 2, 2010 at 09:09, William Leslie william.leslie@gmail.com wrote: At the moment, the lack of separate

Re: [pypy-dev] Loop invaraints

2010-08-31 Thread Maciej Fijalkowski
On Tue, Aug 31, 2010 at 9:20 AM, Hakan Ardo ha...@debian.org wrote: On Sun, Aug 29, 2010 at 1:04 PM, Armin Rigo ar...@tunes.org wrote: I'm not saying that loop-invariant code motion could also have a negative effect on large loops; I think it's a pure win, so it's probably worth a try.  I'm

  1   2   3   4   >