[issue25666] Python unexpectedly ignores a signal after fork

2015-11-19 Thread jon orebro
New submission from jon orebro: Description: I found a slight problem with signal handling. It seems that if you have a signal handler setup for a signal, right after a fork the child ignores that signal for a short time. This is regardless of what the signal handler is setup to do. This can

[issue25633] The documentation for urllib.request should mention http.client.HTTPException

2015-11-16 Thread jon orebro
New submission from jon orebro: The documentation for urllib.request should mention that a robust client using urllib.request must be prepared for exceptions of type http.client.HTTPException in addition to urllib.error.URLError. Example: the server breaks HTTP and returns an empty status