Message294921
The idea LGTM. But we should first check that the logger is accessible by the name: getLogger(self.name) is self. The same is done when pickling classes, functions, etc. It shouldn't be a surprise on unpickler side.
And maybe use not getLogger(), but different method which should fail if the logger doesn't exist rather than creating it. Otherwise this looks as pickling open files by name. |
|
Date |
User |
Action |
Args |
2017-06-01 09:28:17 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vinay.sajip, pitrou |
2017-06-01 09:28:17 | serhiy.storchaka | set | messageid: <1496309297.87.0.0618746640986.issue30520@psf.upfronthosting.co.za> |
2017-06-01 09:28:17 | serhiy.storchaka | link | issue30520 messages |
2017-06-01 09:28:17 | serhiy.storchaka | create | |
|