Commit Graph

77111 Commits

Author SHA1 Message Date
David Wolever
a80d3a09fd Issue #18718: datetime documentation contradictory on leap second support 2013-08-14 14:33:54 -04:00
Raymond Hettinger
0e413bd288 Issue 18719: Remove a false optimization
Remove an unused early-out test from the critical path for
dict and set lookups.

When the strings already have matching lengths and hashes,
there is no additional information gained by checking the first
characters (the probability of a mismatch is already known to
be less than 1 in 2**64).
2013-08-13 18:34:49 -07:00
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
Antoine Pitrou
4221b7c764 Add NEWS entry for 0f17aed78168 (issue #16248) 2013-08-13 20:23:56 +02:00
Ezio Melotti
d674927086 #18687: remove obsolete comment. Patch by Févry Thibault. 2013-08-13 12:53:40 +03:00
Ned Deily
6681398ddd Issue 18724: Fix typo noticed by Susan Tan. 2013-08-13 01:11:56 -07:00
Senthil Kumaran
1eeba83867 Increasing test coverage of ftplib. Patch by Muhammad Jehanzeb 2013-08-12 22:24:43 -07:00
Felix Crux
b4e186cf11 Documenting that json.load may raise a ValueError.
Issue #18680: JSONDecoder should document that it raises a ValueError
  for malformed data
2013-08-12 17:39:51 -04:00
David Wolever
452dd38150 Issue #17701: Improving strftime documentation 2013-08-12 15:50:10 -04: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
0fd115650a Issue #18429: Add user-oriented News entry about Format / Format Paragraph
now working with comment block selections. Patch was part of 18226 patch.
2013-08-10 17:46:16 -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
Mark Dickinson
5ad3514822 Issue #18661: typo in grp.struct_group docstring. 2013-08-05 17:56:17 +01:00
Raymond Hettinger
007684a701 Silence compiler warning for unused declaration. 2013-08-04 22:35:37 -07: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
Martin v. Löwis
d5375dfb15 Issue #16067: Add description into MSI file to replace installer's temporary name. 2013-08-03 20:24:00 +02: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
Ned Deily
8074364f7a Issue #17557: Fix os.getgroups() to work with the modified behavior of
getgroups(2) on OS X 10.8.  Original patch by Mateusz Lenik.
2013-08-01 21:19:09 -07:00
Martin v. Löwis
594e8eba13 Add 2.7.6 uuids. 2013-08-01 23:57:21 +02:00