Closed GoogleCodeExporter closed 9 years ago
Hi, thanks for reporting.
Unfortunately, I cannot reproduce the crash on my current machine, so I'll try
again
at the end of the week on another computer.
What version of shedskin do you use? Did you try the latest svn version?
Best regards,
Original comment by arkanosis
on 11 May 2010 at 11:41
I can't reproduce it here either (64-bit ubuntu 10.04).. this at least works
fine
(identical results):
import random
random.seed(42)
from itertools import permutations
for x in range(1000000):
l = range(random.randrange(5))
for y in permutations(l):
print y
Original comment by mark.duf...@gmail.com
on 11 May 2010 at 12:57
Oh well, after a lot of debugging, I found what the problem was:
template<class T> T __iter<T>::__get_next() {
try {
__result = this->next();
return __result;
}
catch (StopIteration *) {
__stop_iteration = true;
}
}
Moving the "return __result" line off the try block did the trick, although I
think
both code snippets should be functionally equivalent -- probably a compiler
error.
Anyway, it's not a SS problem, so you can close this...
Original comment by fet...@gmail.com
on 11 May 2010 at 6:03
woah, thanks for looking into this! I will make sure the next shedskin release
for
windows is based on a more recent MinGW, so hopefully this problem will be
gone..
jeremie, can I close this issue..?
Original comment by mark.duf...@gmail.com
on 11 May 2010 at 7:05
Thanks fetofs !
Yeah, it looks like the problem is the C++ compiler so the issue may be closed
:-)
Best regards,
Original comment by arkanosis
on 12 May 2010 at 9:08
thanks guys
Original comment by mark.duf...@gmail.com
on 12 May 2010 at 9:11
Original issue reported on code.google.com by
fet...@gmail.com
on 9 May 2010 at 1:12