Message228808
The following can be used to generate a file called ```mega_concat.py```:
```python
N = 2**17
my_array = []
for i in range(N):
my_array.append("\"\"")
print '+'.join(my_array)
```
Then:
```console
$ python mega_concat.py
Segmentation fault (core dumped)
$ python3 mega_concat.py
RuntimeError: maximum recursion depth exceeded during compilation
```
Trying to debug this and it seems like it's a simple out-of-memory issue. |
|
Date |
User |
Action |
Args |
2014-10-08 18:31:48 | Kevin.Dyer | set | recipients:
+ Kevin.Dyer |
2014-10-08 18:31:48 | Kevin.Dyer | set | messageid: <1412793108.77.0.730743148786.issue22582@psf.upfronthosting.co.za> |
2014-10-08 18:31:48 | Kevin.Dyer | link | issue22582 messages |
2014-10-08 18:31:48 | Kevin.Dyer | create | |
|