A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-January/107266.html below:

Add a note about a possible starter project.

[Python-Dev] [Python-checkins] devguide: Add a note about a possible starter project. [Python-Dev] [Python-checkins] devguide: Add a note about a possible starter project.Nick Coghlan ncoghlan at gmail.com
Thu Jan 6 03:45:13 CET 2011
On Thu, Jan 6, 2011 at 8:11 AM, brett.cannon <python-checkins at python.org> wrote:
> +.. todo::
> +    See if tempfile or test.support has a context manager that creates and
> +    deletes a temp file so as to move off of test.support.TESTFN.

Yeah, tempfile.TemporaryFile and friends all support the CM protocol.

There's also the tempfile.TemporaryDirectory CM (as of 3.2).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4