Amaury Forgeot d'Arc
b7f17e4bb4
Found another memory leak in longrangeiter. And redo the previous correction
...
without calling PyType_Ready().
Question 1: Should the interpreter register all types with PyType_Ready()?
Many types seem to avoid it.
Question 2: To reproduce the problem, run the following code:
def f():
while True:
for a in iter(range(0,1,10**20)):
pass
f()
And watch the memory used by the process.
How do we test this in a unittest?
2007-11-15 20:52:21 +00:00
..
2007-11-15 20:48:54 +00:00
2007-11-06 21:34:58 +00:00
2007-09-21 20:19:23 +00:00
2007-10-16 06:31:30 +00:00
2007-11-06 21:34:58 +00:00
2007-07-21 17:22:18 +00:00
2007-07-21 17:22:18 +00:00
2007-07-21 17:22:18 +00:00
2007-11-06 21:34:58 +00:00
2007-09-21 20:19:23 +00:00
2007-11-12 01:32:03 +00:00
2007-02-23 15:07:44 +00:00
2007-11-10 23:39:45 +00:00
2007-11-01 19:42:39 +00:00
2007-11-15 20:48:54 +00:00
2007-11-13 02:19:40 +00:00
2007-09-21 20:19:23 +00:00
2007-10-27 04:00:45 +00:00
2007-08-26 03:56:04 +00:00
2007-09-19 03:06:30 +00:00
2007-07-21 17:22:18 +00:00
2007-11-01 19:42:39 +00:00
2006-08-11 14:57:12 +00:00
2007-11-06 21:34:58 +00:00
2007-11-08 02:28:11 +00:00
2007-09-01 13:59:50 +00:00
2007-11-06 21:34:58 +00:00
2007-11-15 20:52:21 +00:00
2007-07-21 17:22:18 +00:00
2007-11-15 20:52:21 +00:00
2007-11-10 23:39:45 +00:00
2007-10-23 19:24:22 +00:00
2007-11-10 23:39:45 +00:00
2007-08-30 22:57:53 +00:00
2007-11-01 19:42:39 +00:00
2007-11-15 20:48:54 +00:00
2007-08-14 22:37:03 +00:00
2007-11-15 20:48:54 +00:00
2007-08-14 22:37:03 +00:00
2007-09-21 20:19:23 +00:00