[Python-bugs-list] [ python-Bugs-446525 ] python 2.1 debug library missing _sre?
noreply@sourceforge.net
noreply@sourceforge.net
Wed, 01 Aug 2001 13:20:12 -0700
Bugs item #446525, was opened at 2001-07-31 12:50
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=446525&group_id=5470
Category: Windows
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Tim Peters (tim_one)
Summary: python 2.1 debug library missing _sre?
Initial Comment:
I downloaded the most current python 2.1 debug library
as follows:
Python-2.1-Debug.zip 16-Apr-2001 23:06 1.3M ZIP
archive
After initialization of the interpreter, a simple call
like "PyRun_SimpleString("import re");" will return
the following error:
Traceback (most recent call last):
...
File "c:\python21\lib\sre_compile.py", line 11, in ?
import _sre
ImportError: No module named _sre
By comparision, running the same code using the Python
Release library gives no such problem.
Is this a bug?
Much Thanks,
Hugo
----------------------------------------------------------------------
>Comment By: Tim Peters (tim_one)
Date: 2001-08-01 13:20
Message:
Logged In: YES
user_id=31435
Not enough info. You downloaded the .zip file, and *then*
what? Did you unpack it? If so, to where? Note that the
zip file is captured from a build tree, not a release tree.
Then what? I don't know how you run your app, or how you
compile it, or really anything else relevant. Try running
python_d with -vv to see *where* it's looking for _sre.
Also try getting your own extensions out of the picture.
Note that I'm no longer going to ship the ...-Debug.zip
file in 2.2, as tracking down misuses of it is a time
sink. If you want to build things in debug mode, much
better to compile Python yourself from the source release.
In the meantime, if you want help with this, I'm afraid
you're going to have attach enough files and info to this
report so that I can reproduce your problem on my machine.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=446525&group_id=5470