1. 24 Eki, 2003 1 kayıt (commit)
  2. 10 Şub, 2003 1 kayıt (commit)
  3. 14 Kas, 2002 2 kayıt (commit)
  4. 13 Kas, 2002 1 kayıt (commit)
  5. 05 Kas, 2002 2 kayıt (commit)
    • Jeremy Hylton's avatar
    • Gustavo Niemeyer's avatar
      This patch fixes the following bugs: · 6b016852
      Gustavo Niemeyer yazdı
      [#413582] g++ must be called for c++ extensions
      [#454030] distutils cannot link C++ code with GCC
      
      topdir = "Lib/distutils"
      
      * bcppcompiler.py
        (BCPPCompiler.create_static_lib): Fixed prototype, removing extra_preargs
        and extra_postargs parameters. Included target_lang parameter.
        (BCPPCompiler.link): Included target_lang parameter.
      
      * msvccompiler.py
        (MSVCCompiler.create_static_lib): Fixed prototype, removing extra_preargs
        and extra_postargs parameters. Included target_lang parameter.
        (MSVCCompiler.link): Included target_lang parameter.
      
      * ccompiler.py
        (CCompiler): New language_map and language_order attributes, used by
        CCompiler.detect_language().
      
        (CCompiler.detect_language): New method, will return the language of
        a given source, or list of sources. Individual source language is
        detected using the language_map dict. When mixed sources are used,
        language_order will stablish the language precedence.
      
        (CCompiler.create_static_lib, CCompiler.link, CCompiler.link_executable,
         CCompiler.link_shared_object, CCompiler.link_shared_lib):
        Inlcuded target_lang parameter.
      
      * cygwinccompiler.py
        (CygwinCCompiler.link): Included target_lang parameter.
      
      * emxccompiler.py
        (EMXCCompiler.link): Included target_lang parameter.
      
      * mwerkscompiler.py
        (MWerksCompiler.link): Included target_lang parameter.
      
      * extension.py
        (Extension.__init__): New 'language' parameter/attribute, initialized
        to None by default. If provided will overlap the automatic detection
        made by CCompiler.detect_language(), in build_ext command.
      
      * sysconfig.py
        (customize_compiler): Check Makefile for CXX option, and also the
        environment variable CXX. Use the resulting value in the 'compiler_cxx'
        parameter of compiler.set_executables().
      
      * unixccompiler.py
        (UnixCCompiler): Included 'compiler_cxx' in executables dict, defaulting
        to 'cc'.
        (UnixCCompiler.create_static_lib): Included target_lang parameter.
        (UnixCCompiler.link): Included target_lang parameter, and made
        linker command use compiler_cxx, if target_lang is 'c++'.
      
      * command/build_ext.py
        (build_ext.build_extension): Pass new ext.language attribute
        to compiler.link_shared_object()'s target_lang parameter. If
        ext.language is not provided, detect language using
        compiler.detect_language(sources) instead.
      
      * command/config.py
        (config._link): Pass already available lang parameter as target_lang
        parameter of compiler.link_executable().
      6b016852
  6. 04 Kas, 2002 1 kayıt (commit)
  7. 12 Tem, 2002 1 kayıt (commit)
  8. 26 Haz, 2002 2 kayıt (commit)
  9. 04 Haz, 2002 2 kayıt (commit)
    • Jeremy Hylton's avatar
      Fix unused local variables caught by pychecker. · a2f9989c
      Jeremy Hylton yazdı
      Fixes a bug for Solaris pkgtool (bdist_pkgtool) that would have
      prevented it from building subpackages.
      a2f9989c
    • Fred Drake's avatar
      When using a Python that has not been installed to build 3rd-party · 16c8d702
      Fred Drake yazdı
      modules, distutils does not understand that the build version of the
      source tree is needed.
      
      This patch fixes distutils.sysconfig to understand that the running
      Python is part of the build tree and needs to use the appropriate
      "shape" of the tree. This does not assume anything about the current
      directory, so can be used to build 3rd-party modules using Python's
      build tree as well.
      
      This is useful since it allows us to use a non-installed debug-mode
      Python with 3rd-party modules for testing. It as the side-effect that
      set_python_build() is no longer needed (the hack which was added to
      allow distutils to be used to build the "standard" extension modules).
      
      This closes SF patch #547734.
      16c8d702
  10. 31 Ock, 2002 1 kayıt (commit)
  11. 06 Ara, 2001 1 kayıt (commit)
  12. 05 Eyl, 2001 1 kayıt (commit)
  13. 04 Eyl, 2001 1 kayıt (commit)
  14. 23 Agu, 2001 1 kayıt (commit)
  15. 02 Agu, 2001 1 kayıt (commit)
  16. 26 Tem, 2001 2 kayıt (commit)
  17. 18 Tem, 2001 1 kayıt (commit)
  18. 17 May, 2001 2 kayıt (commit)
  19. 28 Şub, 2001 1 kayıt (commit)
  20. 16 Şub, 2001 1 kayıt (commit)
  21. 24 Ock, 2001 1 kayıt (commit)
  22. 17 Ock, 2001 1 kayıt (commit)
    • Andrew M. Kuchling's avatar
      Patch #103279: sysconfig.py always looks for versions of files in · c14fa303
      Andrew M. Kuchling yazdı
      sys.prefix + 'config/Makefile'. When building Python for the first
      time, these files aren't there, so the files from the build tree have
      to be used instead; this file adds an entry point for specifying that
      the build tree files should be used.  (Perhaps 'set_python_build' should
      should be preceded with an underscore?)
      c14fa303
  23. 16 Ock, 2001 1 kayıt (commit)
    • Andrew M. Kuchling's avatar
      Fix bugs with integer-valued variables when parsing Makefiles. Values · b11bd036
      Andrew M. Kuchling yazdı
      for done[n] can be integers as well as strings, but the code
      concatenates them with strings (fixed by adding a str()) and calls
      string.strip() on them (fixed by rearranging the logic)
      
      (Presumably this wasn't noticed previously because parse_makefile()
      was only called on Modules/Makefile, which contains no integer-valued
      variables.)
      b11bd036
  24. 11 Ock, 2001 1 kayıt (commit)
  25. 17 Eyl, 2000 1 kayıt (commit)
  26. 15 Eyl, 2000 2 kayıt (commit)
    • Greg Ward's avatar
      Changed from eager parsing of Makefile (at import time) to lazy: only do · 879f0f11
      Greg Ward yazdı
      all that work when someone asks for a "configuration variable" from the
      Makefile.  Details:
        - added 'get_config_vars()': responsible for calling one of the
          '_init_*()' functions to figure things out for this platform,
          and to provide an interface to the resulting dictionary
        - added 'get_config_var()' as a simple interface to the dictionary
          loaded by 'get_config_vars()'
        - changed the '_init_*()' functions so they load the global dictionary
          '_config_vars', rather than spewing their findings all over
          the module namespace
        - don't delete the '_init_*()' functions when done importing
        - adjusted 'customize_compiler()' to the new regime
      879f0f11
    • Greg Ward's avatar
      Fixed so 'parse_makefile()' uses the TextFile class to ensure that · 3fff8d29
      Greg Ward yazdı
      comments are stripped and lines are joined according to the backslash
      convention.
      3fff8d29
  27. 01 Eyl, 2000 1 kayıt (commit)
  28. 02 Agu, 2000 2 kayıt (commit)
  29. 27 Haz, 2000 2 kayıt (commit)
  30. 25 Haz, 2000 1 kayıt (commit)
  31. 03 Haz, 2000 1 kayıt (commit)