>>>>> Charles Yeomans <[email protected]> (CY) wrote:

>CY> Memory management may be an "implementation detail", but it is
>CY> unfortunately one that illustrates the so-called law of leaky
>CY> abstractions.  So I think that one has to write code that follows the
>CY> memory management scheme of whatever language one uses.   For code  written
>CY> for CPython only, as mine is, RAII is an appropriate idiom and  not kludgy
>CY> at all.  Under your assumptions, its use would be wrong, of  course.

I dare to say that, even in CPython it is doomed to disappear, but we
don't know yet on what timescale.
-- 
Piet van Oostrum <[email protected]>
URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4]
Private email: [email protected]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to