Commit Graph

15783 Commits

Author SHA1 Message Date
Georg Brandl 1fd63dc7ac Update pydoc topics. 2010-11-13 06:36:58 +00:00
Antoine Pitrou 45ca987495 Switch from gmane to another provider for NNTP tests (as gmane isn't reliable
enough).  Also, use setUpClass in order to connect only once per test run.
2010-11-13 00:28:53 +00:00
Éric Araujo 67a93ae4ed And now for something completely different: Finish fixing #10252 again. 2010-11-12 22:25:23 +00:00
Antoine Pitrou f3b001f966 Issue #4471: Add the IMAP.starttls() method to enable encryption on
standard IMAP4 connections.  Original patch by Lorenzo M. Catucci.
2010-11-12 18:49:16 +00:00
R. David Murray 6495136e40 #1466065: add validate option to base64.b64decode
Patch by Neil Tallim.  This provides a mechanism for module
users to achieve RFC 3548 compliance in the cases where ignoring
non-base64-alphabet input characters is *not* mandated by the RFC that
references RFC 3548.
2010-11-11 20:09:20 +00:00
Łukasz Langa 49afa380fd configparser.py: changed PendingDeprecationWarnings to DeprecationWarnings, via http://mail.python.org/pipermail/python-dev/2010-November/105391.html
configparser:py: renamed _views to _proxies to be consistent with the SectionProxy name
2010-11-11 19:53:23 +00:00
Alexander Belopolsky b9d10d08c4 Issue #10386: Added __all__ to token module; this simplifies importing
in tokenize module and prevents leaking of private names through
import *.
2010-11-11 14:07:41 +00:00
Antoine Pitrou 8d9a4e66c2 Disable test_python_builders in test_xmlrpc_net, following buildbot upgrade on python.org 2010-11-10 22:36:43 +00:00
Łukasz Langa 26d513cf2f Issue #5412: extend configparser to support mapping access 2010-11-10 18:57:39 +00:00
Antoine Pitrou cf9f98034a Issue #10372: Import the warnings module only after the IO library is
initialized, so as to avoid bootstrap issues with the '-W' option.
2010-11-10 13:55:25 +00:00
Antoine Pitrou 81c87c5e9a Followup to r86383: it seems that in some cases (buildbots), the server
closes the connection before we can call shutdown().
2010-11-10 08:59:25 +00:00
Antoine Pitrou dac47914d7 Forward port r86386 after it fixed the 3.1 buildbot issues 2010-11-10 00:18:40 +00:00
Antoine Pitrou d79f3c8b3a Issue #4471: Properly shutdown socket in IMAP.shutdown(). Patch by
Lorenzo M. Catucci.
2010-11-09 23:10:33 +00:00
Antoine Pitrou b1436f185d Fix IMAP.login() to work properly.
Also, add remote tests for imaplib (part of #4471).
2010-11-09 22:55:55 +00:00
Antoine Pitrou adffced3df Preserve the original environment (e.g. LD_LIBRARY_PATH) 2010-11-09 22:04:44 +00:00
Antoine Pitrou 9bc35682de Use script_helper in one more test 2010-11-09 21:33:55 +00:00
Ask Solem 2afcbf2249 Issue #9244: multiprocessing.pool: Worker crashes if result can't be encoded 2010-11-09 20:55:52 +00:00
Antoine Pitrou fb0469112f Issue #10022: The dictionary returned by the `getpeercert()` method
of SSL sockets now has additional items such as `issuer` and `notBefore`.
2010-11-09 20:21:19 +00:00
Antoine Pitrou 859c4ef0a0 Make `usenetrc` False by default (the old behaviour of having it True by
default could be rather confusing).
2010-11-09 18:58:42 +00:00
Antoine Pitrou 1cb121ecea Issue #1926: Add support for NNTP over SSL on port 563, as well as
STARTTLS.  Patch by Andrew Vant.
2010-11-09 18:54:37 +00:00
Victor Stinner 3e2b7171bf Issue #10359: Remove ";" after function definition, invalid in ISO C 2010-11-09 09:32:19 +00:00
Raymond Hettinger 572895b8eb Simplify code 2010-11-09 03:43:58 +00:00
Senthil Kumaran ec30b3dd8c Fix Issue10205 - XML QName error when different tags have same QName. 2010-11-09 02:36:59 +00:00
Victor Stinner 92665ab8c7 test_tokenize: use self.assertEqual() instead of plain assert 2010-11-09 01:11:31 +00:00
Victor Stinner 58c0752a33 Issue #10335: Add tokenize.open(), detect the file encoding using
tokenize.detect_encoding() and open it in read only mode.
2010-11-09 01:08:59 +00:00
Alexander Belopolsky 18c33737f8 Fixed unit test failure on Windows 2010-11-08 23:10:20 +00:00
Antoine Pitrou ea510eba1a Fix memory consumption advertised by some test cases 2010-11-08 21:40:13 +00:00
Antoine Pitrou d7ae299e4b Fix test_hashlib with the bigmem option 2010-11-08 20:36:57 +00:00
Alexander Belopolsky 6672ea9424 Streamlined code in trace.Ignore and added unit tests. 2010-11-08 18:32:40 +00:00
R. David Murray 7dff9e08fb #10321: Add support for sending binary DATA and Message objects to smtplib 2010-11-08 17:15:13 +00:00
Antoine Pitrou d95c7b5f8a Issue #10347: ignore leading test count ("[ 1/340]") when using the -f option to regrtest. 2010-11-07 20:50:51 +00:00
Victor Stinner 64bc3b28a3 Issue #10329: The trace module writes reports using the input Python script
encoding, instead of the locale encoding. Patch written by Alexander
Belopolsky.
2010-11-07 15:47:36 +00:00
Victor Stinner bb4f218050 os module: remove nonbreaking space in a comment 2010-11-07 15:43:39 +00:00
Mark Dickinson a837aa6213 Update assertComplexIdentical to handle nans correctly. 2010-11-07 15:31:41 +00:00
Victor Stinner be3da38e0a Issue #10337: skip tests of tanh() sign in test_math and test_cmath if tanh()
doesn't preserve the zero sign (if TANH_PRESERVES_ZERO_SIGN define is 0).
2010-11-07 14:14:27 +00:00
Mark Dickinson baa0f0510e Add a dtoa.c test value that triggered a bug in recent versions of
Gay's dtoa.c (but not for current versions of Python's dtoa.c).
Thanks Rick Regan for finding and reporting this.
2010-11-07 10:01:46 +00:00
Victor Stinner 2e598faade test_concurrent_futures: remove temporary hack 2010-11-07 04:36:56 +00:00
Éric Araujo 7c03d8c5c6 Fix #10252 again (hopefully definitely). Patch by Brian Curtin. 2010-11-06 18:03:52 +00:00
Éric Araujo 8bdbe9c52f Correct the fix for #10252: Popen objects have no close method. 2010-11-06 15:57:52 +00:00
Eric Smith 72f6620859 Removed unused test classes from test_format_map(). 2010-11-06 14:43:26 +00:00
Victor Stinner 7322fcf84b test_concurrent_futures: dump ulimit -a to check a failure on x86 FreeBSD 7.2 3.x, buildbot 2010-11-06 13:10:29 +00:00
Victor Stinner 273b766870 os.get_exec_path() ignores BytesWarning instead of recoding them
Use only one global warning.catch_warnings() context, instead of two local
contexts. Improve also the explaination why the function uses a local import.
2010-11-06 12:59:33 +00:00
Éric Araujo 45ee43be43 Remove traces of Mac OS 9 support, again (#9508).
This was done in r80805 (#7908) and erroneously brought back by the
distutils revert.  This commit removes more code than the original,
which was uncomplete.  There is no NEWS entry, like in r80805.
2010-11-06 06:00:54 +00:00
Éric Araujo ba7209f0a5 Prevent race condition with mkdir in distutils. Patch by Arfrever on #9281. 2010-11-06 04:48:05 +00:00
Éric Araujo 7fa886df36 Prevent ResourceWarnings in test_gettext 2010-11-06 04:11:59 +00:00
Éric Araujo 37a89334da Fix caching error found by regrtest -R (#10229) 2010-11-06 04:09:29 +00:00
Éric Araujo 70ec44a773 Make sure each test can be run standalone (./python Lib/distutils/tests/x.py) 2010-11-06 02:44:43 +00:00
Éric Araujo 1c5054996f Fix one omission in r78359 2010-11-06 02:12:51 +00:00
Éric Araujo 5ac6d80c02 Also close file descriptors from os.popen and subprocess.Popen 2010-11-06 02:10:32 +00:00
Alexander Belopolsky 25b5741383 Issue #10330: trace module can now be used with python built without threads. 2010-11-06 01:31:16 +00:00