1. 03 May, 2017 2 commits
    • Victor Stinner's avatar
      bpo-23404: make touch becomes make regen-all (#1405) · a5c62a8e
      Victor Stinner authored
      Don't rebuild generated files based on file modification time
      anymore, the action is now explicit. Replace "make touch"
      with "make regen-all".
      
      Changes:
      
      * Remove "make touch", Tools/hg/hgtouch.py and .hgtouch
      * Add a new "make regen-all" command to rebuild all generated files
      * Add subcommands to only generate specific files:
      
        - regen-ast: Include/Python-ast.h and Python/Python-ast.c
        - regen-grammar: Include/graminit.h and Python/graminit.c
        - regen-importlib: Python/importlib_external.h and Python/importlib.h
        - regen-opcode: Include/opcode.h
        - regen-opcode-targets: Python/opcode_targets.h
        - regen-typeslots: Objects/typeslots.inc
      
      * Rename PYTHON_FOR_GEN to PYTHON_FOR_REGEN
      * pgen is now only built by by "make regen-grammar"
      * Add $(srcdir)/ prefix to paths to source files to handle correctly
        compilation outside the source directory
      
      Note: $(PYTHON_FOR_REGEN) is no more used nor needed by "make"
      default target building Python.
      a5c62a8e
    • Xiang Zhang's avatar
  2. 02 May, 2017 11 commits
  3. 01 May, 2017 3 commits
  4. 29 Apr, 2017 2 commits
  5. 28 Apr, 2017 4 commits
  6. 27 Apr, 2017 5 commits
  7. 26 Apr, 2017 7 commits
  8. 25 Apr, 2017 5 commits
  9. 24 Apr, 2017 1 commit
    • Victor Stinner's avatar
      tmtotuple(): use time_t for gmtoff (#1276) · 0d659e56
      Victor Stinner authored
      timegm() return type is time_t, not int. Use time_t to prevent the
      following compiler warning on Windows:
      
      timemodule.c: warning C4244: '=': conversion from 'time_t' to 'int',
                    possible loss of data
      0d659e56