42651 Commits

Author SHA1 Message Date
Antoine Pitrou
e99f507c98 I'm interested in threading issues as well 2010-08-04 13:24:41 +00:00
Richard Jones
6a9e6bbf1a fix test_smtplib/test_smtpd collision through pre-loaded reply data in mock_socket 2010-08-04 12:27:36 +00:00
Antoine Pitrou
62f68ed31f Factor out stripping of interpreter debug output in test.support.strip_python_stderr() 2010-08-04 11:48:56 +00:00
Giampaolo Rodolà
f96482e91a as per discussion with antoine revert changes made in 83708 as the user useing ftplib's readline methods is supposed to always use a binary file 2010-08-04 10:36:18 +00:00
Antoine Pitrou
226e945fe5 Something fun to maintain 2010-08-04 10:26:30 +00:00
Giampaolo Rodolà
b939235c6a fix issue #6822: ftplib's storline method doesn't work with text files 2010-08-04 10:12:00 +00:00
Giampaolo Rodolà
b5c23761d3 issue #8687: provides a test suite for sched.py module 2010-08-04 09:28:05 +00:00
Giampaolo Rodolà
934abddaec fix issue #2944: asyncore doesn't handle connection refused correctly (patch by Alexander Shigin). Merged from 2.7 branch. 2010-08-04 09:02:27 +00:00
Senthil Kumaran
84c7d9f87b Fix Issue754016 - urlparse goes wrong with IP:port without scheme 2010-08-04 04:50:44 +00:00
Richard Jones
4aa0d4d2d0 improve smtpd module test coverage 2010-08-04 01:20:14 +00:00
Richard Jones
dd24cf692c note smtpd module changes in NEWS 2010-08-04 01:19:22 +00:00
Antoine Pitrou
577ba7d43a That test was never run (since thread has been renamed to _thread in 3.x) 2010-08-04 00:18:49 +00:00
R. David Murray
c4e69cc1d8 #3196: if needed pad a short base64 encoded word before trying to decode.
The RFCs encourage following Postel's law: be liberal in what you accept.
So if someone forgot to pad the base64 encoded word payload to an
even four bytes, we add the padding before handing it to base64mime.decode.
Previously, missing padding resulted in a HeaderParseError.

Patch by Jason Williams.
2010-08-03 22:14:10 +00:00
Mark Dickinson
df7f2fd350 Misc/NEWS entry for r83677. 2010-08-03 18:44:16 +00:00
Martin v. Löwis
797721b146 Add various missing files.
Improve detection of unpackaged files.
2010-08-03 18:35:55 +00:00
Antoine Pitrou
da991da30b In test_threading_local, test both the default _thread._local implementation
and the pure Python implementation in Lib/_threading_local.py
2010-08-03 18:32:26 +00:00
Mark Dickinson
ee55df5c85 Fix memory leak in ssl module. 2010-08-03 18:31:54 +00:00
R. David Murray
88c49fe320 #9444: use first of prefix_chars for help opt instead of raising error
An argparse option parser created with a prefix_chars that did not
include a '-' would happily add -h and --help options, and then throw
an error when it tried to format the help because the - was an invalid
prefix character.  This patch makes it use the first character of
prefix_chars as the character for the help options if and only if '-'
is not one of the valid prefix_chars.

Fix by Theodore Turocy, unit tests by Catherine Devlin.
2010-08-03 17:56:09 +00:00
Antoine Pitrou
f767f08e29 Issue #8867: Fix Tools/scripts/serve.py to work with files containing
non-ASCII content.
2010-08-03 17:09:36 +00:00
Mark Dickinson
6b54e1f782 Issue #8065: Fix another memory leak in readline module, from failure to free
the result of a call to history_get_history_state.
2010-08-03 16:49:49 +00:00
Mark Dickinson
29b238e0dc Issue #9450: Fix memory leaks in readline.remove/replace_history_entry. 2010-08-03 16:08:16 +00:00
Georg Brandl
38557f2ac9 A couple of nits how to ignore errors. 2010-08-03 12:36:57 +00:00
Georg Brandl
2f27755f5d Get rid of UserWarnings when running Sphinx from tools dir. 2010-08-03 12:31:59 +00:00
Georg Brandl
7cb1319688 Terminology fix: exceptions are raised, except in generator.throw(). 2010-08-03 12:06:29 +00:00
Georg Brandl
e8e02e3b5b Fix regrtest -F. 2010-08-03 07:56:50 +00:00
Ronald Oussoren
fcd77016b3 Fix for issue 9455: platform.mac_ver() broken on OSX/ppc 2010-08-03 07:42:42 +00:00
Richard Jones
64b02de010 improvements to test_smtplib per issue2423
merged the socket mock introduced in test_smtpd
2010-08-03 06:39:33 +00:00
Georg Brandl
0db85e5d46 Fix-up some tkinter demos. 2010-08-02 23:30:09 +00:00
Georg Brandl
36f72d3396 Remove reference to removed faqwiz tool. 2010-08-02 23:18:35 +00:00
Georg Brandl
68642f5ed0 Remove obsolete pdist demo. 2010-08-02 23:17:21 +00:00
Georg Brandl
2db2b8a17d Another demo that at least runs again. 2010-08-02 23:15:58 +00:00
Georg Brandl
fb3b12d0c0 Make minigzip work again. 2010-08-02 23:13:24 +00:00
Georg Brandl
5ec5fed487 Update Demo README. 2010-08-02 23:13:12 +00:00
Georg Brandl
64465553db Fix unicode literal. 2010-08-02 22:59:44 +00:00
Georg Brandl
129435c5d2 Make the framer run (still generates wrong code for module creation though.) 2010-08-02 22:58:25 +00:00
Georg Brandl
6faacd3bba Update README, remove obsolete script. 2010-08-02 22:55:17 +00:00
Georg Brandl
d3f467ac74 Update README, remove obsolete scripts. 2010-08-02 22:53:22 +00:00
Georg Brandl
f7db42fe8c Update README for Tools. 2010-08-02 22:31:22 +00:00
Georg Brandl
e27c906c52 Remove faqwiz tool. 2010-08-02 22:28:01 +00:00
Georg Brandl
0063958c2e Minimum fixes to make freeze.py do something useful. 2010-08-02 22:25:16 +00:00
Georg Brandl
bf76ce168c Make the Pynche tool work with Python 3. 2010-08-02 22:08:58 +00:00
Georg Brandl
1800934285 #9061: warn that single quotes are never escaped. 2010-08-02 21:51:18 +00:00
Georg Brandl
75f2f8206c #9457: fix documentation links for 3.2. 2010-08-02 21:07:14 +00:00
Georg Brandl
9976a51344 #8119: fix copy-paste error. 2010-08-02 21:02:36 +00:00
Georg Brandl
98be996250 #9238: zipfile does handle archive comments. 2010-08-02 20:52:10 +00:00
Georg Brandl
222569dc1d #6867: epoll.register() returns None. 2010-08-02 20:47:56 +00:00
Georg Brandl
17dafdc249 Clarify that abs() is not a namespace. 2010-08-02 20:44:34 +00:00
Georg Brandl
62e4231a27 #7797: be explicit about bytes-oriented interface of base64 functions. 2010-08-02 20:39:35 +00:00
Georg Brandl
a1631b337a #9019: remove false (in 3k) claim about Headers updates. 2010-08-02 20:30:57 +00:00
Georg Brandl
b2566cfbf9 #9111: document that do_help() looks at docstrings. 2010-08-02 20:27:20 +00:00