1. 26 Nis, 2019 1 kayıt (commit)
  2. 23 Nis, 2019 1 kayıt (commit)
  3. 18 Nis, 2019 1 kayıt (commit)
  4. 17 Nis, 2019 1 kayıt (commit)
    • Victor Stinner's avatar
      bpo-36635: Change pyport.h for Py_BUILD_CORE_MODULE define (GH-12853) · 5c75f37d
      Victor Stinner yazdı
      Change PyAPI_FUNC(type), PyAPI_DATA(type) and PyMODINIT_FUNC macros
      of pyport.h when Py_BUILD_CORE_MODULE is defined.
      
      The Py_BUILD_CORE_MODULE define must be now be used to build a C
      extension as a dynamic library accessing Python internals: export the
      PyInit_xxx() function in DLL exports on Windows.
      
      Changes:
      
      * Py_BUILD_CORE_BUILTIN and Py_BUILD_CORE_MODULE now imply
        Py_BUILD_CORE directy in pyport.h.
      * ceval.c compilation now fails with an error if Py_BUILD_CORE is not
        defined, just to ensure that Python is build with the correct
        defines.
      * setup.py now compiles _pickle.c with Py_BUILD_CORE_MODULE define.
      * setup.py compiles _json.c with Py_BUILD_CORE_MODULE define, rather
        than Py_BUILD_CORE_BUILTIN define
      * PCbuild/pythoncore.vcxproj: Add Py_BUILD_CORE_BUILTIN define.
      5c75f37d
  5. 15 Nis, 2019 1 kayıt (commit)
  6. 09 Nis, 2019 2 kayıt (commit)
  7. 08 Nis, 2019 1 kayıt (commit)
  8. 15 Mar, 2019 1 kayıt (commit)
  9. 04 Mar, 2019 1 kayıt (commit)
    • Victor Stinner's avatar
      Revert: bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall().… · 4d61e6e3
      Victor Stinner yazdı
      Revert: bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (GH-11617) (GH-12159)
      
      * Revert "bpo-36097: Use only public C-API in the_xxsubinterpreters module (adding as necessary). (#12003)"
      
      This reverts commit bcfa450f.
      
      * Revert "bpo-33608: Simplify ceval's DISPATCH by hoisting eval_breaker ahead of time. (gh-12062)"
      
      This reverts commit bda918bf.
      
      * Revert "bpo-33608: Use _Py_AddPendingCall() in _PyCrossInterpreterData_Release(). (gh-12024)"
      
      This reverts commit b05b711a.
      
      * Revert "bpo-33608: Factor out a private, per-interpreter _Py_AddPendingCall(). (GH-11617)"
      
      This reverts commit ef4ac967.
      4d61e6e3
  10. 01 Mar, 2019 7 kayıt (commit)
    • Eric Snow's avatar
    • Victor Stinner's avatar
      bpo-36146: Add TEST_EXTENSIONS to setup.py (GH-12129) · cfe172dc
      Victor Stinner yazdı
      Add TEST_EXTENSIONS constant to setup.py to allow to not build test
      extensions like _testcapi.
      
      Changes:
      
      * Add add_ldflags_cppflags() subfunction
      * Rename add_compiler_directories() to configure_compiler().
      * Remove unused COMPILED_WITH_PYDEBUG constant.
      * Use self.add() rather than accessing directly self.extensions.
      * Remove module_enabled() function: check differently if curses
        extension is built or not.
      cfe172dc
    • Victor Stinner's avatar
      bpo-36146: Don't run code at setup.py top level (GH-12127) · c991f241
      Victor Stinner yazdı
      * Move set_compiler_flags() calls and concurrent.future hack from
        module top-level to main()
      * Remove unused variables 'macros' and 'libraries' from
        detect_multiprocessing().
      * Move SUMMARY and CLASSIFIERS constants at the top, move
        set_compiler_flags() function below these constants.
      * Add some empty new lines to respect PEP 8.
      c991f241
    • Victor Stinner's avatar
      bpo-36146: Split setup.py into subfunctions (GH-12125) · 5ec33a1c
      Victor Stinner yazdı
      * Split PyBuildExt.detect_modules() huge function into subfunctions.
      * Move curses, hashlib and some other code to reorganize the code.
      * detect_tkinter() now returns False if the extension is missing.
      * Add PyBuildExt.config_h_vars attribute
      5ec33a1c
    • Victor Stinner's avatar
      bpo-36146: Refactor setup.py: Add PyBuildExt.srcdir (GH-12124) · 625dbf25
      Victor Stinner yazdı
      * Add PyBuildExt.srcdir atribute in setup.py: the source directory is
        now always absolute.
      * Add PyBuildExt.inc_dirs and PyBuildExt.lib_dirs attributes:
        replace 'inc_dirs' and 'lib_dirs' local variables of
        detect_modules().
      * Replace "from distutils.errors import *"
        with "from distutils.errors import CCompilerError, DistutilsError"
        to be able to use static analyzers like pyflakes
      * Reorder imports.
      625dbf25
    • Victor Stinner's avatar
      bpo-36146: Refactor setup.py: PyBuildExt.add() method (GH-12097) · 8058bdae
      Victor Stinner yazdı
      * Add PyBuildExt.add() which adds the extension directly to
        self.extensions, rather than using a temporary 'exts' local
        variable in detect_modules() and then add 'exts' to self.extensions
      * Convert 'missing' local variable from detect_modules()
        into PyBuildExt.missing attribute
      * _detect_openssl(), _decimal_ext() and _detect_nis() now call
        directly self.add(), rather than returning an extension
        (or None if not found).
      * Rename _decimal_ext() to _detect_decimal() for consistency with
        other methods.
      8058bdae
    • Victor Stinner's avatar
      bpo-36146: Fix inc_dirs in setup.py on macOS (GH-12098) · 96d81583
      Victor Stinner yazdı
      Fix setup.py on macOS: only add /usr/include/ffi to include
      directories of _ctypes, not for all extensions.
      96d81583
  11. 28 Şub, 2019 1 kayıt (commit)
    • Victor Stinner's avatar
      bpo-36146: Refactor setup.py (GH-12093) · 4cbea518
      Victor Stinner yazdı
      * Rename globals to upper case to better distinguish if a variable is
        global or local:
      
        * Rename cross_compiling to CROSS_COMPILING
        * Rename host_platform to HOST_PLATFORM
        * Rename disabled_module_list to DISABLED_MODULE_LIST
      
      * Add MS_WINDOWS, CYGWIN and MACOS constants.
      * Use booleans: replace "return 0" with "return False"
        and replace "return 1" with "return True"
      4cbea518
  12. 27 Şub, 2019 1 kayıt (commit)
  13. 25 Şub, 2019 1 kayıt (commit)
  14. 08 Şub, 2019 1 kayıt (commit)
  15. 02 Şub, 2019 1 kayıt (commit)
  16. 19 Ara, 2018 1 kayıt (commit)
    • stratakis's avatar
      bpo-35257: Avoid leaking LTO linker flags into distutils (GH-10900) · cf10a750
      stratakis yazdı
      When compiling 3rd party C extensions, the linker flags used by the
      compiler for the interpreter and the stdlib modules, will get
      leaked into distutils. In order to avoid that, the PY_CORE_LDFLAGS
      and PY_LDFLAGS_NODIST are introduced to keep those flags separated.
      cf10a750
  17. 09 Kas, 2018 1 kayıt (commit)
    • Victor Stinner's avatar
      bpo-35081: Internal headers require Py_BUILD_CORE (GH-10363) · 130893de
      Victor Stinner yazdı
      * All internal header files now require Py_BUILD_CORE or
        Py_BUILD_CORE_BUILTIN to be defined.
      * _json.c is now compiled with Py_BUILD_CORE_BUILTIN to access
        pycore_accu.h header.
      * Add an example to Modules/Setup to show how to build _json
        as a built-in module; it requires non trivial compiler options.
      130893de
  18. 11 Tem, 2018 1 kayıt (commit)
  19. 20 Nis, 2018 1 kayıt (commit)
  20. 25 Şub, 2018 1 kayıt (commit)
  21. 18 Şub, 2018 1 kayıt (commit)
  22. 30 Ock, 2018 1 kayıt (commit)
  23. 27 Ock, 2018 1 kayıt (commit)
    • Christian Heimes's avatar
      bpo-31399: Let OpenSSL verify hostname and IP address (#3462) · 61d478c7
      Christian Heimes yazdı
      bpo-31399: Let OpenSSL verify hostname and IP
      
      The ssl module now uses OpenSSL's X509_VERIFY_PARAM_set1_host() and
      X509_VERIFY_PARAM_set1_ip() API to verify hostname and IP addresses.
      
      * Remove match_hostname calls
      * Check for libssl with set1_host, libssl must provide X509_VERIFY_PARAM_set1_host()
      * Add documentation for OpenSSL 1.0.2 requirement
      * Don't support OpenSSL special mode with a leading dot, e.g. ".example.org" matches "www.example.org". It's not standard conform.
      * Add hostname_checks_common_name
      Signed-off-by: 's avatarChristian Heimes <christian@python.org>
      61d478c7
  24. 26 Ock, 2018 1 kayıt (commit)
  25. 23 Ock, 2018 1 kayıt (commit)
  26. 22 Ock, 2018 1 kayıt (commit)
  27. 20 Ock, 2018 1 kayıt (commit)
  28. 15 Ock, 2018 1 kayıt (commit)
  29. 12 Ock, 2018 1 kayıt (commit)
  30. 14 Ara, 2017 1 kayıt (commit)
  31. 06 Ara, 2017 1 kayıt (commit)
  32. 26 Kas, 2017 1 kayıt (commit)
  33. 25 Kas, 2017 1 kayıt (commit)