[Python-checkins] r71268 - in python/trunk: Lib/SimpleXMLRPCServer.py Misc/NEWS

matthias.klose python-checkins at python.org
Sun Apr 5 23:00:49 CEST 2009


Author: matthias.klose
Date: Sun Apr  5 23:00:48 2009
New Revision: 71268

Log:
- Issue #2703: SimpleXMLRPCDispatcher.__init__: Provide default values for
  new arguments introduced in 2.5.


Modified:
   python/trunk/Lib/SimpleXMLRPCServer.py
   python/trunk/Misc/NEWS

Modified: python/trunk/Lib/SimpleXMLRPCServer.py
==============================================================================
--- python/trunk/Lib/SimpleXMLRPCServer.py	(original)
+++ python/trunk/Lib/SimpleXMLRPCServer.py	Sun Apr  5 23:00:48 2009
@@ -164,7 +164,7 @@
     reason to instantiate this class directly.
     """
 
-    def __init__(self, allow_none, encoding):
+    def __init__(self, allow_none=False, encoding=None):
         self.funcs = {}
         self.instance = None
         self.allow_none = allow_none

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Sun Apr  5 23:00:48 2009
@@ -689,6 +689,9 @@
 - Issue #999042: The Python compiler now handles explict global statements
   correctly (should be assigned using STORE_GLOBAL opcode).
 
+- Issue #2703: SimpleXMLRPCDispatcher.__init__: Provide default values for
+  new arguments introduced in 2.5.
+
 Tools/Demos
 -----------
 


More information about the Python-checkins mailing list