summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-23495: Correct the documentation for writerows() of csv Writer objects ↵Miss Islington (bot)2018-06-021-2/+3
| | | | | | | | (GH-6316) `writerows()` takes an iterable. (cherry picked from commit a801cf164be7c62b6a6dba47ff91d6c3edb67729) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-33532: Fix test_multiprocessing_forkserver.test_ignore() (GH-7323)Victor Stinner2018-06-011-23/+25
| | | | | | Use also support.SOCK_MAX_SIZE, not only support.PIPE_MAX_SIZE, to get the size for a blocking send into a multiprocessing pipe. Replace also test_support with support.
* bpo-31479: Always reset the signal alarm in tests (GH-3588) (GH-7314)Victor Stinner2018-06-017-24/+42
| | | | | | | | | | | | | | * bpo-31479: Always reset the signal alarm in tests Use "try: ... finally: signal.signal(0)" pattern to make sure that tests don't "leak" a pending fatal signal alarm. * Move two more alarm() calls into the try block Fix also typo: replace signal.signal(0) with signal.alarm(0) * Move another signal.alarm() into the try block (cherry picked from commit 9abee722d448c1c00c7d4e11ce242ec7b13e5c49)
* bpo-33692: Update pythoninfo from master (GH-7304)Victor Stinner2018-06-011-0/+29
| | | * bpo-33717: pythoninfo: add CC --version (GH-7290)
* Add a crasher to Lib/test for issue #26153. This crasher doesn't crash (#6518)T. Wouters2018-05-311-0/+29
| | | | Python 3.6, although I've seen the same crash in 3.6 (when involving extension types and more complicated threading setups).
* [2.7] bpo-33677: Fix the signature of tp_clear handler for deque. (GH-7196). ↵Serhiy Storchaka2018-05-311-3/+4
| | | | | | (GH-7277) (cherry picked from commit a5c42284e69fb309bdd17ee8c1c120d1be383012)
* bpo-33532: Fix multiprocessing test_ignore() (GH-7265)Victor Stinner2018-05-311-2/+3
| | | | Fix test_multiprocessing.test_ignore(): use support.PIPE_MAX_SIZE to make sure that send_bytes() blocks.
* bpo-33645: Fix an "unknown parsing error" in the parser. (GH-7119)Serhiy Storchaka2018-05-313-1/+12
| | | | It is reproduced when parse the "<>" operator and run Python with both options -3 and -We.
* bpo-33692: pythoninfo detect libedit on Python 2.7 (#7246)Victor Stinner2018-05-301-0/+8
| | | | Check which readline implementation is used based on the readline docstring.
* bpo-29512: Rename Lib/test/bisect.py to bisect_cmd.py (#7229)Victor Stinner2018-05-302-0/+3
| | | | | | | | | Rename Lib/test/bisect.py to Lib/test/bisect_cmd.py. The old name was in conflict with Lib/bisect.py, causing test failures, depending how tests were run. For example, "python2.7 Lib/test/test_httpservers.py" imported indirectly Lib/test/bisect.py instead of Lib/bisect.py on "import bisect".
* [2.7] Improve ensurepip's --help (GH-4686) (GH-7240)Petr Viktorin2018-05-301-2/+2
| | | | | | | | | | * Add a space to ensurepip's --altinstall option * Add periods to the arguments of ensurepip that didn't have it This makes --help for all optional arguments consistent and also makes it consistent with pip --help.. (cherry picked from commit e9537ad6a128924dd610bea2268065500c174181) Co-authored-by: Wieland Hoffmann <mineo@users.noreply.github.com>
* [2.7] bpo-33670: Expose Sphinx errorlevel (GH-7156). (GH-7201)Andrés Delfino2018-05-291-1/+1
| | | | | (cherry picked from commit 8c1ad0c4f69390fded09012e1ed5242c45753bb4) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* test.regrtest: flush stdout to display progress (#7120)Victor Stinner2018-05-281-1/+2
| | | Call sys.stdout.flush() after displaying "running: ...".
* [2.7] bpo-33595: Fix lambda parameters being refered as arguments (GH-7037) ↵Terry Jan Reedy2018-05-252-3/+3
| | | | | | | (GH-7122) (cherry picked from commit 268cc7c) Co-authored-by: Andrés Delfino adelfino@gmail.com
* bpo-33354: Fix test_ssl when a filename cannot be encoded (GH-6613)Pablo Galindo2018-05-242-1/+10
| | | | Skip test_load_dh_params() of test_ssl when Python filesystem encoding cannot encode the provided path.
* [2.7] bpo-33622: Fix issues with handling errors in the GC. (GH-7078) (#7096)Serhiy Storchaka2018-05-242-6/+10
| | | | | | | | * Fixed a leak when the GC fails to add an object with __del__ into the gc.garbage list. * PyGC_Collect() can now be called when an exception is set and preserves it. (cherry picked from commit 301e3cc8a5bc68c5347ab6ac6f83428000d31ab2)
* [2.7] bpo-33518: Add PEP entry to documentation glossary (GH-6860). (#6936)Andrés Delfino2018-05-221-0/+15
| | | | | (cherry picked from commit d5f144260886959c1fe06bc4506a23fd10f92348) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
* [2.7] Fix line breaks added after hyphens by blurb. (GH-7052)Serhiy Storchaka2018-05-2215-63/+63
|
* bpo-33583: Add note in PyObject_GC_Resize() doc (GH-7021)Miss Islington (bot)2018-05-212-1/+2
| | | | | (cherry picked from commit 1179f4b40f375af5c59cd4b6be9cc313fa0e1a37) Co-authored-by: INADA Naoki <methane@users.noreply.github.com>
* [2.7] bpo-33542: Ignore DUID in uuid.get_node on Windows. (GH-6922) (GH-7015)Serhiy Storchaka2018-05-203-1/+4
| | | | | | | | | uuid._ipconfig_getnode did not validate the maximum length of the value, so long as the value had the same type of formatting as a MAC address. This let it select DUIDs as MAC addresses. It now requires an exact length match.. (cherry picked from commit c66c342cb42ab8a88884527ddfe3a5086bc06316) Co-authored-by: CtrlZvi <viz+github@flippedperspective.com>
* bpo-16055: Fixes incorrect error text for int('1', base=1000) (#6980)Victor Stinner2018-05-182-2/+2
| | | | Fixes incorrect error text for int('1', base=1000) and long('1', base=1000).
* [2.7] Fix C API docs: PyCapsule_Import always set an exception on failure. ↵Miss Islington (bot)2018-05-181-2/+9
| | | | | | (GH-6967) (GH-6970) (cherry picked from commit bde3e0bf096219234321ca9898fc3d3aed598453)
* [2.7] bpo-33503: Fix the broken pypi link in the source and the ↵Stéphane Wirtel2018-05-1626-36/+35
| | | | | | | documentation (GH-6814). (GH-6905) (cherry picked from commit 19177fbd5d6d9b29ccc302d65f9d9417ece082ce) Co-authored-by: Stéphane Wirtel <stephane@wirtel.be>
* [2.7] bpo-32861: robotparser fix incomplete __str__ methods. (GH-5711) ↵Serhiy Storchaka2018-05-144-1/+34
| | | | | | | | | (GH-6795) (GH-6817) The robotparser's __str__ representation now includes wildcard entries. (cherry picked from commit c3fa1f2b93fa4bf96a8aadc74ee196384cefa31e) Co-authored-by: Michael Lazar <lazar.michael22@gmail.com>.
* bpo-22069: Update TextIO documentation (GH-6609)Miss Islington (bot)2018-05-141-1/+1
| | | | | | Clarify that flush is implied when the call to write contains a newline character. (cherry picked from commit 7ffd4c58fae08b29259eebd6cbcd2287820b14e8) Co-authored-by: Elena Oat <oat.elena@gmail.com>
* bpo-33038: Fix gzip.GzipFile for file objects with a non-string name ↵Bo Bayles2018-05-094-3/+20
| | | | attribute. (GH-6095)
* [2.7] bpo-13525: Fix incorrect encoding name in the tutorial example. ↵Serhiy Storchaka2018-05-091-2/+2
| | | | | | (GH-6738). (GH-6744) (cherry picked from commit ddb6215a55b0218b621d5cb755e9dfac8dab231a)
* bpo-33096: Removed unintentionally backported from Python 3 Tkinter files. ↵Serhiy Storchaka2018-05-083-3532/+1
| | | | | (GH-6724) This partially reverts commit e80a232f2cfdab584133d9779c83885c5f9f1ba6.
* [2.7] bpo-33422: Fix quotation marks getting deleted when looking up ↵Andrés Delfino2018-05-072-2/+10
| | | | | | | byte/string literals on pydoc. (GH-6701) (GH-6712) Also update the list of string prefixes. (cherry picked from commit b2043bbe6034b53f5ad337887f4741b74b70b00d)
* [2.7] bpo-20087: Update locale alias mapping with glibc 2.27 supported ↵Serhiy Storchaka2018-05-063-6/+59
| | | | | | locales. (GH-6708). (GH-6717) (cherry picked from commit cedc9b74202d8c1ae39bca261cbb45d42ed54d45)
* bpo-32857: Raise error when tkinter after_cancel() is called with None. ↵Cheryl Sabella2018-05-053-3/+129
| | | | | (GH-5701) (GH-6620) (cherry picked from commit 74382a3f175ac285cc924a73fd758e8dc3cc41bb)
* [2.7] bpo-32362: Fix references to non-existent multiprocessing.Connection() ↵Bo Bayles2018-05-051-7/+11
| | | | | | | | (GH-6223) (GH-6646) (cherry picked from commit 9f3535c9cde8813ce631d6ebe4d790682f594828) Co-authored-by: Bo Bayles <bbayles@gmail.com>
* bpo-33391: Fix refleak in set_symmetric_difference (GH-6670)Miss Islington (bot)2018-05-022-1/+4
| | | | | (cherry picked from commit 491bbedc209fea314a04cb3015da68fb0aa63238) Co-authored-by: lekma <lekmalek@gmail.com>
* Mitigate macOS race condition in installer build (GH-6686) (#6689)Miss Islington (bot)2018-05-021-0/+4
| | | | | (cherry picked from commit fc6aa28bfd0502d994cec30bd3679b7def3be2af) Co-authored-by: Ned Deily <nad@python.org>
* [2.7] bpo-33256: Replace angle brackets around python object repr to display ↵Serhiy Storchaka2018-04-303-2/+4
| | | | | | | it in html (GH-6442). (GH-6650) (cherry picked from commit 7d68bfa82654ba01d860b8a772ff63bf0bd183ee) Co-authored-by: sblondon <sblondon@users.noreply.github.com>
* Fix reference to exceptions in multprocessing docs. (GH-6647)Bo Bayles2018-04-301-2/+15
|
* 2.7.15+Benjamin Peterson2018-04-291-1/+1
|
* merge 2.7.15 release branchBenjamin Peterson2018-04-292-3/+9
|\
| * bump to 2.7.15v2.7.15Benjamin Peterson2018-04-291-3/+3
| |
| * generate 2.7.15 NEWSBenjamin Peterson2018-04-291-0/+6
| |
* | Merge 2.7.15 release branchBenjamin Peterson2018-04-292-1/+19
|\ \ | |/
| * Indicate that _PyGC_Head is only 8-byte aligned. (closes bpo-33374)Florian Weimer2018-04-292-1/+19
| | | | | | | | | | | | | | | | | | By spec, the "long double" in _PyGC_Head requires the union to always be 16-byte aligned. However, obmalloc only yields 8-byte alignment. Compilers including GCC 8 are starting to use alignment information to do store-merging. So, the "long double" needs to be changed to a simple "double" as was long ago done in Python 3 by e348c8d154cf6342c79d627ebfe89dfe9de23817. For 2.7, we need to add some dummy padding to make sure _PyGC_Head stays the same size.
* | [2.7] bpo-33280: Reorganize external Tcl/Tk references. (GH-6473). (GH-6607)Andrés Delfino2018-04-261-18/+28
| | | | | | | | | | | | (cherry picked from commit 67a8f4fed3169e1b8c947c10f6e06863e399ae32) Co-authored-by: Andrés Delfino <34587441+andresdelfino@users.noreply.github.com>
* | fix running the curses.has_key module (closes bpo-33359) (GH-6608)Benjamin Peterson2018-04-262-1/+2
| | | | | | This was broken by poor automated translation back in 6e3dbbdf39f3b4eb6f18c0165e446df17218b7dc.
* | [2.7] bpo-33330: Improve error handling in PyImport_Cleanup(). (GH-6564). ↵Serhiy Storchaka2018-04-261-8/+30
| | | | | | | | | | | | (GH-6605) (cherry picked from commit e9d9494d6b2a5e0c2d48d22c7f0d5e95504b4f7e)
* | travis: Use -O3 option (GH-5599)INADA Naoki2018-04-251-0/+5
| | | | | | | | We don't use debugger on Travis. (cherry picked from commit 8ff53564730f7ba503f5ad94418c309c48e8516d)
* | [2.7] Update `make patchcheck` for blurb and NEWS.d (GH-2381) (GH-6576)Antoine Pitrou2018-04-231-5/+5
| | | | | | (cherry picked from commit 1ba9469)
* | [2.7] bpo-33297: Mention Pillow to work with more image formats. (GH-6505) ↵Andrés Delfino2018-04-213-3/+7
| | | | | | | | | | | | | | | | (GH-6562) Also update PIL doc references to Pillow. (cherry picked from commit 'b81ca28b378c8b29204a37f8bd433a3379f53f7d') Co-authored-by: 'Andrés Delfino.34587441+andresdelfino@users.noreply.github.com'
* | bpo-33131: Upgrade ensurepip to bundle pip 10.0.1 (GH-6546)Miss Islington (bot)2018-04-204-3/+4
| | | | | | | | | | | | Upgrade ensurepip to bundle pip 10.0.1 (cherry picked from commit 0399cf9b5e370516e3d0aed6a63ff74aff5eadb5) Co-authored-by: Paul Moore <p.f.moore@gmail.com>
* | bpo-33283: Mention PNG as a supported format by Tcl/Tk. (GH-6479) (GH-6542)Andrés Delfino2018-04-202-6/+7
| | | | | | | | | | (cherry picked from commit 4b685bf7192fff48c8effeeae4f4d64f9420ec0f) Update only the documentation about image formats.