]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
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__().
Terry Jan Reedy [Sat, 22 Jun 2013 22:26:38 +0000 (18:26 -0400)]
#18151, part 2: Silence debug build resource warning for each file opened by
'Find in files' by replacing 'open with implicit close' by 'with open' in
GrepDialog method grep_it. Streamline code with enumerate(), direct file
iteration, and output tweak. Add test for this method, including output format.
Benjamin Peterson [Sat, 22 Jun 2013 18:16:36 +0000 (11:16 -0700)]
backout
5accb0ac8bfb ; needs more discussion on python-dev
Christian Heimes [Sat, 22 Jun 2013 16:58:51 +0000 (18:58 +0200)]
transplant test_stat from default to 2.7 in order to make sure it works on all supported platforms
Andrew Kuchling [Sat, 22 Jun 2013 16:33:05 +0000 (12:33 -0400)]
#18113: avoid segfault if Py_XDECREF triggers code that calls set_panel_userptr again
Problem noted & original patch by Serhiy Storchaka; I tweaked the patch a bit.
Raymond Hettinger [Sat, 22 Jun 2013 07:51:01 +0000 (00:51 -0700)]
Arrange structure to match the common access patterns.
R David Murray [Wed, 19 Jun 2013 21:00:43 +0000 (17:00 -0400)]
Tweak programming faq examples so that it (mostly) passes doctest.
Back port of
0113247f894b from 3.3.
The exceptions are the import related questions at the end, which
need to be rewritten anyway, and a math example that doesn't
exist in the 3.3+ docs that I didn't bother trying to fix.
Antoine Pitrou [Tue, 18 Jun 2013 20:17:48 +0000 (22:17 +0200)]
Issue #18256: Compilation fix for recent AIX releases. Patch by David Edelsohn.
Christian Heimes [Tue, 18 Jun 2013 11:25:24 +0000 (13:25 +0200)]
Fix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if it's available
Victor Stinner [Mon, 17 Jun 2013 20:03:35 +0000 (22:03 +0200)]
ctypes: AIX needs an explicit #include <alloca.h> to get alloca()
Serhiy Storchaka [Mon, 17 Jun 2013 13:33:48 +0000 (16:33 +0300)]
Issue #18167: cgi.FieldStorage no more fails to handle multipart/form-data
when \r\n appears at end of 65535 bytes without other newlines.
Andrew Kuchling [Sat, 15 Jun 2013 17:53:10 +0000 (13:53 -0400)]
#18113: Objects associated to a curses.panel object with set_userptr() were leaked.
Reported by Atsuo Ishimoto.
Raymond Hettinger [Fri, 14 Jun 2013 05:06:33 +0000 (01:06 -0400)]
Fix comment blocks. Adjust blocksize to a power-of-two for better divmod computations.
Roger Serwy [Wed, 12 Jun 2013 03:13:17 +0000 (22:13 -0500)]
#5492: Avoid traceback when exiting IDLE caused by a race condition.
Ned Deily [Tue, 11 Jun 2013 22:00:21 +0000 (15:00 -0700)]
Issue #18186: remove obsolete 2.2 compatibility comment.
Roger Serwy [Tue, 11 Jun 2013 04:01:20 +0000 (23:01 -0500)]
#17511: Keep IDLE find dialog open after clicking "Find Next".
Original patch by Sarah K.
Richard Oudkerk [Mon, 10 Jun 2013 15:27:45 +0000 (16:27 +0100)]
Issue #18174: Fix fd leaks in tests.
Ronald Oussoren [Mon, 10 Jun 2013 08:35:36 +0000 (10:35 +0200)]
Ensure that the fix for #17269 also works on OSX 10.4
AI_NUMERICSERV isn't defined on OSX 10.4.
Serhiy Storchaka [Sun, 9 Jun 2013 13:54:56 +0000 (16:54 +0300)]
Issue #18038: SyntaxError raised during compilation sources with illegal
encoding now always contains an encoding name.
Ezio Melotti [Sat, 8 Jun 2013 22:04:21 +0000 (01:04 +0300)]
#18126: update NumPy links in the documentation. Patch by Yury V. Zaytsev.
Terry Jan Reedy [Wed, 5 Jun 2013 18:24:42 +0000 (14:24 -0400)]
Issue18130: Test class idlelib.configSectionNameDialog.GetCfgSectionNameDialog.
Fix bug in existing human test and add instructions; fix two bugs in tested
code; remove redundancies, add spaces, and change two internal method names.
Add mock_tk with mocks for tkinter.Variable subclasses and tkinter.messagebox.
Use mocks in test_config_name to unittest methods that are otherwise gui-free.
Senthil Kumaran [Sun, 2 Jun 2013 18:59:09 +0000 (11:59 -0700)]
Fix #17967 - Fix related to regression on Windows.
os.path.join(*self.dirs) produces an invalid path on windows.
ftp paths are always forward-slash seperated like this. /pub/dir.
Senthil Kumaran [Sat, 1 Jun 2013 18:11:30 +0000 (11:11 -0700)]
Fix thishost helper funtion in urllib. Returns the ipaddress of localhost when
hostname is resolvable by socket.gethostname for local machine. This all fixes
certain freebsd builtbot failures.
Senthil Kumaran [Sat, 1 Jun 2013 15:24:31 +0000 (08:24 -0700)]
Fix #17967: For ftp urls CWD to target instead of hopping to each directory
towards target. This fixes a bug where target is accessible, but parent
directories are restricted.
Senthil Kumaran [Sat, 1 Jun 2013 14:59:10 +0000 (07:59 -0700)]
Fix #16450 test_missing_localfile testcase fails on misconfigured hostname.
Refactor test to accomodate that and exercise the needed functionality.
Serhiy Storchaka [Fri, 31 May 2013 19:34:53 +0000 (22:34 +0300)]
Issue #18094: test_uuid no more reports skipped tests as passed.
Terry Jan Reedy [Thu, 30 May 2013 22:24:28 +0000 (18:24 -0400)]
Issue #15392: Use test.test_support, as used test.support in 3.x.
Terry Jan Reedy [Thu, 30 May 2013 18:47:33 +0000 (14:47 -0400)]
Issue #15392: Create a unittest framework for IDLE, 2.7 version.
Preliminary patch by Rajagopalasarma Jayakrishnan.
Ned Deily [Thu, 30 May 2013 07:14:29 +0000 (00:14 -0700)]
Issue #18098: The deprecated OS X Build Applet.app fails to build on
OS X 10.8 systems because the Apple-deprecated QuickDraw headers have
been removed from Xcode 4. Skip building it in this case.
Senthil Kumaran [Wed, 29 May 2013 12:58:47 +0000 (05:58 -0700)]
#17403: urllib.parse.robotparser normalizes the urls before adding to ruleline.
This helps in handling certain types invalid urls in a conservative manner.
Ned Deily [Tue, 28 May 2013 23:31:45 +0000 (16:31 -0700)]
Issue #18080: When building a C extension module on OS X, if the compiler
is overriden with the CC environment variable, use the new compiler as
the default for linking if LDSHARED is not also overriden. This restores
Distutils behavior introduced in 2.7.3 and inadvertently dropped in 2.7.4.
Serhiy Storchaka [Tue, 28 May 2013 19:46:51 +0000 (22:46 +0300)]
Issue #18085: Fix PyObject_CallMethodObjArgs()'s entry in refcounts.dat.
Raymond Hettinger [Mon, 27 May 2013 17:58:55 +0000 (10:58 -0700)]
Issue #18015: Fix unpickling of 2.7.3 and 2.7.4 namedtuples.
Ronald Oussoren [Fri, 24 May 2013 11:45:27 +0000 (13:45 +0200)]
Issue #17269: Workaround for a platform bug in getaddrinfo on OSX
Without this patch socket.getaddrinfo crashed when called
with some unusual argument combinations.
Raymond Hettinger [Thu, 23 May 2013 07:12:14 +0000 (00:12 -0700)]
Issue #18031: %-formatting isn't dead yet and might pull through.
Ned Deily [Wed, 22 May 2013 22:16:17 +0000 (15:16 -0700)]
Issue #17532: Always include Options menu for IDLE on OS X.
Patch by Guilherme Simões.
Benjamin Peterson [Wed, 22 May 2013 20:25:41 +0000 (13:25 -0700)]
implement missing inequality on WeakSet
Serhiy Storchaka [Wed, 22 May 2013 12:28:30 +0000 (15:28 +0300)]
Issue #17844: Refactor a documentation of Python specific encodings.
Add links to encoders and decoders for binary-to-binary codecs.
Serhiy Storchaka [Tue, 21 May 2013 19:53:33 +0000 (22:53 +0300)]
Issue #17979: Fixed the re module in build with --disable-unicode.
R David Murray [Tue, 21 May 2013 15:46:18 +0000 (11:46 -0400)]
#17973: fix technical inaccuracy in faq entry (it now passes doctest).
Roger Serwy [Tue, 21 May 2013 03:13:39 +0000 (22:13 -0500)]
#14146: Highlight source line while debugging on Windows.
Ned Deily [Mon, 20 May 2013 21:27:06 +0000 (14:27 -0700)]
Issue #18026: fix ctypes doc typo
R David Murray [Mon, 20 May 2013 14:34:58 +0000 (10:34 -0400)]
#17973: Add FAQ entry for ([],)[0] += [1] both extending and raising.
This has come up often enough now on the tracker that it deserves a FAQ entry.
Benjamin Peterson [Mon, 20 May 2013 02:38:12 +0000 (19:38 -0700)]
add missing NULL check (closes #18019)
Antoine Pitrou [Sun, 19 May 2013 13:44:54 +0000 (15:44 +0200)]
Issue #11995: test_pydoc doesn't import all sys.path modules anymore.
Vinay Sajip [Thu, 16 May 2013 21:47:47 +0000 (22:47 +0100)]
Issue #17981: Closed socket on error in SysLogHandler.