Commit Graph

25649 Commits

Author SHA1 Message Date
Terry Jan Reedy
b638a38dc0 Issue #18425: Add docstrings to IdleHistory.py. Remove redundant 'history_'
prefix from two attributes and two methods of History class.
2013-08-13 19:51:04 -04:00
Ezio Melotti
d674927086 #18687: remove obsolete comment. Patch by Févry Thibault. 2013-08-13 12:53:40 +03:00
Senthil Kumaran
1eeba83867 Increasing test coverage of ftplib. Patch by Muhammad Jehanzeb 2013-08-12 22:24:43 -07:00
Ezio Melotti
d599142197 #18663: document that assertAlmostEqual also works when the values are equal and add tests. 2013-08-11 13:04:50 +03:00
Terry Jan Reedy
bb8114cbe6 Issue #18676: Change 'positive' to 'non-negative' in queue.py put and get
docstrings and ValueError messages. Patch by Zhongyue Luo
2013-08-10 18:17:01 -04:00
Terry Jan Reedy
3d35489169 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.
2013-08-10 16:56:20 -04:00
Ezio Melotti
7921b30be6 #18357: add tests for dictview set difference. Patch by Fraser Tweedale. 2013-08-08 20:09:19 +03:00
Serhiy Storchaka
e822b034e7 Issue #15866: The xmlcharrefreplace error handler no more produces two XML
entities for a non-BMP character on narrow build.
2013-08-06 16:56:26 +03:00
Terry Jan Reedy
f948943604 Issue #18151: Replace remaining Idle 'open...close' pairs with 'with open'. 2013-08-04 15:39:56 -04:00
Eli Bendersky
b671701149 Issue #13612: Fix a buffer overflow in case of a multi-byte encoding.
This is a belated backport of f7b47fb30169; Patch by Serhiy Storchaka.
2013-08-04 06:09:49 -07:00
Serhiy Storchaka
06fbac5ea0 Issue #18647: Temporary disable the "nothing to repeat" check to make buildbots happy. 2013-08-04 13:22:30 +03:00
Serhiy Storchaka
3ade66c203 Issue #17998: Fix an internal error in regular expression engine. 2013-08-03 19:26:33 +03:00
Charles-François Natali
e8e312142e Issue #18325: Fix a test_kqueue failure on OpenBSD: kevent's data and event
members are integers.
2013-08-02 10:01:46 +02:00
Antoine Pitrou
ba7620cbff Fix tkinter regression introduced by the security fix in #16248. 2013-08-01 22:25:12 +02:00
Ned Deily
fb77386ffb Issue #18071: Extension module builds on OS X could fail with TypeError
if Xcode command line tools were not installed.
2013-07-31 00:14:20 -07:00
Terry Jan Reedy
9ba8d6bf34 Make all idle test case names end with 'Test'. 2013-07-30 01:37:36 -04:00
Terry Jan Reedy
aea6c115ed Update gui section of idle test README. 2013-07-28 16:39:44 -04:00
Raymond Hettinger
662908b5e5 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".
2013-07-28 02:34:42 -07:00
Terry Jan Reedy
16b10c64d7 Issue #18441: Move commented out code to issue message. 2013-07-28 00:01:00 -04:00
Terry Jan Reedy
d826d77d11 Issue #18441: whitespace 2013-07-27 22:29:09 -04:00
Terry Jan Reedy
47cb4d62c6 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.
2013-07-27 22:27:25 -04:00
Terry Jan Reedy
d71244f189 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
2013-07-27 22:06:03 -04:00
Terry Jan Reedy
cc8506ecbe Update int division to quiet 2to3 warning. 2013-07-27 20:28:53 -04:00
Terry Jan Reedy
6fb6f8cf58 Issue #18441: Correct previous patch, which hg committed before I wanted it to. 2013-07-27 19:07:07 -04:00
Terry Jan Reedy
09eb26fe26 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