Re: [Python-Dev] The docstring hack for signature information has to go

2014-02-05 Thread Larry Hastings
On 02/05/2014 05:52 AM, "Martin v. Löwis" wrote: D: Add a new type slot for method signatures. This would be a tp_signature field, along with a new slot id Py_tp_signature. The signature field itself could be struct PyMethodSignature { char *method_name; char *method_signature; }; Tha

Re: [Python-Dev] [Python-checkins] cpython: Close #20053: ignore default pip config settings

2014-02-05 Thread Nick Coghlan
On 6 Feb 2014 05:27, "Jeremy Kloth" wrote: > > On Tue, Feb 4, 2014 at 6:03 AM, nick.coghlan wrote: > > http://hg.python.org/cpython/rev/1b8ba1346e67 > > changeset: 88955:1b8ba1346e67 > > user:Nick Coghlan > > date:Tue Feb 04 23:02:36 2014 +1000 > > summary: > > Close #20053:

Re: [Python-Dev] [Python-checkins] cpython: Close #20053: ignore default pip config settings

2014-02-05 Thread Jeremy Kloth
On Tue, Feb 4, 2014 at 6:03 AM, nick.coghlan wrote: > http://hg.python.org/cpython/rev/1b8ba1346e67 > changeset: 88955:1b8ba1346e67 > user:Nick Coghlan > date:Tue Feb 04 23:02:36 2014 +1000 > summary: > Close #20053: ignore default pip config settings > > ensurepip now sets PI

Re: [Python-Dev] The docstring hack for signature information has to go

2014-02-05 Thread Brett Cannon
On Wed, Feb 5, 2014 at 11:04 AM, Georg Brandl wrote: > Am 05.02.2014 14:52, schrieb "Martin v. Löwis": > > Am 03.02.14 15:43, schrieb Larry Hastings: > >> A: We create a PyMethodDefEx structure with an extra field: "const char > >> *signature". We add a new METH_SIGNATURE (maybe just METH_SIG?)

Re: [Python-Dev] The docstring hack for signature information has to go

2014-02-05 Thread Georg Brandl
Am 05.02.2014 14:52, schrieb "Martin v. Löwis": > Am 03.02.14 15:43, schrieb Larry Hastings: >> A: We create a PyMethodDefEx structure with an extra field: "const char >> *signature". We add a new METH_SIGNATURE (maybe just METH_SIG?) flag to >> the flags, indicating that this is an extended struc

Re: [Python-Dev] The docstring hack for signature information has to go

2014-02-05 Thread Martin v. Löwis
Am 03.02.14 15:43, schrieb Larry Hastings: > A: We create a PyMethodDefEx structure with an extra field: "const char > *signature". We add a new METH_SIGNATURE (maybe just METH_SIG?) flag to > the flags, indicating that this is an extended structure. When > iterating over the PyMethodDefs, we kno