Terry Jan Reedy
68ad1d1372
Issue #18439 : Make patchcheck work on Windows for ACKS, NEWS.
2013-07-21 20:57:44 -04:00
Terry Jan Reedy
2c636fd655
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.)
2013-07-21 20:13:24 -04:00
Ned Deily
14ef0c8d6b
Issue #17532 : Prevent exception when changing key sets if Options menu is empty.
2013-07-20 14:38:24 -07:00
Raymond Hettinger
69468146b4
Issue #18513 : Add workaround for OS X 10.8 cexp bug that leads to wrong cmath.rect(0.0,-0.0) results.
2013-07-20 10:56:58 -07:00
Serhiy Storchaka
f52d574481
Issue #18448 : Fix a typo in Demo/newmetaclasses/Eiffel.py.
2013-07-16 22:11:28 +03:00
Raymond Hettinger
b77ed2c54b
Backport c952f3d122ae: Tweak the deque struct by moving the least used fields
...
(maxlen and weakref) to the end.
2013-07-16 02:34:19 -07:00
Raymond Hettinger
90180c1c3f
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.
2013-07-16 01:59:30 -07:00
Ned Deily
b7a285f528
Issue #18471 : Fix typo in heapq documentation (reported by François Pinard).
2013-07-15 19:07:41 -07:00
Richard Oudkerk
c8ef9bc694
Issue #18455 : multiprocessing should not retry connect() with same socket.
2013-07-15 18:37:48 +01:00
Ronald Oussoren
a85fa5c666
Move entry from #18427 to the right section in the NEWS file
2013-07-15 18:35:14 +02:00
Ned Deily
c967a593c9
Issue #18452 : fix several "occurrence" typos (reported by Févry Thibault).
2013-07-14 12:42:27 -07:00
Terry Jan Reedy
a25a31a901
Issue #18365 : convert buildbot errors to skips.
2013-07-13 04:05:42 -04:00
Terry Jan Reedy
c8a198ce02
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.
2013-07-13 02:34:35 -04:00
Terry Jan Reedy
e7cbd3f07c
Issue #18365 : 2.7 corrections so tests run
2013-07-13 00:02:27 -04:00
R David Murray
d781b07e29
#18437 : fix comment typo.
2013-07-12 22:57:12 -04:00
Terry Jan Reedy
fccb0d2d0d
Issue #18365 : normalize whitespace
2013-07-12 20:18:33 -04:00
Terry Jan Reedy
16c107046f
Issue #18365 : Add mock Text class and test thereof versus tk.Text.
...
Based on patches by Todd.Rovito and Phil Webster.
2013-07-12 20:10:17 -04:00
R David Murray
4f0102f189
#18389 : Clarify that relpath does not access the file system.
...
Initial patch by Madison May.
2013-07-12 18:21:41 -04:00
Serhiy Storchaka
fab65428d5
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().
2013-07-11 20:32:48 +03:00
Serhiy Storchaka
fe2e839565
Fix reference leaks introduced by the patch for issue #5308 .
2013-07-11 19:14:07 +03:00
Serhiy Storchaka
8cedb89ccd
Merge heads
2013-07-11 18:28:35 +03:00
Serhiy Storchaka
6cda0adf3a
Issue #18336 . Fix a link to StreamReader's read() method.
2013-07-11 18:25:19 +03:00
Ronald Oussoren
3687e8055c
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
2013-07-11 13:33:55 +02:00
R David Murray
f7c8584545
#18424 : PEP8ify the tense of the sum docstring.
2013-07-10 16:23:15 -04:00
Ronald Oussoren
cc879a0592
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.
2013-07-07 09:49:23 +02:00
Ronald Oussoren
51ee65645a
Issue #12990 : The "Python Launcher" on OSX could not launch python scripts that have paths that include wide characters.
2013-07-06 13:19:58 +02:00
Christian Heimes
20d46692fc
Issue #18347 : ElementTree's html serializer now preserves the case of closing tags.
2013-07-05 01:41:30 +02:00
Antoine Pitrou
0c503c2c7f
Issue #11185 : Fix test_wait4 under AIX. Patch by Sébastien Sablé.
2013-07-04 21:03:10 +02:00
Eric V. Smith
e38905b4fa
Closes #18312 : 'make distclean' no longer deletes files in dot-directories.
2013-07-02 09:02:03 -04:00
Richard Oudkerk
1e462fefd6
Issue #17261 : Ensure multiprocessing's proxies use proper address.
2013-07-02 13:31:43 +01:00
Richard Oudkerk
4bc130c065
Issue #14206 : Clarify docs for Queue.join_cancel_thread().
2013-07-02 12:58:21 +01:00
Richard Oudkerk
4903253069
Issue #17273 : Clarify that pool methods can only be used by parent process.
2013-07-02 12:31:50 +01:00
Richard Oudkerk
41072db709
Issue #17097 : Make multiprocessing ignore EINTR.
2013-07-01 18:45:28 +01:00
Terry Jan Reedy
44d8b11c3e
Issue #7136 : In the Idle File menu, "New Window" is renamed "New File".
...
Patch by Tal Einat, Roget Serwy, and Todd Rovito.
2013-07-01 00:42:44 -04:00
Terry Jan Reedy
b6eeef4165
Issue #8515 : Set __file__ when run file in IDLE. Backport 2c276d0553ff by
...
Andrew Svetlov, based on initial patch by Bruce Frederiksen.
2013-06-30 19:07:49 -04:00
Terry Jan Reedy
d1caae86e5
Issue #18189 : add test_delegator for Idle Delegator class.
...
Also change private dict used as a set to a set.
2013-06-30 18:36:53 -04:00
Terry Jan Reedy
7ab0c310c7
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.
2013-06-30 16:51:53 -04:00
Terry Jan Reedy
6c1d9dd566
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).
2013-06-30 13:57:57 -04:00
R David Murray
24dc75365e
#18155 : Regex-escape delimiter, in case it is a regex special char.
...
Patch by Vajrasky Kok, with slight modification to the tests by me.
2013-06-29 18:43:59 -04:00
Terry Jan Reedy
1d14246b77
Issue #18103 : Update README.txt and test_idle to describe and run gui tests.
2013-06-29 18:22:02 -04:00
Terry Jan Reedy
8d7500387d
Issue #18237 : Fix assertRaisesRegexp error caought by Jeff Tratner.
2013-06-29 13:15:36 -04:00
Terry Jan Reedy
2b149860a0
Issue #18316 : Update idlelib 2.7 except clauses to ease backports.
2013-06-29 00:59:34 -04:00
Terry Jan Reedy
8eab008b53
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.
2013-06-28 23:51:34 -04:00
Terry Jan Reedy
35115e6aab
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.
2013-06-28 18:59:19 -04:00
Benjamin Peterson
73d6aca5d2
reapply f1dc30a1be72
2013-06-25 11:35:44 -07:00
Benjamin Peterson
227f0faed2
reapply 5accb0ac8bfb
2013-06-25 11:34:48 -07:00
Benjamin Peterson
3968e29959
reapply f1dc30a1be72
2013-06-25 11:26:20 -07:00
Benjamin Peterson
13dd1f947e
reapply f1dc30a1be72
2013-06-25 11:25:26 -07:00
Victor Stinner
c1a44269da
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.
2013-06-25 00:48:02 +02:00
Ned Deily
7dc9bd84df
Issue #18164 : Backport the more detailed embedding compile-and-link section
...
from the Python 3 documentation.
2013-06-24 14:21:43 -07:00