1. 05 Jul, 2017 5 commits
  2. 04 Jul, 2017 6 commits
  3. 03 Jul, 2017 3 commits
  4. 02 Jul, 2017 2 commits
  5. 01 Jul, 2017 2 commits
  6. 30 Jun, 2017 10 commits
  7. 29 Jun, 2017 5 commits
    • csabella's avatar
      bpo-30495: IDLE: improve textview with docstrings, PEP8 names, more tests. (#2283) · 42bc8bea
      csabella authored
      Split TextViewer class into ViewWindow, ViewFrame, and TextFrame classes so that instances
      of the latter two can be placed with other widgets within a multiframe window.
      Patch by Cheryl Sabella.
      42bc8bea
    • Nick Coghlan's avatar
      bpo-30647: Check nl_langinfo(CODESET) in locale coercion (GH-2374) · 18974c35
      Nick Coghlan authored
      - On some versions of FreeBSD, setting the "UTF-8" locale
        succeeds, but a subsequent "nl_langinfo(CODESET)" fails
      - adding a check for this in the coercion logic means that
        coercion will happen on systems where this check succeeds,
        and will be skipped otherwise
      - that way CPython should automatically adapt to changes in
        platform behaviour, rather than needing a new release to
        enable coercion at build time
      - this also allows UTF-8 to be re-enabled as a coercion
        target, restoring the locale coercion behaviour on Mac OS X
      18974c35
    • Antoine Pitrou's avatar
      bpo-30796: Fix failures in signal delivery stress test (#2488) · f7d090c1
      Antoine Pitrou authored
      * bpo-30796: Fix failures in signal delivery stress test
      
      setitimer() can have a poor minimum resolution on some machines,
      this would make the test reach its deadline (and a stray signal
      could then kill a subsequent test).
      
      * Make sure to clear the itimer after the test
      f7d090c1
    • Victor Stinner's avatar
      bpo-30776: regrtest: reduce memleak false positive (#2484) · beeca6e1
      Victor Stinner authored
      Only report a leak if each run leaks at least one memory block.
      beeca6e1
    • INADA Naoki's avatar
      bpo-29585: Fix sysconfig.get_config_var("PYTHONFRAMEWORK") (GH-2483) · 6b42eb17
      INADA Naoki authored
      `PYTHONFRAMEWORK` is defined in `Makefile` and it shoulnd't be used
      in `pyconfig.h`.
      
      `sysconfig.py --generate-posix-vars` reads config vars from Makefile
      and `pyconfig.h`.  Conflicting variables should be avoided.
      
      Especially, string config variables in Makefile are unquoted, but
      in `pyconfig.h` are keep quoted.  So it should be private (starts with
      underscore).
      6b42eb17
  8. 28 Jun, 2017 7 commits
    • Segev Finer's avatar
      bpo-30726: Also fix pyexpat.vcxproj (#2375) · 7526cadd
      Segev Finer authored
      7526cadd
    • Antoine Pitrou's avatar
      bpo-30703: Improve signal delivery (#2415) · c08177a1
      Antoine Pitrou authored
      * Improve signal delivery
      
      Avoid using Py_AddPendingCall from signal handler, to avoid calling signal-unsafe functions.
      
      * Remove unused function
      
      * Improve comments
      
      * Add stress test
      
      * Adapt for --without-threads
      
      * Add second stress test
      
      * Add NEWS blurb
      
      * Address comments @haypo
      c08177a1
    • Segev Finer's avatar
      bpo-23451: Fix socket deprecation warnings in socketmodule.c (#2318) · 9f3bdcb6
      Segev Finer authored
      * bpo-23451: Fix WSASocket and WSADuplicateSocket deprecation warnings
      
      * bpo-23451: Add backwards compatibility note about socket share/fromshare
      
      * bpo-23451: Fixed `WSAAddressToString`/`WSAStringToAddress` deprecation warnings
      
      * bpo-23451: Use `inet_pton`/`inet_ntop` instead of `WSAAddressToString`/`WSAStringToAddress`
      
      * bpo-23451: Move `HAVE_INET_PTON` from _socket.vcxproj to pyconfig.h
      
      * bpo-23451: Add SUPPRESS_DEPRECATED_CALL to socketmodule.c
      
      * bpo-23451: Add a NEWS.d entry
      
      * bpo-23451: Corrected NEWS.d entry
      9f3bdcb6
    • Steve (Gadget) Barnes's avatar
      bpo-30362 : Add list options to launcher. (#1578) · 5b8f972e
      Steve (Gadget) Barnes authored
      * bpo-30362 Add list options to launcher.
      
      * bpo-30362 Add list options to help message.
      
      * To avoid possible later conflict with python replaced flags with --launcher-list and --launcher-list-paths
      
      * bpo-30362 Changed flag to -0 as suggested on review.
      
      * bpo-30362: Modified to default to not path for -0, -0p to dispaly path and append * to default
      
      * bpo-30362: Modified to display list on required version not found.
      
      * bpo-30362 add --list and --list-paths added back in following review by paul.moore
      
      * bpo-30362 Cleaner handing of -0 & -0p by not calling exit directly per review by @zooba
      
      * bpo-30362: Tidy up and add news & what's new
      
      Removed commented out line of code in PC/launcher.c.
      Added the results of using blurb to add details of bpo-30362 & bpo-30291.
      Updated Doc/whatsnew/3.7.rst to add a Windows only section covering both tickets.
      
      * bpo-30362 Resolve conflict in Doc/whatsnew/3.7.rst
      
      * bpo-30362:Address Whitespace Issue in Doc\whatsnew\3.7.rst
      
      * Shorten NEWS message for bpo-30362
      
      * Shorten NEWS item for bpo-30291
      5b8f972e
    • Victor Stinner's avatar
      bpo-29585: Define PYTHONFRAMEWORK in PC/pyconfig.h (#2477) · b01c574a
      Victor Stinner authored
      * bpo-29585: Fix PC/pyconfig.h whitespaces
      
      Run "make patchcheck".
      
      * bpo-29585: Define PYTHONFRAMEWORK in PC/pyconfig.h
      
      * site: Fix path separator in _get_path() on Windows
      b01c574a
    • INADA Naoki's avatar
      bpo-29585: optimize site.py startup time (GH-136) · a8f8d5b4
      INADA Naoki authored
      Avoid importing `sysconfig` from `site` by copying minimum code.
      Python startup is 5% faster on Linux and 30% faster on macOS
      a8f8d5b4
    • Antoine Pitrou's avatar
      Clear potential ref cycle between Process and Process target (#2470) · 79d37ae9
      Antoine Pitrou authored
      * Clear potential ref cycle between Process and Process target
      
      Besides Process.join() not being called, this was an indirect cause of bpo-30775.
      The threading module already does this.
      
      * Add issue reference
      79d37ae9