42672 Commits

Author SHA1 Message Date
Mark Dickinson
e6fc7401a9 In PySlice_IndicesEx, clip the step to [-PY_SSIZE_T_MAX, PY_SSIZE_T_MAX] rather than [PY_SSIZE_T_MIN, PY_SSIZE_T_MAX]. 2010-08-06 18:55:26 +00:00
Tim Golden
af5ac3974b Issue #3210: Ensure stdio handles are closed if CreateProcess fails 2010-08-06 13:03:56 +00:00
Martin v. Löwis
2e3d539ce2 Change pyc removal to support __pycache__. 2010-08-06 10:43:31 +00:00
Raymond Hettinger
38bf2ccf4c Issue8757: Implicit set-to-frozenset conversion not thread-safe. 2010-08-06 09:52:17 +00:00
Mark Dickinson
4f3086f264 Misc/NEWS entry for r83751. 2010-08-06 09:38:58 +00:00
Mark Dickinson
346f0af4f6 Issue #9526: Remove outdated casts to int that were preventing the array module from working correctly with arrays > 2GB. 2010-08-06 09:36:57 +00:00
Raymond Hettinger
373e78c6f5 Fix the VS8.0 build 2010-08-06 09:22:46 +00:00
Gerhard Häring
c34d76cdc3 Issue #3854: Documented using the sqlite3 module with multiple threads. 2010-08-06 06:12:05 +00:00
Brian Curtin
f045d775fd Issue #9524: Document that two CTRL* signals are meant for use only
with os.kill.
2010-08-05 18:56:00 +00:00
Alexander Belopolsky
6fc4ade2bb Issue #9079: Added _PyTime_gettimeofday(_PyTime_timeval *tp) to C API
exposed in Python.h.  This function is similar to POSIX
gettimeofday(struct timeval *tp), but available on platforms without
gettimeofday().
2010-08-05 17:34:27 +00:00
Gerhard Häring
1c5471f319 Issue #6683: For SMTP logins we now try all authentication methods advertised
by the server. Many servers are buggy and advertise authentication methods they
o not support in reality. This change makes smtplib.auth() work more often in
the real world, where we face misconfigured servers and servers that advertise
methods they don't support due to the madness that is SASL.
2010-08-05 14:08:44 +00:00
Alexandre Vassalotti
ae7801813c Issue 5077: Add documentation for operator fixer.
Patch by Meador Inge.
2010-08-05 07:12:18 +00:00
Mark Dickinson
388122d43b Issue #9337: Make float.__str__ identical to float.__repr__.
(And similarly for complex numbers.)
2010-08-04 20:56:28 +00:00
Martin v. Löwis
b6c5074920 Add Terry Reedy. 2010-08-04 19:08:20 +00:00
Mark Dickinson
74f5902b04 Issue #9498: Add reference to sys.float_info from 'numeric types' docs.
Thanks Yitz Gale.
2010-08-04 18:42:43 +00:00
Antoine Pitrou
560f7647ce Issue #8814: function annotations (the __annotations__ attribute)
are now included in the set of attributes copied by default by
functools.wraps and functools.update_wrapper.  Patch by Terrence Cole.
2010-08-04 18:28:02 +00:00
Senthil Kumaran
5626eec0c2 Sending the auth info as string. Fix BytesWarning: str() on a bytes instance Exception on buildbot. 2010-08-04 17:46:23 +00:00
Antoine Pitrou
23df483cb6 Try to fix issue #9415: skip some tests on broken Ubuntu OpenSSL 2010-08-04 17:14:06 +00:00
Antoine Pitrou
15cee6209f In verbose mode, identify OpenSSL build and platform more precisely 2010-08-04 16:45:21 +00:00
Brian Curtin
a6a3274aad Fix #9513 to remove relative imports from multiprocessing.
The test suite currently skips test_multiprocessing on Windows
because it fails on finding _multiprocessing in several
win32-specific blocks. Removing the relative import lets this
through and allows the test to run (and pass).
2010-08-04 15:47:24 +00:00
Antoine Pitrou
482e66a58a Issue #9496: Provide a test suite for the rlcompleter module. Patch by
Michele Orrù.
2010-08-04 15:43:16 +00:00
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