Re: [BangPypers] Python moratorium

2009-11-13 Thread Sidharth Kuruvila
This is to allow the alternate implementations to catch up, and not
really about the users of the python language. Adding breaking changes
between versions of python 3 would just be bad language design, so
users should be fine either way.

I've found myself quite happy using many of the new features that were
added to python over the years. I'll certainly miss that.
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Python moratorium

2009-11-13 Thread Noufal Ibrahim
On Fri, Nov 13, 2009 at 11:57 AM, Kenneth Gonsalves  wrote:
[..]
> I am a fairly typical enduser of python, and basically I am still slowly
> migrating to 2.5 (which is now getting available on production servers). So we
> are happy that there is a pause.[..]

The moratorium is only on the language core (syntax and semantics).
The standard libraries will still be altered and that'd be the kind of
difference between the various 2.x releases you're facing.


-- 
~noufal
http://nibrahim.net.in
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


[BangPypers] SPOJ: Kamil -> Code Golf

2009-11-13 Thread Shashwat Anand
I was doing a problem KAMIL : https://www.spoj.pl/problems/KAMIL/ and the
shortest version i came up with was :

>>> for i in range(10):t=raw_input();print 2**sum(t.count(i)for i in'DFLT')
This is 71 character long.
>>> s = "for i in range(10):t=raw_input();print 2**sum(t.count(i)for i
in'DFLT')"
>>> len(s)
71
However the best solutions in python (
https://www.spoj.pl/ranks/KAMIL/lang=PYTH%202.5 ) shows that it can be
reduced to 53 character long. Do anyone here had solved this problem or have
an idea as to  how to shorten the code any more ? I'm still clueless.
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Python moratorium

2009-11-13 Thread Shashwat Anand
Python widespread adoption is better idea. It's good to have a newer version
arrive after a gap, so we can play catchup game. I hadn't still migrated to
3 though, still stuck with 2.6.2. The reason is same as everyone else.

On Fri, Nov 13, 2009 at 12:00 PM, Noufal Ibrahim  wrote:

> On Fri, Nov 13, 2009 at 11:50 AM, Anand Balachandran Pillai
>  wrote:
> > On Fri, Nov 13, 2009 at 11:20 AM, Noufal Ibrahim 
> wrote:
> >
> >> On Fri, Nov 13, 2009 at 11:12 AM, Anand Balachandran Pillai
> >>  wrote:
> >> > A.M. Kuchling has published an article related to this on LWN.
> >> > This has been under discussion in Pydev for a couple of weeks now...
> >> >
> >> > It would be interesting to know the opinion of folks here on
> this...[..]
> >>
> >> I've been following the discussion. I think it's eminently sensible.
> >>
> >
> >  I also thought so. More than the catching up part, I think perhaps
> >  Guido is worried about widespread Python 3.x adoption. This will
> >  help a lot in that direction.
>
> Unladen Swallow is a serious cog in the works as far as Python 3 is
> concerned. I expect the speed boosts to be significant and they're
> targetting the 2.x releases. If a public release candidate is ready,
> it's a solid argument to *not* migrate to 3.0. I'd love for the
> changes to be ported to 3.0 but have no idea of how much work or what
> kind is involved which is why I'm itching to have Mahadevan speak this
> next Sunday. :)
>
>
> --
> ~noufal
> http://nibrahim.net.in
> ___
> BangPypers mailing list
> BangPypers@python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Best Python IDE with compiler

2009-11-13 Thread Noufal Ibrahim
On Fri, Nov 13, 2009 at 8:19 PM, Abhishek Mishra  wrote:
[..]
> I haven't come across something which points out syntax errors while
> typing. vim does it for html, but has anyone come across this feature?
> do let me know too.[..]

Emacs with flymake and pyflakes does this
http://twitpic.com/pdcy6


-- 
~noufal
http://nibrahim.net.in
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Best Python IDE with compiler

2009-11-13 Thread Abhishek Mishra
> http://stackoverflow.com/questions/81584/what-ide-to-use-for-python
>
> The code 'EM' stands for "syntax errors while typing".
>



>
> -srid
>

Oh, that's a pretty useful list, will try out EM ones.

Thanks
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] Best Python IDE with compiler

2009-11-13 Thread Abhishek Mishra
I used to use gedit (http://twitpic.com/e80j6) before, it has some
nice plugins to make it python friendly, like auto completion,
indentation, run at a hit of f5, better python console, etc.

Then you got eclipse pydev plugin which gives you everything you could
think of.

bpython, not an ide, but comes as a nice interpreter if you're looking
on the spot help popup and auto-completion in interpreter itself.

While vim too can be customized nicely using pydiction,
NERDtree(http://twitpic.com/fnopf) etc to suit Python.
http://twitpic.com/fnsvb

I haven't come across something which points out syntax errors while
typing. vim does it for html, but has anyone come across this feature?
do let me know too.

regards,
Abhishek Mishra
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers


Re: [BangPypers] BangPypers monthly meetup.

2009-11-13 Thread Arvind Jamuna Dixit
On Fri, Nov 13, 2009 at 12:21 PM, Mahadevan R wrote:

> On Thu, Nov 12, 2009 at 8:54 PM, Sriram Narayanan 
> wrote:
> > On Thu, Nov 12, 2009 at 3:56 PM, Noufal Ibrahim 
> wrote:
> >> Shall we fix this for 22nd then? Is TW the venue? What time?
> >>
> >
> > Seems OK to me. Let's have Mahadevan decide on the time.
>
> >Is evening OK? Around 4.00?
>

Yes that's fine.
___
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers