summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [2.7] bpo-31675: Fix memory leaks in Tkinter's methods splitlist() and ↵2.7Serhiy Storchaka2017-10-043-21/+31
| | | | | | | | split() (GH-3866) (#3876) when pass a string larger than 2 GiB. Decrease memory requirements for Tcl's bigmem tests.. (cherry picked from commit 27c623c845dd6e4b8e1782666ca3a956636da266)
* Remove retired and security branches from active docs (#3881)Ned Deily2017-10-042-4/+0
|
* [2.7] bpo-31478: Prevent unwanted behavior in _random.Random.seed() in case ↵Oren Milman2017-10-023-2/+26
| | | | the arg has a bad __abs__() method (GH-3596) (#3845)
* bpo-31158: Fix nondeterministic read in test_pty (#3808) (#3853)Victor Stinner2017-10-021-2/+19
| | | (cherry picked from commit e6f62f69f07892b993910ff03c9db3ffa5cb9ca5)
* [2.7] bpo-31627: Make test_mailbox be lenient to empty hostname. (GH-3821) ↵Serhiy Storchaka2017-09-301-1/+1
| | | | | (#3838) (cherry picked from commit f4ea642cb60556231e714089a79d3c59c202661e)
* [2.7] bpo-31285: Don't raise a SystemError in warnings.warn_explicit() in ↵Oren Milman2017-09-302-2/+24
| | | | | case __loader__.get_source() has a bad splitlines() method. (GH-3219) (#3823) (cherry picked from commit 91fb0af)
* bpo-28129: fix ctypes crashes (#386) (#3800)Victor Stinner2017-09-287-9/+87
| | | | | | | | | | | | | * init commit, with initial tests for from_param and fields __set__ and __get__, and some additions to from_buffer and from_buffer_copy * added the rest of tests and patches. probably only a first draft. * removed trailing spaces * replace ctype with ctypes in error messages * change back from ctypes instance to ctype instance (cherry picked from commit 1bea762d9ec823544c530d567330a47f64d93d4f)
* bpo-31593: test_socketserver waits child processes (#3786)Victor Stinner2017-09-271-3/+18
|
* [2.7] bpo-31490: Fix an assertion failure in ctypes in case an _anonymous_ ↵Miss Islington (bot)2017-09-273-1/+25
| | | | | | attr is defined only outside _fields_. (GH-3615) (#3780) (cherry picked from commit 30b61b51e05d2d43e8e2e783b0a9df738535423b)
* [2.7] bpo-31311: Fix a SystemError and a crash in ↵Serhiy Storchaka2017-09-273-0/+33
| | | | | ctypes._CData.__setstate__(), in case of a bad __dict__. (GH-3254). (#3781) (cherry picked from commit 57c2561c8c5663aef55b00e3f29cba575ff36ccd)
* [2.7] bpo-25359: Add missed "goto error" after setting an exception. ↵Serhiy Storchaka2017-09-271-0/+1
| | | | | (GH-3712) (#3779) (cherry picked from commit d6238a76c655e0feb13478505220dc9049f1682f)
* [2.7] bpo-30347: Stop crashes when concurrently iterate over ↵Serhiy Storchaka2017-09-263-46/+56
| | | | | itertools.groupby() iterators. (GH-1557). (#3772) (cherry picked from commit c740e4fe8a9bc5815dc18c38d7f7600b128c3c51)
* [2.7] bpo-31579: Fixed a possible leak in enumerate() with large indices. ↵Serhiy Storchaka2017-09-261-3/+9
| | | | | (GH-3753). (#3761) (cherry picked from commit 0e950dd22b075b4809c84afda8aede02b76ac0fa)
* bpo-25732: Make functools.total_ordering implementing __ne__. (#3748)Serhiy Storchaka2017-09-253-2/+61
| | | Patch by Raymond Hettinger.
* bpo-31170: Write unit test for Expat 2.2.4 UTF-8 bug (#3570) (#3745)Victor Stinner2017-09-252-0/+33
| | | | | Non-regression tests for the Expat 2.2.3 UTF-8 decoder bug. (cherry picked from commit e6d9fcbb8d0c325e57df08ae8781aafedb71eca2)
* [2.7] bpo-31351: Set return code in ensurepip when pip fails (GH-3734)Igor Filatov2017-09-256-10/+46
| | | | | | | Previously ensurepip would always report success, even if the pip installation failed. (cherry picked from commit 9adda0cdf89432386b7a04444a6199b580d287a1)
* [2.7] bpo-31423: Fix building the PDF documentation (GH-3693) (GH-3700)Zachary Ware2017-09-221-4/+8
| | | | Use prefixed macro names for the `authoraddress` function, add T2A to the font encoding in LaTeX sources to support Cyrillic characters in the PDF documentation, and replace the deprecated `font_size` config option with `pointsize`. (cherry picked from commit da9b4cfb488119f2493a762fcb1d85c58494f51d)
* bpo-31533: fix broken link to OpenSSL docs (GH-3674) (GH-3676)Christian Heimes2017-09-201-2/+2
| | | (cherry picked from commit 19e4d93)
* a post 2.7.14 worldBenjamin Peterson2017-09-161-1/+1
|
* merge 2.7.14 release branchBenjamin Peterson2017-09-162-5/+5
|\
| * 2.7.14 final version bumpsv2.7.14Benjamin Peterson2017-09-163-5/+16
| |
* | bpo-29916: Include PyGetSetDef in C API extension documentation. (#831) (#3609)Michael Seifert2017-09-162-15/+40
| | | | | | (cherry picked from commit da67e0d644bd3185efdaa4d15cc2ac0828ca83f9)
* | bpo-31474: Fix -Wint-in-bool-context warnings (#3581)Christian Heimes2017-09-152-2/+3
| | | | | | Signed-off-by: Christian Heimes <christian@python.org>
* | [2.7] bpo-31471: Fix assertion failure in subprocess.Popen() on Windows, in ↵Oren Milman2017-09-151-1/+5
| | | | | | | | case env has a bad keys() method. (GH-3580) (#3595)
* | consistently use Py_TYPE, Py_REFCNT, and correct initializer macros (#3563)Benjamin Peterson2017-09-1422-138/+117
| | | | | | This no-op change makes 2.7 more consistent with 3.x to ease comparison and backports.
* | [2.7] bpo-30442: Skips refcount test in test_xml_etree under coverage ↵Miss Islington (bot)2017-09-131-0/+1
| | | | | | | | | | (GH-1767) (#3549) (cherry picked from commit 1de4705d00168afa8c5b6741af02e21fc609af58)
* | bpo-31234: fork_wait tests now join threads (#3139) (#3535)Victor Stinner2017-09-131-6/+17
| | | | | | | | | | | | fork_wait.py tests now joins threads, to not leak running threads in the background. (cherry picked from commit c99d41f9c0304fcf06550515c3db55f93a629e9e)
* | bpo-17085: test_socket: cancel scheduled alarm on test failure (#3505)Victor Stinner2017-09-111-0/+1
| | | | | | (cherry picked from commit 71fe8c00f6e2eda39d90c225c5f7635268cc4653)
* | [2.7] bpo-31411: Prevent raising a SystemError in case warnings.onceregistry ↵Serhiy Storchaka2017-09-113-1/+20
| | | | | | | | | | is not a dictionary. (GH-3485). (#3493) (cherry picked from commit 252033d50effa08046ac34fcc406bc99796ab88b)
* | [2.7] bpo-29526: Add reference to help('FORMATTING') in format() builtin ↵Serhiy Storchaka2017-09-111-1/+3
| | | | | | | | | | (GH-166). (#3492) (cherry picked from commit 2e6bb4484ee1b0da67d1dfcf0816c58602daa5a0)
* | bpo-25684: ttk.OptionMenu radiobuttons weren't unique (GH-2276) (GH-2960)Cheryl Sabella2017-09-104-1/+30
| | | | | | | | | | ttk.OptionMenu radiobuttons weren't unique between instances of OptionMenu. (cherry picked from commit a568e5273382a5dca0c27274f7d8e34c41a87d4d)
* | [2.7] Clarify nature of parse_args 'args' argument. (GH-3292) (GH-3328)R. David Murray2017-09-101-3/+15
| | | | | | | | | | Patch by Paul.j3. Includes an unrelated but useful addition to the optparse porting section. (cherry picked from commit 0c7983e4adf9604d0ac93757a45d14be06c27696)
* | [2.7] bpo-30450: Fall back on the old env.bat (GH-3443)Zachary Ware2017-09-081-1/+1
| |
* | [2.7] bpo-29136: Add TLS 1.3 cipher suites and OP_NO_TLSv1_3 (GH-1363) (#3446)Christian Heimes2017-09-085-2/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-29136: Add TLS 1.3 support TLS 1.3 introduces a new, distinct set of cipher suites. The TLS 1.3 cipher suites don't overlap with cipher suites from TLS 1.2 and earlier. Since Python sets its own set of permitted ciphers, TLS 1.3 handshake will fail as soon as OpenSSL 1.1.1 is released. Let's enable the common AES-GCM and ChaCha20 suites. Additionally the flag OP_NO_TLSv1_3 is added. It defaults to 0 (no op) with OpenSSL prior to 1.1.1. This allows applications to opt-out from TLS 1.3 now. Signed-off-by: Christian Heimes <christian@python.org>. (cherry picked from commit cb5b68abdeb1b1d56c581d5b4d647018703d61e3)
* | bpo-31379: Added $(RUNSHARED) to run_profile_task (#3422)Xiang Zhang2017-09-081-1/+1
| |
* | [2.7] bpo-28958: Improve SSLContext error reporting. (GH-3414) (#3433)Christian Heimes2017-09-072-2/+3
| | | | | | | | Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 17c9ac9)
* | [2.7] bpo-31330: Clarify that RawTextHelpFormatter collapses repeated ↵Miss Islington (bot)2017-09-071-1/+3
| | | | | | | | | | | | newlines. (GH-3272) (GH-3428) Also provide a solution if the user wants to keep multiple blank lines. (cherry picked from commit 397c467c49385023de36411194d381ac993bae1a)
* | [2.7] bpo-29766: Fix configure/.ac to match LTO/enable-optimizations ↵Hanno Schlichting2017-09-071-1/+0
| | | | | | | | | | behavior. (#2705) See also 1f29cefc87c4c2ee629367ebe97a287d8e0b3e29. The configure.ac change was omitted from the earlier change...
* | [2.7] Update multissl test helper (GH-3349) (#3416)Christian Heimes2017-09-073-241/+438
| | | | | | | | Signed-off-by: Christian Heimes <christian@python.org>. (cherry picked from commit d3b9f97e6d92bbfcf956638344fd827a40837b96)
* | [2.7] bpo-21649: Add RFC 7525 and Mozilla server side TLS (GH-3387) (GH-3400)Miss Islington (bot)2017-09-072-0/+7
| | | | | | | | Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit ad0ffa033ea79f7c7cb14b1b1cc10888ea9e9913)
* | [2.7] bpo-30824: Add mimetype for .json (GH-3048) (#3394)Miss Islington (bot)2017-09-061-0/+1
| | | | | | (cherry picked from commit 8204b903683f9e0f037ccfaa87622716019914d7)
* | bpo-31355: Travis CI: remove the macOS job (#3367)Victor Stinner2017-09-061-9/+0
| |
* | [2.7] Issue GH-28705: greatly simplify the FAQ entry on transpiling. (#3371)Benjamin Peterson2017-09-061-44/+5
| | | | | | | | This also eliminats a dead link to Weave in the process.. (cherry picked from commit 78ffd6cffacb04bea61bb0ef850d05859ab2dbe4)
* | Merge branch 'release-2.7.14' into 2.7Benjamin Peterson2017-09-0620-58/+584
|\ \ | |/
| * bpo-31170: Update libexpat from 2.2.3 to 2.2.4 (#3315)Victor Stinner2017-09-0620-58/+584
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix copying of partial characters for UTF-8 input (libexpat bug 115): https://github.com/libexpat/libexpat/issues/115 (cherry picked from commit 759e30ec47048cb9835c62aaeac48748c8151390) The standard header stdbool.h is not available with old Visual Studio compilers Cherry-picked from libexpat b4b89c2ab0cc5325a41360c25ef9d2ccbe617e5c. expat: Add artificial scopes in xmltok.c utf8_toUtf8() to fix c89 compilation. Cherry-picked from libexpat commit e0b290eb3d8f4c4b45137a7d7f4f8db812145bd2
* | [2.7] Cache externals, depending on changes to PCbuild (GH-3308) (#3365)Zachary Ware2017-09-061-0/+2
| | | | | | (cherry picked from commit f801322e92384ef3eac2a9b7ac2c49d37102d0f3)
* | bpo-31339: Rewrite time.asctime() and time.ctime() (#3293)Victor Stinner2017-09-053-27/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-31339: Rewrite time.asctime() and time.ctime() Backport and adapt the _asctime() function from the master branch to not depend on the implementation of asctime() and ctime() from the external C library. This change fixes a bug when Python is run using the musl C library. * bound checks for time.asctime() * bound checks for time.strftime()
* | bpo-30450: Don't use where, XP doesn't have it (GH-3348)Zachary Ware2017-09-052-4/+3
| | | | | | Really this time!
* | bpo-27448: Work around a gc.disable race condition in subprocess. (#1932)Gregory P. Smith2017-09-052-7/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-27448: Work around a gc.disable race condition in subprocess. This works around a gc.isenabled/gc.disable race condition in the 2.7 subprocess module by using a lock for the critical section. It'll prevent multiple simultaneous subprocess launches from winding up with gc remaining disabled but it can't fix the ultimate problem: gc enable and disable is a global setting and a hack. Users are *strongly encouraged* to use subprocess32 from PyPI instead of the 2.7 standard library subprocess module. Mixing threads with subprocess is a recipie for disaster otherwise even with "fixes" to ameliorate common issues like this. * Add a blurb!
* | [2.7] Travis: use ccache (GH-3307) (#3333)Christian Heimes2017-09-051-2/+4
| | | | | | (cherry picked from commit 8adc73c)