Re: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009

2009-10-06 Thread Kenneth Gonsalves
On Wednesday 07 Oct 2009 9:48:35 am Anand Chitipothu wrote: > > and spread FUD about plone, but is also a slap in the face for all of us > > who are engaged in python advocacy. > > I think they have done a quite good job of picking a random CMS and > not wasting their valuable time in implementing

Re: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009

2009-10-06 Thread Anand Balachandran Pillai
On Wed, Oct 7, 2009 at 9:58 AM, Noufal Ibrahim wrote: > On Wed, Oct 7, 2009 at 9:48 AM, Anand Chitipothu > wrote: > [..] > > They are only advocating Python for scientific community and not for > > web frameworks or CMSs. > > They are only expressing that there is no good CMS in Python. If you >

Re: [BangPypers] Nested try-catch

2009-10-06 Thread steve
On 10/07/2009 10:24 AM, Anand Chitipothu wrote: [...snip...] When an exception is raised, traceback is taken from the current stack unless a traceback object is provided to it. I'm using sys.exc_info() to get the trackback of the original exception and using it when re-raising the exception. Ah

Re: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009

2009-10-06 Thread Shivaraj M S
> However, if someone will cover my plane ticket and hotel > room . Forgive me if I am being typical... Do you mean MHRD, India by "someone"? -- View this message in context: http://www.nabble.com/-ANN--X-Post--SciPy-India-conference-in-Dec.-2009-tp25770133p25781043.html Sent from the Bang

Re: [BangPypers] Nested try-catch

2009-10-06 Thread bhaskar jain
Anand, nice find.. But i read this in python docs - " Warning Assigning the traceback return value to a local variable in a function that is handling an exception will cause a circular reference. This will prevent anything referenced by a local variable in the same function or by the traceback f

Re: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009

2009-10-06 Thread Noufal Ibrahim
On Wed, Oct 7, 2009 at 9:48 AM, Anand Chitipothu wrote: [..] > They are only advocating Python for scientific community and not for > web frameworks or CMSs. > They are only expressing that there is no good CMS in Python. If you > read it as "Python sucks", then it is your problem. [..] That's ho

Re: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009

2009-10-06 Thread Kenneth Gonsalves
On Wednesday 07 Oct 2009 10:15:36 am Anand Chitipothu wrote: > > I am not objecting to their choice of CMS, I am objecting to the blog > > post - which clearly sends the message that 'python sucks'. > > They only cribbed about Plone, Pinax and Django-cms. I can't see > anything in that blog post th

Re: [BangPypers] Nested try-catch

2009-10-06 Thread Anand Chitipothu
> Well, i am wondering why you are extracting the exc_info() rather than > saving off the exception object itself: > try: >    f() > except Exception, e >    saved = e >    try: >        g() >    except: >        pass # ignore >    raise e > > I have not tested this on 3.0 but i am assuming this sh

Re: [BangPypers] Nested try-catch

2009-10-06 Thread steve
On 10/07/2009 10:13 AM, steve wrote: Hi Anand, Well, i am wondering why you are extracting the exc_info() rather than saving off the exception object itself: [...snip...] raise e [...snip...] finally: raise e Ugh ! sorry, I meant 'raise saved' in both cases. cheers, -

Re: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009

2009-10-06 Thread Anand Chitipothu
> I am not objecting to their choice of CMS, I am objecting to the blog post - > which clearly sends the message that 'python sucks'. They only cribbed about Plone, Pinax and Django-cms. I can't see anything in that blog post that sounds as "python sucks". Did I miss anything? Can you please tell

Re: [BangPypers] Nested try-catch

2009-10-06 Thread steve
Hi Anand, On 10/06/2009 09:24 PM, Anand Chitipothu wrote: I encountered a tricky situation with nested try-catch. Here is the sample code: I managed to work-around that problem like this: [...snip...] try: f() except: x = sys.exc_info() # do cleanup try: g() exce

Re: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009

2009-10-06 Thread Kenneth Gonsalves
On Wednesday 07 Oct 2009 9:48:35 am Anand Chitipothu wrote: > > and spread FUD about plone, but is also a slap in the face for all of us > > who are engaged in python advocacy. > > I think they have done a quite good job of picking a random CMS and > not wasting their valuable time in implementing

Re: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009

2009-10-06 Thread Anand Chitipothu
> cool - I wish your conference all the best, but I have a serious beef. I would > suggest that before spreading python around the world, you could take a few > days off and spread python around your team. The post: >  http://fossee.in/whydrupal > > has not only exposed the abysmal ignorance of the

Re: [BangPypers] Nested try-catch

2009-10-06 Thread Noufal Ibrahim
On Tue, Oct 6, 2009 at 9:24 PM, Anand Chitipothu wrote: [..] > > Has anybody else faced similar situation? Any better solutions? Can't say I've come across it. However, it looks like (and was classified as) a bug which is fixed. :) -- ~noufal http://nibrahim.net.in

Re: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009

2009-10-06 Thread Kenneth Gonsalves
On Monday 05 Oct 2009 6:13:09 pm Kadambari Devarajan wrote: > The first "Scientific Computing with Python" conference in India ( > http://scipy.in) will be held from December 12th to 17th, 2009 at the > Technopark in Trivandrum, Kerala, India (http://www.technopark.org/). cool - I wish your confer

[BangPypers] Nested try-catch

2009-10-06 Thread Anand Chitipothu
I encountered a tricky situation with nested try-catch. Here is the sample code: def f(): raise Exception("f") def g(): raise Exception("g") try: f() except: # do cleanup try: g() except: pass # ignore raise This code raises Exception("g") instead of

Re: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009

2009-10-06 Thread Carl Karsten
On Tue, Oct 6, 2009 at 10:03 AM, Anil wrote: > I so wanted to attend this too bad... I have my exams... :( > where will the PyCon vids be put up? Forgive me if I am being typical... but if you mean these: http://pycon.blip.tv there they are. if you mean videos from scipy.in, I don't know if they

Re: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009

2009-10-06 Thread Anil
I so wanted to attend this too bad... I have my exams... :( where will the PyCon vids be put up? Kadambari Devarajan wrote: Greetings, The first "Scientific Computing with Python" conference in India (http://scipy.in ) will be held from December 12th to 17th, 2009 at the Te

[BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009

2009-10-06 Thread Kadambari Devarajan
Greetings, The first "Scientific Computing with Python" conference in India ( http://scipy.in) will be held from December 12th to 17th, 2009 at the Technopark in Trivandrum, Kerala, India (http://www.technopark.org/). The theme of the conference will be "Scientific Python in Action" with respect