Re: Ten awesome things you are missing out on if you're still using Python 2

2017-05-11 Thread Cholo Lennon
On 09/05/17 03:01, Rustom Mody wrote: On Monday, May 8, 2017 at 12:48:03 PM UTC+5:30, Steven D'Aprano wrote: http://www.asmeurer.com/python3-presentation/slides.html#1 Nice list thanks! Do you have a similar list of 10 awesome features of Python that you can't use because you refuse to upgrad

Re: Ten awesome things you are missing out on if you're still using Python 2

2017-05-09 Thread Rustom Mody
On Tuesday, May 9, 2017 at 8:16:09 PM UTC+5:30, Serhiy Storchaka wrote: > On 09.05.17 09:01, Rustom Mody wrote: > > On Monday, May 8, 2017 at 12:48:03 PM UTC+5:30, Steven D'Aprano wrote: > >> http://www.asmeurer.com/python3-presentation/slides.html#1 > > > > Nice list thanks! > > > > Do you have a

Re: Ten awesome things you are missing out on if you're still using Python 2

2017-05-09 Thread Serhiy Storchaka
On 09.05.17 09:01, Rustom Mody wrote: On Monday, May 8, 2017 at 12:48:03 PM UTC+5:30, Steven D'Aprano wrote: http://www.asmeurer.com/python3-presentation/slides.html#1 Nice list thanks! Do you have a similar list of 10 awesome features of Python that you can't use because you refuse to upgrad

Re: Ten awesome things you are missing out on if you're still using Python 2

2017-05-09 Thread Chris Angelico
On Tue, May 9, 2017 at 4:01 PM, Rustom Mody wrote: > On Monday, May 8, 2017 at 12:48:03 PM UTC+5:30, Steven D'Aprano wrote: >> http://www.asmeurer.com/python3-presentation/slides.html#1 > > Nice list thanks! > > Do you have a similar list of > 10 awesome features of Python that you can't use becau

Re: Ten awesome things you are missing out on if you're still using Python 2

2017-05-08 Thread Rustom Mody
On Monday, May 8, 2017 at 12:48:03 PM UTC+5:30, Steven D'Aprano wrote: > http://www.asmeurer.com/python3-presentation/slides.html#1 Nice list thanks! Do you have a similar list of 10 awesome features of Python that you can't use because you refuse to upgrade from Java/C++ ? [Context: Ive to ta

Re: Ten awesome things you are missing out on if you're still using Python 2

2017-05-08 Thread jladasky
On Monday, May 8, 2017 at 5:09:33 PM UTC-7, justin walters wrote: > On Mon, May 8, 2017 at 3:40 PM, wrote: > > > Slide 15: > > > > > def sum(a, b, biteme=False): > > > if biteme: > > > shutil.rmtree('/') > > > else: > > > return a + b > > > > Now that's just evil. :^) > >

Re: Ten awesome things you are missing out on if you're still using Python 2

2017-05-08 Thread Tim Chase
On 2017-05-08 07:17, Steven D'Aprano wrote: > http://www.asmeurer.com/python3-presentation/slides.html#1 Just adding my regular beef about #5, the "everything is an iterator" in regards to the new tuple-unpacking when the wild-card is in the last position: >>> a,b, *c = range(10) >>> a 0

Re: Ten awesome things you are missing out on if you're still using Python 2

2017-05-08 Thread justin walters
On Mon, May 8, 2017 at 3:40 PM, wrote: > Slide 15: > > > def sum(a, b, biteme=False): > > if biteme: > > shutil.rmtree('/') > > else: > > return a + b > > Now that's just evil. :^) > -- > https://mail.python.org/mailman/listinfo/python-list > I sincerely hope no-one is t

Re: Ten awesome things you are missing out on if you're still using Python 2

2017-05-08 Thread jladasky
Slide 15: > def sum(a, b, biteme=False): > if biteme: > shutil.rmtree('/') > else: > return a + b Now that's just evil. :^) -- https://mail.python.org/mailman/listinfo/python-list

Re: Ten awesome things you are missing out on if you're still using Python 2

2017-05-08 Thread justin walters
On Mon, May 8, 2017 at 9:07 AM, Chris Angelico wrote: > On Tue, May 9, 2017 at 1:02 AM, Ian Kelly wrote: > > Slide 58: "Not going to lie to you. I still don't get this." Uh, sure, > > great sales pitch there. If the author doesn't understand asyncio, then > why > > include it in the list? > > IM

Re: Ten awesome things you are missing out on if you're still using Python 2

2017-05-08 Thread Chris Angelico
On Tue, May 9, 2017 at 1:02 AM, Ian Kelly wrote: > Slide 58: "Not going to lie to you. I still don't get this." Uh, sure, > great sales pitch there. If the author doesn't understand asyncio, then why > include it in the list? IMO he doesn't understand it because he's aiming at Python 3.4. Aim at

Re: Ten awesome things you are missing out on if you're still using Python 2

2017-05-08 Thread Ian Kelly
Overall a nice preso. I disagree with the slides on a few points. Slide 8: I don't see why I would want to refactor def f(a, b, *args): stuff into def f(*args): a, b, *args = args stuff The first one has a cleaner signature and is also shorter. Slide 55: What makes the "Better" ex

Ten awesome things you are missing out on if you're still using Python 2

2017-05-08 Thread Steven D'Aprano
http://www.asmeurer.com/python3-presentation/slides.html#1 (The web UI is a bit ~~crap~~ minimialist. Use the left and right arrow keys to advance backwards and forwards among the slides.) -- Steve Emoji: a small, fuzzy, indistinct picture used to replace a clear and perfectly comprehensibl