2615 Commits

Author SHA1 Message Date
Brett Cannon
4b1468f723 [3.5] Check the whitespace of pull requests on Travis (GH-2367) (GH-2387)
(cherry picked from commit 70cb1875bb)
2017-06-24 18:00:08 -07:00
Steve Dower
2c899ccffd bpo-30687: Fixes build scripts to find msbuild.exe and stop relying on vcvarsall.bat (#2252) (#2281)
* Fixes build scripts to find msbuild.exe and stop relying on vcvarsall.bat
Also fixes bdist_wininst.vcxproj to use correct version in generated name.
2017-06-19 11:32:34 -07:00
Victor Stinner
f50a3b1e7a Revert "bpo-30673: test.bat: add -t option (timeout) (#2211) (#2226)" (#2247)
This reverts commit ab4ea09604.
2017-06-16 14:38:50 +02:00
Victor Stinner
ab4ea09604 bpo-30673: test.bat: add -t option (timeout) (#2211) (#2226)
(cherry picked from commit 258bfc462b)
2017-06-16 00:14:45 +02:00
Zachary Ware
afa6a38960 [3.5] bpo-27425: Be more explicit in .gitattributes (GH-840) (GH-2084)
Also updates checked-in line endings on some files.
2017-06-10 15:40:08 -05:00
Victor Stinner
ab6b962ef2 bpo-23404: make touch becomes make regen-all (#1405) (#1461) (#1465)
* bpo-23404: make touch becomes make regen-all (#1405)

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.
(cherry picked from commit a5c62a8e9f)

* bpo-30273: Update sysconfig (#1464)

The AST_H_DIR variable was removed from Makefile.pre.in by the commit
a5c62a8e9f (bpo-23404).

AST_H_DIR was hardcoded to "Include", so replace the removed variable
by its content.

Remove also ASDLGEN variable from sysconfig example since this
variable was also removed.
(cherry picked from commit b109a1d336)

(cherry picked from commit 9d02f56296)
2017-05-05 02:19:59 +02:00
Mariatta
60d27f42a0 [3.5] bpo-30109: Fix reindent.py (GH-1207) (GH-1209)
Skip the file if it has bad encoding.
(cherry picked from commit 58f3c9dc8f)
2017-04-20 07:12:50 -07:00
Nick Coghlan
c82d39479a bpo-29798: Handle git worktree in patchcheck
The original attempted fix missed an `isdir()` call in
`get_base_branch()`.
(cherry picked from commit 2abfdf5a81)
2017-04-09 19:22:50 +10:00
Steve Dower
00cbb8a0fa Takes vcruntime140.dll from the correct source. (#683) 2017-03-16 10:45:41 -07:00
Nick Coghlan
a6aac8c870 bpo-29798: Handle git worktree in make patchcheck (#629) (#634)
In git worktree directories, `.git` is a configuration
file rather than a subdirectory
(cherry picked from commit 6a6d090612)
2017-03-12 20:03:35 +10:00
Nick Coghlan
be31a83730 bpo-29656: Handle PR branches in 'make patchcheck' (#302) (#627)
(cherry picked from commit 482f7a274f)
2017-03-12 16:18:14 +10:00
Steve Dower
b8b3b9b97c Fixes the upload script to purge the CDN correctly and display success output. (#466) (#496) 2017-03-05 19:58:10 -08:00
Steve Dower
cf445f1056 bpo-27593: Updates Windows build to use information from git (#262) (#449)
* bpo-27593: Updates Windows build to use information from git
2017-03-03 21:32:23 -08:00
Steve Dower
e29741466d bpo-29624: Adds purge step and layout test after uploading files. (#258) (#263) 2017-02-23 15:02:43 -08:00
Senthil Kumaran
314a86bae2 Change some mercurial/ hg.python.org references. (#8) (#184)
(cherry picked from commit b2ee40ed9c)
2017-02-19 18:58:20 -08:00
Steve Dower
5288477cfd Includes ensurepip and venv packages in nuget package. 2017-02-06 14:11:34 -08:00
Victor Stinner
610f5d739d python-gdb.py: catch gdb.error on gdb.selected_frame() 2016-12-16 10:00:39 +01:00
Steve Dower
e711cc0f22 Issue #28783: Replaces bdist_wininst in nuget packages with stub 2016-12-11 14:35:07 -08:00
Steve Dower
190dbd9ba2 Issue #28846: Various installer fixes 2016-12-03 11:18:53 -08:00
Steve Dower
f0888cd734 Issue #28783: Embedded and nuget packages incorrect reference missing bdist_wininst command. 2016-11-23 10:23:47 -08:00
Steve Dower
c851817aaa Fixes incorrect path in nuget package build. 2016-11-16 16:32:22 -08:00
Steve Dower
43ab355e0e Removes incorrect condition from lib_pdb.msi 2016-10-28 11:19:18 -07:00
Steve Dower
fcf622e30e Updates release build to collect symbols and binaries, and create nuget package. 2016-10-27 12:08:45 -07:00
Steve Dower
fb4a96a58f Issue #28251: Improvements to help manuals on Windows. 2016-09-22 17:07:56 -07:00
Steve Dower
1c75c18ed2 Issue #28110: launcher.msi has different product codes between 32-bit and 64-bit 2016-09-17 16:12:55 -07:00