]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
12 years agoRemove repetition of string escapes note 1 at end of note 2.
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.

12 years agoIssue #18539: Calltips now work for float default arguments.
Terry Jan Reedy [Fri, 26 Jul 2013 22:21:32 +0000 (18:21 -0400)] 
Issue #18539:  Calltips now work for float default arguments.

12 years ago#15130: remove repeat of abstract paragraph from socket howto body.
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.

12 years ago#14853: remove test that was making too many assumptions about stdin. Patch by Elena...
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.

12 years agoIssue #18541: simplified LoggerAdapter example.
Vinay Sajip [Wed, 24 Jul 2013 16:47:52 +0000 (17:47 +0100)] 
Issue #18541: simplified LoggerAdapter example.

12 years agoBacked out changeset: 23b0164b9c82 #18441 not working
Terry Jan Reedy [Mon, 22 Jul 2013 01:57:52 +0000 (21:57 -0400)] 
Backed out changeset: 23b0164b9c82 #18441 not working

12 years agoBacked out changeset: 9f922270a929 so can backout larger patch
Terry Jan Reedy [Mon, 22 Jul 2013 01:57:02 +0000 (21:57 -0400)] 
Backed out changeset: 9f922270a929 so can backout larger patch

12 years agoIssue #18441: fix buildbot name-error for TclError.
Terry Jan Reedy [Mon, 22 Jul 2013 01:24:45 +0000 (21:24 -0400)] 
Issue #18441: fix buildbot name-error for TclError.

12 years agoIssue #18439: Move news entry misplaced by graft merge.
Terry Jan Reedy [Mon, 22 Jul 2013 01:08:29 +0000 (21:08 -0400)] 
Issue #18439: Move news entry misplaced by graft merge.

12 years agoIssue #18439: Make patchcheck work on Windows for ACKS, NEWS.
Terry Jan Reedy [Mon, 22 Jul 2013 00:57:44 +0000 (20:57 -0400)] 
Issue #18439: Make patchcheck work on Windows for ACKS, NEWS.

12 years agoIssue #18441: Make test.support.requires('gui') skip when it should.
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.)

12 years agoIssue #17532: Prevent exception when changing key sets if Options menu is empty.
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.

12 years agoIssue #18513: Add workaround for OS X 10.8 cexp bug that leads to wrong cmath.rect...
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.

12 years agoIssue #18448: Fix a typo in Demo/newmetaclasses/Eiffel.py.
Serhiy Storchaka [Tue, 16 Jul 2013 19:11:28 +0000 (22:11 +0300)] 
Issue #18448: Fix a typo in Demo/newmetaclasses/Eiffel.py.

12 years agoBackport c952f3d122ae: Tweak the deque struct by moving the least used fields
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.

12 years agoMove the leftlink to the end of the block structure.
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
49a9c734304d3555cc0ca35bae9ee46bd471, and 744dd749e25b.  However,
that isn't likely to happen, so we're better off with the leftlink at
the end of the structure.

12 years agoIssue #18471: Fix typo in heapq documentation (reported by François Pinard).
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).

12 years agoIssue #18455: multiprocessing should not retry connect() with same socket.
Richard Oudkerk [Mon, 15 Jul 2013 17:37:48 +0000 (18:37 +0100)] 
Issue #18455: multiprocessing should not retry connect() with same socket.

12 years agoMove entry from #18427 to the right section in the NEWS file
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

12 years agoIssue #18452: fix several "occurrence" typos (reported by Févry Thibault).
Ned Deily [Sun, 14 Jul 2013 19:42:27 +0000 (12:42 -0700)] 
Issue #18452: fix several "occurrence" typos (reported by Févry Thibault).

12 years agoIssue #18365: convert buildbot errors to skips.
Terry Jan Reedy [Sat, 13 Jul 2013 08:05:42 +0000 (04:05 -0400)] 
Issue #18365: convert buildbot errors to skips.

12 years agoIssue #18279: Add tests for idlelib/RstripExtension.py. Original patch by
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.

12 years agoIssue #18365: 2.7 corrections so tests run
Terry Jan Reedy [Sat, 13 Jul 2013 04:02:27 +0000 (00:02 -0400)] 
Issue #18365: 2.7 corrections so tests run

12 years ago#18437: fix comment typo.
R David Murray [Sat, 13 Jul 2013 02:57:12 +0000 (22:57 -0400)] 
#18437: fix comment typo.

12 years agoIssue #18365: normalize whitespace
Terry Jan Reedy [Sat, 13 Jul 2013 00:18:33 +0000 (20:18 -0400)] 
Issue #18365: normalize whitespace

12 years agoIssue #18365: Add mock Text class and test thereof versus tk.Text.
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.

12 years ago#18389: Clarify that relpath does not access the file system.
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.

12 years agoIssue #18101: Tcl.split() now process Unicode strings nested in a tuple as it
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().

12 years agoFix reference leaks introduced by the patch for issue #5308.
Serhiy Storchaka [Thu, 11 Jul 2013 16:14:07 +0000 (19:14 +0300)] 
Fix reference leaks introduced by the patch for issue #5308.

12 years agoMerge heads
Serhiy Storchaka [Thu, 11 Jul 2013 15:28:35 +0000 (18:28 +0300)] 
Merge heads

12 years agoIssue #18336. Fix a link to StreamReader's read() method.
Serhiy Storchaka [Thu, 11 Jul 2013 15:25:19 +0000 (18:25 +0300)] 
Issue #18336. Fix a link to StreamReader's read() method.

12 years agoIssue #18427: str.replace could crash the interpreter with huge strings.
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

12 years ago#18424: PEP8ify the tense of the sum docstring.
R David Murray [Wed, 10 Jul 2013 20:23:15 +0000 (16:23 -0400)] 
#18424: PEP8ify the tense of the sum docstring.

12 years agoIssue #18377: Code cleanup in Python Launcher
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.

12 years agoIssue #12990: The "Python Launcher" on OSX could not launch python scripts that have...
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.

12 years agoIssue #18347: ElementTree's html serializer now preserves the case of closing tags.
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.

12 years agoIssue #11185: Fix test_wait4 under AIX. Patch by Sébastien Sablé.
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é.

12 years agoCloses #18312: 'make distclean' no longer deletes files in dot-directories.
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.

12 years agoIssue #17261: Ensure multiprocessing's proxies use proper address.
Richard Oudkerk [Tue, 2 Jul 2013 12:31:43 +0000 (13:31 +0100)] 
Issue #17261: Ensure multiprocessing's proxies use proper address.

12 years agoIssue #14206: Clarify docs for Queue.join_cancel_thread().
Richard Oudkerk [Tue, 2 Jul 2013 11:58:21 +0000 (12:58 +0100)] 
Issue #14206: Clarify docs for Queue.join_cancel_thread().

12 years agoIssue #17273: Clarify that pool methods can only be used by parent process.
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.

12 years agoIssue #17097: Make multiprocessing ignore EINTR.
Richard Oudkerk [Mon, 1 Jul 2013 17:45:28 +0000 (18:45 +0100)] 
Issue #17097: Make multiprocessing ignore EINTR.

12 years agoIssue #7136: In the Idle File menu, "New Window" is renamed "New File".
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.

12 years agoIssue #8515: Set __file__ when run file in IDLE. Backport 2c276d0553ff by
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.

12 years agoIssue #18189: add test_delegator for Idle Delegator class.
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.

12 years agoIssue 18189: remove unused methods in idlelib.Delegator.Delegator.
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.

12 years agoTempfile.py: stop buildbot warning about using deprecated xreadlines.
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).

12 years ago#18155: Regex-escape delimiter, in case it is a regex special char.
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.

12 years agoIssue #18103: Update README.txt and test_idle to describe and run gui tests.
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.

12 years agoIssue #18237: Fix assertRaisesRegexp error caought by Jeff Tratner.
Terry Jan Reedy [Sat, 29 Jun 2013 17:15:36 +0000 (13:15 -0400)] 
Issue #18237: Fix assertRaisesRegexp error caought by Jeff Tratner.

12 years agoIssue #18316: Update idlelib 2.7 except clauses to ease backports.
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.

12 years agoIssue *18081, #18242: Change Idle warnings capture in PyShell and run to stop
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.

12 years agoIssue #18315: Improve fileinput docs by adding 'bufsize' where missing and
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.

12 years agoreapply f1dc30a1be72
Benjamin Peterson [Tue, 25 Jun 2013 18:35:44 +0000 (11:35 -0700)] 
reapply f1dc30a1be72

12 years agoreapply 5accb0ac8bfb
Benjamin Peterson [Tue, 25 Jun 2013 18:34:48 +0000 (11:34 -0700)] 
reapply 5accb0ac8bfb

12 years agoreapply f1dc30a1be72
Benjamin Peterson [Tue, 25 Jun 2013 18:26:20 +0000 (11:26 -0700)] 
reapply f1dc30a1be72

12 years agoreapply f1dc30a1be72
Benjamin Peterson [Tue, 25 Jun 2013 18:25:26 +0000 (11:25 -0700)] 
reapply f1dc30a1be72

12 years agoIssue #18135: ssl.SSLSocket.write() now raises an OverflowError if the input
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.

12 years agoIssue #18164: Backport the more detailed embedding compile-and-link section
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.

12 years agoFix typo.
Richard Oudkerk [Mon, 24 Jun 2013 19:38:22 +0000 (20:38 +0100)] 
Fix typo.

12 years agoClarify note and fix typo.
Richard Oudkerk [Mon, 24 Jun 2013 17:11:21 +0000 (18:11 +0100)] 
Clarify note and fix typo.

12 years agoIssue #15818: Typo in docs.
Richard Oudkerk [Mon, 24 Jun 2013 14:41:36 +0000 (15:41 +0100)] 
Issue #15818: Typo in docs.

12 years agoIssue #18277: Document quirks of multiprocessing queue.
Richard Oudkerk [Mon, 24 Jun 2013 13:45:24 +0000 (14:45 +0100)] 
Issue #18277: Document quirks of multiprocessing queue.

12 years agoMerge heads.
R David Murray [Sun, 23 Jun 2013 20:12:32 +0000 (16:12 -0400)] 
Merge heads.

12 years ago#18179: reflow paragraphs.
R David Murray [Sun, 23 Jun 2013 20:10:37 +0000 (16:10 -0400)] 
#18179: reflow paragraphs.

12 years ago#18179: document the local_hostname parameter.
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.

12 years agoalso backout f1dc30a1be72 for not being a bugfix
Benjamin Peterson [Sun, 23 Jun 2013 18:38:11 +0000 (11:38 -0700)] 
also backout f1dc30a1be72 for not being a bugfix

12 years agoIssue #18184: PyUnicode_FromFormat() and PyUnicode_FromFormatV() now raise
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.

12 years agoSolaris' /dev/null is a symlink. The device test now uses stat instead of lstat to...
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.

12 years agoIssue #18135: Fix a possible integer overflow in ssl.SSLSocket.write()
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.

12 years agoIssue #18137: Detect integer overflow on precision in float.__format__()
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__().

12 years ago#18151, part 2: Silence debug build resource warning for each file opened by
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.

12 years agobackout 5accb0ac8bfb; needs more discussion on python-dev
Benjamin Peterson [Sat, 22 Jun 2013 18:16:36 +0000 (11:16 -0700)] 
backout 5accb0ac8bfb; needs more discussion on python-dev

12 years agotransplant test_stat from default to 2.7 in order to make sure it works on all suppor...
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

12 years ago#18113: avoid segfault if Py_XDECREF triggers code that calls set_panel_userptr again
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.

12 years agoArrange structure to match the common access patterns.
Raymond Hettinger [Sat, 22 Jun 2013 07:51:01 +0000 (00:51 -0700)] 
Arrange structure to match the common access patterns.

12 years agoTweak programming faq examples so that it (mostly) passes doctest.
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.

12 years agoIssue #18256: Compilation fix for recent AIX releases. Patch by David Edelsohn.
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.

12 years agoFix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if it's...
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

12 years agoctypes: AIX needs an explicit #include <alloca.h> to get alloca()
Victor Stinner [Mon, 17 Jun 2013 20:03:35 +0000 (22:03 +0200)] 
ctypes: AIX needs an explicit #include <alloca.h> to get alloca()

12 years agoIssue #18167: cgi.FieldStorage no more fails to handle multipart/form-data
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.

12 years ago#18113: Objects associated to a curses.panel object with set_userptr() were leaked.
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.

12 years agoFix comment blocks. Adjust blocksize to a power-of-two for better divmod computations.
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.

12 years ago#5492: Avoid traceback when exiting IDLE caused by a race condition.
Roger Serwy [Wed, 12 Jun 2013 03:13:17 +0000 (22:13 -0500)] 
#5492: Avoid traceback when exiting IDLE caused by a race condition.

12 years agoIssue #18186: remove obsolete 2.2 compatibility comment.
Ned Deily [Tue, 11 Jun 2013 22:00:21 +0000 (15:00 -0700)] 
Issue #18186: remove obsolete 2.2 compatibility comment.

12 years ago#17511: Keep IDLE find dialog open after clicking "Find Next".
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.

12 years agoIssue #18174: Fix fd leaks in tests.
Richard Oudkerk [Mon, 10 Jun 2013 15:27:45 +0000 (16:27 +0100)] 
Issue #18174: Fix fd leaks in tests.

12 years agoEnsure that the fix for #17269 also works on OSX 10.4
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.

12 years agoIssue #18038: SyntaxError raised during compilation sources with illegal
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.

12 years ago#18126: update NumPy links in the documentation. Patch by Yury V. Zaytsev.
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.

12 years agoIssue18130: Test class idlelib.configSectionNameDialog.GetCfgSectionNameDialog.
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.

12 years agoFix #17967 - Fix related to regression on Windows.
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.

12 years agoFix thishost helper funtion in urllib. Returns the ipaddress of localhost when
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.

12 years agoFix #17967: For ftp urls CWD to target instead of hopping to each directory
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.

12 years agoFix #16450 test_missing_localfile testcase fails on misconfigured hostname.
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.

12 years agoIssue #18094: test_uuid no more reports skipped tests as passed.
Serhiy Storchaka [Fri, 31 May 2013 19:34:53 +0000 (22:34 +0300)] 
Issue #18094: test_uuid no more reports skipped tests as passed.

12 years agoIssue #15392: Use test.test_support, as used test.support in 3.x.
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.

12 years agoIssue #15392: Create a unittest framework for IDLE, 2.7 version.
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.

12 years agoIssue #18098: The deprecated OS X Build Applet.app fails to build on
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.

12 years ago#17403: urllib.parse.robotparser normalizes the urls before adding to ruleline.
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.