1. 15 Dec, 2017 12 commits
  2. 14 Dec, 2017 14 commits
  3. 13 Dec, 2017 11 commits
  4. 12 Dec, 2017 3 commits
    • Victor Stinner's avatar
      import.c: Fix a GCC warning (#4822) · d233796f
      Victor Stinner authored
      Fix the warning:
      
      Python/import.c: warning: comparison between signed and unsigned integer expressions
           if ((i + n + 1) <= PY_SSIZE_T_MAX / sizeof(struct _inittab)) {
      d233796f
    • Victor Stinner's avatar
      bpo-32101: Fix tests for PYTHONDEVMODE=1 (#4821) · 721e25c6
      Victor Stinner authored
      test_asycio: remove also aio_path which was used when asyncio was
      developed outside the stdlib.
      721e25c6
    • Victor Stinner's avatar
      bpo-32230: Set sys.warnoptions with -X dev (#4820) · 747f48e2
      Victor Stinner authored
      Rather than supporting dev mode directly in the warnings module, this
      instead adjusts the initialisation code to add an extra 'default'
      entry to sys.warnoptions when dev mode is enabled.
      
      This ensures that dev mode behaves *exactly* as if `-Wdefault` had
      been passed on the command line, including in the way it interacts
      with `sys.warnoptions`, and with other command line flags like `-bb`.
      
      Fix also bpo-20361: have -b & -bb options take precedence over any
      other warnings options.
      
      Patch written by Nick Coghlan, with minor modifications of Victor Stinner.
      747f48e2