Issue1505730

classification
Title: PyRandom support
Type: Severity: normal
Components: None Versions:
Milestone:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: m_small
Priority: normal Keywords: patch

Created on 2006-06-14.00:28:43 by m_small, last changed 2006-07-18.18:48:04 by m_small.

Files
File name Uploaded Description Edit Remove
random.patch m_small, 2006-06-14.00:28:44
Messages
msg2504 (view) Author: Matt Small (m_small) Date: 2006-06-14.00:28:43
Attached is a patch enabling PyRandom.

There are 2 test failures with Py-2.3.5's
test_random.py.  One of them happens because we don't
have pickle yet, and the other is due to a different
exception type.  Jython uses:

>>> a=12
>>> a[1]
Traceback (innermost last):
  File "<console>", line 1, in ?
AttributeError: __getitem__

Python does:

>>> a=13
>>> a[1]
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
TypeError: unsubscriptable object

This is an issue, but it's not really a random issue.

msg2505 (view) Author: Matt Small (m_small) Date: 2006-07-18.18:48:04
Logged In: YES 
user_id=1539426

committed, revision 2841.
History
Date User Action Args
2006-06-14 00:28:43m_smallcreate