Changeset 21 for python


Ignore:
Timestamp:
Sep 14, 2010, 1:20:10 PM (15 years ago)
Author:
Yuri Dario
Message:

python: clean up in code.

Location:
python/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • python/trunk/Lib/distutils/emxccompiler.py

    r10 r21  
    6161                         (self.gcc_version,
    6262                          self.ld_version) )
    63 
    64         # Hard-code GCC because that's what this is all about.
    65         # XXX optimization, warnings etc. should be customizable.
    66         self.set_executables(compiler='gcc -g -O2 -march=i386 -mtune=i686 -fomit-frame-pointer -Wall',
    67                              compiler_so='gcc -g -O2 -march=i386 -mtune=i686 -fomit-frame-pointer -Wall',
    68                              linker_exe='gcc -Zomf -Zexe',
    69                              linker_so='gcc -Zomf -Zdll')
    7063
    7164        # want the gcc library statically linked (so that we don't have
     
    217210            emx_dirs = []
    218211
    219         #print "dirs:",dirs
    220212        for dir in dirs + emx_dirs:
    221213            for name in try_names:
  • python/trunk/Lib/test/test_unicodedata.py

    r10 r21  
    7272        # but the other test cases will still be run
    7373        import unicodedata
     74        self.db = unicodedata
    7475
    7576    def tearDown(self):
  • python/trunk/Misc/python-config.in

    r10 r21  
    4444
    4545elif opt in ('--libs', '--ldflags'):
    46     libs = getvar('LIBS').split() + getvar('SYSLIBS').split()
    47     # YD ignore libs
    48     libs = getvar('SYSLIBS').split()
     46    if os.name != 'os2':
     47        libs = getvar('LIBS').split() + getvar('SYSLIBS').split()
     48    else
     49        # YD ignore libs
     50        libs = getvar('SYSLIBS').split()
    4951    libs.append('-lpython'+pyver)
    5052    # add the prefix/lib/pythonX.Y/config dir, but only if there is no
Note: See TracChangeset for help on using the changeset viewer.