]> granicus.if.org Git - python/log
python
14 years agoRemove three unneeded variable assignments.
Brett Cannon [Wed, 5 May 2010 20:20:19 +0000 (20:20 +0000)]
Remove three unneeded variable assignments.

Found using Clang's static analyzer.

14 years agoRemove an unneeded assignment.
Brett Cannon [Wed, 5 May 2010 20:19:26 +0000 (20:19 +0000)]
Remove an unneeded assignment.

Found using Clang's static analyzer.

14 years agoRemove an unneeded variable assignment.
Brett Cannon [Wed, 5 May 2010 20:18:23 +0000 (20:18 +0000)]
Remove an unneeded variable assignment.

Found using Clang's static analyzer.

14 years agoRemove an unneeded variable.
Brett Cannon [Wed, 5 May 2010 20:16:50 +0000 (20:16 +0000)]
Remove an unneeded variable.

Found using Clang's static analyzer.

14 years agoRemove an unneeded variable increment.
Brett Cannon [Wed, 5 May 2010 20:16:09 +0000 (20:16 +0000)]
Remove an unneeded variable increment.

Found using Clang's static analyzer.

14 years agoRemove extraneous whitespace.
Brett Cannon [Wed, 5 May 2010 20:15:14 +0000 (20:15 +0000)]
Remove extraneous whitespace.

14 years agoRemove an unnecessary variable.
Brett Cannon [Wed, 5 May 2010 20:14:27 +0000 (20:14 +0000)]
Remove an unnecessary variable.

Found using Clang's static analyzer.

14 years agoIn a number of places code still revers
Ronald Oussoren [Wed, 5 May 2010 19:09:31 +0000 (19:09 +0000)]
In a number of places code still revers
to "sys.platform == 'mac'" and that is
dead code because it refers to a platform
that is no longer supported (and hasn't been
supported for several releases).

Fixes issue #7908 for the trunk.

14 years agoIssue #8600: fix test_gdb failures when gdb issues some spurious warnings.
Antoine Pitrou [Wed, 5 May 2010 18:29:02 +0000 (18:29 +0000)]
Issue #8600: fix test_gdb failures when gdb issues some spurious warnings.

14 years agoIssue #7472: remove unused code from email.encoders.encode_7or8bit.
R. David Murray [Wed, 5 May 2010 17:31:03 +0000 (17:31 +0000)]
Issue #7472: remove unused code from email.encoders.encode_7or8bit.

Yukihiro Nakadaira noticed a typo in encode_7or8bit that was trying
to special case iso-2022 codecs.  It turns out that the code in
question is never used, because whereas it was designed to trigger
if the payload encoding was eight bit but its output encoding was
7 bit, in practice the payload is always converted to the 7bit
encoding before encode_7or8bit is called.  Patch by Shawat Anand.

14 years agoUntabify Modules/_io/fileio.c
Antoine Pitrou [Wed, 5 May 2010 16:27:30 +0000 (16:27 +0000)]
Untabify Modules/_io/fileio.c

14 years agoNEWS
Barry Warsaw [Wed, 5 May 2010 16:17:22 +0000 (16:17 +0000)]
NEWS

14 years agoBug 7755: audiotest.au is arguably copyrighted material, but definitely makes
Barry Warsaw [Wed, 5 May 2010 16:15:09 +0000 (16:15 +0000)]
Bug 7755: audiotest.au is arguably copyrighted material, but definitely makes
Debian unhappy.  The actual contents of the audio clip are unimportant, so
replace it with something that we know is okay.  Guido likes woodpeckers.

14 years agoUntabify Modules/_ssl.c
Antoine Pitrou [Wed, 5 May 2010 15:53:45 +0000 (15:53 +0000)]
Untabify Modules/_ssl.c

14 years agoForce exit using os._exit instead of sys.exit,
Ronald Oussoren [Wed, 5 May 2010 15:32:39 +0000 (15:32 +0000)]
Force exit using os._exit instead of sys.exit,
this makes sure that the child does not continue
testing.

14 years agoThe C function used by uuid.uuid4 is broken on
Ronald Oussoren [Wed, 5 May 2010 14:48:37 +0000 (14:48 +0000)]
The C function used by uuid.uuid4 is broken on
OSX 10.6 in that after os.fork() the parent and
child generate the same sequence of UUIDs.

This patch falls back to the the Python implementation
on OSX 10.6 or later.

Fixes issue #8621.

14 years agoUpdate the NEWS entry for issue #8211.
Marc-André Lemburg [Wed, 5 May 2010 13:30:01 +0000 (13:30 +0000)]
Update the NEWS entry for issue #8211.

14 years agoIssue #8313: traceback.format_exception_only() encodes unicode message to
Victor Stinner [Wed, 5 May 2010 12:40:49 +0000 (12:40 +0000)]
Issue #8313: traceback.format_exception_only() encodes unicode message to
ASCII with backslashreplace error handler if str(value) failed

14 years agoRemove reference to unused source file.
Thomas Heller [Tue, 4 May 2010 19:08:18 +0000 (19:08 +0000)]
Remove reference to unused source file.

14 years agoFix test_gzip failure on OS X. The failure was a result of trying to fflush
Mark Dickinson [Tue, 4 May 2010 18:45:27 +0000 (18:45 +0000)]
Fix test_gzip failure on OS X.  The failure was a result of trying to fflush
a file that wasn't open for writing.  Patch by Antoine Pitrou.

14 years agoOn Windows, ctypes does no longer check the stack before and after
Thomas Heller [Tue, 4 May 2010 18:44:42 +0000 (18:44 +0000)]
On Windows, ctypes does no longer check the stack before and after
calling a foreign function.  This allows to use the unmodified libffi
library.

Remove most files from _ctypes/libffi_msvc, only two include files
stay (updated from _ctypes/libffi/...).  Other files are used in the
cross-platform _ctypes/libffi directory.

14 years agoFix trailing whitespace.
Mark Dickinson [Tue, 4 May 2010 16:19:06 +0000 (16:19 +0000)]
Fix trailing whitespace.

14 years agoIssue #1533: fix inconsistency in range function argument processing:
Mark Dickinson [Tue, 4 May 2010 16:18:25 +0000 (16:18 +0000)]
Issue #1533: fix inconsistency in range function argument processing:
any non-float non-integer argument is now converted to an integer (if
possible) using its __int__ method.  Previously, only small arguments
were treated this way; larger arguments (those whose __int__ was
outside the range of a C long) would produce a TypeError.

Patch by Alexander Belopolsky (with minor modifications).

14 years agoIssue #8567: Fix incorrect precedence of signals in Decimal module.
Mark Dickinson [Tue, 4 May 2010 14:25:50 +0000 (14:25 +0000)]
Issue #8567: Fix incorrect precedence of signals in Decimal module.

When a Decimal operation raises multiple signals and more than one of
those signals is trapped, the specification determines the order in
which the signals should be handled.  In many cases this order wasn't
being followed, leading to the wrong Python exception being raised.
This commit fixes those cases, and adds extra tests.  The tests are
only enabled when EXTENDEDERRORTESTS is True, since they involve
rerunning each Decimal testcase several times.

14 years ago_pyio: Fix TextIOWrapper constructor: os has no device_encoding() function
Victor Stinner [Tue, 4 May 2010 11:35:36 +0000 (11:35 +0000)]
_pyio: Fix TextIOWrapper constructor: os has no device_encoding() function

_io module doesn't call this function which was introduced in Python3.

14 years agoIssue #8404: Fix set operations on dictionary views.
Alexandre Vassalotti [Tue, 4 May 2010 03:21:51 +0000 (03:21 +0000)]
Issue #8404: Fix set operations on dictionary views.

14 years agoAdd some more items; the urlparse change is added twice
Andrew M. Kuchling [Tue, 4 May 2010 01:24:22 +0000 (01:24 +0000)]
Add some more items; the urlparse change is added twice

14 years agoPull a NULL pointer check up to cover more cases in the function.
Brett Cannon [Tue, 4 May 2010 01:23:36 +0000 (01:23 +0000)]
Pull a NULL pointer check up to cover more cases in the function.

Found using Clang's static analyzer.

14 years agoRemove an unneeded variable and assignment.
Brett Cannon [Tue, 4 May 2010 01:16:51 +0000 (01:16 +0000)]
Remove an unneeded variable and assignment.

Found using Clang's static analyzer.

14 years agoMention the code clean-up thanks to Clang's static analyzer in Modules.
Brett Cannon [Tue, 4 May 2010 01:04:53 +0000 (01:04 +0000)]
Mention the code clean-up thanks to Clang's static analyzer in Modules.

Was not applied to modules that will not compile under OS X, dbmmodule.c,
getaddrinfo.c, and getnameinfo.c.

14 years agoFix some whitespace.
Brett Cannon [Tue, 4 May 2010 01:01:00 +0000 (01:01 +0000)]
Fix some whitespace.

14 years agoRemove an unneeded variable assignment.
Brett Cannon [Tue, 4 May 2010 00:57:44 +0000 (00:57 +0000)]
Remove an unneeded variable assignment.

Found using Clang's static analyzer.

14 years agoStrip out extraneous whitespace, cast a some `const char *` to `void *` when
Brett Cannon [Tue, 4 May 2010 00:52:41 +0000 (00:52 +0000)]
Strip out extraneous whitespace, cast a some `const char *` to `void *` when
passed to free() and make a `char *` to a `const char *` as found by Clang's
static analyzer.

14 years agoFix a Py_DECREF to a Py_XDECREF.
Brett Cannon [Tue, 4 May 2010 00:48:11 +0000 (00:48 +0000)]
Fix a Py_DECREF to a Py_XDECREF.

Found using Clang's static analyzer.

14 years agoPrevent a possible NULL de-reference and an unneeded variable assignment.
Brett Cannon [Tue, 4 May 2010 00:36:00 +0000 (00:36 +0000)]
Prevent a possible NULL de-reference and an unneeded variable assignment.

Found using Clang's static analyzer.

14 years agoRemove a redundant string length check and variable assignment.
Brett Cannon [Tue, 4 May 2010 00:30:17 +0000 (00:30 +0000)]
Remove a redundant string length check and variable assignment.

Found with Clang's static analyzer.

14 years agoFix two potential uninitialization errors and an unneeded assignment.
Brett Cannon [Mon, 3 May 2010 23:57:15 +0000 (23:57 +0000)]
Fix two potential uninitialization errors and an unneeded assignment.

Found using Clang's static analyzer.

14 years agoRemove unused variables and a variable initialization.
Brett Cannon [Mon, 3 May 2010 23:51:28 +0000 (23:51 +0000)]
Remove unused variables and a variable initialization.

Found using Clang's static analyzer.

14 years agoRemove unneeded variable assignment.
Brett Cannon [Mon, 3 May 2010 23:44:54 +0000 (23:44 +0000)]
Remove unneeded variable assignment.

Found using Clang's static analyzer.

14 years agoRemove unneeded variable mutation and initializations.
Brett Cannon [Mon, 3 May 2010 23:43:49 +0000 (23:43 +0000)]
Remove unneeded variable mutation and initializations.

Found using Clang's static analyzer.

14 years agoClean up whitespace and remove unneeded variable initialization as found by
Brett Cannon [Mon, 3 May 2010 23:42:40 +0000 (23:42 +0000)]
Clean up whitespace and remove unneeded variable initialization as found by
Clang.

14 years agoRemove an unused variable.
Brett Cannon [Mon, 3 May 2010 23:41:51 +0000 (23:41 +0000)]
Remove an unused variable.

Found using Clang's static analyzer.

14 years agoRemove unneeded variable initialization.
Brett Cannon [Mon, 3 May 2010 23:41:23 +0000 (23:41 +0000)]
Remove unneeded variable initialization.

Found using Clang's static analyzer.

14 years agoIssue #7865: The close() method of :mod:`io` objects should not swallow
Antoine Pitrou [Mon, 3 May 2010 16:25:33 +0000 (16:25 +0000)]
Issue #7865: The close() method of :mod:`io` objects should not swallow
exceptions raised by the implicit flush().  Also ensure that calling
close() several times is supported.  Patch by Pascal Chambon.

14 years agowbits negative was documented SEVEN years ago
Jesus Cea [Mon, 3 May 2010 16:09:21 +0000 (16:09 +0000)]
wbits negative was documented SEVEN years ago

14 years agoIssue #8576: logging updated to remove usage of find_unused_port().
Vinay Sajip [Mon, 3 May 2010 15:11:53 +0000 (15:11 +0000)]
Issue #8576: logging updated to remove usage of find_unused_port().

14 years agoUpdate the Vim syntax highlight file.
Brett Cannon [Sun, 2 May 2010 21:51:23 +0000 (21:51 +0000)]
Update the Vim syntax highlight file.

14 years agoFix unittest tests to not abuse traceback.format_exception
Michael Foord [Sun, 2 May 2010 20:39:42 +0000 (20:39 +0000)]
Fix unittest tests to not abuse traceback.format_exception

14 years agoIssue #4687: Fix accuracy of garbage collection runtimes displayed with
Antoine Pitrou [Sun, 2 May 2010 19:51:14 +0000 (19:51 +0000)]
Issue #4687: Fix accuracy of garbage collection runtimes displayed with
gc.DEBUG_STATS.

14 years agoSmall update to r80698 to ensure that webbrowser.open
Ronald Oussoren [Sun, 2 May 2010 09:55:57 +0000 (09:55 +0000)]
Small update to r80698 to ensure that webbrowser.open
uses the default browser.

14 years agoFor for issue #7192: with this patch webbrowser.get("firefox")
Ronald Oussoren [Sun, 2 May 2010 09:48:21 +0000 (09:48 +0000)]
For for issue #7192: with this patch webbrowser.get("firefox")
works on OSX

14 years agoImprove error message from nb_int returning a non-integer, in various PyInt_As* funct...
Mark Dickinson [Sun, 2 May 2010 09:38:43 +0000 (09:38 +0000)]
Improve error message from nb_int returning a non-integer, in various PyInt_As* functions:

14 years agoRemove duplicate test
Antoine Pitrou [Sat, 1 May 2010 20:26:58 +0000 (20:26 +0000)]
Remove duplicate test

14 years agoFix attribution. Travis didn't do much and he did a bad work.
Antoine Pitrou [Sat, 1 May 2010 12:16:39 +0000 (12:16 +0000)]
Fix attribution. Travis didn't do much and he did a bad work.
(yes, this is a sensitive subject, sorry)

14 years agoDescribe memoryview
Andrew M. Kuchling [Sat, 1 May 2010 12:06:51 +0000 (12:06 +0000)]
Describe memoryview

14 years agoMinor grammar fix
Andrew M. Kuchling [Sat, 1 May 2010 12:05:52 +0000 (12:05 +0000)]
Minor grammar fix

14 years agoFix incorrect use of a list as the target of an 'except' clause in test_decimal.py.
Mark Dickinson [Sat, 1 May 2010 11:46:20 +0000 (11:46 +0000)]
Fix incorrect use of a list as the target of an 'except' clause in test_decimal.py.

14 years agoFix issue8582: urllib.urlretrieve fails with ValueError: Invalid format string
Senthil Kumaran [Sat, 1 May 2010 08:01:56 +0000 (08:01 +0000)]
Fix issue8582: urllib.urlretrieve fails with ValueError: Invalid format string

14 years agoAdd various items
Andrew M. Kuchling [Sat, 1 May 2010 01:19:16 +0000 (01:19 +0000)]
Add various items

14 years agoIssue #8576: Remove use of find_unused_port() in test_smtplib and
Antoine Pitrou [Fri, 30 Apr 2010 23:08:48 +0000 (23:08 +0000)]
Issue #8576: Remove use of find_unused_port() in test_smtplib and
test_multiprocessing.  Patch by Paul Moore.

14 years ago[issue8211] configure: ignore AC_PROG_CC hardcoded CFLAGS
Marc-André Lemburg [Fri, 30 Apr 2010 17:20:14 +0000 (17:20 +0000)]
[issue8211] configure: ignore AC_PROG_CC hardcoded CFLAGS

Only override the AC_PROG_CC determined CFLAGS if they were set by the user.
This restores the default behavior in the common case of not having CFLAGS
defined when running configure.

14 years agoAdd notes about uninstalling a framework install to
Ronald Oussoren [Fri, 30 Apr 2010 15:11:22 +0000 (15:11 +0000)]
Add notes about uninstalling a framework install to
Mac/README. Fixes issue 7107.

14 years agoFix for issue 8476
Ronald Oussoren [Fri, 30 Apr 2010 14:58:39 +0000 (14:58 +0000)]
Fix for issue 8476

14 years agoAdd item
Andrew M. Kuchling [Fri, 30 Apr 2010 13:47:34 +0000 (13:47 +0000)]
Add item

14 years agoMinor grammar re-wording
Andrew M. Kuchling [Fri, 30 Apr 2010 13:46:55 +0000 (13:46 +0000)]
Minor grammar re-wording

14 years agoFixed #8577. distutils.sysconfig.get_python_inc() now differenciates buildir and...
Tarek Ziadé [Fri, 30 Apr 2010 12:15:12 +0000 (12:15 +0000)]
Fixed #8577. distutils.sysconfig.get_python_inc() now differenciates buildir and srcdir

14 years agoFix for issue #3646: with this patch it is possible to do a
Ronald Oussoren [Fri, 30 Apr 2010 11:20:14 +0000 (11:20 +0000)]
Fix for issue #3646: with this patch it is possible to do a
framework install of Python in your home directory (on OSX):

   $ configure --enable-framework=${HOME}/Library/Frameworks
   $ make && make install

Without this patch the framework would get installed just fine,
but 'make install' would try to install the application bundles
and command-line tools outside the user's home, which doesn't work
for non-admin users (and is bad form anyway).

14 years agoAdd various items; rearrange unittest section a bit
Andrew M. Kuchling [Fri, 30 Apr 2010 01:33:40 +0000 (01:33 +0000)]
Add various items; rearrange unittest section a bit

14 years agoMarkup fix; clarify by adding 'in that order'
Andrew M. Kuchling [Fri, 30 Apr 2010 01:32:47 +0000 (01:32 +0000)]
Markup fix; clarify by adding 'in that order'

14 years agoFix typos
Andrew M. Kuchling [Fri, 30 Apr 2010 01:02:15 +0000 (01:02 +0000)]
Fix typos

14 years agoReword paragraph to make its meaning clearer.
Andrew M. Kuchling [Fri, 30 Apr 2010 00:52:31 +0000 (00:52 +0000)]
Reword paragraph to make its meaning clearer.

Antoine Pitrou: is my version of the paragraph still correct?

R. David Murray: is this more understandable than the previous version?

14 years agoAlways add space after RFC; reword paragraph
Andrew M. Kuchling [Fri, 30 Apr 2010 00:49:09 +0000 (00:49 +0000)]
Always add space after RFC; reword paragraph

14 years agoFixes issue 8543 (asynchat documentation issues)
Giampaolo Rodolà [Thu, 29 Apr 2010 20:31:17 +0000 (20:31 +0000)]
Fixes issue 8543 (asynchat documentation issues)

14 years agoFixing the Broken links of mechanize library.
Senthil Kumaran [Thu, 29 Apr 2010 19:46:08 +0000 (19:46 +0000)]
Fixing the Broken links of mechanize library.

14 years agoGroup the Windows entries in getfilesystemencoding doc, move the win 9x one at the...
Ezio Melotti [Thu, 29 Apr 2010 16:07:20 +0000 (16:07 +0000)]
Group the Windows entries in getfilesystemencoding doc, move the win 9x one at the bottom of the list and fix some markup.

14 years agoIssue #8464: tarfile.open(name, mode="w|") no longer creates
Lars Gustäbel [Thu, 29 Apr 2010 15:23:38 +0000 (15:23 +0000)]
Issue #8464: tarfile.open(name, mode="w|") no longer creates
files with execute permissions set.

14 years agoIssue #7834: Fix connect() of Bluetooth L2CAP sockets with recent versions
Antoine Pitrou [Thu, 29 Apr 2010 10:05:40 +0000 (10:05 +0000)]
Issue #7834: Fix connect() of Bluetooth L2CAP sockets with recent versions
of the Linux kernel.  Patch by Yaniv Aknin.

14 years agoupdate pypy url
Benjamin Peterson [Thu, 29 Apr 2010 03:30:59 +0000 (03:30 +0000)]
update pypy url

14 years agoupdate pypy description
Benjamin Peterson [Thu, 29 Apr 2010 03:18:05 +0000 (03:18 +0000)]
update pypy description

14 years agoAdd various unittest items
Andrew M. Kuchling [Thu, 29 Apr 2010 01:45:41 +0000 (01:45 +0000)]
Add various unittest items

14 years agoFix doubled 'the'.
Andrew M. Kuchling [Thu, 29 Apr 2010 01:44:30 +0000 (01:44 +0000)]
Fix doubled 'the'.
Markup fixes to use :exc:, :option: in a few places.
  (Glitch: unittest.main's -c ends up a link to the Python
  interpreter's -c option.  Should we skip using :option: for that
  switch, or disable the auto-linking somehow?)

14 years agoAdd various items
Andrew M. Kuchling [Thu, 29 Apr 2010 00:22:16 +0000 (00:22 +0000)]
Add various items

14 years agoFix style issues in test_ssl
Antoine Pitrou [Wed, 28 Apr 2010 21:11:01 +0000 (21:11 +0000)]
Fix style issues in test_ssl

14 years agoClarify and fix the documentation for IOBase.close()
Antoine Pitrou [Wed, 28 Apr 2010 19:57:33 +0000 (19:57 +0000)]
Clarify and fix the documentation for IOBase.close()

14 years agoState clearly that truncate() doesn't move the file position,
Antoine Pitrou [Wed, 28 Apr 2010 19:53:35 +0000 (19:53 +0000)]
State clearly that truncate() doesn't move the file position,
and remove a duplicate of its specification.

14 years agoFixed Issue6312 - httplib fails with HEAD requests to pages with "transfer-encoding...
Senthil Kumaran [Wed, 28 Apr 2010 17:20:43 +0000 (17:20 +0000)]
Fixed Issue6312 - httplib fails with HEAD requests to pages with "transfer-encoding: chunked"

14 years agoAdd version changed note for -m tinkering with sys.argv[0] during the search process
Nick Coghlan [Wed, 28 Apr 2010 14:53:59 +0000 (14:53 +0000)]
Add version changed note for -m tinkering with sys.argv[0] during the search process

14 years agoIssue 8202: when using the -m command line switch, sys.argv[0] is now '-m' instead...
Nick Coghlan [Wed, 28 Apr 2010 14:51:08 +0000 (14:51 +0000)]
Issue 8202: when using the -m command line switch, sys.argv[0] is now '-m' instead of '-c' while searching for the module to be executed

14 years agoAlso mention patch submitter's name in NEWS, not just in the commit message
Nick Coghlan [Wed, 28 Apr 2010 14:34:30 +0000 (14:34 +0000)]
Also mention patch submitter's name in NEWS, not just in the commit message

14 years agoIssue 7490: make IGNORE_EXCEPTION_DETAIL also ignore details of the module containing...
Nick Coghlan [Wed, 28 Apr 2010 14:29:06 +0000 (14:29 +0000)]
Issue 7490: make IGNORE_EXCEPTION_DETAIL also ignore details of the module containing the exception under test (original patch by Lennart Regebro)

14 years agoIssue #3928: Support 'os.mknod()' in Solaris
Jesus Cea [Wed, 28 Apr 2010 10:32:30 +0000 (10:32 +0000)]
Issue #3928: Support 'os.mknod()' in Solaris

14 years agoIssue #7449, last part (11): fix many tests if thread support is disabled
Victor Stinner [Tue, 27 Apr 2010 23:55:59 +0000 (23:55 +0000)]
Issue #7449, last part (11): fix many tests if thread support is disabled

 * Use try/except ImportError or test_support.import_module() to import thread
   and threading modules
 * Add @unittest.skipUnless(threading, ...) to testcases using threads

14 years agoIssue #7449, part 10: test_cmd imports trace module using test_support.import_module()
Victor Stinner [Tue, 27 Apr 2010 23:51:16 +0000 (23:51 +0000)]
Issue #7449, part 10: test_cmd imports trace module using test_support.import_module()

Use test_support.import_module() instead of import to raise a SkipTest
exception if the import fail. Import trace fails if the threading module is
missing.

See also part 3: test_doctest: import trace module in test_coverage().

14 years agoPartial revert of r80556 (Issue #7449, part 5, fix ctypes test)
Victor Stinner [Tue, 27 Apr 2010 23:33:58 +0000 (23:33 +0000)]
Partial revert of r80556 (Issue #7449, part 5, fix ctypes test)

Rewrite r80556: the thread test have to be executed just after the test on
libc_open() and so the test cannot be splitted in two functions (without
duplicating code, and I don't want to duplicate code).

14 years agoIssue #7449, part 9: fix test_xmlrpclib for missing threading module
Victor Stinner [Tue, 27 Apr 2010 23:14:58 +0000 (23:14 +0000)]
Issue #7449, part 9: fix test_xmlrpclib for missing threading module

 * Skip testcases using threads if threading module is missing
 * Use "http://" instead of URL in ServerProxyTestCase if threading is missing
   because URL is not set in this case

14 years agoIssue #7449, part 8: don't skip the whole test_asynchat if threading is missing
Victor Stinner [Tue, 27 Apr 2010 23:03:16 +0000 (23:03 +0000)]
Issue #7449, part 8: don't skip the whole test_asynchat if threading is missing

TestFifo can be executed without the threading module

14 years agoIssue #7449, part 7: simplify threading detection in test_capi
Victor Stinner [Tue, 27 Apr 2010 23:01:29 +0000 (23:01 +0000)]
Issue #7449, part 7: simplify threading detection in test_capi

 * Skip TestPendingCalls if threading module is missing
 * Test if threading module is present or not, instead of test the presence of
   _testcapi._test_thread_state

14 years agoIssue #7449, part 6: fix test_hashlib for missing threading module
Victor Stinner [Tue, 27 Apr 2010 22:59:35 +0000 (22:59 +0000)]
Issue #7449, part 6: fix test_hashlib for missing threading module

Move @test_support.reap_thread decorator from test_main() to test_threaded_hashing().

14 years agomake slice notation in (r)find docs consistent
Benjamin Peterson [Tue, 27 Apr 2010 22:56:31 +0000 (22:56 +0000)]
make slice notation in (r)find docs consistent

14 years agoIssue #8086: In :func:`ssl.DER_cert_to_PEM_cert()`, fix missing newline
Antoine Pitrou [Tue, 27 Apr 2010 22:03:37 +0000 (22:03 +0000)]
Issue #8086: In :func:`ssl.DER_cert_to_PEM_cert()`, fix missing newline
before the certificate footer.  Patch by Kyle VanderBeek.