[issue1322] platform.dist() has unpredictable result under Linux

2011-04-20 Thread pola

pola  added the comment:

Has there been any progress on incorporating the suggested here patch?  

A suggested patch is found here also:

http://code.google.com/p/google-highly-open-participation-psf/issues/detail?id=216


And a patch is applied to python in ubuntu packages:
see reference - https://bugs.launchpad.net/python/+bug/196526

But the original platform still doesn't support this and it can't be counted 
on. 
Will the patch given by zooko be applied? If not, what is missing in it?

--
nosy: +pola

___
Python tracker 
<http://bugs.python.org/issue1322>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue10380] AttributeError: 'module' object has no attribute 'exc_traceback'

2010-11-09 Thread Peda Venkateswarlu Pola

New submission from Peda Venkateswarlu Pola :

As we have some new requirements in standard logging, We have written wrapper 
logger. This includes find caller which gives information about filename , line 
number , class name and method name. As i found that python logger doesn't give 
class name so we get the code from python logger and modified to our 
requirement. 

We end up with the following error intermittently from the function 
"currentframe()" .

"AttributeError: 'module' object has no attribute 'exc_traceback'"


def currentframe():
"""Return the frame object for the caller's stack frame."""
try:
raise Exception
except:
return sys.exc_traceback.tb_frame.f_back

Please help me out ASAP.

Great thanks in advance.

--
components: None
files: findcaller_modi.py
messages: 120913
nosy: polavenki
priority: normal
severity: normal
status: open
title: AttributeError: 'module' object has no attribute 'exc_traceback'
type: crash
versions: Python 2.5
Added file: http://bugs.python.org/file19563/findcaller_modi.py

___
Python tracker 
<http://bugs.python.org/issue10380>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com