[Python-Dev] More data points (original) (raw)
Raymond Hettinger python at rcn.com
Sat Sep 25 21:17:15 CEST 2004
- Previous message: [Python-Dev] A cute new way to get an infinite loop
- Next message: [Python-Dev] More data points
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Bob Ippolito]
> > >>> x = [] > > >>> x.extend(-y for y in x) > > Segmentation fault
I get a MemoryError.
To help with get a comprehensive view when I look at this more closely tomorrow, can you try out variations on the theme with other mutables:
myset.update deque.extend dict.update dict.fromkeys array.extend
Raymond
- Previous message: [Python-Dev] A cute new way to get an infinite loop
- Next message: [Python-Dev] More data points
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]