How to increase the depth of the python traceback?

2008-06-03 Thread Milton
How to increase the depth of the python traceback?

I have some code that gets an exception deep in the python logging
module and the traceback produced does not go back far enough to show
my own code. How can the traceback limit be controlled in Python 2.5.

The docs indicate that there is an attribute in the sys module
“tracebacklimit” that defaults to 1000 (affectively no limit). I
cannot find this attribute in the sys module of Python2.5

--
http://mail.python.org/mailman/listinfo/python-list


module install failures

2013-05-06 Thread Milton Mobley
Hi there, I hate to bother you with this, but there doesn't seem to be any
ordinary online help for such issues at python.org:

Lately I have tried to install several Python modules that are wrappers for
C/C++ base libraries on a Windows 7 64 bit system.
I used pip in a virtualenv environment, and some script fails complaining
that it can't find vcvarsall.bat. I found the file in my
Visual Studio 10 Express tree, but the script can't find it. How can I fix
the script to look in the right place?
-- 
http://mail.python.org/mailman/listinfo/python-list


[no subject]

2007-03-16 Thread Milton Segura
Hello, I'm trying to exclude files from a list using the following code:
 
for item in dirs:if item.find('Software') > -1:dirs.remove(item)
elif item.find('Images') > -1:dirs.remove(item)
 
let's supose dirs = ['C:\Images', 'C:\Images\2006', 'C:\Images\2007', 
'C:\Music', 'C:\Files', 'C:\Software', 'C:\Software\Python', 
'C:\Software\iTunes']
 
For some reason.. it just won't exclude them.
I'd like to know why and how to fix it.
Thanks in advance.
Milton
_
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE-- 
http://mail.python.org/mailman/listinfo/python-list

Re: [Zope] how do I test for the current item in an iteration

2007-09-28 Thread Andrew Milton
+---[ kamal hamzat ]--
| Dear All,
| 
| I have this error after i added the if statement

Time for you to do some reading of your own.

That's three in less than an hour...

-- 
Andrew Milton
[EMAIL PROTECTED]
-- 
http://mail.python.org/mailman/listinfo/python-list