Re: Why not use @classmethod decorator consitently in django/utils/functional.py?

2013-11-20 Thread Adam Smith
You are right, I should have checked out those release notes. Thanks Baptiste! -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr..

Re: Why not use @classmethod decorator consitently in django/utils/functional.py?

2013-11-20 Thread Baptiste Mispelon
Hi Adam, Django 1.6 only supports Python 2.6 and older [1] and Django 1.7 will support Python 2.7 onwards [2]. [1] https://docs.djangoproject.com/en/1.6/releases/1.6/#python-compatibility [2] https://docs.djangoproject.com/en/dev/releases/1.7/#python-compatibility Cheers, Baptiste On 11/20/2

Re: Why not use @classmethod decorator consitently in django/utils/functional.py?

2013-11-20 Thread Adam Smith
Hi Shai, Just FYI, on github @charettes merge my PR replacing almost all `meth = classmethod(meth)` with `@classmethod`. So I assume you guys are going to drop support for python2.4 and older, right? Best Regards Adam -- You received this message because you are subscribed to the Goo

Re: Why not use @classmethod decorator consitently in django/utils/functional.py?

2013-11-19 Thread Adam Smith
> > I see. Thanks a lot Shai, for both your welcome and detailed explanation! -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubsc

Re: Why not use @classmethod decorator consitently in django/utils/functional.py?

2013-11-19 Thread Shai Berger
Hi Adam, (reordering quoted parts a little) On Tuesday 19 November 2013 18:33:01 Adam Smith wrote: > Hi, I'm quite new to Python and Django Welcome aboard! > Like I said, I'm quite new to Python and this community, I'm not sure > whether this is the right place to ask this kind of question. >

Why not use @classmethod decorator consitently in django/utils/functional.py?

2013-11-19 Thread Adam Smith
Hi, I'm quite new to Python and Django, as I read through the django/utils/functional.py, I was wondering why not use `classmethod` as a class method decorator consistently, as line 334