Dnia 11-12-2007, Wt o godzinie 01:32 +0100, Christian Heimes pisze:
> Marcin, can you come up with a patch?
Below is what I have, after some cleaning and renaming. Needs more
cleaning to plug it into Python modules and conform to Python coding
standards.
I'm not convinced that Python on its own
Marcin ‘Qrczak’ Kowalczyk wrote:
> Below is what I have, after some cleaning and renaming. Needs more
> cleaning to plug it into Python modules and conform to Python coding
> standards.
http://bugs.python.org/issue1587
I've added \t to the formatting, changed the name slightly and filled a
bunch o
On Dec 11, 2007 1:50 AM, Marcin 'Qrczak' Kowalczyk <[EMAIL PROTECTED]> wrote:
> I'm not convinced that Python on its own needs it. Perhaps Python
> already distinguishes function-like objects from others rigorously
> enough that they should care about being descriptors themselves.
Right. The use c
Guido van Rossum wrote:
> On Dec 11, 2007 1:50 AM, Marcin 'Qrczak' Kowalczyk <[EMAIL PROTECTED]> wrote:
>
> > CFunction does not define descr_get - why?
>
> I don't see why we should bother.
I put forward a possible reason recently -- so that
Pyrex-defined functions could be used as methods
with
On Dec 11, 2007 6:10 PM, Greg Ewing <[EMAIL PROTECTED]> wrote:
> Guido van Rossum wrote:
> > On Dec 11, 2007 1:50 AM, Marcin 'Qrczak' Kowalczyk <[EMAIL PROTECTED]>
> > wrote:
> >
> > > CFunction does not define descr_get - why?
> >
> > I don't see why we should bother.
>
> I put forward a possible
On Dec 10, 2007, at 8:09 PM, Neal Becker wrote:
> Can python learn from c++? Maybe sometimes. I think the design of
> boost::program_options is a pretty example.
Nice, overall, but the devil is in the details, as always. I didn't
see anything in the documentation about how unrecognized values