Barry Warsaw <barry <at> python.org> writes:
> >a third-party API which expects a filename) can handle that themselves,
> >e.g. by saving the bytes to a temporary location and passing that to whatever
> >needs a filename.
> 
> Why not provide this by distlib?

Only because it doesn't add much value, and (if you do all that pkg_resources
does) might mean that you have to maintain a cache.

As a matter of interest, what are the APIs you're using which need filenames but
can't use bytes or streams?

Regards,

Vinay Sajip

_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to