Christian Heimes wrote:
> Without support from the descriptor it's not possible to distinguish a
> function from an unbound method any more. I like to add im_class to the
> function object. I don't see negative side effects, do you?
OK, forget that. Pretend I've never said it. I shouldn't submit i
On 2007-11-23 23:12, Paul Moore wrote:
> On 23/11/2007, Christian Heimes <[EMAIL PROTECTED]> wrote:
>> bsddb is automatically build by a build step. But you have to convert
>> the project files in build_win32 to VS 2008 first. Simply open the
>> solution file and let VS convert the projects.
>
> V
Michael Foord wrote:
> Guido van Rossum wrote:
>
>> I'm asking a Py3k question on python-dev because I'd like to have
>> opinions from people who haven't thought about Py3k much yet. Consider
>> the following example:
>>
>> class C:
>> def foo(self): pass
>>
>> C.foo(42)
>>
>> This cur
Titus> Skip, this set_trace rewrite fixes the problem in both 25-maint and
Titus> trunk:
...
Thanks, Titus. Both the doctest and trace tests pass with your change.
Checked back in. I didn't run the full test suite, as test_sqlite causes a
bus error on my Mac which I've yet to inves
On Nov 23, 2007 11:10 PM, Christian Heimes <[EMAIL PROTECTED]> wrote:
> Guido van Rossum wrote:
> >
> > Index: Objects/funcobject.c
> > ===
> > --- Objects/funcobject.c(revision 59154)
> > +++ Objects/funcobject.c(worki
* Greg Ewing wrote:
> Phillip J. Eby wrote:
> > class MoneyField(Field):
> > # does need staticmethod because two_decimal_places
> > # doesn't take a self
> > converter = staticmethod(two_decimal_places)
>
> Okay, I see what you mean now. But you could just as well wrap
> it in a funct
At 09:56 AM 11/24/2007 -0800, Guido van Rossum wrote:
>Also, there was discussion of this before:
>http://mail.python.org/pipermail/python-dev/2005-January/050625.html
>-- why didn't we decide to do it then?
http://mail.python.org/pipermail/python-dev/2005-January/051236.html
There were also a fe
On Nov 24, 2007 6:35 AM, <[EMAIL PROTECTED]> wrote:
> Thanks, Titus. Both the doctest and trace tests pass with your change.
> Checked back in. I didn't run the full test suite, as test_sqlite causes a
> bus error on my Mac which I've yet to investigate.
It's easy though to run all tests *excep
On Sat, Nov 24, 2007 at 10:23:06AM -0800, Guido van Rossum wrote:
-> On Nov 24, 2007 6:35 AM, <[EMAIL PROTECTED]> wrote:
-> > Thanks, Titus. Both the doctest and trace tests pass with your change.
-> > Checked back in. I didn't run the full test suite, as test_sqlite causes a
-> > bus error on m
"Guido van Rossum" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| Also, there was discussion of this before:
| http://mail.python.org/pipermail/python-dev/2005-January/050625.html
| -- why didn't we decide to do it then?
1. Nobody ran with it.
2. There was mild concern with breaki
André Malo wrote:
> * Greg Ewing wrote:
>
> > But you could just as well wrap
> > it in a function that takes self and discards it,
>
> I always thought, that this is exactly what staticmethod does.
Not quite -- staticmethod prevents a self from getting
passed in the first place, so there's no
On Nov 24, 2007 1:57 PM, Titus Brown <[EMAIL PROTECTED]> wrote:
> On Sat, Nov 24, 2007 at 10:23:06AM -0800, Guido van Rossum wrote:
> -> On Nov 24, 2007 6:35 AM, <[EMAIL PROTECTED]> wrote:
> -> > Thanks, Titus. Both the doctest and trace tests pass with your change.
> -> > Checked back in. I did
Guido van Rossum wrote:
>
> Also, there was discussion of this before:
> http://mail.python.org/pipermail/python-dev/2005-January/050625.html
> -- why didn't we decide to do it then?
Skimming that thread, the issues seem to be:
- worse error messages from explicit base class calls if you forge
13 matches
Mail list logo