Ben Finney added the comment:

Serhiy Storchaka

> mktemp is deprecated, and I think we will get rid of it when 2.7 will be out 
> of use.

That's fine. This is not a request to retain ‘tempfile.mktemp’.

I confused matters in my initial message, so your confusion is understandable 
on this point. To repeat:

The request is for a “get the next path generated by a 
‘tempfile._get_candidate_names’ generator”, with an approved and documented 
public API. One suggested name is ‘tempfile.makepath’.


> Do you want to add new deprecated from the start function?

No. I'm asking for already-implemented and currently-maintained (i.e. not 
deprecated) standard library code, that is currently neither public nor 
documented, to gain a public API.


Ethan Furman:

> I don't see any problem with this.  Patches welcome.

Thank you, I'll work on a patch soon.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26362>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to