This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2016年03月14日 18:11 by inglesp, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| issue26560.patch | inglesp, 2016年03月17日 17:32 | review | ||
| Messages (5) | |||
|---|---|---|---|
| msg261773 - (view) | Author: Peter Inglesby (inglesp) * | Date: 2016年03月14日 18:11 | |
The line: assert int(status[:3]),"Status message must begin w/3-digit code" should be something like: assert status[:3].isnumeric(), "Status message must begin w/3-digit code" |
|||
| msg261843 - (view) | Author: Berker Peksag (berker.peksag) * (Python committer) | Date: 2016年03月16日 08:35 | |
Thanks for the report. Can you give us a bit more information about the issue? Did you get a traceback? Or just noticed it while reading the source code? If you want to write a patch, please read the devguide. |
|||
| msg261921 - (view) | Author: Peter Inglesby (inglesp) * | Date: 2016年03月17日 17:32 | |
I found it while reading the source. Patch attached. |
|||
| msg262023 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2016年03月19日 07:04 | |
New changeset 60f01a8a71ef by Berker Peksag in branch '3.5': Issue #26560: Avoid potential ValueError in BaseHandler.start_response https://hg.python.org/cpython/rev/60f01a8a71ef New changeset ae1d12f09392 by Berker Peksag in branch 'default': Issue #26560: Avoid potential ValueError in BaseHandler.start_response https://hg.python.org/cpython/rev/ae1d12f09392 |
|||
| msg262024 - (view) | Author: Berker Peksag (berker.peksag) * (Python committer) | Date: 2016年03月19日 07:06 | |
Thanks for the patch, Peter! I've simplified the test a bit and commit it. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:28 | admin | set | github: 70747 |
| 2016年03月19日 07:06:36 | berker.peksag | set | status: open -> closed resolution: fixed messages: + msg262024 stage: needs patch -> resolved |
| 2016年03月19日 07:04:51 | python-dev | set | nosy:
+ python-dev messages: + msg262023 |
| 2016年03月17日 17:32:52 | inglesp | set | files:
+ issue26560.patch keywords: + patch messages: + msg261921 |
| 2016年03月16日 08:35:22 | berker.peksag | set | priority: normal -> low versions: + Python 3.5 nosy: + berker.peksag messages: + msg261843 stage: needs patch |
| 2016年03月15日 17:11:21 | SilentGhost | set | nosy:
+ pje type: behavior versions: + Python 3.6 |
| 2016年03月14日 18:11:47 | inglesp | create | |