Subject: CVS commit: pkgsrc/devel/py-logging
To: None <pkgsrc-changes@NetBSD.org>
From: Min Sik Kim <minskim@netbsd.org>
List: pkgsrc-changes
Date: 03/04/2004 16:26:53
Module Name:	pkgsrc
Committed By:	minskim
Date:		Thu Mar  4 16:26:53 UTC 2004

Modified Files:
	pkgsrc/devel/py-logging: Makefile distinfo

Log Message:
Update py-logging to 0.4.9.2.

Changes since 0.4.7:
  - Traceback text is now cached.
  - Tracebacks can be propagated across sockets as text.
  - Added makeLogRecord() to allow a LogRecord to be created from a dictionary.
  - Closing a handler now removes it from the internal list used by shutdown().
  - Made close() call flush() for handlers where this makes
    sense (thanks to Jim Jewett).
  - The exc_info keyword parameter can be used to pass an exception tuple as
    well as a flag indicating that the current exception should be logged.
  - A shutdown hook is registered to call shutdown() on
    application (Python) exit (thanks to Jim Jewett).
  - Removed redundant error check in setLoggerClass().
  - Added RESET_ERROR to logging.config.
  - SocketHandler now uses an exponential backoff strategy.
  - Minor documentation corrections.
  - Made _listener global in stopListening().
  - Made listen() correctly pass the specified port.
  - Removed some redundant imports in __init__.py.
  - Added the record being processed as a parameter to handleError.
  - Handler.handle returns the result of applying the filter to the record.
  - Added a seek(0, 2) in RotatingFileHandler before the
    tell() call. This is because under Windows, tell()
    returns 0 until the first actual write.
  - Altered findCaller to not use inspect.
  - Renamed warn and WARN to warning and WARNING. This may break
    existing code, but the standard Python module will use
    warning/WARNING rather than warn/WARN. The fatal and FATAL synonyms
    for critical and CRITICAL have also been removed.
  - Added defaultEncoding and some support for encoding Unicode messages.
  - Added process ID to the list of LogRecord attributes.
  - Modified Logger.removeHandler so that it does not
    close the handler on removal.
  - Modified SMTPHandler to treat a single "to address" correctly.
  - Modified SMTPHandler to add a date header to the SMTP message.
  - Modified HTTPHandler to factor out the mapping of
    a LogRecord to a dictionary.


To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 pkgsrc/devel/py-logging/Makefile
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/devel/py-logging/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.