This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author wrobell
Recipients
Date 2003-05-16.08:52:30
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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.
History
Date User Action Args
2007-08-23 15:27:01adminlinkissue736413 messages
2007-08-23 15:27:01admincreate