On 20/11/2013 22:01, Antoine Pitrou wrote:

pathlib imports many modules at startup, so for scripts for which
startup time is critical using os.path may still be the best option.


Will there be or is there a note to this effect in the docs?

Could be a comment in the source but it should not be in the docs. Only python-dev would care about this and actual users shouldn't over-optimize and avoid pathlib because it imports stuff. 
">

(original) (raw)




On Wed, Nov 20, 2013 at 5:41 PM, Mark Lawrence <breamoreboy@yahoo.co.uk> wrote:
On 20/11/2013 22:01, Antoine Pitrou wrote:

pathlib imports many modules at startup, so for scripts for which
startup time is critical using os.path may still be the best option.


Will there be or is there a note to this effect in the docs?

Could be a comment in the source but it should not be in the docs. Only python-dev would care about this and actual users shouldn't over-optimize and avoid pathlib because it imports stuff.