[Python-checkins] r76526 - peps/trunk/pep-0391.txt

vinay.sajip python-checkins at python.org
Wed Nov 25 20:06:08 CET 2009


Author: vinay.sajip
Date: Wed Nov 25 20:06:08 2009
New Revision: 76526

Log:
Added section on changes to socket listener implementation.

Modified:
   peps/trunk/pep-0391.txt

Modified: peps/trunk/pep-0391.txt
==============================================================================
--- peps/trunk/pep-0391.txt	(original)
+++ peps/trunk/pep-0391.txt	Wed Nov 25 20:06:08 2009
@@ -611,6 +611,16 @@
 would be bound to the subclass, and then ``dictConfig()`` could be
 called exactly as in the default, uncustomized state.
 
+Change to Socket Listener Implementation
+========================================
+
+The existing socket listener implementation will be modified as
+follows: when a configuration message is received, an attempt will be
+made to deserialize to a dictionary using the json module. If this
+step fails, the message will be assumed to be in the fileConfig format
+and processed as before. If serialization is successful, then
+``dictConfig()`` will be called to process the resulting dictionary.
+
 
 Configuration Errors
 ====================


More information about the Python-checkins mailing list