[pypy-dev] Re: [pypy-svn] rev 809 - pypy/trunk/src/pypy/objspace/std

Christian Tismer tismer at tismer.com
Mon Jun 16 00:05:38 CEST 2003


hpk at codespeak.net wrote:

> Author: hpk
> Date: Sat Jun 14 19:15:16 2003
> New Revision: 809
> 
> Modified:

19 modified source files.

> Log:
> revised multimethod registration machinery 
> 
> - now functions whose name is of the form "X__Y1_Y2_..."
>   are registered on the multimethod "X" on StdObjSpace or
>   (if that doesn't exist) on an alternatively provided namespace's
>   multimethod.

Etc.
I don't recall that this change has been agreed upon. I
understood this as just an idea, posted for discussion.
Am I missing something from the last messages?
Otherwise I would like to ask this admittedly anarchical group,
to define *how* anarchical it is planning to be in the future.

...

> - remaining is "intobject.py" because test/test_intobject.py 
>   uses the intobject.* names directly instead of going through
>   the StdObjSpace. Actually, at first i also changed intobject 
>   and test_intobject but i didn't understand the "OverflowError"
>   handling so i reverted my changes to not destroy anything
> 
>   could someone explain the r_int / int / long / overflow business 
>   on pypy-dev? 

You have been pondering about intobject in another mail to pypy-dev
as well. I would like to remind you that this was implemented
by me on the first sprint, as one of the very first, really complete
implementations of anything not faked. It is therefore in the
style of that time, which has changed in the between, of course.

Most probably, you are  unaware of this, or you would surely have
asked me, directly.

On your questions concerning restricted integers:
Please see
http://codespeak.net/moin/pypy/moin.cgi/RestrictedPython
and the chapter there named "Example: Integer Types",
which I also wrote on that sprint.

If you need any information in extent of this, please let me know.
Maybe there are some bigger omissions.

ciao - chris

-- 
Christian Tismer             :^)   <mailto:tismer at tismer.com>
Mission Impossible 5oftware  :     Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9a     :    *Starship* http://starship.python.net/
14109 Berlin                 :     PGP key -> http://wwwkeys.pgp.net/
work +49 30 89 09 53 34  home +49 30 802 86 56  pager +49 173 24 18 776
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
      whom do you want to sponsor today?   http://www.stackless.com/




More information about the Pypy-dev mailing list