[New-bugs-announce] [issue3614] typo in xmlrpc.client

Dmitry Dvoinikov report at bugs.python.org
Wed Aug 20 08:13:34 CEST 2008


New submission from Dmitry Dvoinikov <dmitry at targeted.org>:

In xmlrpc.client:1204:
---
headers = {}
if extra_headers:
    for key, val in extra_headers:
        header[key] = val
---
shouldn't it read 
---
        headers[key] = val
              ^
---
?

Otherwise it bails out with 
---
NameError: global name 'header' is not defined
---

----------
components: Library (Lib)
messages: 71514
nosy: ddvoinikov
severity: normal
status: open
title: typo in xmlrpc.client
type: behavior
versions: Python 3.0

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3614>
_______________________________________


More information about the New-bugs-announce mailing list