Deleting objects in Python 1.6
Glyph Lefkowitz
glyph at twistedmatrix.com
Sat May 6 01:06:00 EDT 2000
Michael Hudson <mwh21 at cam.ac.uk> writes:
> There are easier ways of crashing Python 1.5.2;
>
> >>> l=[]
> >>> m=[]
> >>> l.append(l)
> >>> m.append(m)
> >>> l==m
> Segmentation fault (core dumped)
> >>> import marshal
> >>> l=[]
> >>> l.append(l)
> >>> marshal.dumps(l)
> Segmentation fault (core dumped)
>
This is slightly unnerving ... (good to know, though) ... I want to
write long-running programs in python that run user-supplied code.
I take it all of these well-known problems will be fixed in python
1.6?
--
__________________________________________
| ______ __ __ _____ _ _ |
| | ____ | \_/ |_____] |_____| |
| |_____| |_____ | | | | |
| @ t w i s t e d m a t r i x . c o m |
| http://www.twistedmatrix.com/~glyph/ |
`__________________________________________'
More information about the Python-list
mailing list