Kaydet (Commit) a5d58c83 authored tarafından Matthias Klose's avatar Matthias Klose

- Issue #2703: SimpleXMLRPCDispatcher.__init__: Provide default values for

  new arguments introduced in 2.5.
üst 29c6a281
...@@ -164,7 +164,7 @@ class SimpleXMLRPCDispatcher: ...@@ -164,7 +164,7 @@ class SimpleXMLRPCDispatcher:
reason to instantiate this class directly. reason to instantiate this class directly.
""" """
def __init__(self, allow_none, encoding): def __init__(self, allow_none=False, encoding=None):
self.funcs = {} self.funcs = {}
self.instance = None self.instance = None
self.allow_none = allow_none self.allow_none = allow_none
......
...@@ -689,6 +689,9 @@ Library ...@@ -689,6 +689,9 @@ Library
- Issue #999042: The Python compiler now handles explict global statements - Issue #999042: The Python compiler now handles explict global statements
correctly (should be assigned using STORE_GLOBAL opcode). correctly (should be assigned using STORE_GLOBAL opcode).
- Issue #2703: SimpleXMLRPCDispatcher.__init__: Provide default values for
new arguments introduced in 2.5.
Tools/Demos Tools/Demos
----------- -----------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment