1. 18 Jun, 2017 1 commit
    • Nick Coghlan's avatar
      bpo-30565: Add PYTHONCOERCECLOCALE=warn runtime flag (GH-2260) · eb81795d
      Nick Coghlan authored
      - removes PY_WARN_ON_C_LOCALE build time flag
      - locale coercion and compatibility warnings are now always compiled
        in, but are off by default
      - adds PYTHONCOERCECLOCALE=warn runtime option to aid in
        debugging potentially locale related compatibility problems
      
      Due to not-yet-resolved test failures on *BSD systems (including
      Mac OS X), this also temporarily disables UTF-8 as a locale coercion
      target, and skips testing the interpreter's behavior in the POSIX locale.
      eb81795d
  2. 17 Jun, 2017 3 commits
  3. 16 Jun, 2017 12 commits
  4. 15 Jun, 2017 5 commits
  5. 14 Jun, 2017 10 commits
    • Victor Stinner's avatar
      bpo-29591: Upgrade Modules/expat to libexpat 2.2 (#2164) · 23ec4b57
      Victor Stinner authored
      * bpo-29591: Upgrade Modules/expat to libexpat 2.2
      
      * bpo-29591: Restore Python changes on expat
      
      * bpo-29591: Remove expat config of unsupported platforms
      
      Remove the configuration (Modules/expat/*config.h) of unsupported
      platforms:
      
      * Amiga
      * MacOS Classic on PPC32
      * Open Watcom
      
      * bpo-29591: Remove useless XML_HAS_SET_HASH_SALT
      
      The XML_HAS_SET_HASH_SALT define of Modules/expat/expat.h became
      useless since our local expat copy was upgrade to expat 2.1 (it's now
      expat 2.2.0).
      23ec4b57
    • Victor Stinner's avatar
      bpo-30284: Fix regrtest for out of tree build (#1481) · f7e07840
      Victor Stinner authored
      Use a build/ directory in the build directory, not in the source
      directory, since the source directory may be read-only and must not
      be modified.
      
      Fallback on the source directory if the build directory is not
      available (missing "abs_builddir" sysconfig variable).
      f7e07840
    • Milan Oberkirch's avatar
      bpo-30436: Raise ModuleNotFoundError for importlib.util.find_spec() when... · 8c3f05e9
      Milan Oberkirch authored
      bpo-30436: Raise ModuleNotFoundError for importlib.util.find_spec() when parent isn't a package (GH-1899)
      
      Previously AttributeError was raised, but that's not very reflective of the fact that the requested module can't be found since the specified parent isn't actually a package.
      8c3f05e9
    • terryjreedy's avatar
      bpo-15786: Fix IDLE autocomplete return problem. (#2198) · 32fd874a
      terryjreedy authored
      Before, <return> would not, for instance, complete 're.c' to 're.compile' even with 'compile' highlighted.  Now it does.  Before, <return> was inserted into text, which in Shell meant compile() and possibly execute.  Now cursor is left after completion.
      32fd874a
    • Victor Stinner's avatar
      bpo-30231: Remove skipped test_imaplib tests (#1419) · b18563da
      Victor Stinner authored
      The public cyrus.andrew.cmu.edu IMAP server (port 993) doesn't accept
      TLS connection using our self-signed x509 certificate. Remove the two
      tests which are already skipped.
      
      Write a new test_certfile_arg_warn() unit test for the certfile
      deprecation warning.
      b18563da
    • mlouielu's avatar
      bpo-15786: IDLE: Fix mouse clicks on autocompletetion window (#1811) · 778b4841
      mlouielu authored
      The root problem was non-check for hide_event. When user clicks
      on autocomplete window (acw), root widget gets focusOut event, then triggers hide_window to
      close the acw. It should only be hide when acw is active, and acw didn't
      get focus at FocusOut event (this event bind on acw and widget), or when
      widget get a ButtonPress event (this event only bind on widget).
      
      MacOS  froze after double click on acw because when
      doubleclick_event try to hide window at the end, hide_window function
      destory whole acw, but tkinter didn't get focus back to widget. So set focus
      on widget first, then destory acw.
      
      Windows could not respond on double click event, because of the misbehavior
      of Configure event.  When acw was shown, tkinter called winconfig
      event multiple times.  That caused tkinter to not response to double
      click event.  When on Windows, unbind Configure event first
      time get into winconfig_event to prevent multiple call of this event.
      778b4841
    • csabella's avatar
      Fix trivial typo in Readme (GH-2185) · 4ebf03d1
      csabella authored
      Replace platform with platforms.
      4ebf03d1
    • Victor Stinner's avatar
      bpo-30602: Fix refleak in os.spawnve() (#2184) · 526b2265
      Victor Stinner authored
      When os.spawnve() fails while handling arguments, free correctly
      argvlist: pass lastarg+1 rather than lastarg to free_string_array()
      to also free the first item.
      526b2265
    • Victor Stinner's avatar
      bpo-30649: Revert utime delta in test_os (#2176) · 3402f726
      Victor Stinner authored
      PPC64 Fedora 3.x buildbot requires at least a delta of 14 ms: revert
      the utime delta to 20 ms.
      
      I tried 10 ms, but test_os failed on the PPC64 Fedora 3.x buildbot.
      3402f726
    • terryjreedy's avatar
      bpo-25514: Improve IDLE's connection refused message (#2177) · 188aedf8
      terryjreedy authored
      When IDLE fail to start because the socket connection fails, direct people to a new subsection of the IDLE doc listing various causes and remedies.
      188aedf8
  6. 13 Jun, 2017 9 commits