]> granicus.if.org Git - python/log
python
17 years agoRequire that bash.exe is on the path, along with the rest of Cygwin.
Martin v. Löwis [Mon, 10 Sep 2007 13:30:38 +0000 (13:30 +0000)]
Require that bash.exe is on the path, along with the rest of Cygwin.

17 years agoUpdate before making htmlhelp.
Martin v. Löwis [Mon, 10 Sep 2007 13:20:03 +0000 (13:20 +0000)]
Update before making htmlhelp.

17 years agoAllow making update with no prior checkout.
Martin v. Löwis [Mon, 10 Sep 2007 13:19:10 +0000 (13:19 +0000)]
Allow making update with no prior checkout.

17 years agoBeginnings of a "build MSI" step.
Martin v. Löwis [Mon, 10 Sep 2007 10:22:05 +0000 (10:22 +0000)]
Beginnings of a "build MSI" step.

17 years agoTake chm file from build/htmlhelp/pydoc.chm.
Martin v. Löwis [Mon, 10 Sep 2007 10:21:22 +0000 (10:21 +0000)]
Take chm file from build/htmlhelp/pydoc.chm.

17 years agotr a-z A-Z does not work on Solaris (would require
Martin v. Löwis [Mon, 10 Sep 2007 06:18:32 +0000 (06:18 +0000)]
tr a-z A-Z does not work on Solaris (would require
/usr/xpg4/bin/tr); make the character ranges explicit.

17 years agoChange socket.error to inherit from IOError rather than being a stand
Gregory P. Smith [Sun, 9 Sep 2007 23:36:46 +0000 (23:36 +0000)]
Change socket.error to inherit from IOError rather than being a stand
alone class.  This addresses the primary concern in

 http://bugs.python.org/issue1706815

python-dev discussion here:

 http://mail.python.org/pipermail/python-dev/2007-July/073749.html

I chose IOError rather than EnvironmentError as the base class since
socket objects are often used as transparent duck typed file objects
in code already prepared to deal with IOError exceptions.

also a minor fix:

 urllib2 - fix a couple places where IOError was raised rather than URLError.
           for better or worse, URLError already inherits from IOError so
           this won't break any existing code.

 test_urllib2net - replace bad ftp urls.

17 years agoemail address update
Gregory P. Smith [Sun, 9 Sep 2007 20:25:00 +0000 (20:25 +0000)]
email address update

17 years agoNewer autoconf versions (from 2.60) want a 'datarootdir' definition in
Ronald Oussoren [Sun, 9 Sep 2007 11:13:42 +0000 (11:13 +0000)]
Newer autoconf versions (from 2.60) want a 'datarootdir' definition in
(Make-)files that use mandir (and other data directory macros).

This patch solves a warning during configure, specifically:

...
config.status: creating Makefile.pre
config.status: WARNING:  ../Makefile.pre.in seems to ignore the --datarootdir setting
...

See also: <http://www.gnu.org/software/automake/manual/autoconf/Changed-Directory-Variables.html>

17 years agobe explicit about the actual location of the missing file
Skip Montanaro [Sat, 8 Sep 2007 00:34:17 +0000 (00:34 +0000)]
be explicit about the actual location of the missing file

17 years ago#1095: ln -f doesn't work portably, fix in Makefile.
Georg Brandl [Fri, 7 Sep 2007 20:10:49 +0000 (20:10 +0000)]
#1095: ln -f doesn't work portably, fix in Makefile.

17 years agoFix a wrong indentation for sublists.
Georg Brandl [Fri, 7 Sep 2007 14:14:40 +0000 (14:14 +0000)]
Fix a wrong indentation for sublists.

17 years agoBackport from py3k branch:
Thomas Heller [Fri, 7 Sep 2007 09:33:24 +0000 (09:33 +0000)]
Backport from py3k branch:

Add a workaround for a strange bug on win64, when _ctypes is compiled
with the SDK compiler.  This should fix the failing
Lib\ctypes\test\test_as_parameter.py test.

17 years agoRemove unneeded #include.
Thomas Heller [Fri, 7 Sep 2007 09:30:40 +0000 (09:30 +0000)]
Remove unneeded #include.

17 years agoAdd a 'c_longdouble' type to the ctypes module.
Thomas Heller [Fri, 7 Sep 2007 06:32:17 +0000 (06:32 +0000)]
Add a 'c_longdouble' type to the ctypes module.

17 years agoFix a crasher where Python code managed to infinitely recurse in C code without
Brett Cannon [Fri, 7 Sep 2007 04:18:30 +0000 (04:18 +0000)]
Fix a crasher where Python code managed to infinitely recurse in C code without
ever going back out to Python code in PyObject_Call().  Required introducing a
static RuntimeError instance so that normalizing an exception there is no
reliance on a recursive call that would put the exception system over the
recursion check itself.

17 years agoMake uuid1 and uuid4 tests conditional on whether ctypes can be imported;
Brett Cannon [Fri, 7 Sep 2007 03:17:50 +0000 (03:17 +0000)]
Make uuid1 and uuid4 tests conditional on whether ctypes can be imported;
implementation of either function depends on ctypes but uuid as a whole does
not.

17 years agoApply the fix from Issue1112 to make this test more robust and keep
Gregory P. Smith [Thu, 6 Sep 2007 22:59:59 +0000 (22:59 +0000)]
Apply the fix from Issue1112 to make this test more robust and keep
windows happy.

17 years agoIf this is correct for py3k branch and it's already in the release25-maint
Skip Montanaro [Thu, 6 Sep 2007 22:29:06 +0000 (22:29 +0000)]
If this is correct for py3k branch and it's already in the release25-maint
branch, seems like it ought to be on the trunk as well.

17 years agoFix typo: c_float represents to C float type.
Thomas Heller [Thu, 6 Sep 2007 20:26:20 +0000 (20:26 +0000)]
Fix typo:  c_float represents to C float type.

17 years agoBackport from 3k: #1116: fix reference to old filename.
Georg Brandl [Thu, 6 Sep 2007 14:49:56 +0000 (14:49 +0000)]
Backport from 3k: #1116: fix reference to old filename.

17 years agoPyDict_GetItem() returns a borrowed reference.
Armin Rigo [Thu, 6 Sep 2007 09:30:38 +0000 (09:30 +0000)]
PyDict_GetItem() returns a borrowed reference.
This attack is against ceval.c:IMPORT_NAME, which calls an
object (__builtin__.__import__) without holding a reference to it.

17 years agoPatch #1733973 by peaker:
Armin Rigo [Thu, 6 Sep 2007 08:30:51 +0000 (08:30 +0000)]
Patch #1733973 by peaker:
ptrace_enter_call() assumes no exception is currently set.
This assumption is broken when throwing into a generator.

17 years agoBackport from Py3k: Bug #1684991: explain lookup semantics for __special__ methods...
Georg Brandl [Wed, 5 Sep 2007 13:36:44 +0000 (13:36 +0000)]
Backport from Py3k: Bug #1684991: explain lookup semantics for __special__ methods (new-style classes only).

17 years agoPatch #786737: Allow building in a tree of symlinks pointing to
Martin v. Löwis [Wed, 5 Sep 2007 11:47:34 +0000 (11:47 +0000)]
Patch #786737: Allow building in a tree of symlinks pointing to
a readonly source.

17 years agoPyDict_GetItem() returns a borrowed reference.
Armin Rigo [Wed, 5 Sep 2007 07:51:21 +0000 (07:51 +0000)]
PyDict_GetItem() returns a borrowed reference.
There are probably a number of places that are open to attacks
such as the following one, in bltinmodule.c:min_max().

17 years agoPatch #1105: Explain that one needs to build the solution
Martin v. Löwis [Wed, 5 Sep 2007 06:39:17 +0000 (06:39 +0000)]
Patch #1105: Explain that one needs to build the solution
to get dependencies right.

17 years agoSSL certificate distinguished names should be represented by tuples
Bill Janssen [Wed, 5 Sep 2007 00:46:27 +0000 (00:46 +0000)]
SSL certificate distinguished names should be represented by tuples

17 years ago- Fix libffi configure for hppa*-*-linux* | parisc*-*-linux*.
Matthias Klose [Tue, 4 Sep 2007 20:46:02 +0000 (20:46 +0000)]
- Fix libffi configure for hppa*-*-linux* | parisc*-*-linux*.

17 years ago- Makefile.pre.in(buildbottest): Remove whitespace at eol.
Matthias Klose [Tue, 4 Sep 2007 19:05:38 +0000 (19:05 +0000)]
- Makefile.pre.in(buildbottest): Remove whitespace at eol.

17 years ago- Makefile.pre.in(buildbottest): Run an optional script pybuildbot.identify
Matthias Klose [Tue, 4 Sep 2007 18:17:36 +0000 (18:17 +0000)]
- Makefile.pre.in(buildbottest): Run an optional script pybuildbot.identify
  to include some information about the build environment.

17 years agoPatch #1031213: Decode source line in SyntaxErrors back to its original
Martin v. Löwis [Tue, 4 Sep 2007 14:19:28 +0000 (14:19 +0000)]
Patch #1031213: Decode source line in SyntaxErrors back to its original
source encoding. Will backport to 2.5.

17 years agoPatch #1388440: Add set_completion_display_matches_hook and
Martin v. Löwis [Tue, 4 Sep 2007 13:13:14 +0000 (13:13 +0000)]
Patch #1388440: Add set_completion_display_matches_hook and
get_completion_type to readline.

17 years agoDocument that we rely on the OS to release the crypto
Martin v. Löwis [Tue, 4 Sep 2007 09:51:57 +0000 (09:51 +0000)]
Document that we rely on the OS to release the crypto
context. Fixes #1626801.

17 years agoAdded cross-references plus a note about dict & list shallow copying.
Mark Summerfield [Tue, 4 Sep 2007 08:16:15 +0000 (08:16 +0000)]
Added cross-references plus a note about dict & list shallow copying.

17 years ago- Added support for linking the bsddb module against BerkeleyDB 4.6.x.
Matthias Klose [Mon, 3 Sep 2007 23:33:04 +0000 (23:33 +0000)]
- Added support for linking the bsddb module against BerkeleyDB 4.6.x.

17 years agoFix #883466: don't allow Unicode as arguments to quopri and uu codecs.
Georg Brandl [Mon, 3 Sep 2007 07:16:46 +0000 (07:16 +0000)]
Fix #883466: don't allow Unicode as arguments to quopri and uu codecs.

17 years agoMacosx: this patch ensures that the value of MACOSX_DEPLOYMENT_TARGET used
Ronald Oussoren [Sun, 2 Sep 2007 09:46:07 +0000 (09:46 +0000)]
Macosx: this patch ensures that the value of MACOSX_DEPLOYMENT_TARGET used
by the Makefile is also used at configure-time.

17 years agoAdd more items
Andrew M. Kuchling [Sat, 1 Sep 2007 21:18:31 +0000 (21:18 +0000)]
Add more items

17 years agoWording change
Andrew M. Kuchling [Sat, 1 Sep 2007 21:17:58 +0000 (21:17 +0000)]
Wording change

17 years agoAdd various items
Andrew M. Kuchling [Sat, 1 Sep 2007 20:43:36 +0000 (20:43 +0000)]
Add various items

17 years agoMarkup fix
Andrew M. Kuchling [Sat, 1 Sep 2007 20:31:59 +0000 (20:31 +0000)]
Markup fix

17 years agoFix typo.
Walter Dörwald [Sat, 1 Sep 2007 18:34:05 +0000 (18:34 +0000)]
Fix typo.

17 years agoFix wrong function names.
Walter Dörwald [Sat, 1 Sep 2007 18:18:09 +0000 (18:18 +0000)]
Fix wrong function names.

17 years agoAdded a note and examples to explain that re.split does not split on an
Skip Montanaro [Sat, 1 Sep 2007 17:40:03 +0000 (17:40 +0000)]
Added a note and examples to explain that re.split does not split on an
empty pattern match. (issue 852532).

17 years agoDocument sets' ">" and "<" operations (backport from py3k).
Georg Brandl [Sat, 1 Sep 2007 15:49:49 +0000 (15:49 +0000)]
Document sets' ">" and "<" operations (backport from py3k).

17 years agoFix RST link (backport from Py3k).
Georg Brandl [Sat, 1 Sep 2007 07:51:24 +0000 (07:51 +0000)]
Fix RST link (backport from Py3k).

17 years agoBug #1737210: Change Manufacturer of Windows installer to PSF.
Martin v. Löwis [Sat, 1 Sep 2007 06:36:03 +0000 (06:36 +0000)]
Bug #1737210: Change Manufacturer of Windows installer to PSF.
Will backport to 2.5.

17 years agoremove use of non-existent SSLFakeSocket in apparently untested code
Bill Janssen [Fri, 31 Aug 2007 19:03:31 +0000 (19:03 +0000)]
remove use of non-existent SSLFakeSocket in apparently untested code

17 years agoremove mentions of socket.ssl in comments
Bill Janssen [Fri, 31 Aug 2007 19:02:46 +0000 (19:02 +0000)]
remove mentions of socket.ssl in comments

17 years agodeprecate use of FakeSocket
Bill Janssen [Fri, 31 Aug 2007 19:02:23 +0000 (19:02 +0000)]
deprecate use of FakeSocket

17 years agoMark registry components as 64-bit on Win64.
Martin v. Löwis [Fri, 31 Aug 2007 10:01:07 +0000 (10:01 +0000)]
Mark registry components as 64-bit on Win64.

17 years agoFix subitem markup.
Georg Brandl [Fri, 31 Aug 2007 08:47:51 +0000 (08:47 +0000)]
Fix subitem markup.

17 years agoDocument new shorthand notation for index entries.
Georg Brandl [Fri, 31 Aug 2007 06:59:27 +0000 (06:59 +0000)]
Document new shorthand notation for index entries.

17 years agoOne more fix to consider missing SSL support.
Thomas Wouters [Thu, 30 Aug 2007 22:35:31 +0000 (22:35 +0000)]
One more fix to consider missing SSL support.

17 years agoDon't lie in __all__ attributes when SSL is not available: only add the SSL
Thomas Wouters [Thu, 30 Aug 2007 21:54:39 +0000 (21:54 +0000)]
Don't lie in __all__ attributes when SSL is not available: only add the SSL
classes when they are actually created.

17 years agoSomewhat-preliminary slice-object and extended slicing support for ctypes.
Thomas Wouters [Thu, 30 Aug 2007 21:01:17 +0000 (21:01 +0000)]
Somewhat-preliminary slice-object and extended slicing support for ctypes.
The exact behaviour of omitted and negative indices for the Pointer type may
need a closer look (especially as it's subtly different from simple slices)
but there's time yet before 2.6, and not enough before 3.0a1 :-)

17 years agoWarn about possible risks when extracting untrusted archives.
Lars Gustäbel [Thu, 30 Aug 2007 20:24:31 +0000 (20:24 +0000)]
Warn about possible risks when extracting untrusted archives.

17 years agoBump autoconf minimum version to 2.61.
Martin v. Löwis [Thu, 30 Aug 2007 20:10:57 +0000 (20:10 +0000)]
Bump autoconf minimum version to 2.61.

17 years agoBug #1709599: Run test_1565150 only if the file system is NTFS.
Martin v. Löwis [Thu, 30 Aug 2007 19:04:09 +0000 (19:04 +0000)]
Bug #1709599: Run test_1565150 only if the file system is NTFS.

17 years agoBug #1746880: Correctly install DLLs into system32 folder on Win64.
Martin v. Löwis [Thu, 30 Aug 2007 18:25:47 +0000 (18:25 +0000)]
Bug #1746880: Correctly install DLLs into system32 folder on Win64.

17 years agoFix typo.
Martin v. Löwis [Thu, 30 Aug 2007 18:15:22 +0000 (18:15 +0000)]
Fix typo.

17 years agoFix popen usage.
Martin v. Löwis [Thu, 30 Aug 2007 18:14:01 +0000 (18:14 +0000)]
Fix popen usage.

17 years agoadded note on new ssl module and deprecation of socket.ssl
Bill Janssen [Thu, 30 Aug 2007 18:08:06 +0000 (18:08 +0000)]
added note on new ssl module and deprecation of socket.ssl

17 years agoAdded docstrings to methods and functions.
Bill Janssen [Thu, 30 Aug 2007 17:07:28 +0000 (17:07 +0000)]
Added docstrings to methods and functions.

17 years agoSet startinpos before calling the error handler.
Walter Dörwald [Thu, 30 Aug 2007 15:34:55 +0000 (15:34 +0000)]
Set startinpos before calling the error handler.

17 years agoRewrap line.
Walter Dörwald [Thu, 30 Aug 2007 15:30:09 +0000 (15:30 +0000)]
Rewrap line.

17 years agoAdded more cross-references.
Mark Summerfield [Thu, 30 Aug 2007 15:03:03 +0000 (15:03 +0000)]
Added more cross-references.

17 years ago* Skip test_pipes on non-POSIX.
Georg Brandl [Thu, 30 Aug 2007 12:32:23 +0000 (12:32 +0000)]
* Skip test_pipes on non-POSIX.
* Don't raise TestSkipped within a test function.

17 years agoPatch #1680959: add test suite for pipes module.
Georg Brandl [Thu, 30 Aug 2007 10:38:56 +0000 (10:38 +0000)]
Patch #1680959: add test suite for pipes module.

17 years agoStronger urge to convert filenames to str before using them as argument to ZipFile...
Georg Brandl [Thu, 30 Aug 2007 10:09:42 +0000 (10:09 +0000)]
Stronger urge to convert filenames to str before using them as argument to ZipFile.write().

17 years agoThis contains a number of things:
Bill Janssen [Wed, 29 Aug 2007 22:35:05 +0000 (22:35 +0000)]
This contains a number of things:

1) Improve the documentation of the SSL module, with a fuller
   explanation of certificate usage, another reference, proper
   formatting of this and that.

2) Fix Windows bug in ssl.py, and general bug in sslsocket.close().
   Remove some unused code from ssl.py.  Allow accept() to be called on
   sslsocket sockets.

3) Use try-except-else in import of ssl in socket.py.  Deprecate use of
   socket.ssl().

4) Remove use of socket.ssl() in every library module, except for
   test_socket_ssl.py and test_ssl.py.

17 years agoIgnore test failures caused by 'resource temporarily unavailable'
Facundo Batista [Wed, 29 Aug 2007 10:28:28 +0000 (10:28 +0000)]
Ignore test failures caused by 'resource temporarily unavailable'
exceptions raised during FailingServerTestCase tests.
[GSoC - Alan McIntyre]

17 years agoAdd Bill as a developer
Neal Norwitz [Wed, 29 Aug 2007 06:15:33 +0000 (06:15 +0000)]
Add Bill as a developer

17 years agoRecent items.
Skip Montanaro [Wed, 29 Aug 2007 01:33:45 +0000 (01:33 +0000)]
Recent items.

17 years agoInstall pygettext (once the scriptsinstall target is working again).
Skip Montanaro [Wed, 29 Aug 2007 01:24:11 +0000 (01:24 +0000)]
Install pygettext (once the scriptsinstall target is working again).

17 years agoFix test output.
Walter Dörwald [Tue, 28 Aug 2007 23:35:33 +0000 (23:35 +0000)]
Fix test output.

17 years agofixes 813986
Skip Montanaro [Tue, 28 Aug 2007 23:22:52 +0000 (23:22 +0000)]
fixes 813986

17 years agoAdd a crasher for the thread-unsafety of file objects.
Georg Brandl [Tue, 28 Aug 2007 18:54:44 +0000 (18:54 +0000)]
Add a crasher for the thread-unsafety of file objects.

17 years agoFix title endtag in HTMLCalender.formatyearpage(). Fix documentation for
Walter Dörwald [Tue, 28 Aug 2007 16:38:26 +0000 (16:38 +0000)]
Fix title endtag in HTMLCalender.formatyearpage(). Fix documentation for
HTMLCalender.formatyearpage() (there's no themonth parameter).

This fixes issue1046.

17 years agoImprove extended slicing support in builtin types and classes. Specifically:
Thomas Wouters [Tue, 28 Aug 2007 15:28:19 +0000 (15:28 +0000)]
Improve extended slicing support in builtin types and classes. Specifically:

 - Specialcase extended slices that amount to a shallow copy the same way as
   is done for simple slices, in the tuple, string and unicode case.

 - Specialcase step-1 extended slices to optimize the common case for all
   involved types.

 - For lists, allow extended slice assignment of differing lengths as long
   as the step is 1. (Previously, 'l[:2:1] = []' failed even though
   'l[:2] = []' and 'l[:2:None] = []' do not.)

 - Implement extended slicing for buffer, array, structseq, mmap and
   UserString.UserString.

 - Implement slice-object support (but not non-step-1 slice assignment) for
   UserString.MutableString.

 - Add tests for all new functionality.

17 years agoTarFile.__init__() no longer fails if no name argument is passed and
Lars Gustäbel [Tue, 28 Aug 2007 12:31:09 +0000 (12:31 +0000)]
TarFile.__init__() no longer fails if no name argument is passed and
the fileobj argument has no usable name attribute (e.g. StringIO).

(will backport to 2.5)

17 years agoFix some glitches.
Georg Brandl [Tue, 28 Aug 2007 10:48:18 +0000 (10:48 +0000)]
Fix some glitches.

17 years agoAdding basic imputil documentation.
Sean Reifscheider [Tue, 28 Aug 2007 09:07:54 +0000 (09:07 +0000)]
Adding basic imputil documentation.

17 years agoDocument rev. 57574.
Georg Brandl [Tue, 28 Aug 2007 08:29:08 +0000 (08:29 +0000)]
Document rev. 57574.

17 years agoNews about functools.reduce.
Guido van Rossum [Mon, 27 Aug 2007 20:52:10 +0000 (20:52 +0000)]
News about functools.reduce.

17 years agoPatch # 1739906 by Christian Heimes -- add reduce to functools (importing
Guido van Rossum [Mon, 27 Aug 2007 20:51:00 +0000 (20:51 +0000)]
Patch # 1739906 by Christian Heimes -- add reduce to functools (importing
it from __builtin__).

17 years agoPatch 10124 by Bill Janssen, docs for the new ssl code.
Guido van Rossum [Mon, 27 Aug 2007 19:11:11 +0000 (19:11 +0000)]
Patch 10124 by Bill Janssen, docs for the new ssl code.

17 years ago> Some of the code sets the error string in this directly before
Guido van Rossum [Mon, 27 Aug 2007 18:42:23 +0000 (18:42 +0000)]
> Some of the code sets the error string in this directly before
> returning NULL, and other pieces of the code call PySSL_SetError,
> which creates the error string.  I think some of the places which set
> the string directly probably shouldn't; instead, they should call
> PySSL_SetError to cons up the error name directly from the err code.
> However, PySSL_SetError only works after the construction of an ssl
> object, which means it can't be used there...  I'll take a longer look
> at it and see if there's a reasonable fix.

Here's a patch which addresses this.  It also fixes the indentation in
PySSL_SetError, bringing it into line with PEP 7, fixes a compile warning
about one of the OpenSSL macros, and makes the namespace a bit more
consistent.  I've tested it on FC 7 and OS X 10.4.

% ./python ./Lib/test/regrtest.py -R :1: -u all test_ssl
test_ssl
beginning 6 repetitions
123456
......
1 test OK.
[29244 refs]
%

[GvR: slightly edited to enforce 79-char line length, even if it required
 violating the style guide.]

17 years ago> Regardless, building a fixed test certificate and checking it in sounds like
Guido van Rossum [Mon, 27 Aug 2007 17:19:42 +0000 (17:19 +0000)]
> Regardless, building a fixed test certificate and checking it in sounds like
> the better option.  Then the openssl command in the test code can be turned
> into a comment describing how the test data was pregenerated.

Here's a patch that does that.

Bill

17 years agoIgnore test failures caused by 'resource temporarily unavailable'
Facundo Batista [Mon, 27 Aug 2007 01:15:34 +0000 (01:15 +0000)]
Ignore test failures caused by 'resource temporarily unavailable'
exceptions raised in the test server thread, since SimpleXMLRPCServer
does not gracefully handle them.  Changed number of requests handled
by tests server thread to one (was 2) because no tests require more
than one request. [GSoC - Alan McIntyre]

17 years agoIf we can't create a certificate, print a warning, but don't fail the test.
Neal Norwitz [Mon, 27 Aug 2007 01:15:33 +0000 (01:15 +0000)]
If we can't create a certificate, print a warning, but don't fail the test.
Modified patch from what Bill Janssen sent on python-3000.

17 years agoMake a utility function for handling (printing) an error
Neal Norwitz [Mon, 27 Aug 2007 01:03:18 +0000 (01:03 +0000)]
Make a utility function for handling (printing) an error

17 years agoStop using string.join (from the module) to ease upgrade to py3k
Neal Norwitz [Mon, 27 Aug 2007 00:58:33 +0000 (00:58 +0000)]
Stop using string.join (from the module) to ease upgrade to py3k

17 years agoAnother patch from Bill Janssen that:
Neal Norwitz [Sun, 26 Aug 2007 22:20:03 +0000 (22:20 +0000)]
Another patch from Bill Janssen that:
1)  Fixes the bug that two class names are initial-lower-case.
2)  Replaces the poll waiting for the server to become ready with
    a threading.Event signal.

17 years agoCatch IOError for when the device file doesn't exist or the user doesn't have
Neal Norwitz [Sun, 26 Aug 2007 22:16:23 +0000 (22:16 +0000)]
Catch IOError for when the device file doesn't exist or the user doesn't have
permission to write to the device.

17 years agoGet the test passing by commenting out some writes (should they be removed?)
Neal Norwitz [Sun, 26 Aug 2007 21:40:16 +0000 (21:40 +0000)]
Get the test passing by commenting out some writes (should they be removed?)

17 years agoBill Janssen wrote:
Guido van Rossum [Sun, 26 Aug 2007 19:35:09 +0000 (19:35 +0000)]
Bill Janssen wrote:
Here's a patch which makes test_ssl a better player in the buildbots
environment.  I deep-ended on "try-except-else" clauses.

17 years agoFail gracefully if the cert files cannot be created
Neal Norwitz [Sun, 26 Aug 2007 18:50:39 +0000 (18:50 +0000)]
Fail gracefully if the cert files cannot be created

17 years agoReap children before the test starts so hopefully SocketServer
Neal Norwitz [Sun, 26 Aug 2007 06:29:57 +0000 (06:29 +0000)]
Reap children before the test starts so hopefully SocketServer
won't find any old children left around which causes an exception
in collect_children() and the test to fail.