[pypy-dev] __builtin__ module

Scott Fenton scott at fenton.baltimore.md.us
Thu Jan 23 21:32:06 CET 2003


On Thu, Jan 23, 2003 at 11:18:00AM +0100, Thomas Heller wrote:
> Armin Rigo <arigo at tunes.org> writes:
> 
> > I think that Scott's work drew the line for the built-in functions.  Most of 
> > what he couldn't code must be done as built-in functions.
> 
> Except that classmethod, staticmethod, and super could be done
> in pure Python.  Aren't those even in Guido's descrintro??

They may well be. My point in writing some of __builtin__ was to
get some inital code out there, not to draw a line in the sand.
The next version will probably have some more stuff included in
it. Remember, this was a one afternoon hack that got the inital
version out.

-Scott

-- 
char m[9999],*n[99],*r=m,*p=m+5000,**s=n,d,c;main(){for(read(0,r,4000);c=*r;
r++)c-']'||(d>1||(r=*p?*s:(--s,r)),!d||d--),c-'['||d++||(*++s=r),d||(*p+=c==
'+',*p-=c=='-',p+=c=='>',p-=c=='<',c-'.'||write(1,p,1),c-','||read(2,p,1));}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20030123/92f93e27/attachment.pgp>


More information about the Pypy-dev mailing list