[Python-Dev] NOARGS_NULL

2007-02-18 Thread Martin v. Löwis
Patch #1648268 corrects a huge load of errors in Python wrt.
incorrect function pointers (i.e. functions called with a
different signature then declared, through pointers).
The rationale for this patch is that the submitter apparently
has a platform where Python crashes in the face of these errors.

I believe the patch is correct, and would like to apply it.

The patch also renames many function arguments: parameters
in a METH_NOARGS function get consistently named NOARGS_NULL
(currently often called 'unused' or 'noargs'); the second parameter
to getters gets consistently named 'closure' (it's called
closure in many places already, and 'unused' in others).

I would also apply this part of the change, and both to
the trunk and Python 2.5. Objections?

Regards,
Martin
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] urllib2 EP + decr. startup time

2007-02-18 Thread KoDer
2007/2/17, Phillip J. Eby <[EMAIL PROTECTED]>:
>
> I don't follow you; this has nothing to do with setuptools.  It's a feature
> of Python since version 2.3,
>

I mean install/update/delete package to exist zip archive, which may
contain many other
packages(some time it's hart to understand what i write not on native
language , sorry ).

> but as far as I know nobody's ever set up the
> build machinery to create the necessary zipfile when Python is
> installed.  Perhaps that would be a nice place to begin your patch: a
> script to create a stdlib zipfile in the platform-appropriate location,
> that can run after the bytecode compilation of the stdlib modules, or that
> users can run on older versions of Python to do the same thing.

I already work on this ).
-- 
K.Danilov aka KoDer
___
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com