-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsys_flags.py
More file actions
35 lines (33 loc) · 891 Bytes
/
Copy pathsys_flags.py
File metadata and controls
35 lines (33 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/env python
# encoding: utf-8
#
# Copyright (c) 2009 Doug Hellmann All rights reserved.
#
"""
"""
#end_pymotw_header
import sys
if sys.flags.debug:
print 'Debuging'
if sys.flags.py3k_warning:
print 'Warning about Python 3.x incompatibilities'
if sys.flags.division_warning:
print 'Warning about division change'
if sys.flags.division_new:
print 'New division behavior enabled'
if sys.flags.inspect:
print 'Will enter interactive mode after running'
if sys.flags.optimize:
print 'Optimizing byte-code'
if sys.flags.dont_write_bytecode:
print 'Not writing byte-code files'
if sys.flags.no_site:
print 'Not importing "site"'
if sys.flags.ignore_environment:
print 'Ignoring environment'
if sys.flags.tabcheck:
print 'Checking for mixed tabs and spaces'
if sys.flags.verbose:
print 'Verbose mode'
if sys.flags.unicode:
print 'Unicode'