Edgewall Software

Ticket #249 (closed defect: fixed)

Opened 4 years ago

Last modified 5 months ago

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()

Attachments

Change History

Changed 2 years ago by cmlenz

  • milestone changed from 0.6 to 0.6.1

Changed 5 months ago by hodgestar

  • status changed from new to closed
  • resolution set to fixed

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

Add/Change #249 (Context is missing copy())

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.