pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-logging Update py-logging to 0.4.9.2.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ff180c5de6d5
branches: trunk
changeset: 469998:ff180c5de6d5
user: minskim <minskim%pkgsrc.org@localhost>
date: Thu Mar 04 16:26:53 2004 +0000
description:
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.
diffstat:
devel/py-logging/Makefile | 8 ++++----
devel/py-logging/distinfo | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (35 lines):
diff -r 76c2c3be1402 -r ff180c5de6d5 devel/py-logging/Makefile
--- a/devel/py-logging/Makefile Thu Mar 04 16:15:34 2004 +0000
+++ b/devel/py-logging/Makefile Thu Mar 04 16:26:53 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2003/07/17 21:33:29 grant Exp $
+# $NetBSD: Makefile,v 1.4 2004/03/04 16:26:53 minskim Exp $
#
-DISTNAME= logging-0.4.7
-PKGNAME= ${PYPKGPREFIX}-logging-0.4.7
+DISTNAME= logging-0.4.9.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel
MASTER_SITES= http://www.red-dove.com/
@@ -10,7 +10,7 @@
HOMEPAGE= http://www.red-dove.com/python_logging.html
COMMENT= Python logging system
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
PYDISTUTILSPKG= yes
.include "../../lang/python/extension.mk"
diff -r 76c2c3be1402 -r ff180c5de6d5 devel/py-logging/distinfo
--- a/devel/py-logging/distinfo Thu Mar 04 16:15:34 2004 +0000
+++ b/devel/py-logging/distinfo Thu Mar 04 16:26:53 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/11/29 18:09:53 drochner Exp $
+$NetBSD: distinfo,v 1.2 2004/03/04 16:26:53 minskim Exp $
-SHA1 (logging-0.4.7.tar.gz) = b75f31638519ea46990d4886e3c18b3fe29f07bb
-Size (logging-0.4.7.tar.gz) = 87166 bytes
+SHA1 (logging-0.4.9.2.tar.gz) = db3ce2808ed1e6522cbbdb1ed9a1fee403be4b97
+Size (logging-0.4.9.2.tar.gz) = 87854 bytes
Home |
Main Index |
Thread Index |
Old Index