Steve Dower
99168adec0
Fixes installer rebuild, snapshot versioning, and the README.txt file.
2015-07-08 22:44:52 -07:00
Steve Dower
b85b427507
Fixes installer rebuild, snapshot versioning, and the README.txt file.
2015-07-08 22:43:48 -07:00
Steve Dower
67b9ab53c9
Issue #24585 : Enables build-to-build upgrades that preserve settings.
...
Rather than using Burn "Persisted" variables we now add registry keys for each added feature. These can be detected by the installer regardless of which version installed them, and we use this for Modify and Upgrade. In particular, Upgrades can't access the Persisted variables, but can find well-known registry keys.
There are also some changes to the bootstrap app to properly handle upgrades.
Finally, a few minor improvements to the Windows build to keep things tidier.
2015-07-08 20:19:07 -07:00
Steve Dower
494374922c
Issue #24585 : Enables build-to-build upgrades that preserve settings.
...
Rather than using Burn "Persisted" variables we now add registry keys for each added feature. These can be detected by the installer regardless of which version installed them, and we use this for Modify and Upgrade. In particular, Upgrades can't access the Persisted variables, but can find well-known registry keys.
There are also some changes to the bootstrap app to properly handle upgrades.
Finally, a few minor improvements to the Windows build to keep things tidier.
2015-07-08 20:18:44 -07:00
Steve Dower
a327cffd39
Closes 24584: Windows installer incorrectly detects CRT version on Windows 10
2015-07-07 20:47:49 -07:00
Steve Dower
b257eed043
Closes 24584: Windows installer incorrectly detects CRT version on Windows 10
2015-07-07 20:47:28 -07:00
Steve Dower
32f64d03e4
Fixes rebuild of strings for Windows installer.
2015-07-05 07:24:47 -07:00
Steve Dower
d423396394
Fixes rebuild of strings for Windows installer.
2015-07-05 07:24:17 -07:00
Steve Dower
7bcf919f47
Ignore user environment/site-packages for ensurepip and compile_all
...
Remove build condition to prevent old strings hanging around
Add -h option to build.bat
2015-07-04 11:48:59 -07:00
Steve Dower
06606e7165
Ignore user environment/site-packages for ensurepip and compile_all
...
Remove build condition to prevent old strings hanging around
Add -h option to build.bat
2015-07-04 11:48:37 -07:00
Yury Selivanov
bb215e2300
Merge 3.5 (Issue #19235 )
2015-07-03 01:10:11 -04:00
Yury Selivanov
f488fb422a
Issue #19235 : Add new RecursionError exception. Patch by Georg Brandl.
2015-07-03 01:04:23 -04:00
Benjamin Peterson
b5048d3938
merge 3.5
2015-06-27 15:46:31 -05:00
Benjamin Peterson
4801383c29
upgrade to Unicode 8.0.0
2015-06-27 15:45:56 -05:00
Steve Dower
81fdd0b868
Issue 24476: Statically links vcruntime140.dll and removes it from the installer
2015-06-19 13:08:58 -07:00
Steve Dower
6d58f8dc52
Issue 24476: Statically links vcruntime140.dll and removes it from the installer
2015-06-19 10:49:04 -07:00
Zachary Ware
72dd522761
Remove deprecated buildbot scripts
2015-06-17 10:09:24 -05:00
Zachary Ware
4ab4ac8e03
Merge 3.4
2015-06-17 10:08:44 -05:00
Zachary Ware
9fe164364a
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
785273cd84
Merge forward extras beyond #21907 backport.
2015-06-10 00:43:20 -05:00
Zachary Ware
6250df81bf
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 23:16:52 -05:00
Steve Dower
9901856ac4
Issue 24385: Adds "--as-flags=--32" when generating 32-bit MinGW library.
2015-06-08 09:55:43 -07:00
Steve Dower
773490099f
Issue #24317 : Makes Customize page default to installing per-user, and switching to All Users enable CompileAll.
2015-05-31 16:39:46 -07:00
Steve Dower
83f34aa4f8
Issue #24293 : Adds mapping from explicit colours to system colours to correctly handle user themes.
2015-05-31 16:39:46 -07:00
Steve Dower
44e625860b
Fixes text in installer.
2015-05-28 10:28:40 -07:00
Serhiy Storchaka
3028c955fa
Issue #24288 : Generated opcode.h no longer contains trailing spaces and tabs.
2015-05-27 21:31:33 +03:00
Steve Dower
c30a6ce59d
Issue #24293 : Fixes installer colors to use system settings throughout.
2015-05-26 20:46:11 -07:00
Steve Dower
3805019c58
Exclude _testmultiphase.pyd from embeddable ZIP file.
2015-05-23 18:08:55 -07:00
Steve Dower
2446e2e76d
Prevents attempt to sign ZIP file when building embeddable version.
2015-05-23 17:52:20 -07:00
Steve Dower
42a059b632
Issue #24268 : Adds PCBuild project to build _testmultiphase module.
2015-05-23 17:51:54 -07:00
Steve Dower
bd0d91e706
Removes lingering references to RAR now that make_zip.py actually makes a ZIP
2015-05-22 16:22:27 -07:00
Steve Dower
4a7fe7e397
Issue #23955 : Add pyvenv.cfg option to suppress registry/environment lookup for generating sys.path.
...
Also cleans up and secures getpathp.c
2015-05-22 15:10:10 -07:00
Zachary Ware
7dc9dea778
Issue #20035 : Reimplement tkinter._fix module as a C function.
...
The new private C function makes no permanent changes to the environment
and is #ifdef'd out on non-Windows platforms.
2015-05-22 11:36:53 -05:00
Serhiy Storchaka
ba9ac5b5c4
Issue #16261 : Converted some bare except statements to except statements
...
with specified exception type. Original patch by Ramchandra Apte.
2015-05-20 10:33:40 +03:00
Steve Dower
42b50d187f
Fixes default per-user install precompiling the standard library.
2015-05-15 12:10:53 -07:00
Yury Selivanov
7544508f02
PEP 0492 -- Coroutines with async and await syntax. Issue #24017 .
2015-05-11 22:57:16 -04:00
Larry Hastings
38337d1e15
Issue #24000 : Improved Argument Clinic's mapping of converters to legacy
...
"format units". Updated the documentation to match.
2015-05-07 23:30:09 -07:00
Benjamin Peterson
025e9ebd0a
PEP 448: additional unpacking generalizations ( closes #2292 )
...
Patch by Neil Girdhar.
2015-05-05 20:16:41 -04:00
Larry Hastings
dbfdc380df
Issue #24001 : Argument Clinic converters now use accept={type}
...
instead of types={'type'} to specify the types the converter accepts.
2015-05-04 06:59:46 -07:00
Steve Dower
1d4880db3d
Enables shortcuts to be deselected when installing on Windows.
2015-05-03 14:54:32 -07:00
Serhiy Storchaka
d2a694c1be
Issue #23330 : h2py now supports arbitrary filenames in #include.
2015-05-03 15:36:37 +03:00
Serhiy Storchaka
b9c04db64f
Issue #23330 : h2py now supports arbitrary filenames in #include.
2015-05-03 15:35:14 +03:00
Steve Dower
8c1cee9218
Replaces use of WinRAR to generate ZIP file with Python script
2015-05-02 21:38:26 -07:00
Eric Snow
32439d6eb6
Issue #23911 : Move path-based bootstrap code to a separate frozen module.
2015-05-02 19:15:18 -06:00
Steve Dower
6b4c63dea5
Makes embedded distribution a plain ZIP file and corrects pyd exclusion.
2015-05-02 15:32:14 -07:00
Steve Dower
19694abd71
Fixes Python failing to run during Windows release build
2015-05-02 15:23:27 -07:00
Steve Dower
7173dac61b
Update Windows installer for new CRT version.
2015-05-02 15:22:51 -07:00
Serhiy Storchaka
247789cee9
Issue #24007 : Argument Clinic now writes the format of PyArg_Parse*() at the
...
same line as function name.
2015-04-24 00:40:51 +03:00
Christian Heimes
c314e28766
Issue #24031 : make patchcheck now supports git checkouts, too.
2015-04-23 11:25:41 +02:00
Christian Heimes
d98c6773fa
Issue #24031 : make patchcheck now supports git checkouts, too.
2015-04-23 11:24:14 +02:00
Steve Dower
777af30645
Minor fixes to Windows build scripts
2015-04-19 19:50:35 -07:00
Steve Dower
3c28c6e4fb
Backed out buildbot clean
2015-04-19 19:45:51 -07:00
Steve Dower
4ac54bb820
Force the buildbots to clean up all externals.
2015-04-19 19:40:09 -07:00
R David Murray
2b78129b3a
#18128 : use standard +NNNN timezone format in POT-Creation-Date header.
...
Patch by Michael McFadden, with a few small style tweaks.
2015-04-16 12:15:09 -04:00
Larry Hastings
7f90cba7f3
Issue #23935 : Argument Clinic's understanding of format units
...
accepting bytes, bytearrays, and buffers is now consistent with
both the documentation and the implementation.
2015-04-15 23:02:12 -04:00
Steve Dower
13a6ee0af4
Updates layout of some text in the Windows installer.
2015-04-15 16:18:58 -04:00
Steve Dower
97100c0e3d
Updates Windows installer to promote per-user installs over all-users.
2015-04-14 18:34:04 -04:00
Steve Dower
f70fdd2878
Generates and signs a self-extracting executable containing an embedded Python.
2015-04-14 18:34:04 -04:00
Larry Hastings
89964c48d1
Issue #23944 : Argument Clinic now wraps long impl prototypes at column 78.
2015-04-14 18:07:59 -04:00
Zachary Ware
5aec1a44e8
Merge with 3.4
2015-04-13 18:34:57 -05:00
Zachary Ware
bbbbe7e4e6
Make Argument Clinic's '--make' option work on Windows.
2015-04-13 18:33:41 -05:00
Zachary Ware
8ef887ce47
Issue #20586 : Argument Clinic now ensures signatures on functions without docstrings.
2015-04-13 18:22:35 -05:00
Zachary Ware
774ac377da
Closes #17202 : Merge with 3.4
2015-04-13 12:11:40 -05:00
Zachary Ware
4c9c848159
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:59:54 -05:00
Steve Dower
7b8c5f58aa
Updates Windows release scripts to generate and upload GPG signatures.
2015-04-05 18:42:37 -07:00
Serhiy Storchaka
92e8af67a8
Issue #23492 : Argument Clinic now generates argument parsing code with
...
PyArg_Parse instead of PyArg_ParseTuple if possible.
2015-04-04 00:12:11 +03:00
Serhiy Storchaka
1009bf18b3
Issue #23501 : Argumen Clinic now generates code into separate files by default.
2015-04-03 23:53:51 +03:00
Larry Hastings
0759f84d62
Issue #23500 : Argument Clinic is now smarter about generating the "#ifndef"
...
(empty) definition of the methoddef macro: it's only generated once, even
if Argument Clinic processes the same symbol multiple times, and it's emitted
at the end of all processing rather than immediately after the first use.
2015-04-03 13:09:02 -07:00
Serhiy Storchaka
45ec3288d0
Removed trailing whitespaces in miscalenous files.
2015-04-03 19:42:32 +03:00
Serhiy Storchaka
bfbfc8deb2
Removed unintentional trailing spaces in text files.
2015-03-29 19:12:58 +03:00
Steve Dower
489199765f
Missing brace and minor formatting in Windows installer
2015-03-24 23:46:55 -07:00
Steve Dower
c98290b91b
Fixes UI labels and ability to add/remove features.
2015-03-24 23:20:57 -07:00
Steve Dower
102f72cf1a
Adds pydoc shortcut, Edit with IDLE menu, moves redist folder into externals and fixes test script.
2015-03-24 21:25:16 -07:00
Steve Dower
e9ae8340a3
Update Wix version and fixes wxs file.
2015-03-20 22:05:33 -07:00
Serhiy Storchaka
53c3fb186a
Issue #22826 : The result of open() in Tools/freeze/bkfile.py is now better
...
compatible with regular files (in particular it now supports the context
management protocol).
2015-03-20 09:21:59 +02:00
Brett Cannon
cc4dfc1b75
Issue #23491 : Implement PEP 441: Improving Python Zip Application Support
...
Thanks to Paul Moore for the PEP and implementation.
2015-03-13 10:40:49 -04:00
Serhiy Storchaka
c2ccce791c
Issue #23641 : Cleaned out legacy dunder names from tests and docs.
...
Fixed 2 to 3 porting bug in pynche.ColorDB.
Added few tests for __truediv__, __floordiv__ and __matmul__.
2015-03-12 22:01:30 +02:00
Serhiy Storchaka
a60c2fe480
Issue #23641 : Cleaned out legacy dunder names from tests and docs.
...
Fixed 2 to 3 porting bug in pynche.ColorDB.
2015-03-12 21:56:08 +02:00
Serhiy Storchaka
ca8b64461d
Issue #23615 : Modules bz2, tarfile and tokenize now can be reloaded with
...
imp.reload(). Patch by Thomas Kluyver.
2015-03-11 17:31:33 +02:00
Serhiy Storchaka
cf4a2f29ad
Issue #23615 : Modules bz2, tarfile and tokenize now can be reloaded with
...
imp.reload(). Patch by Thomas Kluyver.
2015-03-11 17:18:03 +02:00
Steve Dower
3d3aaa1eab
Adds note about installed debug binaries.
2015-03-10 13:15:40 -07:00
Steve Dower
8011382285
Issue #23619 : Ensure C variable is initialized before using it.
...
The garbage in _crtInstalledToken was causing the IsCrtInstalled() function to return TRUE without actually checking anything. We now initialize the variable first.
2015-03-09 10:05:50 -07:00
Steve Dower
c49de35585
Issue #23612 : Fixes upgrade code and version for Windows installer.
2015-03-08 15:29:39 -07:00
Steve Dower
1872f93fd1
Minor updates to Windows installer upload script.
2015-03-08 12:59:00 -07:00
Steve Dower
2856332f5e
Add scripts for uploading Windows builds to a Linux server using pscp
2015-03-04 20:27:03 -08:00
Steve Dower
e4969f5df8
Updates CRT installation for Windows installer.
...
Bundling versions of the CRT prior to 14.0 is no longer supported.
2015-02-28 19:53:50 -08:00
Steve Dower
e7b92672a0
Removes unused string resources from Windows installer.
2015-02-20 08:23:23 -08:00
Steve Dower
3892189db0
Closes #23482 : sqlite3_d.dll is not included in installer
2015-02-18 18:02:22 -08:00
Steve Dower
cc115eea0c
Simplify MSI projects.
2015-02-14 10:30:54 -08:00
Steve Dower
17be514d0a
Closes #23437 : Make user scripts directory versioned on Windows (patch by pmoore)
2015-02-14 09:50:59 -08:00
Steve Dower
db80aec67a
Fix installer Back button going to wrong page when modifying.
...
Also fix error when doing test builds without documentation file.
2015-02-11 17:49:01 -08:00
Martin v. Löwis
39abba46db
Issue #17896 : Update msi.py to new externals dir.
2015-02-09 07:51:32 +01:00
Steve Dower
312cef086b
Improve Windows release scripts
2015-02-07 22:20:48 -08:00
Steve Dower
5056455b7d
Adds automated test script for the Windows installer and fixes download URL
2015-02-07 15:42:53 -08:00
Steve Dower
3468a06d2b
Fix download URL embedded in Windows installer.
2015-02-06 09:59:05 -08:00
Steve Dower
268f3de1db
Require Mercurial on PATH when building a Windows release.
...
Without it, we will generate invalid build information for sys.version
2015-02-06 09:02:54 -08:00
Steve Dower
bb24087a2c
Issue #23260 : Update Windows installer
2015-02-05 22:08:48 -08:00
Steve Dower
6b8997391b
Issue #23212 : Update Windows copy of OpenSSL to 1.0.1l
2015-01-31 12:19:10 -08:00
Antoine Pitrou
3b225d8bfb
Issue #23248 : Update ssl error codes from latest OpenSSL git master.
2015-01-18 17:40:17 +01:00
Antoine Pitrou
173ad83b07
Issue #23248 : Update ssl error codes from latest OpenSSL git master.
2015-01-18 17:39:32 +01:00
Serhiy Storchaka
82e07b92b3
Issue #23181 : More "codepoint" -> "code point".
2015-01-18 11:33:31 +02:00
Serhiy Storchaka
d3faf43f9b
Issue #23181 : More "codepoint" -> "code point".
2015-01-18 11:28:37 +02:00
Steve Dower
cbd3bd59c0
Closes #23160 : Respect the environment variable SVNROOT in external-common.bat (patch by anselm.kruis)
2015-01-15 09:16:38 -08:00
Benjamin Peterson
864d57c244
merge 3.4 ( #23130 )
2014-12-30 10:09:30 -06:00
Benjamin Peterson
3cd1af51f6
merge 3.3 ( #23130 )
2014-12-30 10:09:17 -06:00
Benjamin Peterson
9582b33933
merge 3.2 ( #23130 )
2014-12-30 10:08:52 -06:00
Benjamin Peterson
44e4b98ff0
delete old ftpmirror script, which now has security bugs ( closes #23130 )
2014-12-30 10:08:16 -06:00
Zachary Ware
494b09ca5f
Backed out changeset ceaac3d483a1 (buildbots refreshed)
2014-12-15 15:44:33 -06:00
Zachary Ware
d0b07d5d5e
Fetch new external sources on the buildbots
2014-12-15 15:42:37 -06:00
Steve Dower
10e65856a3
Removes use of ValueOrDefault function that is not always available on the buildbots.
2014-12-12 12:18:11 -08:00
Serhiy Storchaka
7a1104d292
Issue #22924 : Scripts gprof2html.py and highlight.py now use html.escape()
...
instead of deperecated cgi.escape(). Original patch by Raymond Hettinger.
2014-12-01 10:50:33 +02:00
Steve Dower
65e4cb10d9
Issue #22919 : Windows build updated to support VC 14.0 (Visual Studio 2015), which will be used for the official 3.5 release.
2014-11-22 12:54:57 -08:00
Serhiy Storchaka
cac7ec485b
Issue #22924 : Scripts gprof2html.py and highlight.py now use html.escape()
...
instead of deperecated cgi.escape(). Original patch by Raymond Hettinger.
2014-12-01 10:51:37 +02:00
Serhiy Storchaka
5d43833982
Issue #22823 : Use set literals instead of creating a set from a tuple.
2014-11-15 13:30:42 +02:00
Zachary Ware
740e1dcdc2
Issue #17896 : Move Windows external lib sources from .. to externals.
2014-11-01 22:48:24 -05:00
Zachary Ware
4b2b1de0bd
Issue #17896 : Move Windows external lib sources from .. to externals.
2014-11-01 22:39:21 -05:00
Zachary Ware
aa3ea7ee78
Issue #17717 : Pull NASM from svn.python.org for OpenSSL build.
2014-11-01 17:11:08 -05:00
Berker Peksag
1ed2e69a4a
Issue #22186 : Fix typos in Lib/.
...
Patch by Févry Thibault.
2014-10-19 18:07:05 +03:00
Berker Peksag
f23530f569
Issue #22186 : Fix typos in Lib/.
...
Patch by Févry Thibault.
2014-10-19 18:04:38 +03:00
Georg Brandl
6e868b7bef
merge with 3.4
2014-10-19 11:55:15 +02:00
Georg Brandl
24f0717b82
Closes #22663 : patchcheck: only modify text files under Doc/
2014-10-19 11:54:08 +02:00
Zachary Ware
77770bdaa8
Turn externals cleaning back off
2014-10-17 17:40:04 -05:00
Zachary Ware
4dc7278546
Issue #22644 : Update the Windows build to OpenSSL 1.0.1j
2014-10-17 16:31:57 -05:00
Zachary Ware
baa6d3a01f
Issue #22644 : Update the Windows build to OpenSSL 1.0.1j
2014-10-17 16:26:30 -05:00
Larry Hastings
dfbeb160de
Issue #22615 : Argument Clinic now supports the "type" argument for the
...
int converter. This permits using the int converter with enums and
typedefs.
2014-10-13 10:39:41 +01:00
Zachary Ware
6f3bdc9484
Issue #21907 : Partially revert changes to Windows buildbot scripts.
...
Trying to use run_tests.py for testing is more trouble than it's
worth; reverted to rt.bat. Also cleaned up rt.bat a bit.
Trying to use hg purge to clean up after testing is also
error-prone, so we're back to using the build solution's Clean
targets.
2014-10-13 00:17:23 -05:00
Zachary Ware
86a89f02e2
Issue #21907 : Try to make the pre-Vista Windows buildbots happier.
...
Initial patch by David Bolen.
2014-10-11 01:43:35 -05:00
R David Murray
2623a5db6f
Merge: #18176 : Change generic UCD PropList link to version specific link.
2014-10-09 20:47:31 -04:00
R David Murray
5f16f90d1b
#18176 : Change generic UCD PropList link to version specific link.
2014-10-09 20:45:59 -04:00
R David Murray
532783bd5e
Merge: #18176 : fix another reference and add it to the makeunicodedata comment.
2014-10-09 17:41:55 -04:00
R David Murray
5bd62420f4
#18176 : fix another reference and add it to the makeunicodedata comment.
2014-10-09 17:39:48 -04:00
R David Murray
5ac125cde3
Merge: #18176 : updated stdtypes UCD link, added reminder to makeunicodedata.
2014-10-09 17:33:15 -04:00
R David Murray
7445a383a6
#18176 : updated stdtypes UCD link, added reminder to makeunicodedata.
...
Patch by Alexander Belopolsky.
2014-10-09 17:30:33 -04:00
Steve Dower
3a43dbfabf
Drop pydocgui.pyw from the distribution (post-merge merge from 165aa40bfe2e)
2014-10-08 08:36:16 -07:00
Serhiy Storchaka
8276d87f5a
Issue #20079 : makelocalealias.py now supports installed SUPPORTED file,
...
not only source SUPPORTED file in glibc sources tree.
2014-10-02 10:38:12 +03:00
Serhiy Storchaka
5189ee54cf
Issue #20076 : Apply optimization in makelocalealias.py repeatedly.
...
Remove just added the sr_rs.utf8@latn alias because it is
derived from sr_rs@latin.
2014-10-02 10:21:43 +03:00
Serhiy Storchaka
c383ad8d9c
Issue #20076 : Added non derived UTF-8 aliases to locale aliases table.
...
The makelocalealias.py script no longer ignores UTF-8 mapping.
2014-10-02 00:11:21 +03:00
Serhiy Storchaka
ea4f0573b4
Issue #20079 : Added locales supported in glibc 2.18 to locale alias table.
...
The makelocalealias.py script now can parse the SUPPORTED file
from glibc sources and supports command line options for source paths.
2014-10-01 23:42:30 +03:00
Martin v. Löwis
e796b9e477
Drop pydocgui.pyw from the distribution.
2014-09-21 23:17:15 +02:00
Zachary Ware
22f2d2efb7
Issue #22160 : Update OpenSSL to 1.0.1i for the Windows build.
2014-08-06 23:19:29 -05:00
Larry Hastings
a73cb8a6b8
Issue #22120 : For functions using an unsigned integer return converter,
...
Argument Clinic now generates a cast to that type for the comparison
to -1 in the generated code. (This supresses a compilation warning.)
2014-08-05 19:55:21 +10:00
Larry Hastings
e1b82531b3
Argument Clinic bugfix: Don't let the C preprocessor "Monitor" see lines
...
that we are scanning for the output marker. If we don't find it, we will
scan them again, so it sees them twice, and it can get confused (like
thinking we're still in a comment).
2014-07-27 16:22:20 +02:00
Zachary Ware
3481e21e98
Issue #21918 : Convert test_tools.py to a sub-package of test.
...
Merge with 3.4.
2014-07-16 14:31:51 -05:00
Zachary Ware
2b0a610297
Issue #21918 : Convert test_tools.py to a sub-package of test.
2014-07-16 14:26:09 -05:00
Zachary Ware
51af1deb32
Merge removal of Tools/scripts/pydocgui.pyw
2014-07-16 13:30:27 -05:00
Zachary Ware
52b2bc0369
Remove Tools/scripts/pydocgui.pyw.
...
pydoc.gui was removed over 3 years ago (#10818 ), this script has been
utterly bereft of worth since then.
2014-07-16 13:24:55 -05:00
Serhiy Storchaka
992334127e
Issue #18974 : Tools/scripts/diff.py now uses argparse instead of optparse.
2014-07-15 13:23:58 +03:00
Berker Peksag
6960c1a94b
Issue #21906 : Merge from 3.4.
2014-07-11 20:44:39 +03:00
Berker Peksag
7aee3ecd57
Issue #21906 : Make Tools/scripts/md5sum.py work in Python 3.
...
Patch by Zachary Ware.
2014-07-11 20:42:18 +03:00
Zachary Ware
afb52e1d44
Issue #21907 : Make the buildbot clean script always return 0.
...
The clean script is a "best effort" thing anyway, and this will hopefully
revive the XP buildbot.
2014-07-08 09:41:57 -05:00
Zachary Ware
69d2d013f1
Issue #21907 : Exit with the correct return code
2014-07-07 15:07:46 -05:00
Zachary Ware
e12fa65744
Issue #21907 : Improved the batch scripts provided for building Python.
...
The user-facing scripts in PCbuild have been updated to be easier to use
and the buildbot scripts in Tools\buildbot have been updated to use the
user-facing scripts in PCbuild wherever possible.
2014-07-07 13:39:59 -05:00
Benjamin Peterson
3032ed7cb1
upgrade to unicode 7.0.0
2014-07-06 13:04:20 -07:00
Martin v. Löwis
77143dbaee
Issue #10747 : Merge with 3.4
2014-06-22 22:28:04 +02:00
Martin v. Löwis
cd95e18bf7
Issue #10747 : Use versioned labels in the Windows start menu.
...
Patch by Olive Kilburn.
2014-06-22 22:22:33 +02:00
Zachary Ware
89c057a263
Backed out changeset bc41a4d6c58f after buildbots have new OpenSSL source.
2015-04-09 15:55:56 -05:00
Zachary Ware
5065792c1e
Refresh OpenSSL sources on the buildbots
2015-04-09 15:51:17 -05:00
Zachary Ware
9f3109c459
Issue #23686 : Update Windows build to use OpenSSL 1.0.2a.
2015-04-07 19:59:37 -05:00
Larry Hastings
d9d7567eac
Issue #21629 : Merge from 3.4.
2014-06-11 04:36:09 -07:00
Larry Hastings
f150378ef0
Issue #21629 : Fix Argument Clinic's "--converters" feature.
2014-06-11 04:31:29 -07:00
Zachary Ware
8c6f189964
Merge with 3.4
2014-06-08 14:43:08 -05:00
Zachary Ware
9789185e36
Issue #21683 : Add Tix build to the Windows buildbot scripts.
2014-06-08 14:28:13 -05:00
Zachary Ware
3266a8fa59
Issue #21671 : Merge with 3.4
2014-06-06 01:27:34 -05:00
Zachary Ware
7d55da42a4
Issue #21671 , CVE-2014-0224: Update the Windows build to openssl-1.0.1h
2014-06-06 01:23:53 -05:00
Zachary Ware
7490554a4c
Revert Tools/buildbot/external-common.bat to normal (with updated versions).
2014-06-05 12:00:51 -05:00
Zachary Ware
60cc211cde
Revert Tools/buildbot/external-common.bat to normal (with updated versions).
2014-06-05 12:00:28 -05:00
Zachary Ware
c6d6784ed4
Force a clean pull-and-build of Tcl/Tk on Windows buildbots.
2014-06-05 11:56:58 -05:00
Zachary Ware
6d602c0ee9
Force a clean pull-and-build of Tcl/Tk on Windows buildbots.
2014-06-05 11:56:36 -05:00
Zachary Ware
4a01fd2d65
Clean up Tcl/Tk building in the Windows buildbot scripts.
...
- Nix the 'noxp' option, it was for Win2k compatibility (which was dropped
with Python 3.3) and made default ttk ugly on post-Win2k systems (#21665 )
- Use 'OPTS=symbols' instead of 'DEBUG=1'; symbols is the official method
- Use core, shell, dlls, install-binaries, and install-libraries targets
instead of all and install to avoid trying to 1) build packages that don't
work with MSVC 10+ and 2) install unnecessary bits and pieces.
2014-06-05 11:44:22 -05:00
Martin v. Löwis
b9e71d4a55
Merge with 3.4
2014-05-01 15:18:43 +02:00
Martin v. Löwis
3d5c9e2c67
Update to 1.0.1g
2014-05-01 14:28:48 +02:00
Antoine Pitrou
a171979a19
Remove a workaround for fixed issue #20355 .
2014-04-29 00:58:02 +02:00
Ned Deily
7fae75a415
Issue #17861 : Allow generate_opcode_h to run with a system Python 2.5.
...
Patch by David Bolen.
2014-04-28 13:46:36 -07:00
Zachary Ware
0f4acc1ab1
Issue #9765 : Adjust where Tools/msi/msi.py looks for Tcl/Tk license terms.
...
Patch by Daniel Stutzbach.
2014-04-23 15:37:37 -05:00
Thomas Wouters
67d8dc1f58
Fix Tools/scripts/generate_opcode_h.py from issue #17861 to work correctly
...
when building in a separate object tree. More people should build this way.
This may still fail if the source is unwritable, I haven't tested that yet.
2014-04-17 01:13:29 +02:00
Kushal Das
02d23a212a
Closes Issue 17861: Autogenerate Include/opcode.h from opcode.py.
...
It includes required changes in Makefile.pre.in and configure.ac
among other files.
2014-04-15 23:50:06 +05:30
Benjamin Peterson
63c46b25d0
teach unparse about matrix multiplication
2014-04-10 00:17:48 -04:00
Zachary Ware
800cae3007
Issue #21059 : Temporary measure to make the Windows buildbots useful again.
...
Hopefully.
2014-04-07 23:33:29 -05:00
Martin v. Löwis
3da9fbbe83
Add test case for freeze.
2014-03-30 21:32:03 +02:00
Martin v. Löwis
227bb3813a
Run test program.
2014-03-30 21:27:17 +02:00
Martin v. Löwis
669b095031
Merge 3.4 ( #16047 )
2014-03-30 21:15:26 +02:00
Martin v. Löwis
c00d39e96a
Issue #16047 : Fix module exception list and __file__ handling in freeze.
...
Patch by Meador Inge.
2014-03-30 21:07:25 +02:00
Martin v. Löwis
6e50ccd303
Merge 3.4: Issue #11824 : Consider ABI tags in freeze. Patch by Meador Inge.
2014-03-30 20:29:56 +02:00
Martin v. Löwis
a7fcd926e8
Issue #11824 : Consider ABI tags in freeze. Patch by Meador Inge.
2014-03-30 20:28:52 +02:00
Martin v. Löwis
80c09cfa49
Add test case for freeze.
2014-03-30 20:18:58 +02:00
Zachary Ware
92497a42b7
Issue #21017 : Enable Tix debug build on Windows
2014-03-22 10:37:06 -05:00
Zachary Ware
a191b91a43
Issue #15968 : Incorporated Tcl, Tk, and Tix builds into the Windows build
...
solution.
Currently, Tix is not built in Debug configuration.
This change also:
- simplifies some Tcl/Tk-related msbuild properties for _tkinter
- copies the Tcl and Tk DLLs into the build output directory, meaning
they will always be available after a build without having to copy
them manually or change PATH
- removes PCbuild/build_tkinter.py: the solution does the build without
needing to invoke Python (so Tcl/Tk/Tix can be built in parallel with
the rest of the build using the `/m` msbuild command line switch)
- removes an outdated README concerning building Tcl/Tk on AMD64
2014-03-21 22:58:19 -05:00
Georg Brandl
e46abb42de
hgtouch: remove meta-variable from option spec
...
This fifth tuple element is unsupported in an old hg version still used on
one buildbot, and it is not really necessary (only used in touch --help).
2014-03-09 10:22:10 +01:00
Georg Brandl
650781411e
merge with 3.3
2014-03-09 10:22:46 +01:00
Martin v. Löwis
2b4b377966
Issue #14512 : Launch pydoc -b instead of pydocgui.pyw on Windows.
2014-03-02 20:29:18 +01:00
Martin v. Löwis
09257f7ced
Issue #20465 : Update Windows installer to SQLite 3.8.3.1.
2014-03-02 19:42:50 +01:00
Martin v. Löwis
5e6faf7fed
Issue #20748 : Uninstalling pip does not leave behind the pyc of
...
the uninstaller anymore.
2014-03-02 19:29:19 +01:00
Martin v. Löwis
ceb0467193
Issue #20568 : Fix typo in pip option.
2014-03-02 19:15:47 +01:00
Nick Coghlan
f808df39de
Close #20568 : install unversioned pip command on Windows
2014-02-28 23:37:35 +10:00
Serhiy Storchaka
eb44b2d9e8
Issue #20535 : PYTHONWARNING no longer affects the run_tests.py script.
...
Patch by Arfrever Frehtes Taifersar Arahesis.
2014-02-24 14:00:38 +02:00
Serhiy Storchaka
20f8728bf0
Issue #20535 : PYTHONWARNING no longer affects the run_tests.py script.
...
Patch by Arfrever Frehtes Taifersar Arahesis.
2014-02-24 13:57:00 +02:00
Martin v. Löwis
1db0eacf3e
Issue #20641 : Run custom actions with the NoImpersonate flag to support UAC.
2014-02-22 23:44:20 +01:00
Victor Stinner
e8ebe152de
Windows buildbot: use --timeout feature in Tools/buildbot/test-amd64.bat
...
Use the same default timeout than test.bat: 1 hour (3600 seconds).
2014-02-20 23:26:12 +01:00
Larry Hastings
2623c8c23c
Issue #20530 : Argument Clinic's signature format has been revised again.
...
The new syntax is highly human readable while still preventing false
positives. The syntax also extends Python syntax to denote "self" and
positional-only parameters, allowing inspect.Signature objects to be
totally accurate for all supported builtins in Python 3.4.
2014-02-08 22:15:29 -08:00
Larry Hastings
7726ac9163
#Issue 20456: Several improvements and bugfixes for Argument Clinic,
...
including correctly generating code for Clinic blocks inside C
preprocessor conditional blocks.
2014-01-31 22:03:12 -08:00
Victor Stinner
20b017ef9e
Windows buildbot: use --timeout feature in Tools/buildbot/test.bat
...
Use the same default timeout than Makefile: 1 hour (3600 seconds).
2014-01-31 16:07:32 +01:00
Larry Hastings
581ee3618c
Issue #20326 : Argument Clinic now uses a simple, unique signature to
...
annotate text signatures in docstrings, resulting in fewer false
positives. "self" parameters are also explicitly marked, allowing
inspect.Signature() to authoritatively detect (and skip) said parameters.
Issue #20326 : Argument Clinic now generates separate checksums for the
input and output sections of the block, allowing external tools to verify
that the input has not changed (and thus the output is not out-of-date).
2014-01-28 05:00:08 -08:00
Georg Brandl
f1b1418feb
Closes #19966 : allow hgtouch to operate on a base dir that is != the repo root.
2014-01-27 08:22:49 +01:00
Georg Brandl
a814533d64
Closes #19966 : allow hgtouch to operate on a base dir that is != the repo root.
2014-01-27 08:22:49 +01:00
Larry Hastings
f0537e8d1c
Issue #20390 : Final fix, for generating NoPositional/NoKeyword for __init__ calls.
2014-01-25 22:01:12 -08:00
Larry Hastings
f256c22f34
Fix for catestrophic errors in previous checkin (Argument Clinic rollup patch).
2014-01-25 21:30:37 -08:00
Larry Hastings
c20472640c
Issue #20390 : Small fixes and improvements for Argument Clinic.
2014-01-25 20:43:29 -08:00
Zachary Ware
9d7849f454
Issue #20376 : Argument Clinic now escapes backslashes in docstrings.
2014-01-25 03:26:20 -06:00
Zachary Ware
021bb87845
Issue #20381 : Fix sanity checking on default arguments when c_default is
...
also specified.
2014-01-24 22:52:30 -06:00
Larry Hastings
5c66189e88
Issue #20189 : Four additional builtin types (PyTypeObject,
...
PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type)
have been modified to provide introspection information for builtins.
Also: many additional Lib, test suite, and Argument Clinic fixes.
2014-01-24 06:17:25 -08:00
Larry Hastings
462582651c
Two minor Argument Clinic bugfixes: use the name of the class in the
...
docstring for __new__ and __init__, and always use "goto exit" instead of
returning "NULL" for failure to parse (as _new__ and __init__ return ints).
2014-01-22 03:05:49 -08:00
Zachary Ware
071baa63c4
Argument Clinic: make 'destination' directive work.
2014-01-21 23:07:12 -06:00
Larry Hastings
665757847e
Improve fix for issue #20300 .
2014-01-19 03:01:23 -08:00
Larry Hastings
c4fe092bc3
Issue #20300 : Fix exception when setting conversion class member "default"
...
to None.
2014-01-19 02:27:34 -08:00
Larry Hastings
b7ccb20423
Issue #20294 : Argument Clinic now supports argument parsing for __new__ and
...
__init__ functions.
2014-01-18 23:50:21 -08:00
Larry Hastings
b470575e24
Issue #20299 : Argument Clinic custom converters may now change the default
...
value of c_default and py_default with a class member.
2014-01-18 21:54:15 -08:00
Serhiy Storchaka
49776ef9e7
Use correct C type in byte_converter.
2014-01-19 00:38:36 +02:00
Larry Hastings
4903e00141
Issue #20292 : Small bug fix for Argument Clinic supporting format units
...
for strings with explicit encodings.
2014-01-18 00:26:16 -08:00
Larry Hastings
bebf73511a
Issue #20287 : Argument Clinic's output is now configurable, allowing
...
delaying its output or even redirecting it to a separate file.
2014-01-17 17:47:17 -08:00
Larry Hastings
1abd708681
Issue #20226 : Added tests for new features and regressions.
2014-01-16 14:15:03 -08:00
Larry Hastings
2a727916c5
Issue #20226 : Major improvements to Argument Clinic.
...
* You may now specify an expression as the default value for a
parameter! Example: "sys.maxsize - 1". This support is
intentionally quite limited; you may only use values that
can be represented as static C values.
* Removed "doc_default", simplified support for "c_default"
and "py_default". (I'm not sure we still even need
"py_default", but I'm leaving it in for now in case a
use presents itself.)
* Parameter lines support a trailing '\\' as a line
continuation character, allowing you to break up long lines.
* The argument parsing code generated when supporting optional
groups now uses PyTuple_GET_SIZE instead of PyTuple_GetSize,
leading to a 850% speedup in parsing. (Just kidding, this
is an unmeasurable difference.)
* A bugfix for the recent regression where the generated
prototype from pydoc for builtins would be littered with
unreadable "=<object ...>"" default values for parameters
that had no default value.
* Converted some asserts into proper failure messages.
* Many doc improvements and fixes.
2014-01-16 11:32:01 -08:00
Serhiy Storchaka
18cc3da508
Issue #19936 : Remove executable bits from C source files and several forgotten
...
test files.
2014-01-16 18:50:53 +02:00
Serhiy Storchaka
7f470d0f9c
Issue #19936 : Remove executable bits from C source files and several forgotten
...
test files.
2014-01-16 18:48:45 +02:00
Serhiy Storchaka
8f8ec92de8
Issue #19936 : Added executable bits or shebang lines to Python scripts which
...
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface. Fixed
shebang lines in the unittestgui and checkpip scripts.
2014-01-16 17:33:23 +02:00
Serhiy Storchaka
b992a0e102
Issue #19936 : Added executable bits or shebang lines to Python scripts which
...
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface. Fixed
shebang line to use python3 executable in the unittestgui script.
2014-01-16 17:15:49 +02:00
Georg Brandl
aabebde358
Closes #20235 : Report file and line on unexpected exceptions in Argument Clinic.
2014-01-16 06:53:54 +01:00
Larry Hastings
4a714d48ad
Issue #20268 : Argument Clinic now supports cloning the parameters
...
and return converter from existing functions.
2014-01-14 22:22:41 -08:00
Antoine Pitrou
d7fb7919e3
Replace assert with a proper error
2014-01-14 21:02:43 +01:00
Antoine Pitrou
cc1d31e09e
improve an error message in clinic
2014-01-14 20:52:01 +01:00
Larry Hastings
8666e65206
Issue #20228 : Argument Clinic now has special support for class special
...
methods.
2014-01-12 14:12:59 -08:00
Larry Hastings
4a55fc5a9d
Issue #20214 : Fixed a number of small issues and documentation errors in
...
Argument Clinic (see issue for details).
2014-01-12 11:09:57 -08:00
Larry Hastings
583baa8fef
Issue #20196 : Fixed a bug where Argument Clinic did not generate correct
...
parsing code for functions with positional-only parameters where all arguments
are optional.
2014-01-12 08:49:30 -08:00
Serhiy Storchaka
f4c9664a24
Fixed the serve.py script.
...
The application object must return an iterable yielding bytestrings.
2014-01-11 11:53:13 +02:00
Serhiy Storchaka
02d5db2777
Fixed the serve.py script.
...
The application object must return an iterable yielding bytestrings.
2014-01-11 11:52:20 +02:00
Serhiy Storchaka
7282ff6d5b
Issue #18960 : Fix bugs with Python source code encoding in the second line.
...
* The first line of Python script could be executed twice when the source
encoding (not equal to 'utf-8') was specified on the second line.
* Now the source encoding declaration on the second line isn't effective if
the first line contains anything except a comment.
* As a consequence, 'python -x' works now again with files with the source
encoding declarations specified on the second file, and can be used again
to make Python batch files on Windows.
* The tokenize module now ignore the source encoding declaration on the second
line if the first line contains anything except a comment.
* 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-01-09 18:41:59 +02:00
Serhiy Storchaka
768c16ce02
Issue #18960 : Fix bugs with Python source code encoding in the second line.
...
* The first line of Python script could be executed twice when the source
encoding (not equal to 'utf-8') was specified on the second line.
* Now the source encoding declaration on the second line isn't effective if
the first line contains anything except a comment.
* As a consequence, 'python -x' works now again with files with the source
encoding declarations specified on the second file, and can be used again
to make Python batch files on Windows.
* The tokenize module now ignore the source encoding declaration on the second
line if the first line contains anything except a comment.
* 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-01-09 18:36:09 +02:00
Larry Hastings
61272b77b0
Issue #19273 : The marker comments Argument Clinic uses have been changed
...
to improve readability.
2014-01-07 12:41:53 -08:00
Larry Hastings
9026113fd4
Issue #20157 : When Argument Clinic renames a parameter because its name
...
collides with a C keyword, it no longer exposes that rename to PyArg_Parse.
2014-01-07 12:21:08 -08:00
Larry Hastings
77561cccb2
Issue #20141 : Improved Argument Clinic's support for the PyArg_Parse "O!"
...
format unit.
2014-01-07 12:13:13 -08:00
Larry Hastings
16c5191ab3
Issue #20144 : Argument Clinic now supports simple constants as parameter
...
default values. inspect.Signature correspondingly supports them in
__text_signature__ fields for builtins.
2014-01-07 11:53:01 -08:00
Larry Hastings
eb31e9d6ed
Issue #20143 : The line numbers reported in Argument Clinic errors are
...
now more accurate.
2014-01-06 11:10:08 -08:00
Larry Hastings
3f144c2ad7
Issue #20142 : Py_buffer variables generated by Argument Clinic are now
...
initialized with a default value.
2014-01-06 10:34:00 -08:00
Larry Hastings
6d2ea21337
Argument Clinic: fixed test suite, improved howto.
2014-01-05 02:50:45 -08:00
Larry Hastings
78cf85c669
Issue #19659 : Added documentation for Argument Clinic.
2014-01-04 12:44:57 -08:00
Larry Hastings
3cceb38486
Issue #19976 : Argument Clinic METH_NOARGS functions now always
...
take two parameters.
2014-01-04 11:09:09 -08:00
Martin v. Löwis
24e43308b7
* Issue #16113 : Remove sha3 module again.
...
Patch by Christian Heimes, with modifications.
2014-01-03 14:05:06 +01:00
Martin v. Löwis
c70d4f4d79
Issue #19728 : Enable pip installation by default on Windows.
2014-01-02 14:12:30 +01:00
Serhiy Storchaka
8c4f57d1d5
Issue #20046 : Locale alias table no longer contains entities which can be
...
calculated. Generalized support of the euro modifier.
2013-12-27 00:56:53 +02:00
Serhiy Storchaka
e190fac5f9
Issue #20027 : Fixed locale aliases for devanagari locales.
2013-12-26 21:21:52 +02:00
Serhiy Storchaka
5eb01530b2
Issue #20027 : Fixed locale aliases for devanagari locales.
2013-12-26 21:20:59 +02:00