New submission from Stefan Krah:

While trying to find a possible cause for #24546, I came across this
glitch:

Python 3.6.0a0 (default:02b81a82a57d, Jul 12 2015, 20:33:44) 
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import random
>>> s = (3, (999999999999999,)*625, None)
>>> random.setstate(s)
>>> random.choice([1,2,3,4,5])
Segmentation fault (core dumped)

----------
messages: 246661
nosy: mark.dickinson, rhettinger, skrah
priority: normal
severity: normal
status: open
title: Segfault with nonsensical random state

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24620>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to