Laura Creighton | 2 May 08:04 2008
Picon

Nicolas Dudfield's GSoC project


This showed up on the pygame mailing list.
Nicolas cc'd here.

------- Forwarded Message

Greetings all,

I am a participant in the Google Summer of Code. My application for
writing tests for pygame was accepted. The goal, over and above having
tests for their own sake, is to make pygame easier to port to new and
different platforms and versions of Python.

Py3k is due soon, and people have all sorts of ideas for pygame, such
as deploying on flash VMs using pypy. Really cool ideas. All of this
will be made much easier with more extensive testing in place. A rough
estimate for current unittest coverage is about 20%. Ideally, at least
95% would be covered.

A brief outline
===============

1.  Write unittests for pygame
2.  Develop a speed regression framework
3.  Develop an interactive testing framework.

1)  Write unittests for pygame
==============================

Being a student, the fact is that I don't have that much experience
(Continue reading)

holger krekel | 2 May 17:37 2008
Picon

rlcompleter2 on pypy

Hi Armin, all,

don't know if you noticed: i think that your readline/curses
hack is good enough that my good old completion module mostly
works out of the box on pypy-c. (http://codespeak.net/rlcompleter2/).
It produces slightly different output and there probably also 
are some corner cases that pypy doesn't cover yet. 

nice!
holger
_______________________________________________
pypy-dev <at> codespeak.net
http://codespeak.net/mailman/listinfo/pypy-dev

Maciek Fijalkowski | 2 May 19:05 2008
Picon

Re: rlcompleter2 on pypy

holger krekel wrote:
> Hi Armin, all,
>
> don't know if you noticed: i think that your readline/curses
> hack is good enough that my good old completion module mostly
> works out of the box on pypy-c. (http://codespeak.net/rlcompleter2/).
> It produces slightly different output and there probably also 
> are some corner cases that pypy doesn't cover yet. 
>
> nice!
> holger

I think i'm using it :)

:.

_______________________________________________
pypy-dev <at> codespeak.net
http://codespeak.net/mailman/listinfo/pypy-dev

Carl Friedrich Bolz | 4 May 17:19 2008
Picon
Picon

PyPy Berlin Sprint, 17th - 22nd May 2008

=====================================================================
         PyPy Berlin Sprint (17-22nd May 2008)
=====================================================================

The next PyPy sprint will be in the crashed `c-base space station`_,
Berlin, Germany, Earth, Solar System.  This is a fully public sprint:
newcomers (from all planets) and topics other than those proposed below
are welcome.

.. _`c-base space station`: http://www.c-base.org/

------------------------------
Goals and topics of the sprint
------------------------------

  - work on PyPy's JIT generator: we are refactoring parts of the
    compiling logic, in ways that may also allow generating better
    machine code for loops (people with knowledge on compilers and SSA,
    welcome)

  - work on the SPy VM, PyPy's Squeak implementation, particularly the
    graphics capabilities

  - work on PyPy's GameBoy emulator, which also needs graphics support

  - trying some large pure-Python applications or libraries on PyPy and
    fixing the resulting bugs. Possibilities are Zope 3, Django and
    others.

* We are open to all sorts of other tasks during the sprint, just
(Continue reading)

Bruno Gola | 11 May 04:02 2008
Picon

2.5 features, introducing myself

Hi,

Maybe I should have sent this earlier. I was finishing my work within
my old job and now I can start coding for PyPy full-time! :-D

My name is Bruno Gola, I'm an undergraduating in Computer Science, I
live in Brazil and I'll work on supporting (C)Python 2.5 features in
PyPy this winter :-)

I want to thank Carl for mentoring me, he'd already gave me access to
the repository and set up a branch for me at
http://codespeak.net/svn/pypy/branch/2.5-features/.

I'm sure I will have a lot of fun and that I will learn a lot with
this project (which is part of my graduation project). My plans after
GSoC are to continue supporting new features from CPython.

If you are interested in testing and watching what I'm doing you can
visit my blog (http://blog.brunogola.com.br/ , category PyPy) and the
2.5-features branch.

Actually I've already started coding some small and easy changes
(__hash__() returning a long and defaultdict).

I'll try to be available always on IRC, my nick is bgola, feel free to
talk to me :)

Thanks,
--

-- 
Bruno Fialho Marques Gola <brunogola <at> gmail.com>
(Continue reading)

Scott Dial | 12 May 06:25 2008

Windows Testing

Greetings Everyone,

I was indulging in a bit of googling of my name and ran across this blog 
post from months back:

http://morepypy.blogspot.com/2007/11/sprint-discussions-releases-testing.html

"""
As you can see, we are lacking in the Windows testing area, which is an 
even worse problem because none of the currently active developers has 
Windows as his primary OS. We should improve this by finding a Windows 
machine where the tests are run nightly and where we can log in to try 
bug-fixes quickly. The latter bit is important, we had a nightly windows 
test run before (thanks to Scott Dial) but it didn't help, because even 
if you tried to fix a bug you would have to wait until the next night to 
see whether it worked.
"""

Oddly enough, I came to this conclusion as well, but at the time I 
withdrew my box because some serious problems developed with PyPy on 
Win32 that made it impractical to continue to run the test suite. Early 
this February I took some time to try and run the test suite again (same 
problems exist as they did almost a year ago).

However, this time, I set it up on a VMWare instance on a Linux server. 
If someone would be interested in having access to that VMWare instance, 
then I would be willing to provide the login information. Alternatively, 
I might be able to invest some time in solving the bugs, but I'm not 
sure. In the past, I got the impression that the development team was 
indifferent to Win32 support and was not interested in being an advocate.
(Continue reading)

Greg Bowyer | 13 May 11:02 2008
Picon

Re: Windows Testing

Scott Dial wrote:
> Greetings Everyone,
> 
> I was indulging in a bit of googling of my name and ran across this blog 
> post from months back:
> 
> http://morepypy.blogspot.com/2007/11/sprint-discussions-releases-testing.html
> 
> """
> As you can see, we are lacking in the Windows testing area, which is an 
> even worse problem because none of the currently active developers has 
> Windows as his primary OS. We should improve this by finding a Windows 
> machine where the tests are run nightly and where we can log in to try 
> bug-fixes quickly. The latter bit is important, we had a nightly windows 
> test run before (thanks to Scott Dial) but it didn't help, because even 
> if you tried to fix a bug you would have to wait until the next night to 
> see whether it worked.
> """
> 
> Oddly enough, I came to this conclusion as well, but at the time I 
> withdrew my box because some serious problems developed with PyPy on 
> Win32 that made it impractical to continue to run the test suite. Early 
> this February I took some time to try and run the test suite again (same 
> problems exist as they did almost a year ago).
> 
> However, this time, I set it up on a VMWare instance on a Linux server. 
> If someone would be interested in having access to that VMWare instance, 
> then I would be willing to provide the login information. Alternatively, 
> I might be able to invest some time in solving the bugs, but I'm not 
> sure. In the past, I got the impression that the development team was 
(Continue reading)

Michael Schneider | 13 May 16:29 2008
Picon

Re: Windows Testing

Scott,

I am replying to your email with good news.  Over the last couple of 
days, the pypy devs have worked
to address the build issues that was triggering failures that occurred 
during  the --allworkingmdoules windows translation.

If you perform an update from svn, and follow the instructions below, 
you will have a running pypy exe.

We welcome you back with open arms, and have several opportunities for 
you to improve pypy on windows.

I put together some notes that should help you get started again.

Please don't hesitate to ask any questions,
Welcome back,
Mike

------------------- Individual Development Setup Environment 
-------------------------

To setup your windows dev env:

1) Install or activate (vcvars32.bat) visual studio 2003
2) follow instructions on 
http://codespeak.net/pypy/dist/pypy/doc/windows.html
3) install zlib, bz2 and openssl dev environments
     - install dll's into  Windows/system32
    - install  headers into vc/include/..
(Continue reading)

Amaury Forgeot d'Arc | 13 May 17:17 2008
Picon

Re: Windows Testing

Hello,

Michael Schneider wrote:
> A good project would be to finish some of the modules on this list.

Many months ago, I did some changes in my workspace to address windows support.
Since there seems to be an new interest for pypy-on-win32, I tried to
revive them.
For example, all tests pass in test_rffi and test_ll2ctypes.

The problem is that my machine at home only has 512Mb of memory, and
cannot do the whole pypy translation.
But if there are windows buildbots, it is easy for me to check the
results there, while I work on smaller parts.

I will try to carefully commit my changes one by one.
I am currently working on the _socket and select modules, with good
progress so far.

Cheers,

--

-- 
Amaury Forgeot d'Arc
_______________________________________________
pypy-dev <at> codespeak.net
http://codespeak.net/mailman/listinfo/pypy-dev

Maciej Fijalkowski | 14 May 14:49 2008
Picon

Re: Windows Testing

Hi Amaury!

Thanks for doing good job bringing more support for pypy on windows. I
think next direction would be to bring more modules to windows, from
which I guess _rawffi is the most important (this will bring ctypes to
windows platform). I can help you bits with that if you would like to
go in that direction.

Cheers,
fijal
_______________________________________________
pypy-dev <at> codespeak.net
http://codespeak.net/mailman/listinfo/pypy-dev


Gmane