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-July/112529.html below:

[Python-Dev] [Python-checkins] cpython (2.7): Issue #8746: Correct faulty configure checks so that os.chflags() and

[Python-Dev] [Python-checkins] cpython (2.7): Issue #8746: Correct faulty configure checks so that os.chflags() and [Python-Dev] [Python-checkins] cpython (2.7): Issue #8746: Correct faulty configure checks so that os.chflags() andÉric Araujo merwok at netwok.org
Tue Jul 26 16:39:31 CEST 2011
Hi,

> changeset:   71030:abfe28e7e5cd
> branch:      2.7
> user:        Ned Deily <nad at acm.org>

> diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py
> --- a/Lib/test/test_posix.py
> +++ b/Lib/test/test_posix.py
> @@ -11,10 +11,12 @@
>  import os
>  import pwd
>  import shutil
> +import stat
>  import sys
>  import unittest
>  import warnings
>  
> +_DUMMY_SYMLINK = '%s/dummy-symlink' % os.getenv('TMPDIR', '/tmp')

Why not let the tempfile module do this for you?

Regards
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