[MacPorts] #20286: BUG: python26 bus error
MacPorts
noreply at macports.org
Fri Aug 21 05:28:51 PDT 2009
#20286: BUG: python26 bus error
---------------------------------+------------------------------------------
Reporter: jabronson@… | Owner: blb@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: | Port: python26
---------------------------------+------------------------------------------
Comment(by santagada@…):
The diff got destroied by trac... sorry
Can we move this bug to confirmed or something?
{{{
--- wsgi.py 2009-08-21 09:25:38.000000000 -0300
+++ wsgi.py 2009-08-21 09:25:14.000000000 -0300
@@ -178,7 +178,12 @@
return environ
def handle_one_request(self):
+ def trac_func(frame, type, blabla):
+ if type=='call':
+ print frame.f_code.co_filename[-20:],
frame.f_code.co_name
environ = self.setup_environ()
+ if '.' in self.path:
+ import sys; sys.settrace(trac_func)
if environ:
gateway = self.server.gateway(self, environ)
gateway.run(self.server.application)
}}}
--
Ticket URL: <http://trac.macports.org/ticket/20286#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list