Re: Python 2.2 or 3.5

2015-10-10 Thread Rustom Mody
On Sunday, October 11, 2015 at 12:04:18 PM UTC+5:30, Chris Angelico wrote: > On Sun, Oct 11, 2015 at 5:15 PM, Chris Angelico wrote: > > On Sun, Oct 11, 2015 at 4:11 PM, Rustom Mody wrote: > >> At > >> https://docs.python.org/3.5/faq/extending.html#can-i-create-an-object-class-with-some-methods-i

Re: Python 2.2 or 3.5

2015-10-10 Thread Mark Lawrence
On 11/10/2015 06:57, Rustom Mody wrote: On Sunday, October 11, 2015 at 11:09:17 AM UTC+5:30, Mark Lawrence wrote: On 11/10/2015 06:11, Rustom Mody wrote: At https://docs.python.org/3.5/faq/extending.html#can-i-create-an-object-class-with-some-methods-implemented-in-c-and-others-in-python-e-g-t

Re: Python 2.2 or 3.5

2015-10-10 Thread Chris Angelico
On Sun, Oct 11, 2015 at 5:15 PM, Chris Angelico wrote: > On Sun, Oct 11, 2015 at 4:11 PM, Rustom Mody wrote: >> At >> https://docs.python.org/3.5/faq/extending.html#can-i-create-an-object-class-with-some-methods-implemented-in-c-and-others-in-python-e-g-through-inheritance >> >> it says >> In Py

Re: Python 2.2 or 3.5

2015-10-10 Thread Ben Finney
Rustom Mody writes: > On Sunday, October 11, 2015 at 11:09:17 AM UTC+5:30, Mark Lawrence wrote: > > On 11/10/2015 06:11, Rustom Mody wrote: > > > At https://docs.python.org/3.5/faq/[…] > > > > > > it says > > > In Python 2.2, you can inherit from built-in classes such as int, list, > > > dict, e

Re: Python 2.2 or 3.5

2015-10-10 Thread Chris Angelico
On Sun, Oct 11, 2015 at 4:11 PM, Rustom Mody wrote: > At > https://docs.python.org/3.5/faq/extending.html#can-i-create-an-object-class-with-some-methods-implemented-in-c-and-others-in-python-e-g-through-inheritance > > it says > In Python 2.2, you can inherit from built-in classes such as int, li

Re: Python 2.2 or 3.5

2015-10-10 Thread Rustom Mody
On Sunday, October 11, 2015 at 11:09:17 AM UTC+5:30, Mark Lawrence wrote: > On 11/10/2015 06:11, Rustom Mody wrote: > > At > > https://docs.python.org/3.5/faq/extending.html#can-i-create-an-object-class-with-some-methods-implemented-in-c-and-others-in-python-e-g-through-inheritance > > > > it says

Re: Python 2.2 or 3.5

2015-10-10 Thread Mark Lawrence
On 11/10/2015 06:11, Rustom Mody wrote: At https://docs.python.org/3.5/faq/extending.html#can-i-create-an-object-class-with-some-methods-implemented-in-c-and-others-in-python-e-g-through-inheritance it says In Python 2.2, you can inherit from built-in classes such as int, list, dict, etc. So

Re: Python 2.2 or 3.5

2015-10-10 Thread Ian Kelly
On Sat, Oct 10, 2015 at 11:11 PM, Rustom Mody wrote: > At > https://docs.python.org/3.5/faq/extending.html#can-i-create-an-object-class-with-some-methods-implemented-in-c-and-others-in-python-e-g-through-inheritance > > it says > In Python 2.2, you can inherit from built-in classes such as int, l

Python 2.2 or 3.5

2015-10-10 Thread Rustom Mody
At https://docs.python.org/3.5/faq/extending.html#can-i-create-an-object-class-with-some-methods-implemented-in-c-and-others-in-python-e-g-through-inheritance it says In Python 2.2, you can inherit from built-in classes such as int, list, dict, etc. So is it 3.5 or 2.2? For some reason google

python 2.2 or 3.5

2015-10-10 Thread Rustom Mody
At https://docs.python.org/3.5/faq/extending.html#can-i-create-an-object-class-with-some-methods-implemented-in-c-and-others-in-python-e-g-through-inheritance it says In Python 2.2, you can inherit from built-in classes such as int, list, dict, etc. So is it 3.5 or 2.2? For some reason google