Re: [pypy-dev] [pypy-svn] r74976 - in pypy/branch/sys-prefix: lib/pypy1.2/lib_pypy/ctypes_config_cache pypy/interpreter/test pypy/rlib pypy/tool pypy/tool/test pypy/translator/goal pypy/translator/san

2010-06-01 Thread Antonio Cuni
On 01/06/10 06:00, Maciej Fijalkowski wrote:
 A bit about directory structure:

I think I have explained everything in my original email to pypy-dev:
http://codespeak.net/pipermail/pypy-dev/2010q2/005854.html

 Can you explain to me a bit?
 
 What's in lib except pypy1.2?

nothing. It really plays the same role as /usr/lib. We need it because in this
way we can have sys.prefix == '/path/to/pypy-trunk' and still have the lib in
join(sys.prefix, 'lib', 'pypy%d.%d')

 Why pypy1.2? Do we have any reason?

yes. When we install pypy system wide, we really want to have a version number
in the directory that contains the stdlib; also, it is consistent with
cpython, which puts it into e.g. /usr/lib/python2.6

 Do we ever need to keep more than one?

no. We will rename it every time we do a new release.

 What's in pypy1.2 except lib_pypy?

there will be also lib-python, although I've not moved it yet.

ciao,
Anto
___
pypy-dev@codespeak.net
http://codespeak.net/mailman/listinfo/pypy-dev


[pypy-dev] EuroPython Talk on Stackless.py and Questions

2010-06-01 Thread Andrew Francis
Hi Folks:

I understand that stackless is not high on the pypy team priority list but here 
goes

My talk Prototyping Go's Select for Stackles Python in Stackless.py was 
accepted. I have never been to Europe. To date, I have been able to implement 
the Go Select like capability in a number of ways. Most recently I emulated the 
Plan9 approach which is pretty straight forward. I need to add the code for 
channel preferences and the channel callback so it is on par with the old 
stackless.py

Questions:

Where should I put the new code?
Are there regression tests for stackless.py

Right now, I am taking Stephan Diehl and Carl Bolz's good advice and using 
stackless.py with greenlets. 

However for completeness, I would like to run through the exercise of using the 
translate tool chain. Right now, select is a function. I figure implementing 
Select as a language feature would be a good way to familarise myself better 
with the PyPy framework at a deeper level. However I am not sure where to 
start. Where is the parser? Do I create new opt codes? Is this doable for a 
newbie in a month?

Cheers,
Andrew





  
___
pypy-dev@codespeak.net
http://codespeak.net/mailman/listinfo/pypy-dev


Re: [pypy-dev] EuroPython Talk on Stackless.py and Questions

2010-06-01 Thread Maciej Fijalkowski
On Tue, Jun 1, 2010 at 11:57 AM, Andrew Francis andrewfr_...@yahoo.com wrote:
 Hi Folks:

 I understand that stackless is not high on the pypy team priority list but 
 here goes


Completely not answering your question (I don't know), but clarifying.
PyPy has no active developer working on stackless features. However,
that does not mean that pypy's priority for stackless features is low.
We're definitely going to support developments in that direction (at
least those that make sense in our opinion of course :)

Cheers,
fijal
___
pypy-dev@codespeak.net
http://codespeak.net/mailman/listinfo/pypy-dev