David H
35f9bccd81
[2.7] bpo-37730: Fix usage of NotImplemented instead of NotImplementedError in docs. (GH-15062). (GH-15133)
...
(cherry picked from commit ed5e8e06cb
)
Co-authored-by: David H <dheiberg@mozilla.com>
2019-08-05 12:19:26 +03:00
Zackery Spytz
84efbaecaf
[2.7] bpo-9194: Fix the bounds checking in winreg.c's fixupMultiSZ() (GH-12687) (GH-12916)
...
(cherry picked from commit 56ed86490c
)
https://bugs.python.org/issue9194
2019-04-22 16:35:55 -07:00
Miss Islington (bot)
b19943ec97
bpo-36140: Fix an incorrect check in msidb_getsummaryinformation() (GH-12074)
...
(cherry picked from commit bf94cc7b49
)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2019-03-07 10:49:15 -08:00
Tzu-ping Chung
d5409eb6c2
[2.7] bpo-1104: msilib.SummaryInfo.GetProperty() truncates the string by one character (GH-4517) (GH-11749)
...
Add one char to MsiSummaryInfoGetProperty() output
Based on the patch in [bpo-1104](https://bugs.python.org/issue1104 ) by Anthony Tuininga (atuining) and Mark McMahon (markm)
(cherry picked from commit 2de576e16d
)
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
https://bugs.python.org/issue1104
2019-02-18 19:06:10 -08:00
Matt McCormick
000b8093a1
bpo-11566: Remove hypot -> _hypot macro for very old compilers (GH-11283)
...
This addresses C extension build errors related to an undefined _hypot
symbol when building with the Microsoft Visual C++ Compiler for Python
2.7 [1] or MinGWPy [2]. It also addresses errors when building a C++
extension with MinGWPy and C++11 from cmath, 'error "::hypot' has not
been declared'
[1] https://www.microsoft.com/en-us/download/details.aspx?id=44266
[2] https://mingwpy.github.io/
2018-12-22 10:41:36 +09:00
Miss Islington (bot)
f51a46631f
bpo-23855: Add missing NULL checks for malloc() in _msi.c (GH-9038)
...
(cherry picked from commit 4e519377b1
)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2018-09-10 09:41:12 -07:00
Serhiy Storchaka
48c8bf21f9
[2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479)
2018-07-31 09:09:36 +03:00
Anselm Kruis
7b383a5714
bpo-33931: Fix building using PC\VS9.0\build.bat -e (GH-7844)
...
Set the openssl version to 1.0.2o and fix compiling Tcl.
2018-06-21 09:08:32 -05:00
Victor Stinner
d098098ce1
PC/_subprocess.c: Fix signed/unsigned comparison (GH-7446)
...
Fix the following compiler warning on Windows:
..\PC\_subprocess.c(384): warning C4018: '>' : signed/unsigned mismatch
2018-06-06 13:10:41 +02:00
Zachary Ware
be1faabeef
bpo-30855: Bump Tcl/Tk to 8.5.19 on Windows (GH-4550)
2017-11-26 11:55:46 -06:00
Miss Islington (bot)
b74c3d410d
Fix a memory leak in _msi.c (GH-4127) ( #4308 )
...
(cherry picked from commit cb04f75182
)
2017-11-07 02:33:41 -08:00
Oren Milman
c7f165fe65
[2.7] bpo-31471: Fix assertion failure in subprocess.Popen() on Windows, in case env has a bad keys() method. (GH-3580) ( #3595 )
2017-09-15 10:20:11 +03: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
Victor Stinner
ec4ab09b7c
bpo-30947: Update libexpat from 2.2.1 to 2.2.3 ( #3106 ) ( #3145 )
...
* bpo-30947: Update libexpat from 2.2.1 to 2.2.3
* Add NEWS entry
* Add new loadlibrary.c
* expat_external.h: restore include "pyexpatns.h"
* PCbuild: add expat/loadlibrary.c
* Define XML_POOR_ENTROPY to compile expat
Python 2.7 backport: add expat/loadlibrary.c to PC/VS9.0/ project
files (_elementtree and pyexpat).
(cherry picked from commit 93d0cb58b4
)
2017-08-19 01:06:45 +02:00
Segev Finer
d0ae4be443
bpo-30726: Add _CRT_SECURE_NO_WARNINGS to _elementtree and pyexpat projects ( #2572 )
2017-07-04 20:40:04 +02:00
Serhiy Storchaka
9dda2caca8
[2.7] bpo-30730: Prevent environment variables injection in subprocess on Windows. (GH-2325) ( #2372 )
...
Prevent passing other invalid environment variables and command arguments..
(cherry picked from commit d174d24a5d
)
2017-06-24 11:49:00 +03:00
Jeremy Kloth
ab3b0ade50
bpo-29591: Update VS project files ( #2310 )
...
* Silence warnings caused by duplicated defines from Modules\expat\winconfig.h
* Add WIN32 define to VS9.0 project files to match MSBuild project files.
2017-06-21 21:14:53 +02:00
Jeremy Kloth
ebbccea997
bpo-30368: Update build_ssl.py to restore Perl-less building ( #1805 )
...
* bpo-30368: Update build_ssl.py to restore Perl-less building
OpenSSL 1.0.2 releases changed how files are copied in the makefile,
thus causing Perl to be required even for Python's "prepared" OpenSSL.
Now build_ssl.py does the requisite copies before running nmake.
* bpo-30368: Update build_ssl.py to use prepared OpenSSL
* Updates SSL-linking projects to use the new include{suffix} directory
* build_ssl.py now only copies those files not handled by prepare_ssl.py
* * bpo-30368: Update build_ssl.py to use prepared OpenSSL
* Update SSL-linking projects to use the new include{suffix} directory
* Move comment to following line
2017-06-20 22:53:39 +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
Zachary Ware
f9a6516117
bpo-29572: Update Windows build to OpenSSL 1.0.2k (GH-444)
2017-03-03 16:28:39 -06:00
Benjamin Peterson
ea02cdc7ec
ring in 2017 for Python
2017-01-01 22:04:13 -06:00
Zachary Ware
14269d91d1
Fix PC/VS9.0/build_ssl.py for recent OpenSSL
2016-11-07 13:29:07 -06:00
Zachary Ware
333b6177a4
Closes #28568 : Fix VS9.0 build files to use sqlite 3.8.11.0
2016-11-01 01:44:04 -05:00
Zachary Ware
8fb09ada55
Issue #28248 : Update Windows build to use OpenSSL 1.0.2j
2016-10-10 21:57:04 -05:00
Martin Panter
ca56dd4767
Issue #28139 : Fix messed up indentation
...
Also update the classmethod and staticmethod doc strings and comments to
match the RST documentation.
2016-09-17 07:54:55 +00:00
Martin Panter
5f75502a2e
Issue #24366 : Fix indentation
...
Backports changes by Victor Stinner, Hirokazu Yamamoto, li4ick and Benjamin
Peterson.
2016-09-15 01:50:53 +00:00
Steve Dower
b420601f09
Issue #24594 : Validates persist parameter when opening MSI database
2016-09-09 11:56:34 -07: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
Zachary Ware
c59a92b6f9
Issue #26930 : Update Windows build to OpenSSL 1.0.2h
2016-06-15 17:12:38 -05:00
doko@ubuntu.com
a0f2295e0a
- Issue #17500 , and https://github.com/python/pythondotorg/issues/945 : Remove
...
unused and outdated icons.
2016-06-10 18:22:25 +02:00
Martin Panter
4f23cabc16
Corrections for a/an in code comments and documentation
2016-05-08 13:45:55 +00:00
Serhiy Storchaka
9a118f1dc3
Issue #26778 : Fixed "a/an/and" typos in code comment and documentation.
2016-04-17 09:37:36 +03:00
Zachary Ware
8feff8f1dd
Issue #26465 : Update VS9.0 build files for OpenSSL 1.0.2g
2016-04-14 10:18:27 -05:00
Zachary Ware
c46a2ebaff
Issue #26268 : Update Windows builds to use OpenSSL 1.0.2f
2016-02-22 04:08:30 -06:00
Benjamin Peterson
1f40ece2d7
2016 will be another year of writing copyrighted code
2016-01-01 10:23:45 -06:00
Zachary Ware
5eaf58bfb4
Issue #25022 : Remove PC/example_nt/
...
It was very much outdated, and the topic is better covered elsewhere.
2015-09-10 14:37:42 -05:00
Zachary Ware
d155d72c1e
Issue #24953 : Include ICC version in sys.version string when bulit with ICC on Windows
2015-08-28 23:52:31 -05:00
Zachary Ware
68773f3100
Issue #24603 : Update Windows build to use OpenSSL 1.0.2d
2015-07-21 23:16:51 -05: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
Serhiy Storchaka
f0aa88f6e8
Fixed indentation of Python examples in C comments.
2015-06-11 00:06:27 +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
Benjamin Peterson
dd87637d04
update for copyright for 2015
2014-12-31 18:09:36 -06:00
Benjamin Peterson
209dd468fb
give a nice message when installer is launched w/o admin rights ( closes #16561 )
2014-11-27 20:39:02 -06:00
Zachary Ware
80315664bc
Issue #20221 : Removed conflicting (or circular) hypot definition
...
when compiled with VS 2010 or above. Initial patch by Tabrez Mohammed.
2014-02-20 15:36:34 -06:00
doko@ubuntu.com
08578b0d3b
- Issue #22381 : Update zlib to 1.2.8.
...
Update zlib file names for the PC installers
2014-09-11 09:08:52 +02:00
Zachary Ware
6d8f29a623
Issue #21958 : Define HAVE_ROUND when building with VS 2013 and above.
...
Patch by Zachary Turner.
2014-07-25 14:34:19 -05:00
Zachary Ware
6690eed48b
Issue #21151 : Fixed a segfault in the _winreg module.
...
When ``None`` was passed as a ``REG_BINARY`` value to SetValueEx,
PyMem_DEL was called on an uninitialized buffer. Patch by John Ehresman.
(Also an incidental typo fix in a comment in test_winreg)
2014-07-03 10:57:44 -05:00
Tim Golden
3c603f3618
Issue21349 Passing a memoryview to _winreg.SetValueEx now correctly raises a TypeError where it previously crashed the interpreter. Patch by Brian Kearns
2014-04-26 15:47:08 +01:00
Kristján Valur Jónsson
be580f2e48
Issue #20434 Correct error handlin of _PyString_Resize and _PyBytes_Resize
2014-04-25 09:51:21 +00:00
Jesus Cea
8f606a0d4f
Closes #20908 : Memory leak in Reg2Py()
2014-03-13 17:33:43 +01:00