Edgewall Software

Opened 16 years ago

Closed 13 years ago

#249 closed defect (fixed)

Context is missing copy()

Reported by: jondreads@… Owned by: cmlenz
Priority: minor Milestone: 0.6.1
Component: Template processing Version: 0.5
Keywords: Cc:

Description

twisted.python.failure.Failure makes a copy of f_locals when an exception occurs using its copy method. The lack of a copy() method on Context prevents the twisted.web.server from generating tracebacks when an exception occurs in a <?python section.

I'm not sure why Twisted feels the need to copy f_locals but as it is supposed to be a dict-like object it should probably support copy()

Change History (2)

comment:1 Changed 15 years ago by cmlenz

  • Milestone changed from 0.6 to 0.6.1

comment:2 Changed 13 years ago by hodgestar

  • Resolution set to fixed
  • Status changed from new to closed

Fix committed to trunk in r1172 and merged to 0.6.x in r1173.

Note: See TracTickets for help on using tickets.