[Python-bugs-list] [ python-Bugs-734149 ] tempfile module broken in 2.3
SourceForge.net
noreply@sourceforge.net
Thu, 08 May 2003 11:02:29 -0700
Bugs item #734149, was opened at 2003-05-07 12:27
Message generated for change (Comment added) made by cdoutri
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=734149&group_id=5470
Category: Build
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Charles Doutriaux (cdoutri)
Assigned to: Nobody/Anonymous (nobody)
Summary: tempfile module broken in 2.3
Initial Comment:
Thiserror persists since 2.3alpha
>>> import tempfile
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File
"/roseland0/cdat/latest/lib/python2.3/tempfile.py",
line 33, in ?
from random import Random as _Random
File
"/roseland0/cdat/latest/lib/python2.3/random.py", line
61, in ?
import _random
ImportError: No module named _random
----------------------------------------------------------------------
>Comment By: Charles Doutriaux (cdoutri)
Date: 2003-05-08 11:02
Message:
Logged In: YES
user_id=78442
Sorry, I forgot to specify,
I'm using the "default" setup.py on Linux box, it fails on
both RH8.0 and RH9.0
----------------------------------------------------------------------
Comment By: Raymond Hettinger (rhettinger)
Date: 2003-05-08 09:13
Message:
Logged In: YES
user_id=80475
Also, verify that your setup.py has a line like:
exts.append( Extension("_random", ["_randommodule.c"]) )
----------------------------------------------------------------------
Comment By: Neal Norwitz (nnorwitz)
Date: 2003-05-07 18:20
Message:
Logged In: YES
user_id=33168
This is a build problem. Why doesn't
Modules/_randommodule.c get built? What operating system
and version?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=734149&group_id=5470