8a19eb2 | Victor Stinner | 05 May 2017, 01:14:23 UTC | bpo-23404: make touch becomes make regen-all (#1466) 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-opcode-targets: Python/opcode_targets.h * Add PYTHON_FOR_REGEN variable * 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 | 05 May 2017, 01:14:23 UTC |
e81e355 | Victor Stinner | 04 May 2017, 16:52:26 UTC | bpo-30108: Fix test_site setUpModule() (#1460) Oops, I forgot that PermissionError was introduced in Python 3.3! Replace PermissionError with OSError and check on errno. | 04 May 2017, 16:52:26 UTC |
7806438 | Victor Stinner | 04 May 2017, 16:21:52 UTC | bpo-30108: Restore sys.path in test_site (#1197) (#1459) Add setUpModule() and tearDownModule() functions to test_site to save/restore sys.path at the module level to prevent warning if the user site directory is created, since site.addsitedir() modifies sys.path. (cherry picked from commit b85c136903c6d2368162f7c4a58f258c9c69ead0) | 04 May 2017, 16:21:52 UTC |
9fb061b | Victor Stinner | 04 May 2017, 16:10:30 UTC | Fix test_ftplib warning if IPv6 is not available (#1457) DummyFTPServer now calls del_channel() on bind() error to prevent the following warning in TestIPv6Environment.setUpClass(): Warning -- asyncore.socket_map was modified by test_ftplib Before: {} After: {3: <test.test_ftplib.DummyFTPServer 127.0.0.1:0 at ...>} | 04 May 2017, 16:10:30 UTC |
0f7f676 | Victor Stinner | 04 May 2017, 16:10:09 UTC | test_distutils: test_build_ext uses EnvironGuard (#1458) Use EnvironGuard on BuildExtTestCase to save/restore os.environ, to fix the following warning: Warning -- os.environ was modified by test_distutils MSVCCompiler.initialize() of distutils.msvc9compiler modifies os.environ. | 04 May 2017, 16:10:09 UTC |
e1b02ff | Mariatta | 04 May 2017, 01:54:28 UTC | [2.7] bpo-28315: Improve code examples in docs (GH-1372) (#1447) Replace File "<stdin>", line 1, in ? with File "<stdin>", line 1, in <module>. (cherry picked from commit 8856940cf2e82cb17db2b684cd5732fe658605ca) | 04 May 2017, 01:54:28 UTC |
74f0db8 | Serhiy Storchaka | 03 May 2017, 21:23:50 UTC | [2.7] bpo-30236: Backported regrtest options -m and -G. (#1394) | 03 May 2017, 21:23:50 UTC |
8cf7ea2 | Victor Stinner | 03 May 2017, 16:42:42 UTC | Add Appveyor to Python 2.7 branch (#1434) * Add Appveyor to Python 2.7 branch * Adapt AppVeyor config for Python 2 * Replace -j0 with -j2: -j0 is ignored on Python 2 * Replace --slowest with --slow * Remove --timeout option (it was introduced in Python 3) | 03 May 2017, 16:42:42 UTC |
2c27731 | Victor Stinner | 03 May 2017, 16:04:18 UTC | bpo-30257: _bsddb: Fix newDBObject() (#1428) Don't set cursorSetReturnsNone to DEFAULT_CURSOR_SET_RETURNS_NONE anymore if self->myenvobj is set. Fix a GCC warning on the strange indentation. | 03 May 2017, 16:04:18 UTC |
c991eb2 | Victor Stinner | 03 May 2017, 15:28:28 UTC | bpo-30258: regrtest handles child process crash (#1431) Backport the CHILD_ERROR status from master: a test is considered as failed if a worker process running a test exited with a code different than zero. Change also the output: write stdout and stderr of the child process after the test name, instead of writing it before. accumulate_result(): don't use time of CHILD_ERROR or INTERRUPTED results. | 03 May 2017, 15:28:28 UTC |
15f8d0d | Victor Stinner | 03 May 2017, 15:28:10 UTC | test_distutils: use EnvironGuard (#1433) Use EnvironGuard on InstallTestCase and UtilTestCase. Backport fixes from master to prevent the following warning: Warning -- os.environ was modified by test_distutils | 03 May 2017, 15:28:10 UTC |
2b183b8 | Victor Stinner | 03 May 2017, 15:27:17 UTC | Update .gitignore (#1435) Ignore more generated files and test data downloaded by tests. | 03 May 2017, 15:27:17 UTC |
f6a3133 | Victor Stinner | 03 May 2017, 14:00:12 UTC | bpo-30255: Clip step in _PySlice_Unpack() (#1429) In PySlice_IndicesEx, clip the step to [-PY_SSIZE_T_MAX, PY_SSIZE_T_MAX] rather than [PY_SSIZE_T_MIN, PY_SSIZE_T_MAX]. (cherry picked from commit e6fc7401a92c7b51a80782d8095819b9909a0322) | 03 May 2017, 14:00:12 UTC |
0d49379 | Victor Stinner | 03 May 2017, 01:47:44 UTC | regrtest: always show before/after of modified env (#1407) (#1409) Buildbots don't run tests with -vv and so only log "xxx was modified by test_xxx" which is not enough to debug such random issue. In many cases, I'm unable to reproduce the warning and so unable to fix it. Always logging the value before and value after should help to debug such warning on buildbots. (cherry picked from commit ec4b17239d899550be4ee6104b61751bb3c70382) (cherry picked from commit 22982350235f8c5821b71661a5616423e1c7fcc0) | 03 May 2017, 01:47:44 UTC |
d1c862f | Victor Stinner | 03 May 2017, 01:47:34 UTC | bpo-30199: test_ssl closes all asyncore channels (#1381) (#1408) AsyncoreEchoServer of test_ssl now calls asyncore.close_all(ignore_all=True) to ensure that asyncore.socket_map is cleared once the test completes, even if ConnectionHandler was not correctly unregistered. Fix the following warning: Warning -- asyncore.socket_map was modified by test_ssl Before: {} After: {6: <test.test_ssl.AsyncoreEchoServer.EchoServer.ConnectionHandler>} (cherry picked from commit 1dae7450c68bad498e57800387b24cb103c461fa) | 03 May 2017, 01:47:34 UTC |
df56925 | Victor Stinner | 02 May 2017, 22:05:45 UTC | bpo-30232: Support Git worktree in configure.ac (#1402) Don't test if .git/HEAD file exists, but only if the .git file (or directory) exists. | 02 May 2017, 22:05:45 UTC |
8105dd7 | Victor Stinner | 02 May 2017, 21:43:25 UTC | bpo-30223: Add global in regrtest main_in_temp_cwd (#1399) | 02 May 2017, 21:43:25 UTC |
fd6c8bb | Victor Stinner | 02 May 2017, 19:50:09 UTC | bpo-27593: Revise git SCM build info. (#744) (#746) (#1392) Use --short form of git hash. Use output from "git describe" for tag. Expected outputs: 1. previous hg 2. previous git 3. updated git Release (tagged) build: 1. Python 3.7.0a0 (v3.7.0a0:4def2a2901a5, ... 2. Python 3.7.0a0 (v3.7.0a0^0:05f53735c8912f8df1077e897f052571e13c3496, ... 3. Python 3.7.0a0 (v3.7.0a0:05f53735c8, ... Development build: 1. Python 3.7.0a0 (default:41df79263a11, ... 2. Python 3.7.0a0 (master:05f53735c8912f8df1077e897f052571e13c3496, ... 3. Python 3.7.0a0 (heads/master-dirty:05f53735c8, ... "dirty" means the working tree has uncommitted changes. See "git help describe" for more info. (cherry picked from commit 554626ada769abf82a5dabe6966afa4265acb6a6) (cherry picked from commit ed512cba78af211da4d83cbb7cc533c39176f374) | 02 May 2017, 19:50:09 UTC |
8e158b2 | Serhiy Storchaka | 02 May 2017, 18:56:52 UTC | [2.7] bpo-30223: Fix test_xpickle for Python 2.4. (#1395) | 02 May 2017, 18:56:52 UTC |
43566ae | Serhiy Storchaka | 02 May 2017, 15:26:25 UTC | [2.7] bpo-30223: Add Lib/test/__main__.py. (#1373) To unify running tests in Python 2.7 and Python 3, the test package can be run as a script. This is equivalent to running the test.regrtest module as a script. | 02 May 2017, 15:26:25 UTC |
2c7085f | Victor Stinner | 02 May 2017, 14:55:50 UTC | bpo-27593: Get SCM build info from git instead of hg (#1327) Based on commit 5c4b0d063aba0a68c325073f5f312a2c9f40d178 by Ned Deily, which is based on original patches by Brett Cannon and Steve Dower. Remove also the private _Py_svnversion() function and SVNVERSION variable. Note: Py_SubversionRevision() and Py_SubversionShortBranch() are unchanged, they are part of the public API. | 02 May 2017, 14:55:50 UTC |
6bed8f9 | Serhiy Storchaka | 01 May 2017, 16:53:45 UTC | bpo-30207: Install the Lib/test/support directory. (#1369) | 01 May 2017, 16:53:45 UTC |
a694e09 | Serhiy Storchaka | 30 April 2017, 08:36:58 UTC | bpo-30207: Rename test.test_support to test.support. (#1353) To simplify backports from Python 3, the test.test_support module was converted into a package and renamed to test.support. The test.script_helper module was moved into the test.support package. Names test.test_support and test.script_helper are left as aliases to test.support and test.support.script_helper. | 30 April 2017, 08:36:58 UTC |
4734c2d | csabella | 30 April 2017, 00:44:04 UTC | [2.7] bpo-30208: DOC: fix small typos in IDLE (#1358) (cherry picked from commit d9af73330f46d79cc0c56d369f65ebeec3cb5334) | 30 April 2017, 00:44:04 UTC |
941ea53 | Serhiy Storchaka | 28 April 2017, 17:06:30 UTC | [2.7] bpo-30197: Enhance swap_attr() and backport swap_item() in test.test_support. (#1341) (#1347) (cherry picked from commit d1a1def7bf221b04dcf3fc3a67aa19aa2f622f83) | 28 April 2017, 17:06:30 UTC |
5f4056a | Victor Stinner | 28 April 2017, 01:41:40 UTC | Fix "make tags" command (#1337) Backport enhancements from master, commits: * 9c4bfa6669e220efdd379b9f8e7db32bb4e25e72: "make tags": remove -t option of ctags. The option was kept for backward compatibility, but it was completly removed recently. Patch written by Stéphane Wirtel. * cf0ac6a71ae51249a05521f49c1a0fabbb948488: Fix "make tags": set locale to C to call sort * 8a543c0bc7347d5b333f334d157bf4a7cd33c14a: `make tags` fixes (GH-717) | 28 April 2017, 01:41:40 UTC |
219a3f9 | Victor Stinner | 28 April 2017, 00:56:40 UTC | Update gitignore from master (#1329) Ignore more generated files. | 28 April 2017, 00:56:40 UTC |
24404b4 | Mariatta | 27 April 2017, 05:25:40 UTC | [2.7] bpo-30182: Use the correct name for ISO in Unicode HOWTO. (GH-1312). (#1315) (cherry picked from commit 6fde770e4e940c19cd62de0b6aeb77840690843e) | 27 April 2017, 05:25:40 UTC |
19b3a48 | Dong-hee Na | 26 April 2017, 16:55:32 UTC | [2.7] bpo-30142: Remove "callable" from the 2to3fixer documentation. (GH-1305) | 26 April 2017, 16:55:32 UTC |
bfc7dff | Serhiy Storchaka | 23 April 2017, 05:58:09 UTC | [2.7] bpo-15718: Document the upper bound constrain on the __len__ return value. (GH-1256). (#1261) (cherry picked from commit 85157cd89a6edac347a5b6871fcf20c500c6fbbf) | 23 April 2017, 05:58:09 UTC |
91e5ee5 | Mariatta | 21 April 2017, 03:56:11 UTC | [2.7] Add missing .gitignore entries for VS2015 IntelliSense DB (GH-1223). (#1227) (cherry picked from commit 8e675286a92f33837cfffac5914b5175dac5d573) | 21 April 2017, 03:56:11 UTC |
fb12365 | Berker Peksag | 20 April 2017, 04:41:01 UTC | Remove redundant comma in argparse HOWTO (GH-1141) Reported by Sean Canavan on docs@p.o. (cherry picked from commit 8526fb74edf5ac9ca175b7cdcb0d82bb8780d2cf) | 20 April 2017, 04:41:01 UTC |
450a69c | cocoatomo | 20 April 2017, 03:57:21 UTC | bpo-19225: Remove duplicated description for standard warning categories (GH-1068) | 20 April 2017, 03:57:21 UTC |
2a1bf06 | Serhiy Storchaka | 19 April 2017, 21:48:57 UTC | [2.7] [3.5] bpo-30070: Fixed leaks and crashes in errors handling in the parser module. (GH-1131). (GH-1185) (#1189) (cherry picked from commit a79f4c219531c05fc8f670c1e4bbf12c081935d3). (cherry picked from commit 952a05e4e2cf082b74a1676a2804f1f43a9b7702) | 19 April 2017, 21:48:57 UTC |
64aa4df | Serhiy Storchaka | 19 April 2017, 19:34:58 UTC | [2.7] bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size() (GH-1096) (GH-1180) (#1183) raised an error. (cherry picked from commit bf623ae8843dc30b28c574bec8d29fc14be59d86) (cherry picked from commit 680fea4) | 19 April 2017, 19:34:58 UTC |
32c43fb | Christopher Snyder | 19 April 2017, 15:45:16 UTC | Fix typo in HTTPConnection.set_tunnel description (#1179) | 19 April 2017, 15:45:16 UTC |
89f9eb5 | Serhiy Storchaka | 16 April 2017, 07:08:47 UTC | bpo-29943: Remove the PySlice_GetIndicesEx() macro. (#1050) | 16 April 2017, 07:08:47 UTC |
5e79321 | Serhiy Storchaka | 15 April 2017, 17:11:12 UTC | bpo-30074: Fix compile warnings of _PySlice_Unpack and convert missed (#1154) PySlice_GetIndicesEx in _ctypes.c. | 15 April 2017, 17:11:12 UTC |
50f948e | Serhiy Storchaka | 15 April 2017, 15:35:46 UTC | bpo-30011: Fixed race condition in HTMLParser.unescape(). (#1140) | 15 April 2017, 15:35:46 UTC |
5fbdfc3 | Xiang Zhang | 15 April 2017, 05:18:22 UTC | bpo-30068: add missing iter(self) in _io._IOBase.readlines when hint is present (#1152) | 15 April 2017, 05:18:22 UTC |
0b46fcf | Michael Seifert | 15 April 2017, 02:04:22 UTC | [2.7] bpo-30059: Include Py_Ellipsis in C API documentation (GH-1018) (GH-1147) | 15 April 2017, 02:04:22 UTC |
b2b00e0 | Mariatta | 15 April 2017, 01:24:22 UTC | [2.7] bpo-29738: Fix memory leak in _get_crl_dp (GH-526) (GH-1144) * Remove conditional on free of `dps`, since `dps` is now allocated for all versions of OpenSSL * Remove call to `x509_check_ca` since it was only used to cache the `crldp` field of the certificate CRL_DIST_POINTS_free is available in all supported versions of OpenSSL (recent 0.9.8+) and LibreSSL. (cherry picked from commit 2849cc34a8db93d448a62d69c462402347b50dcb) | 15 April 2017, 01:24:22 UTC |
53ad684 | Serhiy Storchaka | 13 April 2017, 16:47:18 UTC | bpo-30021: Add examples for re.escape(). (#1048) (#1118) And fix the parameter name. (cherry picked from commit 8fc7bc2b7631ee819ee614e47b6f44bacebe1574) | 13 April 2017, 16:47:18 UTC |
65c5b09 | Serhiy Storchaka | 12 April 2017, 13:00:14 UTC | bpo-30027: Fix Py3k warnings in test_xml_etree. (#1065) | 12 April 2017, 13:00:14 UTC |
e0cba5b | Mariatta | 10 April 2017, 17:27:50 UTC | [2.7] bpo-29521: Fix two minor documentation build warnings (GH-41) (GH-670) (cherry picked from commit 3d707be950b387552585451071928e7b39cdfa53) | 10 April 2017, 17:27:50 UTC |
7026cd9 | Mariatta | 09 April 2017, 22:16:06 UTC | [2.7] Correct typo in configparser.rst (GH-1012) (GH-1026) (cherry picked from commit 01fa9ae5460b00bf1ced500c797176ebd3fb060d) | 09 April 2017, 22:16:06 UTC |
ab16dc1 | Nick Coghlan | 09 April 2017, 10:57:29 UTC | bpo-29506: Clarify deep copy note in copy module The reference to administrative data was confusing to readers, so this simplifies the note to explain that deep copying may copy more then you intended, such as data that you expected to be shared between copies. Patch by Sanyam Khurana. | 09 April 2017, 10:57:29 UTC |
d6d943a | Nick Coghlan | 09 April 2017, 08:32:48 UTC | Issue #29798: Handle git worktree in patchcheck (#1057) The original attempted fix missed an `isdir()` call in `get_base_branch()`. | 09 April 2017, 08:32:48 UTC |
e41390a | Serhiy Storchaka | 08 April 2017, 08:48:57 UTC | bpo-27867: Expand the PySlice_GetIndicesEx macro. (#1023) (#1046) (cherry picked from commit b879fe8) | 08 April 2017, 08:48:57 UTC |
7f85947 | cocoatomo | 08 April 2017, 06:19:24 UTC | [2.7] bpo-19225: Lack of c api exceptions doc (#964) * Keep the c-api exception doc up-to-date cherry-pick'ed from ec1f5df..e3d6db3 and fix conflict | 08 April 2017, 06:19:24 UTC |
9b50786 | Eric Wieser | 06 April 2017, 17:36:43 UTC | Fix references within buffer protocol docs (#1016) | 06 April 2017, 17:36:43 UTC |
d7564e5 | Mariatta | 04 April 2017, 12:49:31 UTC | remove merge=union attribute for Misc/NEWS (GH-460) (GH-989) (cherry picked from commit 060d2d776a29341c079cce37220324f9775140ba) | 04 April 2017, 12:49:31 UTC |
23d6eb6 | Victor Stinner | 03 April 2017, 16:11:22 UTC | bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS. (#462) (#973) * bpo-28087: Skip test_asyncore and test_eintr poll failures on macOS Skip some tests of select.poll when running on macOS due to unresolved issues with the underlying system poll function on some macOS versions. (cherry picked from commit de04644627f82d9dc48b3423def7ff5b4aa1926a) | 03 April 2017, 16:11:22 UTC |