[python-nl] Presentations slides

2012-04-19 Berichten over hetzelfde onderwerp Remco Wendt
Hello all, Thanks again for an interesting and inspiring Django Meetup. You can find the slides of my presentation 'Down the rabbit hole, profiling your Python code' on slideshare: http://www.slideshare.net/sshanx/down-the-rabbit-hole-profiling-in-django/. Of course Reinout also made notes, which

[python-nl] getitem with slices??

2012-04-19 Berichten over hetzelfde onderwerp Dexter
Hi, So they're re-factoring python a bit, some backwards (incompatible) changes to fix certain inconsistencies. And I also knew that some other inconsistencies aren't gonna be changed, because of backwards incompatibility. But I didn't know that they were also introducing inconsistencies, which is

Re: [python-nl] getitem with slices??

2012-04-19 Berichten over hetzelfde onderwerp Pepijn de Vos
No explanation, but this is one aspect of "pythonic" that has been bothering me of late. The general consensus is that you should use duck typing, and in general not have items of a different type in one place. So the "pythonic" solution would be to have getslice, I would think, but if that is

Re: [python-nl] Presentations slides

2012-04-19 Berichten over hetzelfde onderwerp Reinout van Rees
On 19-04-12 10:39, Remco Wendt wrote: Next meetup will be the 4th of July. Hope to see you all there! And do remember that anything interesting you discover, the classical A-HA erlebnis, could be great material for a lightning talk! And... there should be a Python meeting again somewhere in May

Re: [python-nl] getitem with slices??

2012-04-19 Berichten over hetzelfde onderwerp Ronald Oussoren
On 19 Apr, 2012, at 16:10, Dexter wrote: > Hi, > > So they're re-factoring python a bit, some backwards (incompatible) changes > to fix certain inconsistencies. > And I also knew that some other inconsistencies aren't gonna be changed, > because of backwards incompatibility. > But I didn't

Re: [python-nl] getitem with slices??

2012-04-19 Berichten over hetzelfde onderwerp Dexter
I've noticed, but it just seems like they are trying to do multiple things with one function, which doesn't look like to be in the zen of python. . I'd reckon they should've supported extended slicing with the __getslice__ method. On Thu, Apr 19, 2012 at 5:10 PM, Ronald Oussoren wrote: > > On 19

Re: [python-nl] getitem with slices??

2012-04-19 Berichten over hetzelfde onderwerp Dirkjan Ochtman
On Thu, Apr 19, 2012 at 16:51, Pepijn de Vos wrote: > No explanation, but this is one aspect of "pythonic" that has been bothering > me of late. > > The general consensus is that you should use duck typing, and in general not > have items of a different type in one place. > > So the "pythonic" s