Issue 25835: httplib uses print for debugging
Issue25835
Created on 2015-12-11 02:12 by calin marina, last changed 2022-04-11 14:58 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| mywork.patch | calin marina, 2015-12-11 02:12 | patch file for latest 2.7 branch | review | |
| Messages (2) | |||
|---|---|---|---|
| msg256184 - (view) | Author: calin marina (calin marina) * | Date: 2015-12-11 02:12 | |
httplib is using print for debugging messages and it is causing a lot of annoyance in multiprocess debugging or even single process but headless running... As it is still used by a lot of libraries, including requests the recommended one over this for HTTP protocol client I thought sharing my update lib using logging module would be useful by someone |
|||
| msg256185 - (view) | Author: R. David Murray (r.david.murray) * ![]() |
Date: 2015-12-11 02:31 | |
Thanks, but since this is a new feature/change in behavior it can only go into 3.6. Therefore, this is effectively a duplicate of issue 24255. Others might find the patch useful, though, so it wasn't a waste to upload it :) |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:24 | admin | set | github: 70022 |
| 2016-04-12 19:17:01 | zach.ware | set | hgrepos: - hgrepo327 |
| 2015-12-11 02:31:23 | r.david.murray | set | status: open -> closed superseder: Replace debuglevel-related logic with logging messages:
+ msg256185 |
| 2015-12-11 02:20:39 | calin marina | set | hgrepos:
+ hgrepo327 resolution: fixed |
| 2015-12-11 02:18:42 | calin marina | set | hgrepos: - hgrepo326 |
| 2015-12-11 02:12:41 | calin marina | create | |
