]>
granicus.if.org Git - python/log
Louie Lu [Sat, 22 Apr 2017 11:48:53 +0000 (19:48 +0800)]
[3.6] Fix trailing colon and newline in test.rst (GH-1250) (#1254)
(cherry picked from commit
7fae81e1672d0b4110d31ea6a765b54f63a2e54b )
Mariatta [Sat, 22 Apr 2017 02:58:28 +0000 (19:58 -0700)]
bpo-30098: Clarify that run_coroutine_threadsafe expects asyncio.Future (GH-1170) (#1247)
(cherry picked from commit
ae5b3260dd459845aad8a30491b76d471577785d )
Mariatta [Sat, 22 Apr 2017 02:28:29 +0000 (19:28 -0700)]
[3.6] Correct the README link in Unix install docs (GH-1245) (GH-1248)
(cherry picked from commit
d1ae24e8880fe00d006eb2996af815c35fbcfb33 )
Victor Stinner [Fri, 21 Apr 2017 21:17:33 +0000 (23:17 +0200)]
bpo-30125: Fix faulthandler.disable() on Windows (#1243)
On Windows, faulthandler.disable() now removes the exception handler
installed by faulthandler.enable().
Steve Dower [Fri, 21 Apr 2017 18:28:46 +0000 (11:28 -0700)]
bpo-29191: Add liblzma.vcxproj to pcbuild.sln and other missing entries (GH-1222) (GH-1244)
liblzma is missing from pcbuild.sln. This causes the build of _lzma to fail when building the solution and not using build.bat.
Victor Stinner [Fri, 21 Apr 2017 16:27:29 +0000 (18:27 +0200)]
bpo-30107: don't dump core on expected test_io crash (#1235) (#1241)
test_io has two unit tests which trigger a deadlock:
* test_daemon_threads_shutdown_stdout_deadlock()
* test_daemon_threads_shutdown_stderr_deadlock()
These tests call Py_FatalError() if the expected bug is triggered
which calls abort(). Use test.support.SuppressCrashReport to prevent
the creation on a core dump, to fix the warning:
Warning -- files was modified by test_io
Before: []
After: ['python.core']
(cherry picked from commit
2a1aed04b0943636f605543522e16cca1dc23e70 )
Mariatta [Fri, 21 Apr 2017 03:55:59 +0000 (20:55 -0700)]
[3.6] Add missing .gitignore entries for VS2015 IntelliSense DB (GH-1223) (#1225)
(cherry picked from commit
8e675286a92f33837cfffac5914b5175dac5d573 )
Serhiy Storchaka [Thu, 20 Apr 2017 19:55:06 +0000 (22:55 +0300)]
bpo-29802: Fix the cleaning up issue in PyUnicode_FSDecoder(). (#1217)
Mariatta [Thu, 20 Apr 2017 14:12:37 +0000 (07:12 -0700)]
[3.6] bpo-30109: Fix reindent.py (GH-1207) (GH-1208)
Skip the file if it has bad encoding.
(cherry picked from commit
58f3c9dc8f5626abe09ac9738c34f6ba99ce2972 )
Dong-hee Na [Thu, 20 Apr 2017 08:26:25 +0000 (17:26 +0900)]
[3.6] bpo-12414: Update code_sizeof() to take in account co_extra memory. (#1168) (#1198)
Berker Peksag [Thu, 20 Apr 2017 04:42:32 +0000 (07:42 +0300)]
Remove redundant comma in argparse HOWTO (GH-1141)
Reported by Sean Canavan on docs@p.o.
(cherry picked from commit
8526fb74edf5ac9ca175b7cdcb0d82bb8780d2cf )
Berker Peksag [Thu, 20 Apr 2017 04:36:57 +0000 (07:36 +0300)]
bpo-30078: Add an example of passing a path to unittest (GH-1178)
(cherry picked from commit
f7e62cf8adfb8ab6a6a870903defe8ff218a0383 )
cocoatomo [Thu, 20 Apr 2017 03:54:06 +0000 (12:54 +0900)]
bpo-19225: Remove duplicated description for standard warning categories (GH-1068)
Serhiy Storchaka [Wed, 19 Apr 2017 20:59:02 +0000 (23:59 +0300)]
[3.6] bpo-30065: Fixed arguments validation in _posixsubprocess.fork_exec(). (GH-1110) (#1186)
(cherry picked from commit
66bffd1 )
Serhiy Storchaka [Wed, 19 Apr 2017 20:22:19 +0000 (23:22 +0300)]
[3.6] bpo-30070: Fixed leaks and crashes in errors handling in the parser module. (GH-1131). (#1184)
(cherry picked from commit
a79f4c219531c05fc8f670c1e4bbf12c081935d3 )
Serhiy Storchaka [Wed, 19 Apr 2017 18:22:49 +0000 (21:22 +0300)]
bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size() (#1096) (#1180)
raised an error.
(cherry picked from commit
bf623ae8843dc30b28c574bec8d29fc14be59d86 )
Serhiy Storchaka [Sun, 16 Apr 2017 09:04:45 +0000 (12:04 +0300)]
bpo-30017: Allowed calling the close() method of the zip entry writer object (#1041) (#1092)
multiple times. Writing to closed zip entry writer object now always produce
a ValueError.
(cherry picked from commit
4c0d9ea995da595e90e08813b89510de59907802 )
Xiang Zhang [Sat, 15 Apr 2017 05:25:15 +0000 (13:25 +0800)]
bpo-30068: add missing iter(self) in _io._IOBase.readlines when hint is present (#1130) (#1150)
Michael Seifert [Sat, 15 Apr 2017 02:03:41 +0000 (04:03 +0200)]
[3.6] bpo-30059: Include Py_Ellipsis in C API documentation (GH-1018) (GH-1149)
Mariatta [Sat, 15 Apr 2017 01:34:11 +0000 (18:34 -0700)]
[3.6] bpo-29738: Fix memory leak in _get_crl_dp (GH-526) (GH-1142)
* 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 )
Benjamin Peterson [Fri, 14 Apr 2017 16:59:34 +0000 (09:59 -0700)]
improve alignment autoconf test (#1129) (#1139)
Replace the deprecated AC_TRY_RUN with AC_RUN_IFELSE. Also, standardize the
variable name and allow for caching of the result.
Jack McCracken [Fri, 14 Apr 2017 14:44:34 +0000 (10:44 -0400)]
Fix misplaced positional argument in OS X support library (#1137)
Antoine Pitrou [Fri, 14 Apr 2017 11:37:46 +0000 (13:37 +0200)]
Relax test timing (bpo-29861) to avoid sporadic failures (#1120) (#1132)
(cherry picked from commit
685cdb9acc3fca04a9897d88b89771ddfd50e772 )
Mariatta [Fri, 14 Apr 2017 02:26:16 +0000 (19:26 -0700)]
[3.6] bpo-29694: race condition in pathlib mkdir with flags parents=True (GH-1089). (GH-1126)
(cherry picked from commit
22a594a0047d7706537ff2ac676cdc0f1dcb329c )
Mariatta [Thu, 13 Apr 2017 23:54:49 +0000 (16:54 -0700)]
[3.6] bpo-29869: Allow underscores in numeric literals in lib2to3. (GH-1119) (GH-1122)
* Allow underscores in numeric literals in lib2to3.
* Stricter literal parsing for Python 3.6 in lib2to3.pgen2.tokenize.
* Add test case for underscores in literals in Python 3.
(cherry picked from commit
a6e395dffadf8c5124903c01ad69fefa36b1a935 )
Mariatta [Thu, 13 Apr 2017 23:37:51 +0000 (16:37 -0700)]
[3.6] Fix a typo in Doc/library/functions.rst (GH-1117) (GH-1123)
Replace `For object's ... ` with `For objects ...`
(cherry picked from commit
873ef20d0007b4b120933473e6252d2309a70102 )
Benjamin Peterson [Thu, 13 Apr 2017 21:11:48 +0000 (14:11 -0700)]
convert from long long to PyLong loselessly (#1106) (#1121)
Serhiy Storchaka [Thu, 13 Apr 2017 16:41:19 +0000 (19:41 +0300)]
bpo-30021: Add examples for re.escape(). (#1048) (#1115)
And fix the parameter name.
(cherry picked from commit
8fc7bc2b7631ee819ee614e47b6f44bacebe1574 )
Berker Peksag [Thu, 13 Apr 2017 13:17:01 +0000 (16:17 +0300)]
bpo-29791: Clarify that flush is keyword-only argument (GH-1093)
Reported by Lucio Ricardo Montero Valenzuela.
(cherry picked from commit
61b9ac93712df8092a25223cd56fa6528359792b )
Mariatta [Thu, 13 Apr 2017 11:03:16 +0000 (04:03 -0700)]
Revert "bpo-29869: Allow underscores in numeric literals in lib2to3. (GH-752)" (GH-1109)
This reverts commit
97a40b7a5b2979fb17e1751c139fd4ba1ebd5276 .
The commit is supposed to go to the master branch first.
Nevada Sanchez [Thu, 13 Apr 2017 10:21:05 +0000 (06:21 -0400)]
bpo-29869: Allow underscores in numeric literals in lib2to3. (GH-752)
Mariatta [Thu, 13 Apr 2017 09:50:21 +0000 (02:50 -0700)]
[3.6] bpo-29692: contextlib.contextmanager may incorrectly unchain RuntimeError (GH-949) (#1105)
contextlib._GeneratorContextManager.__exit__ includes a special case to deal with
PEP 479 RuntimeErrors created when `StopIteration` is thrown into the context
manager body.
Previously this check was too permissive, and undid one level of chaining on *all*
RuntimeError instances, not just those that wrapped a StopIteration instance.
(cherry picked from commit
00c75e9a45ff0366c185e9e8a2e23af5a35481b0 )
Mariatta [Thu, 13 Apr 2017 03:52:39 +0000 (20:52 -0700)]
[3.6] Clarify exception handler scope in contextlib (GH-1103)
Moved explicit raise from inside try to try...else.
(cherry picked from commit
680e20beee8bbce9f857b8e7795009191f98b0ba )
Mariatta [Thu, 13 Apr 2017 03:45:54 +0000 (20:45 -0700)]
[3.6] Remove superfluous comment in urllib.error. (GH-1076) (GH-1101)
(cherry picked from commit
6fab78e9027f9ebd6414995580781b480433e595 )
Xiang Zhang [Thu, 13 Apr 2017 03:14:17 +0000 (11:14 +0800)]
bpo-26985: Add missing info of code object in inspect documentation (GH-1090) (GH-1099)
Mariatta [Thu, 13 Apr 2017 03:02:21 +0000 (20:02 -0700)]
[3.6] bpo-30047: Fix a typo in Doc/library/select.rst (GH-1086) (GH-1098)
(cherry picked from commit
3e0f1fc4e0ffcfcc706015fa3d67c262948ef171 )
Senthil Kumaran [Mon, 10 Apr 2017 03:37:44 +0000 (20:37 -0700)]
Remove OSError related comment in urllib.request. (#1072)
(cherry picked from commit
6dfcc81f6b1c82a71a1c876e14424fb8b3573447 )
Mariatta [Sun, 9 Apr 2017 22:17:28 +0000 (15:17 -0700)]
[3.6] Improvements to typing documentation (GH-967) (GH-1053)
Documents a few omitted classes and adds NamedTuple methods.
(cherry picked from commit
45d22c256bce3afcf57f49032a6b20fdec4f26ad )
Mariatta [Sun, 9 Apr 2017 22:17:06 +0000 (15:17 -0700)]
[3.6] bpo-29549: Fixes docstring for str.index (GH-256) (GH-1028)
(cherry picked from commit
43ba8861e0ad044efafa46a7cc04e12ac5df640e )
Mariatta [Sun, 9 Apr 2017 22:15:57 +0000 (15:15 -0700)]
[3.6] Correct typo in configparser.rst (GH-1012) (GH-1025)
(cherry picked from commit
01fa9ae5460b00bf1ced500c797176ebd3fb060d )
Senthil Kumaran [Sun, 9 Apr 2017 17:15:06 +0000 (10:15 -0700)]
Remove invalid comment in urllib.request. (#1055)
(cherry picked from commit
a2a9ddd923a849124bdd1c484f70f02df6fde0e9 )
Nick Coghlan [Sun, 9 Apr 2017 10:57:04 +0000 (20:57 +1000)]
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.
(cherry picked from commit
19e04942562a980ad2519f6ff79c455a7472783b )
Nick Coghlan [Sun, 9 Apr 2017 09:22:36 +0000 (19:22 +1000)]
bpo-29798: Handle git worktree in patchcheck (#1058) (#1060)
The original attempted fix missed an `isdir()` call in
`get_base_branch()`.
(cherry picked from commit
2abfdf5a81383d3b1ed6b7321903a9a168c373c5 )
Serhiy Storchaka [Sat, 8 Apr 2017 08:25:47 +0000 (11:25 +0300)]
bpo-29998: Pickling and copying ImportError now preserves name and path (#1010) (#1042)
attributes.
(cherry picked from commit
b785396ab451b0c9d6ae9ee5a9e56c810209a6cb )
Serhiy Storchaka [Sat, 8 Apr 2017 08:18:14 +0000 (11:18 +0300)]
Expand the PySlice_GetIndicesEx macro. (#1023) (#1044)
(cherry picked from commit
b879fe82e7e5c3f7673c9a7fa4aad42bd05445d8 )
Vinay Sajip [Fri, 7 Apr 2017 22:23:08 +0000 (23:23 +0100)]
bpo-29939: suppress compiler warnings in _ctypes_test (#1038)
bpo-29939: Changed test code to suppress a compiler warning, while taking care to avoid the code being optimized out by the compiler.
(cherry picked from commit
164d30eb1e66575dafee6af4fca4cbf52c7fbe6a )
Barry Warsaw [Fri, 7 Apr 2017 20:50:13 +0000 (16:50 -0400)]
Fix a minor typo. (#1032) (#1037)
(cherry picked from commit
dd9a0a14c89d57e43898d4b866b8c161e4ff8506 )
Senthil Kumaran [Fri, 7 Apr 2017 07:56:59 +0000 (00:56 -0700)]
Remove Invalid comment in test_urllib2.py. (#1022)
(cherry picked from commit
fd0cd07a5a3c964c084f4efc5bbcb89dd2193ee6 )
Senthil Kumaran [Thu, 6 Apr 2017 15:38:38 +0000 (08:38 -0700)]
correct parse_qs and parse_qsl test case descriptions. (#968) (#997)
(cherry picked from commit
257b980b316a5206ecf6c23b958e2b7c4df4f3de )
Serhiy Storchaka [Wed, 5 Apr 2017 10:18:18 +0000 (13:18 +0300)]
Miscellaneous minor fixes of Misc/NEWS formatting. (#1002) (#1003)
(cherry picked from commit
a0157b5f11e621f2196af4e918b9f07688a6cd1c )
Mariatta [Tue, 4 Apr 2017 09:49:14 +0000 (11:49 +0200)]
remove merge=union attribute for Misc/NEWS (GH-460) (GH-988)
(cherry picked from commit
060d2d776a29341c079cce37220324f9775140ba )
Senthil Kumaran [Tue, 4 Apr 2017 05:27:15 +0000 (22:27 -0700)]
bpo-29725: DOC: add text for arraysize in sqlite3.Cursor (#947) (#985)
(cherry picked from commit
02e12138000da834f23719521a011fa93763384d )
cocoatomo [Mon, 3 Apr 2017 16:26:32 +0000 (01:26 +0900)]
Keep the c-api exception doc up-to-date (#966)
cherry-pick'ed from
ec1f5df ..
e3d6db3
Senthil Kumaran [Sun, 2 Apr 2017 08:36:58 +0000 (01:36 -0700)]
Minor spell fix and formatting fixes in urllib tests. (#959) (#961)
(cherry picked from commit
efbd4ea65dbb9f87b1afeec6a760802756badee5 )
T. Wouters [Sun, 2 Apr 2017 03:20:05 +0000 (20:20 -0700)]
bpo-29941: Assert fixes (#886) (#955)
Make a non-Py_DEBUG, asserts-enabled build of CPython possible. This means
making sure helper functions are defined when NDEBUG is not defined, not
just when Py_DEBUG is defined.
Also fix a division-by-zero in obmalloc.c that went unnoticed because in
Py_DEBUG mode, elsize is never zero.
(cherry picked from commit
a00c3fd12d421e41b769debd7df717d17b0deed5 and
06bb4873d6a9ac303701d08a851d6cd9a51e02a3 )
Senthil Kumaran [Sun, 2 Apr 2017 03:00:36 +0000 (20:00 -0700)]
bpo-26947: DOC: clarify wording on hashable in glossary (#948) (#957)
(cherry picked from commit
64c887ab3a400cf91bde4f0c5ef69eacc88bc5e1 )
Senthil Kumaran [Sun, 2 Apr 2017 02:57:04 +0000 (19:57 -0700)]
Add helpful explaination to test_password_manager tests. (#936) (#941)
Also uncomment and fix a path test.
(cherry picked from commit
1f5425ff69ea0531d869b4f9fa28bd3f66ca3de7 )
INADA Naoki [Sat, 1 Apr 2017 14:29:31 +0000 (23:29 +0900)]
bpo-29949: Fix set memory usage regression (GH-945)
Revert "Minor factoring: move redundant resize scaling logic into the resize function."
This reverts commit
4897300276d870f99459c82b937f0ac22450f0b6 .
(cherry picked from commit
e82cf8675bacd7a03de508ed11865fc2701dcef5 )
Serhiy Storchaka [Fri, 31 Mar 2017 20:23:49 +0000 (23:23 +0300)]
bpo-29953: Fix memory leaks in the replace() method of datetime and t… (#933)
objects when pass out of bound fold argument.
(cherry picked from commit
314d6fca36a4eaa0541218431d14804fadec6488 )
Mariatta [Fri, 31 Mar 2017 09:12:18 +0000 (02:12 -0700)]
bpo-28810: Update lnotab_notes.txt (GH-665) (GH-919)
(cherry picked from commit
9135275cba680902e6caf29461f0423dc570190d )
INADA Naoki [Fri, 31 Mar 2017 06:43:10 +0000 (15:43 +0900)]
bpo-29952: Use usual terminology of dict (GH-922)
s/keys and elements/keys and values/
(cherry picked from commit
cdcac039fb447f2ab04efcacbe663751bb2cb4ec )
Senthil Kumaran [Fri, 31 Mar 2017 06:15:51 +0000 (23:15 -0700)]
Remove catching OSError in ftphandler test. Only URLError is raised in urllib.request module. (#918) (#920)
(cherry picked from commit
ed3dd1c02af6872bd0748f7b9a5dadb89f7b830f )
T. Wouters [Thu, 30 Mar 2017 19:48:23 +0000 (12:48 -0700)]
bpo-29942: Fix the use of recursion in itertools.chain.from_iterable. (#911)
* bpo-29942: Fix the use of recursion in itertools.chain.from_iterable.
Fix the use of recursion in itertools.chain.from_iterable. Using recursion
is unnecessary, and can easily cause stack overflows, especially when
building in low optimization modes or with Py_DEBUG enabled.
(cherry picked from commit
5466d4af5fe76ec0a5fbc8a05675287d9e8e9d14 )
Mariatta [Thu, 30 Mar 2017 19:27:19 +0000 (12:27 -0700)]
bpo-29928: Add f-string to the Glossary (GH-864) (GH-914)
(cherry picked from commit
33db068dac7686e37736f7ecf8abb2aee0345cf2 )
Serhiy Storchaka [Thu, 30 Mar 2017 16:46:59 +0000 (19:46 +0300)]
bpo-29935: Fixed error messages in the index() method of tuple, list and deque (#887) (#907)
when pass indices of wrong type.
(cherry picked from commit
d4edfc9abffca965e76ebc5957a92031a4d6c4d4 )
Serhiy Storchaka [Thu, 30 Mar 2017 15:08:21 +0000 (18:08 +0300)]
bpo-27863: Fixed multiple crashes in ElementTree. (#765) (#903)
(cherry picked from commit
576def096ec7b64814e038f03290031f172886c3 )
Senthil Kumaran [Thu, 30 Mar 2017 06:56:52 +0000 (23:56 -0700)]
Remove an unrequired TODO in test_urllib2. (#897) (#900)
(cherry picked from commit
e6911a44f69c0d302db60f49952a9cf69da69a2b )
Senthil Kumaran [Thu, 30 Mar 2017 05:29:00 +0000 (22:29 -0700)]
bpo-29917: DOC: Remove link from PyMethodDef (#890) (#894)
(cherry picked from commit
c3c7ef088583cc12bd218138036d1edb6de9c63f )
Mariatta [Thu, 30 Mar 2017 02:10:07 +0000 (19:10 -0700)]
bpo-29677: DOC: clarify documentation for `round` (GH-877) (GH-892)
(cherry picked from commit
85deefcf61d3cc192846f41a4ccc6df17da60c98 )
Xiang Zhang [Wed, 29 Mar 2017 04:50:28 +0000 (12:50 +0800)]
bpo-28699: fix abnormal behaviour of pools in multiprocessing.pool (GH-882)
an exception raised at the very first of an iterable would cause pools behave abnormally
(swallow the exception or hang)
Mariatta [Tue, 28 Mar 2017 16:33:54 +0000 (09:33 -0700)]
bpo-16011: clarify that 'in' always returns a boolean value (GH-874)
(cherry picked from commit
0ae7c8bd614d3aa1fcaf2d71a10ff1148c80d9b5 )
INADA Naoki [Tue, 28 Mar 2017 15:25:26 +0000 (00:25 +0900)]
bpo-29643: Fix check for --enable-optimizations (GH-869)
The presence of the ``--enable-optimizations`` flag is indicated by the
value of ``$enableval``, but the configure script was checking ``$withval``,
resulting in the ``--enable-optimizations`` flag being effectively ignored.
(cherry picked from commit
8cea5929f52801b0ce5928b46ef836e99a24321a )
Mariatta [Tue, 28 Mar 2017 00:02:29 +0000 (17:02 -0700)]
bpo-29677: DOC: clarify documentation for `round` (GH-357) (GH-862)
(cherry picked from commit
6003db7db5fec545c01923c198a5fdfca5a91538 )
Brett Cannon [Mon, 27 Mar 2017 23:46:31 +0000 (16:46 -0700)]
Drop the standard gcc test build on Travis (GH-853) (GH-859)
Instead have gcc be used for the coverage build so gcc is exercised in at least one place.
(cherry picked from commit
ad2f9e2c8a0b44b3e6aec9d28ba59e13239236f7 )
Zachary Ware [Mon, 27 Mar 2017 05:35:56 +0000 (00:35 -0500)]
Minor test cleanup (GH-837) (GH-838)
* Remove unused test file
* Remove duplicated text in sndhdrdata README
(cherry picked from commit
b8a7daf077dab18e9e3701c5380b542ae0aa9a94 )
Zachary Ware [Mon, 27 Mar 2017 03:53:57 +0000 (22:53 -0500)]
Treat Sphinx warnings as errors (GH-832) (GH-834)
* Treat Sphinx warnings as errors (GH-832)
(cherry picked from commit
334e9ec938ea9876baadef15edb135d6d2aff30c )
* Remove unused suspicious rules
Mariatta [Mon, 27 Mar 2017 02:53:37 +0000 (19:53 -0700)]
import sys before we use it on line 9 (GH-828) (GH-833)
(cherry picked from commit
0579e81f30d00da562f021760d5b6a9c35186520 )
Ned Deily [Sun, 26 Mar 2017 17:58:13 +0000 (13:58 -0400)]
bpo-29888: Fix the link referring to the "Python download page" (GH-824) (GH-826)
(cherry picked from commit
f8beb9831acd5cf80b9c56aea5864e16118c5400 )
Mariatta [Sat, 25 Mar 2017 10:41:59 +0000 (03:41 -0700)]
bpo-29862: Fix grammar in importlib.reload() exception (GH-809) (GH-811)
(cherry picked from commit
9f0aa4843f8c26937d5817f27cac4aae9c0a034f )
Mariatta [Sat, 25 Mar 2017 03:04:40 +0000 (20:04 -0700)]
bpo-29892: Fix wrong markup on doc-lib-functions (GH-802) (GH-810)
(cherry picked from commit
29540cdf6c66df9f806375a95078c0c63192ef78 )
Brett Cannon [Fri, 24 Mar 2017 21:18:53 +0000 (14:18 -0700)]
bpo-28810: Document remaining bytecode changes in 3.6 (GH-651) (GH-808)
(cherry picked from commit
8f9e1bbf2dbdf46a0bf920279568a31460043376 )
Serhiy Storchaka [Fri, 24 Mar 2017 19:46:25 +0000 (21:46 +0200)]
bpo-25803: Avoid incorrect errors raised by Path.mkdir(exist_ok=True)… (#806)
when the OS gives priority to errors such as EACCES over EEXIST.
(cherry picked from commit
af7b9ec5c855366feef4c67dc492d64b3baf84ca )
Antoine Pitrou [Fri, 24 Mar 2017 13:45:34 +0000 (14:45 +0100)]
bpo-29861: release references to multiprocessing Pool tasks (#743) (#800)
* bpo-29861: release references to multiprocessing Pool tasks (#743)
* bpo-29861: release references to multiprocessing Pool tasks
Release references to tasks, their arguments and their results as soon
as they are finished, instead of keeping them alive until another task
arrives.
* Comments in test
(cherry picked from commit
8988945cdc27ffa86ba8c624e095b51c459f5154 )
* Fix Misc/NEWS (hopefully)
Christophe Zeitouny [Fri, 24 Mar 2017 11:20:40 +0000 (04:20 -0700)]
faulthandler: Restore the old sigaltstack during teardown (GH-777) (GH-797)
(cherry picked from commit
20fbf8accd494fd15b0fc4c84928178c71ead4d1 )
Mariatta [Thu, 23 Mar 2017 01:56:56 +0000 (18:56 -0700)]
Remove an outdated statement in execution model docs (GH-754) (GH-775)
(cherry picked from commit
fad7f1560669af1766c583c7ef242c55d8c8de41 )
INADA Naoki [Wed, 22 Mar 2017 12:09:41 +0000 (21:09 +0900)]
bpo-28331: fix impl-detail label is removed when content is translated. (GH-769)
(cherry picked from commit
c351ce6a2c923c5016e48ecbf7b1e4833031d154 )
INADA Naoki [Wed, 22 Mar 2017 08:14:03 +0000 (17:14 +0900)]
doc: minor fix for library/profile (GH-766)
(cherry picked from commit
bd3d8ba3b22da0bad018b53a3e6610ae03c5aa49 )
Xiang Zhang [Wed, 22 Mar 2017 07:26:53 +0000 (15:26 +0800)]
fix function name in tabnanny documentation (GH-762)
Serhiy Storchaka [Wed, 22 Mar 2017 05:45:23 +0000 (07:45 +0200)]
bpo-29864: Don't use Py_SIZE for dict object. (#747) (#750)
Ned Deily [Wed, 22 Mar 2017 01:03:20 +0000 (21:03 -0400)]
Merge branch '3.6.1' of github.com:ned-deily/cpython into 3.6
Ned Deily [Wed, 22 Mar 2017 00:39:58 +0000 (20:39 -0400)]
Bump to 3.6.2rc1 development.
Ned Deily [Wed, 22 Mar 2017 00:21:49 +0000 (20:21 -0400)]
Revert and fix Misc/NEWS after merge error in
fca705d53397 . (#755)
INADA Naoki [Tue, 21 Mar 2017 18:46:26 +0000 (03:46 +0900)]
bpo-29859: Fix error messages from return codes for pthread_* calls (GH-753)
(cherry picked from commit
d7fa6b259e00fca04dbf816bfcf4115fdda14bb7 )
Ned Deily [Tue, 21 Mar 2017 06:32:38 +0000 (02:32 -0400)]
Update docs and patchlevel for 3.6.1 final
Ned Deily [Tue, 21 Mar 2017 04:35:08 +0000 (00:35 -0400)]
bpo-27593: Revise git SCM build info. (#744) (#745)
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
e9213d929d7b0075539e87416f6a6fb86c27454b )
Steve Dower [Thu, 16 Mar 2017 18:03:03 +0000 (11:03 -0700)]
Takes vcruntime140.dll from the correct source. (#684)
(cherry picked from commit
9cd5e87bac51d7b901e3c36bf22728bb1693da59 )
Nick Coghlan [Sun, 12 Mar 2017 11:34:22 +0000 (21:34 +1000)]
[3.6] bpo-29723: Consistently configure sys.path[0] (#636)
Directory and zipfile execution previously added
the parent directory of the directory or zipfile
as sys.path[0] and then subsequently overwrote
it with the directory or zipfile itself.
This caused problems in isolated mode, as it
overwrote the "stdlib as a zip archive" entry
in sys.path, as the parent directory was
never added.
The attempted fix to that issue in bpo-29319
created the opposite problem in *non*-isolated
mode, by potentially leaving the parent
directory on sys.path instead of overwriting it.
This change fixes the root cause of the problem
by removing the whole "add-and-overwrite" dance
for sys.path[0], and instead simply never adds
the parent directory to sys.path in the first
place.
(cherry picked from commit
d2977a3ae2cc6802921b1e3b6e9d13fcfbda872d )
(cherry picked from commit
c60948464fb0ec116ea227f6bce8a4bb8fb75257 )
n.d. parker [Wed, 8 Mar 2017 22:27:46 +0000 (23:27 +0100)]
Fix the only non-C90 comment to be C90 compatible. (#568)
(cherry picked from commit
51b646a55a4a1c4d0df764c4404a062fbcc6b356 )
INADA Naoki [Mon, 6 Mar 2017 08:24:28 +0000 (17:24 +0900)]
bpo-29719: Remove Date and Release field in whatsnew/3.6 (GH-500)
(cherry picked from commit
2225ddaa9e64c086b2b6997b0c9ac50921f7aa85 )
(cherry picked from commit
4e1a065c20856a00d0fe88ce022b249170608058 )
Steve Dower [Mon, 6 Mar 2017 03:58:06 +0000 (19:58 -0800)]
Fixes the upload script to purge the CDN correctly and display success output. (#466) (#497)
(cherry picked from commit
e544b40faa5ab61b6aba691577d90b2b641f664d )