[issue12676] Bug in http.client
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 1013c9fbd83c by Senthil Kumaran in branch '3.2': Fix closes Issue12676 - Invalid identifier used in TypeError message in http.client. http://hg.python.org/cpython/rev/1013c9fbd83c -- nosy: +python-dev resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12676 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12676] Bug in http.client
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset c099ba0a278e by Senthil Kumaran in branch 'default': Fix closes Issue12676 - Invalid identifier used in TypeError message in http.client. http://hg.python.org/cpython/rev/c099ba0a278e -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12676 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12676] Bug in http.client
Senthil Kumaran sent...@uthcode.com added the comment: Thanks for the bug report, Popa Claudiu and Patch Santoso Wijaya. Ouch, pretty ugly bug - shows the code lacked test coverage. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12676 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12676] Bug in http.client
New submission from Popa Claudiu pcmantic...@gmail.com: There appears to be used a variable that is not defined in HTTPConnection.send method. The approximate line is 781. How to reproduce: import http.client import urllib.parse c = urllib.parse.urlencode({user:claudiu, password:1}) c = http.client.HTTPConnection(192.168.71.38) c.request(POST, test, c) # silly, I now. There should be raised a TypeError here, but instead the error is: File C:\Python32\lib\http\client.py, line 781, in send or an iterable, got %r % type(it)) NameError: global name 'it' is not defined -- components: Library (Lib) messages: 141504 nosy: Popa.Claudiu priority: normal severity: normal status: open title: Bug in http.client versions: Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12676 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12676] Bug in http.client
Éric Araujo mer...@netwok.org added the comment: It looks like “it” should be “data”. -- assignee: - orsenthil keywords: +easy nosy: +eric.araujo, orsenthil stage: - needs patch versions: +Python 2.7, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12676 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12676] Bug in http.client
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12676 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12676] Bug in http.client
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- nosy: +santa4nt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12676 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12676] Bug in http.client
Changes by Santoso Wijaya santoso.wij...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file22821/issue12676_py33.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12676 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com