]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Terry Jan Reedy [Sat, 10 Aug 2013 22:17:01 +0000 (18:17 -0400)]
Issue #18676: Change 'positive' to 'non-negative' in queue.py put and get
docstrings and ValueError messages. Patch by Zhongyue Luo
Terry Jan Reedy [Sat, 10 Aug 2013 21:46:16 +0000 (17:46 -0400)]
Issue #18429: Add user-oriented News entry about Format / Format Paragraph
now working with comment block selections. Patch was part of 18226 patch.
Terry Jan Reedy [Sat, 10 Aug 2013 20:56:20 +0000 (16:56 -0400)]
Issue #18226: Add docstrings and unittests for idlelib/FormatParagraph.py.
Move comment code to a separate function so it can be separately tested.
Original patches by Todd Rovito and Phil Webster.
Ezio Melotti [Thu, 8 Aug 2013 17:09:19 +0000 (20:09 +0300)]
#18357: add tests for dictview set difference. Patch by Fraser Tweedale.
Serhiy Storchaka [Tue, 6 Aug 2013 13:56:26 +0000 (16:56 +0300)]
Issue #15866: The xmlcharrefreplace error handler no more produces two XML
entities for a non-BMP character on narrow build.
Mark Dickinson [Mon, 5 Aug 2013 16:56:17 +0000 (17:56 +0100)]
Issue #18661: typo in grp.struct_group docstring.
Raymond Hettinger [Mon, 5 Aug 2013 05:35:37 +0000 (22:35 -0700)]
Silence compiler warning for unused declaration.
Terry Jan Reedy [Sun, 4 Aug 2013 19:39:56 +0000 (15:39 -0400)]
Issue #18151: Replace remaining Idle 'open...close' pairs with 'with open'.
Eli Bendersky [Sun, 4 Aug 2013 13:09:49 +0000 (06:09 -0700)]
Issue #13612: Fix a buffer overflow in case of a multi-byte encoding.
This is a belated backport of
f7b47fb30169 ; Patch by Serhiy Storchaka.
Serhiy Storchaka [Sun, 4 Aug 2013 10:22:30 +0000 (13:22 +0300)]
Issue #18647: Temporary disable the "nothing to repeat" check to make buildbots happy.
Martin v. Löwis [Sat, 3 Aug 2013 18:24:00 +0000 (20:24 +0200)]
Issue #16067: Add description into MSI file to replace installer's temporary name.
Serhiy Storchaka [Sat, 3 Aug 2013 16:26:33 +0000 (19:26 +0300)]
Issue #17998: Fix an internal error in regular expression engine.
Charles-François Natali [Fri, 2 Aug 2013 08:01:46 +0000 (10:01 +0200)]
Issue #18325: Fix a test_kqueue failure on OpenBSD: kevent's data and event
members are integers.
Ned Deily [Fri, 2 Aug 2013 04:19:09 +0000 (21:19 -0700)]
Issue #17557: Fix os.getgroups() to work with the modified behavior of
getgroups(2) on OS X 10.8. Original patch by Mateusz Lenik.
Martin v. Löwis [Thu, 1 Aug 2013 21:57:21 +0000 (23:57 +0200)]
Add 2.7.6 uuids.
Martin v. Löwis [Thu, 1 Aug 2013 21:55:26 +0000 (23:55 +0200)]
Add 2.7.5 uuid
Antoine Pitrou [Thu, 1 Aug 2013 20:25:12 +0000 (22:25 +0200)]
Fix tkinter regression introduced by the security fix in #16248.
Antoine Pitrou [Thu, 1 Aug 2013 19:17:24 +0000 (21:17 +0200)]
Issue #18589: fix hyperlinking of type slots (tp_*)
Ned Deily [Wed, 31 Jul 2013 07:14:20 +0000 (00:14 -0700)]
Issue #18071: Extension module builds on OS X could fail with TypeError
if Xcode command line tools were not installed.
Terry Jan Reedy [Tue, 30 Jul 2013 05:37:36 +0000 (01:37 -0400)]
Make all idle test case names end with 'Test'.
Terry Jan Reedy [Sun, 28 Jul 2013 20:39:44 +0000 (16:39 -0400)]
Update gui section of idle test README.
Raymond Hettinger [Sun, 28 Jul 2013 09:34:42 +0000 (02:34 -0700)]
Restore the data block size to 62.
The former block size traded away good fit within cache lines in
order to gain faster division in deque_item(). However, compilers
are getting smarter and can now replace the slow division operation
with a fast integer multiply and right shift. Accordingly, it makes
sense to go back to a size that lets blocks neatly fill entire
cache-lines.
GCC-4.8 and CLANG 4.0 both compute "x // 62" with something
roughly equivalent to "x *
9520900167075897609 >> 69".
Terry Jan Reedy [Sun, 28 Jul 2013 04:01:00 +0000 (00:01 -0400)]
Issue #18441: Move commented out code to issue message.
Terry Jan Reedy [Sun, 28 Jul 2013 02:29:09 +0000 (22:29 -0400)]
Issue #18441: whitespace
Terry Jan Reedy [Sun, 28 Jul 2013 02:27:25 +0000 (22:27 -0400)]
Issue #18441: Comment out code that will not compile because the standard
library has a package, lib-tk, that cannot be imported by normal means.
Lib/test/test_tk, etc, have special code to access this package. I will not
bother with it unless the darwin check is needed before it gets moved to
test.(test-)support.py.
Terry Jan Reedy [Sun, 28 Jul 2013 02:06:03 +0000 (22:06 -0400)]
Issue #18441: add Mac (darwin) gui check. This is not needed today, but has been
in the past and might be needed again in the future
Terry Jan Reedy [Sun, 28 Jul 2013 00:28:53 +0000 (20:28 -0400)]
Update int division to quiet 2to3 warning.
Terry Jan Reedy [Sat, 27 Jul 2013 23:07:07 +0000 (19:07 -0400)]
Issue #18441: Correct previous patch, which hg committed before I wanted it to.
Terry Jan Reedy [Mon, 22 Jul 2013 00:13:24 +0000 (20:13 -0400)]
Issue #18441: Make test.support.requires('gui') skip when it should.
(Consolidating this check and various checks in tkinter files and moving them
to test.support and test.regrtest will be another issue.)
Terry Jan Reedy [Sat, 27 Jul 2013 19:54:05 +0000 (15:54 -0400)]
Remove repetition of string escapes note 1 at end of note 2.
Terry Jan Reedy [Fri, 26 Jul 2013 22:21:32 +0000 (18:21 -0400)]
Issue #18539: Calltips now work for float default arguments.
R David Murray [Thu, 25 Jul 2013 17:33:35 +0000 (13:33 -0400)]
#15130: remove repeat of abstract paragraph from socket howto body.
Patch by Tshepang Lekhonkhobe.
Ezio Melotti [Thu, 25 Jul 2013 03:21:00 +0000 (05:21 +0200)]
#14853: remove test that was making too many assumptions about stdin. Patch by Elena Oat.
Vinay Sajip [Wed, 24 Jul 2013 16:47:52 +0000 (17:47 +0100)]
Issue #18541: simplified LoggerAdapter example.
Terry Jan Reedy [Mon, 22 Jul 2013 01:57:52 +0000 (21:57 -0400)]
Backed out changeset:
23b0164b9c82 #18441 not working
Terry Jan Reedy [Mon, 22 Jul 2013 01:57:02 +0000 (21:57 -0400)]
Backed out changeset:
9f922270a929 so can backout larger patch
Terry Jan Reedy [Mon, 22 Jul 2013 01:24:45 +0000 (21:24 -0400)]
Issue #18441: fix buildbot name-error for TclError.
Terry Jan Reedy [Mon, 22 Jul 2013 01:08:29 +0000 (21:08 -0400)]
Issue #18439: Move news entry misplaced by graft merge.
Terry Jan Reedy [Mon, 22 Jul 2013 00:57:44 +0000 (20:57 -0400)]
Issue #18439: Make patchcheck work on Windows for ACKS, NEWS.
Terry Jan Reedy [Mon, 22 Jul 2013 00:13:24 +0000 (20:13 -0400)]
Issue #18441: Make test.support.requires('gui') skip when it should.
(Consolidating this check and various checks in tkinter files and moving them
to test.support and test.regrtest will be another issue.)
Ned Deily [Sat, 20 Jul 2013 21:38:24 +0000 (14:38 -0700)]
Issue #17532: Prevent exception when changing key sets if Options menu is empty.
Raymond Hettinger [Sat, 20 Jul 2013 17:56:58 +0000 (10:56 -0700)]
Issue #18513: Add workaround for OS X 10.8 cexp bug that leads to wrong cmath.rect(0.0,-0.0) results.
Serhiy Storchaka [Tue, 16 Jul 2013 19:11:28 +0000 (22:11 +0300)]
Issue #18448: Fix a typo in Demo/newmetaclasses/Eiffel.py.
Raymond Hettinger [Tue, 16 Jul 2013 09:34:19 +0000 (02:34 -0700)]
Backport
c952f3d122ae : Tweak the deque struct by moving the least used fields
(maxlen and weakref) to the end.
Raymond Hettinger [Tue, 16 Jul 2013 08:59:30 +0000 (01:59 -0700)]
Move the leftlink to the end of the block structure.
The current pattern of memory access will update both the leftlink and
rightlink at the same time, so they should be positioned side-by-side
for better cache locality.
Keeping the leftlink at the front of the structure would make sense
only if the paired updates were eliminated by backporting changesets
49a9c734304d ,
3555cc0ca35b ,
ae9ee46bd471 , and
744dd749e25b . However,
that isn't likely to happen, so we're better off with the leftlink at
the end of the structure.
Ned Deily [Tue, 16 Jul 2013 02:07:41 +0000 (19:07 -0700)]
Issue #18471: Fix typo in heapq documentation (reported by François Pinard).
Richard Oudkerk [Mon, 15 Jul 2013 17:37:48 +0000 (18:37 +0100)]
Issue #18455: multiprocessing should not retry connect() with same socket.
Ronald Oussoren [Mon, 15 Jul 2013 16:35:14 +0000 (18:35 +0200)]
Move entry from #18427 to the right section in the NEWS file
Ned Deily [Sun, 14 Jul 2013 19:42:27 +0000 (12:42 -0700)]
Issue #18452: fix several "occurrence" typos (reported by Févry Thibault).
Terry Jan Reedy [Sat, 13 Jul 2013 08:05:42 +0000 (04:05 -0400)]
Issue #18365: convert buildbot errors to skips.
Terry Jan Reedy [Sat, 13 Jul 2013 06:34:35 +0000 (02:34 -0400)]
Issue #18279: Add tests for idlelib/RstripExtension.py. Original patch by
Phil Webster. With that available, modify RstripExtension.py to stop deleting
null slices, which caused a file to be marked as changed when it was not.
Terry Jan Reedy [Sat, 13 Jul 2013 04:02:27 +0000 (00:02 -0400)]
Issue #18365: 2.7 corrections so tests run
R David Murray [Sat, 13 Jul 2013 02:57:12 +0000 (22:57 -0400)]
#18437: fix comment typo.
Terry Jan Reedy [Sat, 13 Jul 2013 00:18:33 +0000 (20:18 -0400)]
Issue #18365: normalize whitespace
Terry Jan Reedy [Sat, 13 Jul 2013 00:10:17 +0000 (20:10 -0400)]
Issue #18365: Add mock Text class and test thereof versus tk.Text.
Based on patches by Todd.Rovito and Phil Webster.
R David Murray [Fri, 12 Jul 2013 22:21:41 +0000 (18:21 -0400)]
#18389: Clarify that relpath does not access the file system.
Initial patch by Madison May.
Serhiy Storchaka [Thu, 11 Jul 2013 17:32:48 +0000 (20:32 +0300)]
Issue #18101: Tcl.split() now process Unicode strings nested in a tuple as it
do with byte strings.
Added tests for Tcl.split() and tcl.splitline().
Serhiy Storchaka [Thu, 11 Jul 2013 16:14:07 +0000 (19:14 +0300)]
Fix reference leaks introduced by the patch for issue #5308.
Serhiy Storchaka [Thu, 11 Jul 2013 15:28:35 +0000 (18:28 +0300)]
Merge heads
Serhiy Storchaka [Thu, 11 Jul 2013 15:25:19 +0000 (18:25 +0300)]
Issue #18336. Fix a link to StreamReader's read() method.
Ronald Oussoren [Thu, 11 Jul 2013 11:33:55 +0000 (13:33 +0200)]
Issue #18427: str.replace could crash the interpreter with huge strings.
This fixes two places where 'int' was used to represent
the size of strings, instead of 'Py_ssize_t'.
(The issue is not present in the corresponding code in the 3.x branches)
Fixes #18427
R David Murray [Wed, 10 Jul 2013 20:23:15 +0000 (16:23 -0400)]
#18424: PEP8ify the tense of the sum docstring.
Ronald Oussoren [Sun, 7 Jul 2013 07:49:23 +0000 (09:49 +0200)]
Issue #18377: Code cleanup in Python Launcher
This changeset fixes a number of compiler warnings in the Python Launcher
binary for OSX. It also cleans up whitespace usage in those sources.
Ronald Oussoren [Sat, 6 Jul 2013 11:19:58 +0000 (13:19 +0200)]
Issue #12990: The "Python Launcher" on OSX could not launch python scripts that have paths that include wide characters.
Christian Heimes [Thu, 4 Jul 2013 23:41:30 +0000 (01:41 +0200)]
Issue #18347: ElementTree's html serializer now preserves the case of closing tags.
Antoine Pitrou [Thu, 4 Jul 2013 19:03:10 +0000 (21:03 +0200)]
Issue #11185: Fix test_wait4 under AIX. Patch by Sébastien Sablé.
Eric V. Smith [Tue, 2 Jul 2013 13:02:03 +0000 (09:02 -0400)]
Closes #18312: 'make distclean' no longer deletes files in dot-directories.
Richard Oudkerk [Tue, 2 Jul 2013 12:31:43 +0000 (13:31 +0100)]
Issue #17261: Ensure multiprocessing's proxies use proper address.
Richard Oudkerk [Tue, 2 Jul 2013 11:58:21 +0000 (12:58 +0100)]
Issue #14206: Clarify docs for Queue.join_cancel_thread().
Richard Oudkerk [Tue, 2 Jul 2013 11:31:50 +0000 (12:31 +0100)]
Issue #17273: Clarify that pool methods can only be used by parent process.
Richard Oudkerk [Mon, 1 Jul 2013 17:45:28 +0000 (18:45 +0100)]
Issue #17097: Make multiprocessing ignore EINTR.
Terry Jan Reedy [Mon, 1 Jul 2013 04:42:44 +0000 (00:42 -0400)]
Issue #7136: In the Idle File menu, "New Window" is renamed "New File".
Patch by Tal Einat, Roget Serwy, and Todd Rovito.
Terry Jan Reedy [Sun, 30 Jun 2013 23:07:49 +0000 (19:07 -0400)]
Issue #8515: Set __file__ when run file in IDLE. Backport
2c276d0553ff by
Andrew Svetlov, based on initial patch by Bruce Frederiksen.
Terry Jan Reedy [Sun, 30 Jun 2013 22:36:53 +0000 (18:36 -0400)]
Issue #18189: add test_delegator for Idle Delegator class.
Also change private dict used as a set to a set.
Terry Jan Reedy [Sun, 30 Jun 2013 20:51:53 +0000 (16:51 -0400)]
Issue 18189: remove unused methods in idlelib.Delegator.Delegator.
Idle code already uses x.delegate instead of x.getdelegate().
The printed report must have been for testing.
Terry Jan Reedy [Sun, 30 Jun 2013 17:57:57 +0000 (13:57 -0400)]
Tempfile.py: stop buildbot warning about using deprecated xreadlines.
The slightly odd behavior (the validity of passing a sizehint depends on the
type of self._file) was kept to avoid breaking code that depends on it.
Test_tempfile.test_xreadlines passes (along with everything else).
R David Murray [Sat, 29 Jun 2013 22:43:59 +0000 (18:43 -0400)]
#18155: Regex-escape delimiter, in case it is a regex special char.
Patch by Vajrasky Kok, with slight modification to the tests by me.
Terry Jan Reedy [Sat, 29 Jun 2013 22:22:02 +0000 (18:22 -0400)]
Issue #18103: Update README.txt and test_idle to describe and run gui tests.
Terry Jan Reedy [Sat, 29 Jun 2013 17:15:36 +0000 (13:15 -0400)]
Issue #18237: Fix assertRaisesRegexp error caought by Jeff Tratner.
Terry Jan Reedy [Sat, 29 Jun 2013 04:59:34 +0000 (00:59 -0400)]
Issue #18316: Update idlelib 2.7 except clauses to ease backports.
Terry Jan Reedy [Sat, 29 Jun 2013 03:51:34 +0000 (23:51 -0400)]
Issue *18081, #18242: Change Idle warnings capture in PyShell and run to stop
replacing warnings.formatwarnings and to reverse replacement of
warnings.showwarnings when import is complete and when main function exits.
Add test_warning.py. Vinay Sajip provided capture_warnings function.
Terry Jan Reedy [Fri, 28 Jun 2013 22:59:19 +0000 (18:59 -0400)]
Issue #18315: Improve fileinput docs by adding 'bufsize' where missing and
replacing redundant signature in input() docstring with one-line summary.
Original patch by Terrel Shumway.
Benjamin Peterson [Tue, 25 Jun 2013 18:35:44 +0000 (11:35 -0700)]
Benjamin Peterson [Tue, 25 Jun 2013 18:34:48 +0000 (11:34 -0700)]
Benjamin Peterson [Tue, 25 Jun 2013 18:26:20 +0000 (11:26 -0700)]
Benjamin Peterson [Tue, 25 Jun 2013 18:25:26 +0000 (11:25 -0700)]
Victor Stinner [Mon, 24 Jun 2013 22:48:02 +0000 (00:48 +0200)]
Issue #18135: ssl.SSLSocket.write() now raises an OverflowError if the input
string in longer than 2 gigabytes. The ssl module does not support partial
write.
Ned Deily [Mon, 24 Jun 2013 21:21:43 +0000 (14:21 -0700)]
Issue #18164: Backport the more detailed embedding compile-and-link section
from the Python 3 documentation.
Richard Oudkerk [Mon, 24 Jun 2013 19:38:22 +0000 (20:38 +0100)]
Fix typo.
Richard Oudkerk [Mon, 24 Jun 2013 17:11:21 +0000 (18:11 +0100)]
Clarify note and fix typo.
Richard Oudkerk [Mon, 24 Jun 2013 14:41:36 +0000 (15:41 +0100)]
Issue #15818: Typo in docs.
Richard Oudkerk [Mon, 24 Jun 2013 13:45:24 +0000 (14:45 +0100)]
Issue #18277: Document quirks of multiprocessing queue.
R David Murray [Sun, 23 Jun 2013 20:12:32 +0000 (16:12 -0400)]
Merge heads.
R David Murray [Sun, 23 Jun 2013 20:10:37 +0000 (16:10 -0400)]
#18179: reflow paragraphs.
R David Murray [Sun, 23 Jun 2013 20:02:34 +0000 (16:02 -0400)]
#18179: document the local_hostname parameter.
Original patch by Berker Peksag.
Benjamin Peterson [Sun, 23 Jun 2013 18:38:11 +0000 (11:38 -0700)]
also backout
f1dc30a1be72 for not being a bugfix
Serhiy Storchaka [Sun, 23 Jun 2013 17:22:09 +0000 (20:22 +0300)]
Issue #18184: PyUnicode_FromFormat() and PyUnicode_FromFormatV() now raise
OverflowError when an argument of %c format is out of range.
Christian Heimes [Sun, 23 Jun 2013 14:27:01 +0000 (16:27 +0200)]
Solaris' /dev/null is a symlink. The device test now uses stat instead of lstat to compensate
for symlinks.
Victor Stinner [Sun, 23 Jun 2013 13:15:10 +0000 (15:15 +0200)]
Issue #18135: Fix a possible integer overflow in ssl.SSLSocket.write()
for strings longer than 2 gigabytes.
Victor Stinner [Sun, 23 Jun 2013 12:56:57 +0000 (14:56 +0200)]
Issue #18137: Detect integer overflow on precision in float.__format__()
and complex.__format__().