This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients esesek, vinay.sajip
Date 2014-09-21.08:03:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1411286613.91.0.750671362228.issue22447@psf.upfronthosting.co.za>
In-reply-to
Content
I don't propose to make any changes to `fileConfig()`, for the following reasons:

1. It's not a bug, because there is no requirement to do what you suggest. You could (a) either not mention the handler in the config if you aren't going to use it, (b) use a delay parameter so the file opening is deferred until it's first needed, or (c) specify a file location which is accessible to the running process.

2. While it is not deprecated, the fileConfig() API has been supplanted by the dictConfig() API and is not receiving any functional changes. For the specific case you mention, dictConfig() would behave similarly to fileConfig(), and this wouldn't be a bug either: please use an approach such as those suggested in my earlier point to overcome your problem.
History
Date User Action Args
2014-09-21 08:03:33vinay.sajipsetrecipients: + vinay.sajip, esesek
2014-09-21 08:03:33vinay.sajipsetmessageid: <1411286613.91.0.750671362228.issue22447@psf.upfronthosting.co.za>
2014-09-21 08:03:33vinay.sajiplinkissue22447 messages
2014-09-21 08:03:33vinay.sajipcreate