Re: [BangPypers] Does Python have lexical scoping?

2014-11-09 Thread Abhishek L
Senthil Kumaran writes: > On Sun, Nov 9, 2014 at 1:14 AM, Noufal Ibrahim KV > wrote: > >> How is lexical scoping with a mutable environment different from dynamic >> scoping? >> > > I think you should post this in python-dev and you might get answers with > rigorous definitions. > > Here is my s

Re: [BangPypers] Does Python have lexical scoping?

2014-11-09 Thread Abhishek L
I'll try to explain a bit, have to admit though, even my understanding is not all that clear, and all is open for further discussion. Noufal Ibrahim KV writes: > Okay, I've been struggling through the proglang course on coursera and > this thing came up > >val x = 2; >fun f y = x + y; > >

Re: [BangPypers] Python List Comprehension Question

2014-10-02 Thread Abhishek L
On Thu, Oct 2, 2014 at 5:15 PM, kracekumar ramaraju wrote: > Hi > > `yield from ` is introduced in Python 3.3 as part of pep 380. > > # python 3.3 > > from collections import Iterable > > def flatten(items): > for item in items: > if isinstance(item, Iterable): > yield from

Re: [BangPypers] Mailing list etiquette

2014-08-05 Thread Abhishek L
On Tue, Aug 5, 2014 at 10:44 AM, Balachandran Sivakumar wrote: > Hi Jeff, > > I generally look at it from this perspective - Do we really > need HTML to convey something ? Are plain words not sufficient enough > to express ourselves ? Look at it as "Simple is better than complex" > :) Ag

Re: [BangPypers] Best python source browsing tool for Mac + Emacs / Sublime

2013-12-30 Thread Abhishek L
I'm a happy user of elpy (https://github.com/jorgenschaefer/elpy) in emacs for all python related things. It includes some popular extensions for code-completion (Jedi/Rope backends), Code navigation etc. It should be available in marmalade/MELPA repositories as well. Also I heard ein (https://git