New submission from Dmitry Dvoinikov <[EMAIL PROTECTED]>:

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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3614>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to