summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Whoops, missed checking in version bump.v3.5.5rc1Larry Hastings2018-01-231-4/+4
|
* Bump version and copyright year for 3.5.5rc1.Larry Hastings2018-01-236-14/+14
|
* blurb release and pydoc topics for 3.5.5rc1.Larry Hastings2018-01-238-106/+13161
|
* [3.5] bpo-32072: Fix issues with binary plists. (GH-4455) (#4656)Serhiy Storchaka2018-01-233-37/+114
| | | | | | | | | | | | | | * [3.5] bpo-32072: Fix issues with binary plists. (GH-4455) * Fixed saving bytearrays. * Identical objects will be saved only once. * Equal references will be load as identical objects. * Added support for saving and loading recursive data structures. (cherry picked from commit a897aee) * Fix implementation dependent assertion in test_plistlib. (#4813) It is failed with an advanced optimizer.
* [3.5] bpo-32551: Consistently configure sys.path[0] (#5197)Nick Coghlan2018-01-233-28/+124
| | | | | | | | | | | | | | | | | | | | | | | | 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)
* [3.5] bpo-32563: Get expat to compile under C89 (#5201)Nick Coghlan2018-01-231-8/+12
| | | | | | | | | | | | | | | | * [3.5] bpo-32563: Get expat to compile under C89 expat: Add artificial scopes in xmltok.c utf8_toUtf8() to fix c89 compilation. Cherry-picked from libexpat commit e0b290eb3d8f4c4b45137a7d7f4f8db812145bd2 * Backport XML RPC test skip to 3.5 The buildbot service upgrade removed the XML-RPC interface, so this test no longer works (through no fault of the standard library). * Don't configure a nonexistent Python
* [3.5] bpo-32620: Remove failing pyenv call from CI config (#5274)Nick Coghlan2018-01-232-3/+1
| | | | | | | | | | * [3.5] Remove failing pyenv call from CI config * Backport XML RPC test skip to 3.5 The buildbot service upgrade removed the XML-RPC interface, so this test no longer works (through no fault of the standard library).
* bpo-30657: Fix CVE-2017-1000158 (#4664)Miro Hrončok2017-12-083-1/+11
| | | | | Fixes possible integer overflow in PyBytes_DecodeEscape. Co-Authored-By: Jay Bosamiya <jaybosamiya@gmail.com>
* Exclude VENVDIR in Doc builds (#3977)Ned Deily2017-10-122-2/+3
|
* Remove retired and security branches from active docs (#3882)3.5Ned Deily2017-10-041-2/+0
|
* bpo-31095: fix potential crash during GC (GH-2974) (#3196)INADA Naoki2017-09-2614-14/+60
| | | (cherry picked from commit a6296d34a478b4f697ea9db798146195075d496c)
* [3.5] bpo-31170: Fix inclusion of expat in Windows build projects. (#3751)Steve Dower2017-09-264-1/+15
| | | | | | * bpo-31170: Fix inclusion of expat in Windows build projects. * Fixes line endings
* [3.5][Security] bpo-30947, bpo-31170: Update expat from 2.2.1 to 2.2.4 (#3354)Victor Stinner2017-09-2523-153/+1289
| | | | | | | | | | | | | * bpo-30947, bpo-31170: Update expat from 2.2.1 to 2.2.4 * Upgrade libexpat embedded copy from version 2.2.1 to 2.2.3 to get security fixes. * Update libexpat from 2.2.3 to 2.2.4. Fix copying of partial characters for UTF-8 input (libexpat bug 115): https://github.com/libexpat/libexpat/issues/115 * Define XML_POOR_ENTROPY when compiling expat
* bpo-31568, Travis CI: Fix python3.5 (#3737)Victor Stinner2017-09-241-0/+3
| | | | Works around Travis CI bug about the python3.5 binary: https://github.com/travis-ci/travis-ci/issues/8363
* [3.5] Fix broken `Show Source` links on documentation pages (GH-3113) (#3126)Mariatta2017-09-081-1/+1
| | | | | | The `Show Source` was broken because of a change made in sphinx 1.5.1 In Sphinx 1.4.9, the sourcename was "index.txt". In Sphinx 1.5.1+, it is now "index.rst.txt". (cherry picked from commit b9ff498793611d1c6a9b99df464812931a1e2d69)
* [3.5] bpo-31036: Allow sphinx and blurb to be found automatically (GH-3440)Ned Deily2017-09-081-7/+14
| | | | | | | | | Rather than requiring the path to blurb and/or sphinx-build to be specified to the make rule, enhance the Doc/Makefile to look for each first in a virtual environment created by make venv and, if not found, look on the normal process PATH. This allows the Doc/Makefile to take advantage of an installed spinx-build or blurb and, thus, do the right thing most of the time. Also, make the directory for the venv be configurable and document the `make venv` target.
* Merge 3.5.4 release into main 3.5 branch.Larry Hastings2017-08-082-3/+1
|\
| * Remove .mention-bot (GH-2923) (GH-2971)Mariatta2017-08-011-3/+0
| | | | | | (cherry picked from commit e1e60bd95c376f9b18cbaf9481364281c6cc1bc7)
| * bpo-25910: Update LICENSE (GH-2873) (GH-2968)Mariatta2017-08-011-6/+5
| | | | | | | | Use the copy provided in https://bugs.python.org/issue25910GH-msg295200 (cherry picked from commit 8474d87165593bac2bc231287f42c4cff3fd6aaf)
| * Fix trivial typo in multiprocessing documentation (GH-2930) (GH-2941)Mariatta2017-07-291-1/+1
| | | | | | (cherry picked from commit 6fcb69dad579cc9a7dc15eabead43b6c37464f8c)
| * [3.5] bpo-31036: use an existing Misc/NEWS rather than trying to use blurb ↵Ned Deily2017-07-271-1/+13
| | | | | | | | | | | | | | | | (#2874) * bpo-31036: use an existing Misc/NEWS rather than trying to use blurb * bpo-31036: avoid echoing comments
| * [3.5] bpo-30876: Add new import test files to projects. (GH-2851). (#2913)Serhiy Storchaka2017-07-271-0/+1
| | | | | | (cherry picked from commit d5ed47dea25e04a3a144eddf99a4ac4a29242dbc)
* | Post-release version bump for 3.5.4 final.Larry Hastings2017-08-081-1/+1
| |
* | Version bump for 3.5.4 final.v3.5.4Larry Hastings2017-08-072-5/+5
| |
* | Blurb release and pydoc topics for 3.5.4 final.Larry Hastings2017-08-073-13089/+86
| |
* | bpo-25910: Update LICENSE (GH-2873) (GH-2968)Mariatta2017-08-071-6/+5
| | | | | | | | | | | | Use the copy provided in https://bugs.python.org/issue25910GH-msg295200 (cherry picked from commit 8474d87165593bac2bc231287f42c4cff3fd6aaf) (cherry picked from commit f6306e737203ac1bf1717bbf62bc58dac24b68db)
* | Fix trivial typo in multiprocessing documentation (GH-2930) (GH-2941)Mariatta2017-08-071-1/+1
| | | | | | | | | | (cherry picked from commit 6fcb69dad579cc9a7dc15eabead43b6c37464f8c) (cherry picked from commit 52c41f18086f3d8b1eb3854b568f04717c724e3d)
* | [3.5] bpo-31036: use an existing Misc/NEWS rather than trying to use blurb ↵Ned Deily2017-08-071-1/+13
|/ | | | | | | | | | (#2874) * bpo-31036: use an existing Misc/NEWS rather than trying to use blurb * bpo-31036: avoid echoing comments (cherry picked from commit 3de144890ad3bc50694368a1b33be6d7f3a780b3)
* [3.5] [security] bpo-30119: fix ftplib.FTP.putline() to throw an error for a ↵Dong-hee Na2017-07-263-1/+9
| | | | illegal command (#1214) (#2887)
* [3.5] bpo-31018: Switch to GH-pragma pack from __declspec(align) (GH-2848) ↵Segev Finer2017-07-251-1/+4
| | | | | (#2869) (cherry picked from commit 39243779f4c97ec6f700fa73c007ca66dfa9408e)
* Post-release version bump for 3.5.4rc1.Larry Hastings2017-07-251-1/+1
|
* Merge main 3.5 branch into 3.5.4rc1.Larry Hastings2017-07-253-9/+9
|\
| * bpo-30908: Fix dangling thread in test_os.TestSendfile (#2680) (#2845)Victor Stinner2017-07-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | tearDown() now clears explicitly the self.server variable to make sure that the thread is completely cleared when tearDownClass() checks if all threads have been cleaned up. Fix the following warning: $ ./python -m test --fail-env-changed -m test.test_os.TestSendfile.test_keywords -R 3:1 test_os (...) Warning -- threading_cleanup() failed to cleanup 0 threads after 3 sec (count: 0, dangling: 2) (...) Tests result: ENV CHANGED (cherry picked from commit d1cc037d1442cc35d1b194ec8e50901514360949)
| * Backport Mac installer fixes for git-based workflow (#2838)Ned Deily2017-07-241-5/+4
| |
| * bpo-29572: Update macOS installer build to OpenSSL 1.0.2k (#457) (#2835)Ned Deily2017-07-242-4/+4
| | | | | | (cherry picked from commit cfcd76777e35c83d548d8736f5d7dc92fe56d806)
* | Version bump & copyright year fixes for 3.5.4rc1.v3.5.4rc1Larry Hastings2017-07-243-8/+9
| |
* | Updated pydoc-topics for 3.5.4rc1.Larry Hastings2017-07-241-78/+13087
| |
* | Blurb release for 3.5.4rc1.Larry Hastings2017-07-24112-253/+1135
| |
* | Update 3.5 to use blurb!Larry Hastings2017-07-24134-9673/+28662
|/
* Mac installer build now needs venv for docs build (#2828) (#2833)Ned Deily2017-07-231-3/+3
| | | (cherry picked from commit 4c7532e96da19f2d5543bdab2b972797699c37d5)
* Add option to pass vcs info into Mac installer build (#2832)Ned Deily2017-07-231-2/+19
| | | (cherry picked from commit 4da52247d6ae53b8384f9753430e8cd2672ff97d)
* [3.5] Backport bpo-30876 (GH-2639), bpo-18018 and bpo-26367. (#2677)Serhiy Storchaka2017-07-239-382/+402
| | | | | | | | | | | | | | | | * bpo-30876: Relative import from unloaded package now reimports the package instead of failing with SystemError. Relative import from non-package now fails with ImportError rather than SystemError. (cherry picked from commit 8a9cd20edca7d01b68292036029ae3735ce65edd) * bpo-18018: Import raises ImportError instead of SystemError if a relative import is attempted without a known parent package. * bpo-26367: importlib.__init__() raises ImportError like builtins.__import__() when ``level`` is specified but without an accompanying package specified.
* [3.5] bpo-29403: Fix mock's broken autospec behavior on method-bound builtin ↵Berker Peksag2017-07-213-1/+18
| | | | | | | | | | | | | | | | | | | | | functions (GH-3) Cython will, in the right circumstances, offer a MethodType instance where im_func is a builtin function. Any instance of MethodType is automatically assumed to be a Python-defined function (more specifically, a function that has an inspectable signature), but _set_signature was still conservative in its assumptions. As a result _set_signature would return early with None instead of a mock since the im_func had no inspectable signature. This causes problems deeper inside mock, as _set_signature is assumed to _always_ return a mock, and nothing checked its return value. In similar corner cases, autospec will simply not check the spec of the function, so _set_signature is amended to now return early with the original, not-wrapped mock object. Patch by Aaron Gallagher. (cherry picked from commit 856cbcc12f2e4cca93af5dc7ed6bcea4dd942f10)
* bpo-30822: regrtest: remove tzdata (#2782)Victor Stinner2017-07-204-15/+4
| | | | | * Oops, tzdata was introduced in Python 3.6: remove it from regrtest * Remove also Lib/test/libregrtest/__init__.py file: add by mistake on a backport.
* bpo-30822: Exclude tzdata from regrtest --all (#2775) (#2781)Victor Stinner2017-07-204-4/+34
| | | | | | | | | | | | | | When running the test suite using --use=all / -u all, exclude tzdata since it makes test_datetime too slow (15-20 min on some buildbots) which then times out on some buildbots. -u tzdata must now be enabled explicitly, -u tzdata or -u all,tzdata, to run all test_datetime tests. Fix also regrtest command line parser to allow passing -u extralargefile to run test_zipfile64. Travis CI: remove -tzdata. Replace -u all,-tzdata,-cpu with -u all,-cpu since tzdata is now excluded from -u all. (cherry picked from commit 5b392bbaeb9d9b1db961ecfc7315d8c8662c27f6)
* [3.5] Fix typo in Turtle Docs: yingyang -> yinyang (GH-2770) (GH-2779)Mariatta2017-07-201-1/+1
| | | (cherry picked from commit fff2a21057b98732562098e3bdd65980551f0135)
* Update doc download files size estimates. (#2771) (#2773)Ned Deily2017-07-201-9/+9
|
* [3.5] bpo-30883: Use pythontest.net instead of debian.org in test_urllib2net ↵Ammar Askar2017-07-201-3/+3
| | | | (GH-2755)
* bpo-30961: Fix decrementing a borrowed reference in tracemalloc. (#2747) (#2749)Xiang Zhang2017-07-182-2/+2
| | | (cherry picked from commit 4ed5ad79ec6c6270e6018bd0a55656305ee60907)
* [3.5] bpo-30936: Fix a reference leak in json when fail to sort keys. ↵Serhiy Storchaka2017-07-162-1/+7
| | | | | (GH-2712). (#2728) (cherry picked from commit 49f6449ef4b81537c19b82329caaf60596c516c2)