Changes between Initial Version and Version 12 of Ticket #11339


Ignore:
Timestamp:
06/14/11 23:58:40 (10 years ago)
Author:
fbissey
Comment:

I am giving this a positive review on my and Steve's observations. I unfortunately won't be able to run some extra tests before Monday it seems.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11339

    • Property Cc fbissey robertwb burcin added
    • Property Status changed from new to positive_review
    • Property Reviewers changed from to François Bissey, Steven Trogdon
  • Ticket #11339 – Description

    initial v12  
    44
    55Others have had similar problems before. There are [http://stackoverflow.com/questions/4501938/how-can-c-object-lifetimes-be-correctly-managed-in-cython crude workarounds] floating around. I guess a proper solution would be twaking cython to allow custom code in the tp_clear function. In other words, have a "magic" mehod `__clear__` similar to the magic `__deallocate__`. But I'll wait for comments here first, before taking this to cython upstream. Perhaps people with more experience have better solutions to offer. And I won't mind if you decide to take this to Cython devs yourselves.
     6
     7Apply:
     8 * [attachment:bug11339a.patch]