Re: How to find out if the interpreter is a debug build?

2007-09-01 Thread Martin v. Löwis
llothar schrieb: How can i find out if a selected python interpreter (i only know the path name under which i should start it) is a debug build? I tried sys.api_version, sys.platform, sys.version, sys.version_info and there is no difference between python.exe and python_d.exe. Sure

Re: How to find out if the interpreter is a debug build?

2007-09-01 Thread llothar
On 1 Sep., 10:37, Lawrence D'Oliveiro [EMAIL PROTECTED] central.gen.new_zealand wrote: In message [EMAIL PROTECTED], llothar wrote: How can i find out if a selected python interpreter (i only know the path name under which i should start it) is a debug build? What's the difference in

Re: How to find out if the interpreter is a debug build?

2007-09-01 Thread llothar
On 1 Sep., 13:25, Martin v. Löwis [EMAIL PROTECTED] wrote: If you want it cross-platform, you can check whether sys.getobjects is available. That, of course, is also unsafe because there isn't a single debug build on Unix, but instead, several debugging features can be enabled and disabled

Re: How to find out if the interpreter is a debug build?

2007-09-01 Thread Martin v. Löwis
It is a huge problem and weakness of python Would you like to contribute a patch? Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list

Re: How to find out if the interpreter is a debug build?

2007-09-01 Thread llothar
Would you like to contribute a patch? Would such a patch require a full blown PEP? If i have to write a PEP i can better add it to the documentation of my application and be sure that the problem is solved. A patch might be rejected by anybody in a bad mood or who don't understand why it is

Re: How to find out if the interpreter is a debug build?

2007-09-01 Thread Martin v. Löwis
Would such a patch require a full blown PEP? No. If i have to write a PEP i can better add it to the documentation of my application and be sure that the problem is solved. I don't understand. Are you saying you would rather not write a PEP, and add something to the documentation of your

How to find out if the interpreter is a debug build?

2007-08-31 Thread llothar
How can i find out if a selected python interpreter (i only know the path name under which i should start it) is a debug build? I tried sys.api_version, sys.platform, sys.version, sys.version_info and there is no difference between python.exe and python_d.exe. I'm pretty sure the information

Re: How to find out if the interpreter is a debug build?

2007-08-31 Thread Lawrence D'Oliveiro
In message [EMAIL PROTECTED], llothar wrote: How can i find out if a selected python interpreter (i only know the path name under which i should start it) is a debug build? What's the difference in their behaviour? -- http://mail.python.org/mailman/listinfo/python-list