Mercurial > cpython-lru_cache-weakref
annotate Lib/distutils/debug.py @ 58925:eecf1bef052d 2.6
Merged revisions 78207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78207 | ezio.melotti | 2010-02-17 01:26:09 +0200 (Wed, 17 Feb 2010) | 1 line
#7930: fix stripid
........
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Tue, 16 Feb 2010 23:29:44 +0000 |
| parents | 893d46576737 |
| children | a6d3930b5613 |
| rev | line source |
|---|---|
|
25210
76768adb6f23
Define DEBUG in a separate module to resolve circular references.
Jeremy Hylton <jeremy@alum.mit.edu>
parents:
diff
changeset
|
1 import os |
|
76768adb6f23
Define DEBUG in a separate module to resolve circular references.
Jeremy Hylton <jeremy@alum.mit.edu>
parents:
diff
changeset
|
2 |
|
33965
893d46576737
Update compatibility comments to 2.1, corresponding to PEP 291 1.13.
Martin v. Löwis <martin@v.loewis.de>
parents:
32736
diff
changeset
|
3 # This module should be kept compatible with Python 2.1. |
|
26285
42bfc98d295b
Add comment to Distutil files about requiring 1.5.2 compatibility, as
Andrew M. Kuchling <amk@amk.ca>
parents:
25210
diff
changeset
|
4 |
|
42bfc98d295b
Add comment to Distutil files about requiring 1.5.2 compatibility, as
Andrew M. Kuchling <amk@amk.ca>
parents:
25210
diff
changeset
|
5 __revision__ = "$Id$" |
|
42bfc98d295b
Add comment to Distutil files about requiring 1.5.2 compatibility, as
Andrew M. Kuchling <amk@amk.ca>
parents:
25210
diff
changeset
|
6 |
|
25210
76768adb6f23
Define DEBUG in a separate module to resolve circular references.
Jeremy Hylton <jeremy@alum.mit.edu>
parents:
diff
changeset
|
7 # If DISTUTILS_DEBUG is anything other than the empty string, we run in |
|
76768adb6f23
Define DEBUG in a separate module to resolve circular references.
Jeremy Hylton <jeremy@alum.mit.edu>
parents:
diff
changeset
|
8 # debug mode. |
|
76768adb6f23
Define DEBUG in a separate module to resolve circular references.
Jeremy Hylton <jeremy@alum.mit.edu>
parents:
diff
changeset
|
9 DEBUG = os.environ.get('DISTUTILS_DEBUG') |
