Commit Graph

2000 Commits

Author SHA1 Message Date
native-api b18f098357 bpo-33711: Fix license generation error in installer build script (GH-7241) 2018-06-24 17:50:23 -05:00
Victor Stinner e36f94f204
bpo-32962: Backport python-gdb.py and test_gdb.py from master (GH-7726)
* bpo-32962: python-gdb catchs ValueError on read_var() (GH-7692)

python-gdb now catchs ValueError on read_var(): when Python has no
debug symbols for example.

(cherry picked from commit 019d33b7a4)

* bpo-32962: python-gdb catchs UnicodeDecodeError (GH-7693)

python-gdb now catchs UnicodeDecodeError exceptions when calling
string().

(cherry picked from commit d22fc0bc7d)

bpo-29367: python-gdb.py now supports also method-wrapper
(wrapperobject) objects.

(cherry picked from commit 611083331d)
2018-06-15 23:59:56 +02:00
Benjamin Peterson 9bbb8e21ca
[2.7] remove hg support from patchcheck (GH-7440). (GH-7444)
(cherry picked from commit b8c0845fee)
2018-06-05 22:55:10 -07:00
Antoine Pitrou 36af11877a
[2.7] Update `make patchcheck` for blurb and NEWS.d (GH-2381) (GH-6576)
(cherry picked from commit 1ba9469)
2018-04-23 14:22:15 +02:00
Serhiy Storchaka a61f5da547
[2.7] bpo-31920: Fixed handling directories as arguments in the ``pygettext`` script. (GH-6259) (GH-6436)
Based on patch by Oleg Krasnikov.
(cherry picked from commit c93938b5be)
2018-04-10 11:03:52 +03:00
Christian Heimes edd541897b
[2.7] bpo-33127: Compatibility patch for LibreSSL 2.7.0 (GH-6210) (GH-6215)
LibreSSL 2.7 introduced OpenSSL 1.1.0 API. The ssl module now detects
LibreSSL 2.7 and only provides API shims for OpenSSL < 1.1.0 and
LibreSSL < 2.7.

Documentation updates and fixes for failing tests will be provided in
another patch set.

Signed-off-by: Christian Heimes <christian@python.org>.
(cherry picked from commit 4ca0739c9d)

Co-authored-by: Christian Heimes <christian@python.org>
2018-03-24 19:34:15 +01:00
Serhiy Storchaka 17cec70a38
bpo-30109: Fix reindent.py for non-ASCII files. (#5637)
It now processes files as binary streams.

This also fixes "make reindent".
2018-02-12 20:16:42 +02:00
Christian Heimes 8092719e93 [2.7] Update multissl test helper (GH-3349) (#3416)
Signed-off-by: Christian Heimes <christian@python.org>.
(cherry picked from commit d3b9f97e6d)
2017-09-07 10:12:22 -07:00
Zachary Ware 986b7ffc65 [2.7] bpo-30450: Pull Windows dependencies from GitHub rather than SVN (GH-1783) (GH-3306)
The Windows build now depends on Python 3.6 to fetch externals, but it
will be downloaded via NuGet (which is downloaded via PowerShell) if it
is not available via `py -3.6`.  This means the only thing that must be
installed on a modern Windows box to do a full build of CPython with all
extensions is Visual Studio.

Cherry-picked from 51599e2bdd, parts of 40a23e8899, parts of 68d663cf85, d5cd21d75a, and possibly others that I've missed.

Also:

* Rename db -> bsddb for disambiguity

* Update sqlite3 to 3.14.2.0 since it's the version we use on 3.x, and it's simpler to just use it than to also upload the old version to cpython-source-deps

* Add PCbuild/*.ilk to .gitignore
2017-09-04 16:05:33 -07:00
Steve Dower 0b69b3723d Enables RC markings in nuget packages. (#3216) 2017-08-26 18:00:48 -07:00
Victor Stinner d45cb040b9 [2.7] bpo-31221: patchcheck ignores external libraries (#3109) (#3118)
* bpo-31221: patchcheck ignores external libraries (#3109)

Tools/scripts/patchcheck.py now ignores changes in directories which
are copies of external libraries:

* Modules/_ctypes/libffi_msvc/
* Modules/_ctypes/libffi_osx/
* Modules/_decimal/libmpdec/
* Modules/expat/
* Modules/zlib/

Drop also support for Mercurial, since CPython migrated to Git.

Exclude also libmpdec

patchcheck: exclude also libffi_osx and libffi_msvc
(cherry picked from commit 4a347ce426)

* Exclude also Modules/_ctypes/libffi on Python 2.7

* Remove _decimal/libmpdec, not in Python 2.7
2017-08-17 17:13:01 +02:00
Victor Stinner d1b474cfd7 Tools/buildbot/test.bat: add --slowest option (#2552) 2017-07-03 23:37:14 +02:00
Zachary Ware 5fe8ac69f9 [2.7] bpo-27425: Be more explicit in .gitattributes (GH-840) (GH-2086)
Also updates checked-in line endings in several files.
2017-06-11 14:19:39 -05:00
Nick Coghlan d6d943a090 Issue #29798: Handle git worktree in patchcheck (#1057)
The original attempted fix missed an `isdir()` call in
`get_base_branch()`.
2017-04-09 18:32:48 +10:00
Nick Coghlan ee10fb9c5b bpo-29798: Handle git worktree in `make patchcheck` (#629) (#635)
In git worktree directories, `.git` is a configuration
file rather than a subdirectory
(cherry picked from commit 6a6d090612)
2017-03-12 20:03:45 +10:00
Nick Coghlan c8869af89e [2.7] bpo-29656: Handle PR branches in 'make patchcheck' (#302) (#628)
Additional changes needed to backport:

- dropped legacy SVN support from patchcheck
- use subprocess.PIPE to silence expected error output
- don't try to use subprocess.Popen as a context manager
- don't try to pass a keyword argument to str.split()

(cherry picked from commit 482f7a274f)
2017-03-12 19:34:16 +10:00
Senthil Kumaran af9a40d58c [2.7] Change some mercurial/ hg.python.org references. (#8) (#183)
(cherry picked from commit b2ee40ed9c)
2017-02-19 17:49:54 -08:00
Steve Dower a535d68ba7 Fixes the 2.7 nuget packages to include a shim bdist_wininst 2016-12-19 14:31:27 -08:00
Terry Jan Reedy 30b51c9224 Issue #27854: Include idlelib/help.html in 2.7 Windows installer.
Without this file, clicking Help => IDLE Help did nothing.
2016-11-11 12:03:09 -05:00
Serhiy Storchaka f8cc2870f1 Issue #28515: Fixed py3k warnings. 2016-10-25 09:51:38 +03:00
Martin Panter 8f7d36ba9a Issue #27952: Get fixcid.py working with the re module 2016-09-11 09:48:57 +00:00
Steve Dower d6004b4b3b Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach) 2016-09-09 18:38:10 -07:00
Steve Dower fc7e4300d3 Removes file from installer. 2016-09-09 11:05:58 -07:00
Steve Dower 0ca4b6f5a6 Issue #27888: Prevent Windows installer from displaying console windows and failing when pip cannot be installed/uninstalled. 2016-09-01 11:21:56 -07:00
Martin Panter 3d36f0f712 Spelling and grammar fixes in code comments and documentation 2016-07-28 02:37:04 +00:00
Martin Panter a850ef698e Issue #27626: Spelling fixes in docs, comments and internal names
Based on patch by Ville Skyttä.
2016-07-28 01:11:04 +00:00
Martin Panter b362f75f6e Issue #25523: Correct "a" article to "an" article
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
to fix the grammar.
2015-11-02 03:37:02 +00:00
Steve Dower 2b8f094f3d Adds batch file for building nuget package, and includes libs folder 2016-06-27 09:54:03 -07:00
Steve Dower 4da5815307 Adds scripts for building nuget packages. 2016-06-24 11:39:57 -07:00
Martin Panter 8d496add74 Issue #27171: Fix typos in documentation, code comments, and tests 2016-06-02 10:35:44 +00:00
Ezio Melotti d2b4926fa7 Fix a few typos. Patch by Eitan Adler. 2013-01-27 06:20:14 +02:00
Martin Panter b1d867f149 Issue #27076: Doc, comment and test function name spelling fixes
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:28:50 +00:00
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