[issue4165] Failure building 64-bit Python on Leopard

2008-10-22 Thread Anand Patil
Anand Patil [EMAIL PROTECTED] added the comment: That worked, thanks Mark. make worked fine also, but make install failed at the end with running install_egg_info Writing /Library/Frameworks/Python64.framework/Versions/2.6/lib/python2.6/lib- dynload/Python-2.6-py2.6.egg-info ln -fs

[issue4165] Failure building 64-bit Python on Leopard

2008-10-21 Thread Anand Patil
New submission from Anand Patil [EMAIL PROTECTED]: Configuring with sihpc03:Python-2.6 anand$ ./configure --with-framework-name=Python64 -- with-universal-archs=all --enable-framework --enable- universalsdk=MACOSX_DEPLOYMENT_TARGET=10.5 on an Intel Mac Pro with the latest Leopard and Apple

Re: code of a function

2008-05-29 Thread Anand Patil
On Thu, May 29, 2008 at 9:10 AM, Dark Wind [EMAIL PROTECTED] wrote: Hi, Is there any command in Python which gives the code for a function like just typing the name of a function (say svd) in R returns its code. Thank you If you're using IPython, you can type svd?? . --

Re: code of a function

2008-05-29 Thread Anand Patil
On May 29, 2008, at 9:38 AM, Gary Herron wrote: Dark Wind wrote: Hi, Is there any command in Python which gives the code for a function like just typing the name of a function (say svd) in R returns its code. Thank you Nope. If you're using IPython, you can do svd?? . --

MACOSX_DEPLOYMENT_TARGET mismatch bug on Leopard using system Python

2008-05-29 Thread Anand Patil
of Python? Googling the problem turns up fixes that involve configuring source distributions, unless I'm mistaken. Thanks, Anand Patil -- http://mail.python.org/mailman/listinfo/python-list

Re: How about adding rational fraction to Python?

2008-03-01 Thread Anand Patil
Not sure if this is common knowledge yet but Sympy, http://code.google.com/p/sympy, has a rational type. In [2]: from sympy import * In [3]: Rational(21,4) Out[3]: 21/4 In [4]: Rational(21,4)+Rational(3,4) Out[4]: 6 -- http://mail.python.org/mailman/listinfo/python-list

Permission to use Mac OS 'rocketship' dock icon?

2008-02-28 Thread Anand Patil
Hi all, The image of a rocket with the Python logo that occasionally shows up in the dock would make part of a nice logo for PyMC, an open-source Python Bayesian statistics package. Anyone know who we would have to ask to get permission to use it? Thanks, Anand --

Re: Python Network Graph Library

2007-11-28 Thread Anand Patil
On Nov 28, 2007 2:38 PM, jay graves [EMAIL PROTECTED] wrote: On Nov 28, 3:15 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Folks, I am looking for a network Graph Library with Python bindings (Iron or C!). Just need a simple relationship visualisation - seen a few via google

Questions about remembering and caching function arguments

2007-11-11 Thread Anand Patil
Hi all, I have two questions about a class, which we'll call MyWrapperClass, in a package to which I'm contributing. 1) MyWrapperClass wraps functions. Each instance has an attribute called 'value' and a method called 'eval', which calls the wrapped function. An instance D that depends on

[issue1113] interrupt_main() fails to interrupt raw_input()

2007-09-07 Thread Anand Patil
Anand Patil added the comment: OK, thanks for your help. On 9/6/07, Georg Brandl [EMAIL PROTECTED] wrote: Georg Brandl added the comment: Anand Patil schrieb: Anand Patil added the comment: Sorry- Where can I get this patch? The SourceForge patch manager says it's closed

[issue1113] interrupt_main() fails to interrupt raw_input()

2007-09-06 Thread Anand Patil
Anand Patil added the comment: Sorry- Where can I get this patch? The SourceForge patch manager says it's closed. Thanks, Anand On 9/6/07, Georg Brandl [EMAIL PROTECTED] wrote: Georg Brandl added the comment: This is ultimately the same as #685846, for which a patch is at #706406

[issue1113] interrupt_main() fails to interrupt raw_input()

2007-09-05 Thread Anand Patil
New submission from Anand Patil: Mac OS 10.4, Python 2.5 from pythonmac.org: The function listen() in the attached should be interrupted after a second, but it waits until return is pressed before catching the exception. -- components: Macintosh files: test.py messages: 55673 nosy

C extension module causes bus error on Python exit

2007-01-30 Thread Anand Patil
a NULL pointer and crashes *at exit*, whether or not I've instantiated any of the types. I've searched for memory leaks with gc.get_objects and Mac OS's MallocDebug utility, but haven't found any evidence. Has anyone run into a problem like this? Any help is greatly appreciated. Thank you, Anand