Commit graph

48682 commits

Author SHA1 Message Date
Ezio Melotti
63c4640327 Use proper skips and assert* methods in test_asyncore. 2010-07-27 22:03:33 +00:00
Florent Xicluna
f1046ca817 Issue #4770: Restrict binascii module to accept only bytes (as specified).
And fix the email package to encode to ASCII instead of ``raw-unicode-escape`` before ASCII-to-binary decoding.
2010-07-27 21:20:15 +00:00
Georg Brandl
4bf70686fa Update Sphinx to 1.0.1. 2010-07-27 18:19:21 +00:00
Alexander Belopolsky
ec34d94fa6 Blocked revisions 83177 via svnmerge
........
  r83177 | alexander.belopolsky | 2010-07-27 10:16:32 -0400 (Tue, 27 Jul 2010) | 1 line

  Issue #9384: python -m tkinter will now display a simple demo applet.
........
2010-07-27 14:19:57 +00:00
Alexander Belopolsky
c02cc2707a Issue #9384: python -m tkinter will now display a simple demo applet. 2010-07-27 14:16:32 +00:00
Gregory P. Smith
5a63183a8b The default size of the re module's compiled regular expression cache has
been increased from 100 to 500 and the cache replacement policy has changed
from simply clearing the entire cache on overflow to randomly forgetting 20%
of the existing cached compiled regular expressions.  This is a performance
win for applications that use a lot of regular expressions and limits the
impact of the performance hit anytime the cache is exceeded.
2010-07-27 05:31:29 +00:00
Georg Brandl
f5ae1efd41 Clarify. 2010-07-26 21:12:13 +00:00
Alexander Belopolsky
f39f62802d Added versionadded entry for the annotate argument. 2010-07-26 18:27:49 +00:00
Georg Brandl
a1c2ce0431 Add Reid. 2010-07-26 17:09:32 +00:00
Georg Brandl
571a953590 Fix indentation in example. 2010-07-26 17:00:20 +00:00
Georg Brandl
f6914aa76b Fix grammar. 2010-07-26 15:11:49 +00:00
Andrew M. Kuchling
3f911a16db Reword paragraph 2010-07-26 13:08:58 +00:00
Andrew M. Kuchling
57a7c3df85 #7637: fix a grammar error; simplify a sentence 2010-07-26 12:54:02 +00:00
Georg Brandl
ae51c17e6e Add Brian Quinlan. 2010-07-26 09:33:12 +00:00
Georg Brandl
6f934196ae #9381: fix markup. 2010-07-26 08:51:42 +00:00
Alexander Belopolsky
c6d37ea60f Blocked revisions 83157 via svnmerge
........
  r83157 | alexander.belopolsky | 2010-07-25 22:36:41 -0400 (Sun, 25 Jul 2010) | 1 line

  Make python version of fromtimestamp behave more like C.
........
2010-07-26 02:43:43 +00:00
Alexander Belopolsky
aeb039863d Make python version of fromtimestamp behave more like C. 2010-07-26 02:36:41 +00:00
Brian Curtin
0f0c3320ee Add note about #7113 and add Łukasz Langa to ACKS 2010-07-26 02:36:32 +00:00
Brian Curtin
9a27b0cd19 Fix #7113. Patch by Łukasz Langa.
Changes include using a list of lines instead of patching together using
string interpolation, and a multi-line value test cases.
2010-07-26 00:27:10 +00:00
Andrew M. Kuchling
688b9e384e #777884: make .normalize() do nothing for childless nodes, instead of raising an exception 2010-07-25 23:38:47 +00:00
Andrew M. Kuchling
ea64a6a4ca #7637: clarify description of encoding parameter 2010-07-25 23:23:30 +00:00
Michael Foord
bd6c079552 Issue #4686 - add .args to exceptions in the configparsermodule 2010-07-25 23:09:25 +00:00
Andrew M. Kuchling
4d4d1ce7a7 #1495229: update the type names used by the XML DOM mapping 2010-07-25 22:57:12 +00:00
Alexander Belopolsky
23028575f5 Merged revisions 83140-83141 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83140 | alexander.belopolsky | 2010-07-25 11:02:55 -0400 (Sun, 25 Jul 2010) | 5 lines

  Issue #9315: Renamed test_trace to test_sys_settrace and
  test_profilehooks to test_sys_setprofile so that test_trace can be
  used for testing the trace module and for naming consistency.
........
  r83141 | alexander.belopolsky | 2010-07-25 11:05:42 -0400 (Sun, 25 Jul 2010) | 1 line

  Corrected comments on where settrace and setprofile are tested.
........
2010-07-25 22:15:16 +00:00
Gregory P. Smith
2c4973dd4a Merged revisions 82985 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82985 | gregory.p.smith | 2010-07-19 16:17:22 -0700 (Mon, 19 Jul 2010) | 3 lines

  Fixes Issue #3704: http.cookiejar was not properly handling URLs with a / in
  the parameters.  (This is jjlee's issue3704.patch ported to py3k)
........
2010-07-25 19:53:20 +00:00
Alexander Belopolsky
85edadb8ab Reverted r83143: svnmerge failed to add new names 2010-07-25 15:23:24 +00:00
Alexander Belopolsky
6161077c93 Merged revisions 83140-83141 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83140 | alexander.belopolsky | 2010-07-25 11:02:55 -0400 (Sun, 25 Jul 2010) | 5 lines

  Issue #9315: Renamed test_trace to test_sys_settrace and
  test_profilehooks to test_sys_setprofile so that test_trace can be
  used for testing the trace module and for naming consistency.
........
  r83141 | alexander.belopolsky | 2010-07-25 11:05:42 -0400 (Sun, 25 Jul 2010) | 1 line

  Corrected comments on where settrace and setprofile are tested.
........
2010-07-25 15:13:42 +00:00
Alexander Belopolsky
07de165d6e Corrected comments on where settrace and setprofile are tested. 2010-07-25 15:05:42 +00:00
Alexander Belopolsky
13c475385b Issue #9315: Renamed test_trace to test_sys_settrace and
test_profilehooks to test_sys_setprofile so that test_trace can be
used for testing the trace module and for naming consistency.
2010-07-25 15:02:55 +00:00
Alexander Belopolsky
f6d2ca06ac Issue #9315: Revert r83005 before renaming test_trace to
test_sys_settrace and test_profilehooks to test_sys_setprofile in all
three branches.
2010-07-25 14:58:54 +00:00
Ronald Oussoren
55b9da5885 Merged revisions 83133 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83133 | ronald.oussoren | 2010-07-24 15:15:19 +0100 (Sat, 24 Jul 2010) | 5 lines

  Fix for issue 9367: the test code for os.getgroups
  assumes that the result of getgroups and the output
  of the id(1) command return groups in the same
  order.  That assumption is both fragile and false.
........
2010-07-24 14:19:26 +00:00
Ronald Oussoren
cb615e6abe Fix for issue 9367: the test code for os.getgroups
assumes that the result of getgroups and the output
of the id(1) command return groups in the same
order.  That assumption is both fragile and false.
2010-07-24 14:15:19 +00:00
Martin v. Löwis
9c71f90329 Put listdir default argument into declaration. 2010-07-24 10:09:11 +00:00
Richard Jones
803ef8a694 Implementation for issue 4184
Changes the previously private attributes to make them public, increasing the potential for extending the library in user code. Backward-compatible and documented.
2010-07-24 09:51:40 +00:00
Victor Stinner
1135a1732f Blocked revisions 83120 via svnmerge
........
  r83120 | victor.stinner | 2010-07-24 04:24:55 +0200 (sam., 24 juil. 2010) | 12 lines

  #9032: XML-RPC client: Transport.request() retries on EPIPE error

  The EPIPE error occurs when the server closes the socket and the client sends a
  "big" XML-RPC request (I don't know exactly the size threshold).

  request() just have to ignore the error because single_request() closes the
  socket on error, and so the next call to single_request() will open a new
  socket.

  Remove also a comment in the HTTP client because it's now wrong: see r70643
  and issue #5542.
........

In Python 3.1, Transport.request() doesn't retry on socket error.
2010-07-24 02:28:08 +00:00
Victor Stinner
756f547b9a #9032: XML-RPC client: Transport.request() retries on EPIPE error
The EPIPE error occurs when the server closes the socket and the client sends a
"big" XML-RPC request (I don't know exactly the size threshold).

request() just have to ignore the error because single_request() closes the
socket on error, and so the next call to single_request() will open a new
socket.

Remove also a comment in the HTTP client because it's now wrong: see r70643
and issue #5542.
2010-07-24 02:24:55 +00:00
Victor Stinner
c85ddcd406 Merged revisions 83116 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83116 | victor.stinner | 2010-07-24 02:49:20 +0200 (sam., 24 juil. 2010) | 4 lines

  Issue #4629: getopt raises an error if an argument ends with = whereas getopt
  doesn't except a value (eg. --help= is rejected if getopt uses ['help='] long
  options).
........
2010-07-24 01:11:58 +00:00
Victor Stinner
eccc5facd3 Issue #4629: getopt raises an error if an argument ends with = whereas getopt
doesn't except a value (eg. --help= is rejected if getopt uses ['help='] long
options).
2010-07-24 00:49:20 +00:00
Alexander Belopolsky
a565874cc1 Use _datetime docstring if _datetime is available. 2010-07-23 20:03:53 +00:00
Alexander Belopolsky
1ce4c44b28 Blocked revisions 83112 via svnmerge
........
  r83112 | alexander.belopolsky | 2010-07-23 15:25:47 -0400 (Fri, 23 Jul 2010) | 2 lines

  Issue #7989: Added pure python implementation of the datetime module.
........
2010-07-23 19:39:29 +00:00
Alexander Belopolsky
cf86e368eb Issue #7989: Added pure python implementation of the datetime module. 2010-07-23 19:25:47 +00:00
Brett Cannon
c2721b0cd0 Add Brian Brazil. 2010-07-23 16:58:57 +00:00
Brett Cannon
030244aaf9 Mention in the fnmatch docs that meta-characters in translate cannot be quoted.
Closes issue 9358. Thanks to Brian Brazil for the patch.
2010-07-23 16:58:21 +00:00
Brett Cannon
671153db25 Add queue tests for empty, full, put_nowait, and get_nowait.
Closes issue 9357. Thanks to Brian Brazil for the patch.
2010-07-23 16:56:21 +00:00
Georg Brandl
6b0e0e41b8 Update to 1.0. 2010-07-23 16:55:42 +00:00
Georg Brandl
a5eacee237 Fix some markup glitches. 2010-07-23 16:55:26 +00:00
Ezio Melotti
9acce32a0c Merged revisions 83103 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83103 | ezio.melotti | 2010-07-23 19:48:22 +0300 (Fri, 23 Jul 2010) | 1 line

  #9359: fix typo. Thanks to Piotr Kasprzyk for the patch.
........
2010-07-23 16:50:08 +00:00
Ezio Melotti
6086118ced #9359: fix typo. Thanks to Piotr Kasprzyk for the patch. 2010-07-23 16:48:22 +00:00
Brian Curtin
81a4a6abb7 Tab test_repr_daemon over so it's included in ThreadTests.
Noticed by Amaury.
2010-07-23 16:30:10 +00:00
Brett Cannon
4b16e130cc Add tests for fnmatch.filter and translate.
Partially closes issue 9356. Thanks to Brian Brazil for the patch.
2010-07-23 16:23:13 +00:00