Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New issue] random.Random(None) -> SystemError

----------------------------------------------

ISSUES

1. [New issue] random.Random(None) -> SystemError
http://ironpython.codeplex.com/workitem/35155
User pekkaklarck has proposed the issue:

"Initializing random.Random with None works fine with CPython and Jython but 
fails with SystemError on IronPython. Using random.Random() as well as 
random.seed(None) both work fine.
IronPython 2.7.3 (2.7.0.40) on .NET 4.0.30319.18444 (32-bit)
Type "help", "copyright", "credits" or "license" for more information.
>>> import random
>>> random.seed(None)
>>> random.Random()
<Random object at 0x000000000000002B>
>>> random.Random(None)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
SystemError: Object reference not set to an instance of an object.
>>>
"
----------------------------------------------



----------------------------------------------
You are receiving this email because you subscribed to notifications on 
CodePlex.

To report a bug, request a feature, or add a comment, visit IronPython Issue 
Tracker. You can unsubscribe or change your issue notification settings on 
CodePlex.com.
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
https://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to