Commit Graph

299 Commits

Author SHA1 Message Date
Andrew Svetlov
f7a17b48d7 Replace IOError with OSError (#16715) 2012-12-25 16:47:37 +02:00
Andrew Svetlov
0832af6628 Issue #16717: get rid of socket.error, replace with OSError 2012-12-18 23:10:48 +02:00
Andrew Svetlov
a191959849 Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
2012-12-18 21:27:16 +02:00
Andrew Svetlov
5b89840d9c Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
2012-12-18 21:26:36 +02:00
Andrew Svetlov
737fb89dd1 Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
2012-12-18 21:14:22 +02:00
Vinay Sajip
d27e05d734 Closes #16521: Improved error handling for basicConfig(), added tests for same. 2012-11-25 15:11:46 +00:00
Vinay Sajip
8d27023a7e Allow configuration of handler properties. 2012-11-15 14:20:18 +00:00
Vinay Sajip
d06d5403de Closes #16366: Improve diagnostics from handleError(). Thanks to Antoine Pitrou for the suggestion. 2012-10-31 23:49:19 +00:00
Giampaolo Rodola'
f9de90a935 remove obsolete hasattr() check for socket.sendall 2012-10-26 18:32:24 +02:00
Vinay Sajip
3ba726ce04 Closes #16244: Merged change from 3.3. 2012-10-16 10:33:30 +01:00
Vinay Sajip
e7e7af4558 Issue #16244: Merged change from 3.2. 2012-10-16 10:32:13 +01:00
Vinay Sajip
ee892b9226 Issue #16244: Remove file mode overrides. 2012-10-16 10:28:31 +01:00
Giampaolo Rodola'
35eeb30adf logging's SocketHandler: get rid of some legacy code and use the newer socket.create_connection() utility function 2012-10-15 16:57:37 +02:00
Vinay Sajip
cf9e2f2420 Closes #16110: fileConfig now accepts a pre-initialised ConfigParser instance. 2012-10-09 09:06:03 +01:00
Vinay Sajip
6978d58e18 Closes #16168: Merged SysLogHandler update from 3.3. 2012-10-09 08:23:06 +01:00
Vinay Sajip
7903df4125 Issue #16168: Merged SysLogHandler update from 3.2. 2012-10-09 08:22:01 +01:00
Vinay Sajip
b5ca932be2 Issue #16168: Use specified socket type for domain sockets in SysLogHandler. 2012-10-09 08:19:25 +01:00
Vinay Sajip
8cf4eb1463 Issue #16141: replaced old-style exception handling code in logging with the modern idiom. 2012-10-09 08:06:13 +01:00
Vinay Sajip
3e763dadde Updated docstring for logging.config.listen(). 2012-10-02 16:15:33 +01:00
Vinay Sajip
4ded5512d7 Issue #15452: Added verify option for logging configuration socket listener. 2012-10-02 15:56:16 +01:00
Vinay Sajip
a57a8e072c Closes #15179: Merged fix from 3.2. 2012-06-25 23:20:27 +01:00
Vinay Sajip
3e6d71d336 Issue #15179: Closed socket on connection failure. Thanks to Kazutaka Morita for the patch. 2012-06-25 23:18:45 +01:00
Vinay Sajip
a5798ded26 Issue #14632: Updated WatchedFileHandler to deal with race condition. Thanks to John Mulligan for the problem report and patch. 2012-04-24 23:33:33 +01:00
Vinay Sajip
66b8b08752 Issue #14632: Updated WatchedFileHandler to deal with race condition. Thanks to John Mulligan for the problem report and patch. 2012-04-24 23:25:30 +01:00
Vinay Sajip
26308da174 Issue #14622: Increased default timeout for SMTPHandler. 2012-04-22 18:16:14 +01:00