How to detect C Function block using python

2010-03-08 Thread Faheem
if character "}" is found. This solution is actually done already, I want a robust API that can do more then that like detecting Function name parameters its return types etc. Thanks!Faheem -- http://mail.python.org/mailman/listinfo/python-list

regular expression question (re module)

2008-10-11 Thread Faheem Mitha
DUKE1_plateD_A1.CEL, DUKE1_plateD_A10.CEL, DUKE1_plateD_A12.CEL. Thanks in advance. Please cc me with any reply. Faheem. -- http://mail.python.org/mailman/listinfo/python-list

Re: python string comparison oddity

2008-06-18 Thread Faheem Mitha
On Wed, 18 Jun 2008 12:57:44 -0700 (PDT), Lie <[EMAIL PROTECTED]> wrote: > On Jun 19, 2:26 am, Faheem Mitha <[EMAIL PROTECTED]> wrote: >> Hi everybody, >> >> I was wondering if anyone can explain this. My understanding is that 'is' >> checks if t

python string comparison oddity

2008-06-18 Thread Faheem Mitha
o different machines, so it is not just a local quirk. I'm running Debian etch with Python 2.4.4 (the default). Thanks, Faheem. In [1]: a = '--' In [2]: a is '--' Out[2]: False In [4]: a = '-' In [5]:

puzzlement about classmethod

2006-06-24 Thread Faheem Mitha
? Regards, Faheem Mitha. ** #!/usr/bin/python class A(object): x = 0 def class_getx(cls): return cls.x class_getx = classmethod(class_getx) def class_setx(cls, _x): cls.x = _x class_setx