Message43689
Logged In: YES
user_id=387193
A simple test, to describe the problem, below.
DESTDIR is set to "/home/users/user/tmp/python-2.3b1-root-user".
-----------------
import logging
class X:
pass
logging.setLoggerClass(X)
-------------------
Code above gives following exception:
Traceback (most recent call last):
File "tracedir.py", line 6, in ?
logging.setLoggerClass(X)
File
"/home/users/user/tmp/python-2.3b1-root-user/usr/lib/python2.3/logging/__init__.py",
line 729, in setLoggerClass
TypeError: logger not derived from logging.Logger: X
I _suppose_ that, after applying the patch the exception
will look like:
Traceback (most recent call last):
File "tracedir.py", line 6, in ?
logging.setLoggerClass(X)
File "/usr/lib/python2.3/logging/__init__.py", line 729,
in setLoggerClass
TypeError: logger not derived from logging.Logger: X
There will be no DESTDIR part in the module filepath. |
|
Date |
User |
Action |
Args |
2007-08-23 15:27:01 | admin | link | issue736413 messages |
2007-08-23 15:27:01 | admin | create | |
|