()
| 64 | """ |
| 65 | |
| 66 | def _warn_unhandled_exception(): |
| 67 | # There are a few catch-all except: statements in this module, for |
| 68 | # catching input that's bad in unexpected ways. Warn if any |
| 69 | # exceptions are caught there. |
| 70 | import io, warnings, traceback |
| 71 | f = io.StringIO() |
| 72 | traceback.print_exc(None, f) |
| 73 | msg = f.getvalue() |
| 74 | warnings.warn("http.cookiejar bug!\n%s" % msg, stacklevel=2) |
| 75 | |
| 76 | |
| 77 | # Date/time conversion |
no test coverage detected
searching dependent graphs…