1. 26 Aug, 2017 1 commit
  2. 22 Aug, 2017 3 commits
    • Victor Stinner's avatar
      bpo-31258: test_urllib2_localnet uses addCleanup(server.stop) (#3184) · 02e03672
      Victor Stinner authored
      Use self.addCleanup(self.server.stop) to stop the HTTP server. Some
      tests didn't stop the server like test_https().
      02e03672
    • Victor Stinner's avatar
    • Victor Stinner's avatar
      bpo-30871: Add test.pythoninfo (#3174) (#3175) · cce1cb91
      Victor Stinner authored
      * bpo-30871: Add test.pythoninfo (#3075)
      
      * Add Lib/test/pythoninfo.py: script collecting various informations
        about Python to help debugging test failures.
      * regrtest: remove sys.hash_info and sys.flags from header.
      * Travis CI, Appveyor: run pythoninfo before tests
      (cherry picked from commit b907abc8)
      
      * bpo-30871: pythoninfo: add expat and _decimal (#3121)
      
      * bpo-30871: pythoninfo: add expat and _decimal
      
      * Remove _decimal.__version__
      
      The string is hardcoded, not really interesting.
      
      (cherry picked from commit f6ebd838)
      
      * bpo-30871: Add "make pythoninfo" (#3120)
      
      (cherry picked from commit a3a01a2f)
      
      * bpo-30871: pythoninfo: more sys, os, time data (#3130)
      
      * bpo-30871: pythoninfo: more sys, os, time data
      
      PythonInfo now converts types other than intger to string by default.
      
      * fix typo
      
      (cherry picked from commit ad7eaed5)
      
      * bpo-31231: Fix pythoninfo in Travis config (#3134)
      
      bpo-31231, bpo-30871: Replace "./python -m test.pythoninfo" with
      "make pythoninfo", since macOS uses ./python.exe.
      (cherry picked from commit 92b1f901)
      
      (cherry picked from commit 29d007bb670b486788f73c2d742b0ad0b679ff13)
      cce1cb91
  3. 21 Aug, 2017 2 commits
  4. 18 Aug, 2017 3 commits
  5. 17 Aug, 2017 2 commits
    • Victor Stinner's avatar
      [2.7] bpo-31221: patchcheck ignores external libraries (#3109) (#3118) · d45cb040
      Victor Stinner authored
      * bpo-31221: patchcheck ignores external libraries (#3109)
      
      Tools/scripts/patchcheck.py now ignores changes in directories which
      are copies of external libraries:
      
      * Modules/_ctypes/libffi_msvc/
      * Modules/_ctypes/libffi_osx/
      * Modules/_decimal/libmpdec/
      * Modules/expat/
      * Modules/zlib/
      
      Drop also support for Mercurial, since CPython migrated to Git.
      
      Exclude also libmpdec
      
      patchcheck: exclude also libffi_osx and libffi_msvc
      (cherry picked from commit 4a347ce4)
      
      * Exclude also Modules/_ctypes/libffi on Python 2.7
      
      * Remove _decimal/libmpdec, not in Python 2.7
      d45cb040
    • Julien Palard's avatar
      Update the language selection in the docs language switch. (GH-3114) (#3117) · 3cc46bb3
      Julien Palard authored
      Change the option for `Français` into `French` to be consistent with the other language selections that are already in English.
      (cherry picked from commit b616b972)
      3cc46bb3
  6. 16 Aug, 2017 1 commit
  7. 15 Aug, 2017 1 commit
  8. 13 Aug, 2017 1 commit
    • Julien Palard's avatar
      bpo-31159: fix language switch regex on unknown yet built languages. … (#3051) (#3081) · fe8d9dc4
      Julien Palard authored
      * bpo-31159: fix language switch regex on unknown yet built languages. (#3039)
      
      This fix a regex issue (a missing non-matching group around an 'or'
      list) and the specific possible case where a translation is built but
      not yet in known by the picker, but not explicitly listing possible
      languages in the regex.
      (cherry picked from commit 122081de)
      
      * bpo-31149: Doc: Add Japanese to the language switcher. (#3028)
      
      (cherry picked from commit c82b7f33)
      
      (cherry picked from commit e8e7fba0b24582959feca9c31f2a72fc0251f83d)
      fe8d9dc4
  9. 11 Aug, 2017 2 commits
    • Victor Stinner's avatar
      bpo-31067: test_subprocess calls reap_children() (#2931) (#3073) · 504939fd
      Victor Stinner authored
      test_subprocess now also calls reap_children() in tearDown(), not
      only on setUp().
      (cherry picked from commit cc42c121)
      504939fd
    • Victor Stinner's avatar
      bpo-31173: Rewrite WSTOPSIG test of test_subprocess (#3055) (#3071) · 4dea0653
      Victor Stinner authored
      The current test_child_terminated_in_stopped_state() function test
      creates a child process which calls ptrace(PTRACE_TRACEME, 0, 0) and
      then crash (SIGSEGV). The problem is that calling os.waitpid() in the
      parent process is not enough to close the process: the child process
      remains alive and so the unit test leaks a child process in a
      strange state. Closing the child process requires non-trivial code,
      maybe platform specific.
      
      Remove the functional test and replaces it with an unit test which
      mocks os.waitpid() using a new _testcapi.W_STOPCODE() function to
      test the WIFSTOPPED() path.
      (cherry picked from commit 7b7c6dcf)
      4dea0653
  10. 10 Aug, 2017 2 commits
  11. 09 Aug, 2017 1 commit
  12. 08 Aug, 2017 2 commits
    • Victor Stinner's avatar
      ttk: fix LabeledScale and OptionMenu destroy() method (#3026) · 56e162ad
      Victor Stinner authored
      bpo-31135: Call the parent destroy() method even if the used
      attribute doesn't exist.
      
      The LabeledScale.destroy() method now also explicitly clears label
      and scale attributes to help the garbage collector to destroy all
      widgets.
      56e162ad
    • Julien Palard's avatar
      bpo-31045: Language switch (#2652) (#3024) · 245dafca
      Julien Palard authored
      * Doc: Indicate the language
      
      * Renaming version_switcher to switchers (to add language_switcher).
      
      * Adding language switch.
      
      * Doc switchers: Enhance readability of regex parsing versions.
      
      * Doc switchers: Desambiguate the need of a replace(/\/+$/g, '') by proper naming.
      
      * Doc switchers: py3k can't reach js, it's redirected server-side by nginx.
      
      * Doc switchers: Examples matching actual regexes.
      
      * Doc switchers: Better fallback on unexisting translated version.
      
      (cherry picked from commit dff9b5f9)
      245dafca
  13. 05 Aug, 2017 1 commit
  14. 04 Aug, 2017 2 commits
  15. 02 Aug, 2017 1 commit
  16. 01 Aug, 2017 2 commits
  17. 31 Jul, 2017 1 commit
  18. 29 Jul, 2017 1 commit
  19. 27 Jul, 2017 2 commits
  20. 26 Jul, 2017 5 commits
  21. 25 Jul, 2017 1 commit
  22. 24 Jul, 2017 3 commits