Commit Graph

79971 Commits

Author SHA1 Message Date
Martin Panter eac40fdf72 Issue #19884: Avoid spurious output on OS X with Gnu Readline
Also adjust the test condition, because enable-meta-key was only added in
6.1, not 6.0.
2016-08-27 02:54:43 +00:00
Berker Peksag dc60c75aee Issue #10513: Fix a regression in Connection.commit()
Statements should not be reset after a commit.

Backported from 029050896b
2016-08-26 22:19:05 +03:00
Terry Jan Reedy 3f0222c54d Add version to title of IDLE help window. 2016-08-25 20:04:08 -04:00
Terry Jan Reedy 558c0de2d4 Issue #25564: Mention exec and __builtins__ in IDLE-console difference section.
Do not print charrefs outside of the text proper (like '—»»»» ').
2016-08-25 01:21:54 -04:00
Zachary Ware d833c77818 Issue #12660: Backport 84bbb8d2d237 2016-08-24 11:14:34 -05:00
R David Murray 68854fdc1e #2466: fix test failure on windows.
Windows symlink support was introduced in python3, so we need to skip
those tests differently on python2.  Patch by Xiang Zhang.
2016-08-24 08:59:47 -04:00
R David Murray 8578316697 # 2466: ismount now recognizes mount points user can't access.
Patch by Robin Roth, backport by Xiang Zhang.
2016-08-23 12:30:28 -04:00
Mark Dickinson 89446b2c91 Issue #25604: Fix bug in integer true division that could have resulted in off-by-one-ulp results in unusual cases. 2016-08-21 10:59:48 +01:00
Terry Jan Reedy 7ff1b62df0 Fix typo in IDLE News. 2016-08-21 00:18:49 -04:00
Terry Jan Reedy 7a2a586a52 Add 2.7.13 IDLE NEWS and idlelib/NEWS.txt items. 2016-08-20 21:40:55 -04:00
Terry Jan Reedy 5055612923 Issue #27714: Remove unneeded non-idempotent call that fails on retest. 2016-08-20 21:07:32 -04:00
Martin Panter 99496760c7 Fix some spelling errors 2016-08-20 08:00:53 +00:00
Martin Panter 3911d8333c Issue #27614: Avoid race in test_docxmlrpc server setup 2016-08-18 06:12:22 +00:00
Victor Stinner 42e9d94bc5 Fix a refleak in call_maybe()
Issue #27128. Fix a reference leak if creating the tuple to pass positional
parameters fails.
2016-08-19 17:58:54 +02:00
Victor Stinner c9921d3bdc Fix a refleak in call_method()
Issue #27128. Fix a reference leak if creating the tuple to pass positional
parameters fails.
2016-08-19 17:52:53 +02:00
Benjamin Peterson aed5a4ee73 rearrange methodcaller_new so that the main error case does not cause uninitialized memory usage (closes #27783) 2016-08-16 23:35:35 -07:00
Terry Jan Reedy 1872d9490a Issue #27611: Don't import volatile attribute. 2016-08-16 01:44:06 -04:00
Benjamin Peterson 0f3596a136 do not decref value borrowed from list (closes #27774) 2016-08-15 22:01:41 -07:00
Benjamin Peterson 505989c0e7 fail when negative values are passed to instr() 2016-08-15 21:40:14 -07:00
Ned Deily b97001ef46 Issue #10910: Update FreedBSD version checks for the ctype UTF-8 workaround.
The original problem has been fixed in newer versions of FreeBSD.
Patch by Dimitry Andric of the FreeBSD project.
2016-08-15 03:04:36 -04:00
Ned Deily 98ba455b9a Issue #10910: Avoid C++ compilation errors on FreeBSD and OS X.
Patch by Ronald Oussoren.
2016-08-15 02:59:31 -04:00
Donald Stufft 285a2537c8 Upgrade setuptools/pip to to 25.2.0/8.1.2 2016-08-14 16:08:42 -04:00
Benjamin Peterson 6c08d9628a fix possible integer overflow in binascii.b2a_qp (closes #27760)
Reported by Thomas E. Hybel
2016-08-13 18:33:33 -07:00
Benjamin Peterson f670120cb7 do not allow reading negative values with getstr() 2016-08-13 18:15:28 -07:00
Benjamin Peterson d81ad0df71 check for overflow in join_append_data (closes #27758)
Reported by Thomas E. Hybel
2016-08-13 17:17:06 -07:00
Benjamin Peterson 04a5385353 fix possible overflow in encode_basestring_ascii (#23369) 2016-08-13 16:47:25 -07:00
R David Murray 4ae4e7cbc0 #27753: fix typo (name->named). 2016-08-13 14:46:23 -04:00
Raymond Hettinger af0b38f814 Issue #27720: Fix error in eng_to_decimal docs and add examples from the specification. 2016-08-13 11:10:23 -07:00
Terry Jan Reedy 0f0ead5c9a Issue #27714: For IDLE's test_textview, backport 3.x subclass with mocks
instead of overriding methods with mocks in original class and module.
This makes the 2.7 test_textview nearly identical to the 3.5/.6 test.
2016-08-10 19:41:39 -04:00
Martin Panter 5c715b0897 Correct misspellings of ISO-8859 2016-08-10 05:25:16 +00:00
Zachary Ware fa1ce08fc6 Issue #27205: Fix doctests in Doc/library/collections.rst 2016-08-09 17:28:33 -05:00
Zachary Ware d379d6377f Issue #27204: Fix doctests in Doc/howto
Initial patch by Jelle Zijlstra.
2016-08-09 17:03:32 -05:00
Vinay Sajip fd16fcaf6b Issue #21999: Handled empty strings correctly when in POSIX mode. 2016-08-09 14:57:03 +01:00
Vinay Sajip e1f3afbde2 Issue #20160: Handled passing of large structs to callbacks correctly. 2016-08-05 21:10:26 +01:00
Martin Panter 3d36f0f712 Spelling and grammar fixes in code comments and documentation 2016-07-28 02:37:04 +00:00
Martin Panter 8f1dd224e0 Issue #26462: Doc: avoid literal_block warnings, fix syntax highlighting.
Patch by Julien Palard.
2016-07-26 11:18:21 +02:00
Benjamin Peterson cc8929b8cd https link to the bug tracker (closes #27670) 2016-08-03 22:01:32 -07:00
Martin Panter bc82de084c Issue #27641: Comment out regeneration rules when cross compiling 2016-07-29 05:52:32 +00:00
Donald Stufft 692497a306 Switch upload.pypi.io to upload.pypi.org 2016-08-03 18:58:12 -04:00
Stefan Krah 2246f39c40 Issue #20767: Fix -R option for FreeBSD/clang. 2016-08-03 11:23:31 +02:00
Senthil Kumaran 75d7b615ba Prevent HTTPoxy attack (CVE-2016-1000110)
Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.

Issue reported and patch contributed by Rémi Rampin.
2016-07-30 05:49:53 -07:00
Martin Panter a850ef698e Issue #27626: Spelling fixes in docs, comments and internal names
Based on patch by Ville Skyttä.
2016-07-28 01:11:04 +00:00
Martin Panter e2eacc02bc Issue #23943: Fix typos. Patch by Piotr Kasprzyk. 2016-07-28 03:04:04 +00:00
Martin Panter 801110b303 Issue #27490: Do not build pgen when cross-compiling
The dependendency on the $(PGEN) variable must only be
set when not cross-compiling. When cross-compiling,
$(PGEN) will not be used, so no need to build it.

Patch by Thomas Perl.
2016-07-28 01:28:27 +00:00
Victor Stinner 2e1a34025c ctypes: fix CThunkObject_new()
* Initialize restype and flags fields to fix a crash when Python runs on a
  read-only file system
* Use Py_ssize_t type rather than int for the "i" iterator variable
* Reorder assignements to be able to more easily check if all fields are
  initialized

Issue #11048. Initial patch written by Marcin Bachry.
2016-07-27 16:58:47 +02:00
Martin Panter 2a0438d2e4 Issue #27581: Don’t rely on overflow wrapping in PySequence_Tuple()
Patch by Xiang Zhang.
2016-07-25 02:30:05 +00:00
Martin Panter 1e411c5c78 Issue #27130: Fix handling of buffers exceeding (U)INT_MAX in “zlib” module
Ported from patches by Xiang Zhang, Nadeem Vawda, and myself.
2016-07-23 04:22:09 +00:00
Zachary Ware 2955ef759e Issue #25393: Fix probable copy/paste error in resource docs
Patch by Alakshendra Yadav.
2016-07-19 16:41:20 -05:00
Martin Panter cdb8be4f40 Issue #27528: Document and test warning messages must match at beginning 2016-07-19 02:26:38 +00:00
Martin Panter 0c08fe09f9 Issue #27507: Check for integer overflow in bytearray.extend()
Patch by Xiang Zhang.
2016-07-18 07:53:13 +00:00