Commit Graph

1968 Commits

Author SHA1 Message Date
Victor Stinner f6f617c5f7 Fix python-gdb.py: get C types on demand
Issue #26799: Fix python-gdb.py: don't get C types once when the Python code is
loaded, but get C types on demand. The C types can change if python-gdb.py is
loaded before the Python executable. Patch written by Thomas Ilsche.
2016-04-20 18:23:13 +02:00
Serhiy Storchaka 9a118f1dc3 Issue #26778: Fixed "a/an/and" typos in code comment and documentation. 2016-04-17 09:37:36 +03:00
Serhiy Storchaka 6d297cbec4 Issue #26581: Use the first coding cookie on a line, not the last one. 2016-03-20 23:36:29 +02:00
Steve Dower b6d633ce33 Backed out changeset: e7065fc4a6c2 2016-03-08 13:09:32 -08:00
Steve Dower 2f7570f094 Force clean externals on buildbots. 2016-03-08 12:51:59 -08:00
Steve Dower db28718ebe Updates build to use SHA256 hash when signing files 2016-02-08 09:26:25 -08:00
Terry Jan Reedy cfad18dbdb Issue #25505: Remove unused buggy method. 2015-10-30 19:25:28 -04:00
Benjamin Peterson a05c413029 fix usage of undefined name (#25504) 2015-10-29 21:10:57 -07:00
Zachary Ware 7ab6cb44e4 Allow PCbuild\rt.bat to accept unlimited arguments for regrtest.
This makes it possible to pass more than 7 tests by name through
Tools\buildbot\test.bat
2015-09-03 23:37:18 -05:00
Victor Stinner cc1db4bf85 python-gdb.py: enhance py-bt command
* Add py-bt-full command
* py-bt now gives an output similar to a regular Python traceback
* py-bt indicates:

  - if the garbage collector is running
  - if the thread is waiting for the GIL
  - detect PyCFunction_Call to get the name of the builtin function
2015-09-03 10:17:28 +02:00
Zachary Ware 4734372aa0 Close #24508: Backport the 3.5 MSBuild project files.
The old project files move to PC/VS9.0 and remain supported.

VS2008 is still required to build 2.7; VS2010 (or later, plus Windows SDK 7.1)
is *also* required to use the new project files.
2015-07-16 00:24:48 -05:00
Zachary Ware 0e4497a32b Deprecate unused scripts in Tools/buildbot.
I would just outright delete them, but the readme in PCbuild recommended
their use, so I figure it would be nice to leave them there for a while.
2015-06-16 10:56:14 -05:00
Zachary Ware e1076aa4e2 Clean up/refactor the batch scripts used for building on Windows.
This is mostly a backport of issue #21907, but also includes a few
extras necessary to make the bulidbot scripts as thin as possible.
2015-06-09 15:21:39 -05:00
Steve Dower e44cbe7c22 Issue 24385: Adds "--as-flags=--32" when generating 32-bit MinGW library. 2015-06-08 09:57:04 -07:00
Steve Dower 9c933e6404 Generates installer product codes for future releases. 2015-06-03 08:58:14 -07:00
Steve Dower 6c42d1c51f Adds UUIDs for 2.7.10 2015-05-10 19:06:07 -07:00
Serhiy Storchaka aa767a555b Issue #23330: h2py now supports arbitrary filenames in #include. 2015-05-03 15:35:02 +03:00
Zachary Ware b9298a4fbb Issue #17202: Add .bat to .hgeol to force them to CRLF.
Using LF can a script to fail if it tries to use a label that is
split across 512 byte blocks.  Who knows why.
2015-04-13 11:54:11 -05:00
Zachary Ware a87f690948 Backed out changeset 7b1ceb925471 after buildbots have new OpenSSL source. 2015-04-09 15:55:33 -05:00
Zachary Ware bbf97798b0 Refresh OpenSSL sources on the buildbots 2015-04-09 15:50:08 -05:00
Zachary Ware 563e7c6cd5 Issue #23686: Update Windows build to use OpenSSL 1.0.2a 2015-04-07 20:33:54 -05:00
Serhiy Storchaka 205408dacb Issue #23615: Module tarfile is now can be reloaded with imp.reload(). 2015-03-11 17:31:59 +02:00
Serhiy Storchaka e06224340d Backed out changeset 7d2018774925 2015-02-16 01:49:22 +02:00
Serhiy Storchaka eab2fd10cf Use os.devnull instead of hardcoded '/dev/null'. 2015-02-15 13:57:49 +02:00
Steve Dower a0299502c1 Issue #23212: Update Windows copy of OpenSSL to 1.0.1l 2015-01-31 12:18:33 -08:00
Steve Dower 7407f58232 Issue #23199: libpython27.a in amd64 release is 32-bit 2015-01-31 12:15:13 -08:00
Antoine Pitrou c3edc19afc Issue #23248: Update ssl error codes from latest OpenSSL git master. 2015-01-18 17:39:32 +01:00
Steve Dower 1a94b2bfa6 Closes #23160: Respect the environment variable SVNROOT in external-common.bat (patch by anselm.kruis) 2015-01-15 09:15:45 -08:00
Benjamin Peterson 35452b3f95 delete old ftpmirror script, which now has security bugs (closes #23130) 2014-12-30 10:08:16 -06:00
Steve Dower 0c3708a212 Adds missing revocation.crl test file to msi.py 2014-11-26 09:32:41 -08:00
Steve Dower 25b61201e0 Adds missing files to msi.py 2014-11-26 09:20:00 -08:00
Steve Dower a6e6d0a621 Update msi.py and uuids.py for 2.7.9 releases 2014-11-25 22:43:06 -08:00
Steve Dower 2d14270734 Issue #22850: Backport ensurepip Windows installer changes to 2.7 2014-11-12 19:02:20 -08:00
Donald Stufft 8aaff54db3 Implement PEP 477 - Backport ensurepip (PEP 453) to 2.7
* Backports ensurepip to the 2.7 branch
* Backports some of the improved documentation to the 2.7 branch.
* Adds a private backport of the 3.x mock library as test._mock_backport
  to enable saner testing of ensurepip.

Key Differences from 3.x:

* Ensurepip does not have any Makefile integration, specifically
  it is not ran by default in the Makefile.
* There is no venv module in 2.7, so downstream distributors can
  completely disable ensurepip, ideally with a message redirecting
  to the correct way to install pip.
* To match the ``python`` command in 2.7, ensurepip will install
  the unversioned ``pip`` command as well.
* No-op and hide --default-pip and add --no-default-pip to restore
  the 3.x behavor on 2.7.
2014-11-11 10:24:11 -05:00
Zachary Ware 21a2350a83 Issue #17896: Move Windows external lib sources from .. to externals. 2014-11-01 22:34:09 -05:00
Zachary Ware 247b6441a0 Issue #17717: Pull NASM from svn.python.org for OpenSSL build. 2014-11-01 17:11:08 -05:00
Georg Brandl 6a1184c024 Closes #22663: patchcheck: only modify text files under Doc/ 2014-10-19 11:54:08 +02:00
Zachary Ware 10229a450f Issue #22644: Update the Windows build to OpenSSL 1.0.1j 2014-10-17 16:20:15 -05:00
Steve Dower 144de3152d #22398 Tools/msi enhancements for 2.7
Fix build_tkinter.py.
Update msi.py to use environment vars and correct tcl/tk paths.
Update msilib.py to generate short names for files with multiple dots in the name.
2014-09-12 11:48:13 -07:00
Serhiy Storchaka 3eb554fc82 Issue #22221: Backported fixes from Python 3 (issue #18960).
* Now the source encoding declaration on the second line isn't effective if
  the first line contains anything except a comment.  This affects compile(),
  eval() and exec() too.

* IDLE now ignores the source encoding declaration on the second line if the
  first line contains anything except a comment.

* 2to3 and the findnocoding.py script now ignore the source encoding
  declaration on the second line if the first line contains anything except
  a comment.
2014-09-05 10:22:05 +03:00
Benjamin Peterson daeb925cc8 backport many ssl features from Python 3 (closes #21308)
A contribution of Alex Gaynor and David Reid with the generous support of
Rackspace. May God have mercy on their souls.
2014-08-20 14:14:50 -05:00
Zachary Ware 19e455f9cb Issue #22160: Update OpenSSL to 1.0.1i for the Windows build. 2014-08-06 23:17:20 -05:00
Zachary Ware f6aac5d75b Closes #21665: Don't use OPTS=noxp or -DWINVER=0x0500 when compiling Tcl/Tk
on the buildbots.

2.7 does still support Win2k, but using those options makes default ttk ugly
while not using them doesn't seem to break Win2k.
2014-07-22 12:26:34 -05:00
Steve Dower f2892879a0 #21959: Adds 2.7.8 product code to Tools/msi/uuids.py 2014-07-11 17:32:02 -05:00
Zachary Ware 6453a01a0c Issue #21683: Add Tix build to the Windows buildbot scripts. 2014-06-08 14:28:13 -05:00
Zachary Ware 6b8626628d Issue #21671, CVE-2014-0224: Update the Windows build to openssl-1.0.1h 2014-06-06 01:13:37 -05:00
Steve Dower ee310bc2b7 Issue #21462 PEP 466: upgrade OpenSSL in the Python 2.7 Windows builds 2014-05-30 11:01:15 -07:00
Benjamin Peterson 672b0436b7 include test data in the windows installer, so tests don't fail (closes #19866) 2014-05-18 16:32:22 -07:00
Steve Dower bd2ab52957 Issue #21476 Include idle icon files in Windows installer 2014-05-10 21:25:54 -07:00
Brian Curtin d67c0b88ef Backport 4e9f1017355f from #3561.
This brings the option to install Python on the Windows Path.
Committed per Benjamin Peterson's approval on python-dev.
2014-05-10 12:52:59 -05:00