]>
granicus.if.org Git - python/log
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.
Neal Norwitz [Mon, 27 Aug 2007 01:03:18 +0000 (01:03 +0000)]
Make a utility function for handling (printing) an error
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
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.
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.
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?)
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.
Neal Norwitz [Sun, 26 Aug 2007 18:50:39 +0000 (18:50 +0000)]
Fail gracefully if the cert files cannot be created
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.
Neal Norwitz [Sun, 26 Aug 2007 01:42:03 +0000 (01:42 +0000)]
Spell check (also americanify behaviour, it's almost 3 times as common)
Neal Norwitz [Sun, 26 Aug 2007 01:08:16 +0000 (01:08 +0000)]
Fix typo in docstring (missing c in reacquire)
Gregory P. Smith [Sun, 26 Aug 2007 00:26:00 +0000 (00:26 +0000)]
keep setup.py from listing unneeded hash modules (_md5, _sha*) as
missing when they were not built because _hashlib with openssl provided
their functionality instead.
don't build bsddb185 if bsddb was built.
Neal Norwitz [Sat, 25 Aug 2007 17:25:17 +0000 (17:25 +0000)]
Try to get this test to pass for systems that do not have SO_REUSEPORT
Neal Norwitz [Sat, 25 Aug 2007 16:58:09 +0000 (16:58 +0000)]
Fix a few more variables to try to get this to compile with Visual Studio.
Neal Norwitz [Sat, 25 Aug 2007 16:54:38 +0000 (16:54 +0000)]
Fix test so it is skipped properly if there is no SSL support.
Neal Norwitz [Sat, 25 Aug 2007 16:41:36 +0000 (16:41 +0000)]
Try to get this to build with Visual Studio by moving all the variable
declarations to the beginning of a scope.
Guido van Rossum [Sat, 25 Aug 2007 15:08:43 +0000 (15:08 +0000)]
Server-side SSL and certificate validation, by Bill Janssen.
While cleaning up Bill's C style, I may have cleaned up some code
he didn't touch as well (in _ssl.c).
Nick Coghlan [Sat, 25 Aug 2007 10:50:41 +0000 (10:50 +0000)]
Fix bug
1764407 - the -i switch now does the right thing when using the -m switch
Nick Coghlan [Sat, 25 Aug 2007 04:35:54 +0000 (04:35 +0000)]
Revert compile.c changes that shouldn't have been included in previous checkin
Nick Coghlan [Sat, 25 Aug 2007 04:32:07 +0000 (04:32 +0000)]
Revert misguided attempt at fixing incompatibility between -m and -i switches (better fix coming soon)
Collin Winter [Fri, 24 Aug 2007 21:09:42 +0000 (21:09 +0000)]
Make test_structmembers pass when run with regrtests's -R flag.
Georg Brandl [Fri, 24 Aug 2007 19:33:53 +0000 (19:33 +0000)]
Port test_class to unittest. Patch #
1671298 .
Georg Brandl [Fri, 24 Aug 2007 19:22:34 +0000 (19:22 +0000)]
Catch the correct errors.
Collin Winter [Fri, 24 Aug 2007 19:13:58 +0000 (19:13 +0000)]
Convert test_pkg to use unittest.
Georg Brandl [Fri, 24 Aug 2007 18:46:27 +0000 (18:46 +0000)]
Convert test_linuxaudiodev to unittest. Fix a wrong finally clause in test_ossaudiodev.
Georg Brandl [Fri, 24 Aug 2007 18:35:27 +0000 (18:35 +0000)]
Remove output file for test_ossaudiodev, also properly close the dsp object.
Georg Brandl [Fri, 24 Aug 2007 18:30:06 +0000 (18:30 +0000)]
Remove test_rgbimg output file, there is no test_rgbimg.py.
Georg Brandl [Fri, 24 Aug 2007 18:27:43 +0000 (18:27 +0000)]
Document new utility functions in test_support.
Georg Brandl [Fri, 24 Aug 2007 18:22:54 +0000 (18:22 +0000)]
Port test_frozen to unittest.
Georg Brandl [Fri, 24 Aug 2007 18:07:52 +0000 (18:07 +0000)]
Patch #1008: port test_signal to unittest.
Georg Brandl [Fri, 24 Aug 2007 17:46:54 +0000 (17:46 +0000)]
Fix #1012: wrong URL to :mod:`site` in install/index.rst.
Georg Brandl [Fri, 24 Aug 2007 17:38:49 +0000 (17:38 +0000)]
Patch #1006: port test_winreg to unittest.
Georg Brandl [Fri, 24 Aug 2007 17:23:23 +0000 (17:23 +0000)]
Bug #1011: fix rfc822.Message.getheader docs.
Guido van Rossum [Fri, 24 Aug 2007 14:53:14 +0000 (14:53 +0000)]
Fix silly typo in test name.
Georg Brandl [Fri, 24 Aug 2007 11:47:37 +0000 (11:47 +0000)]
Bug #
1765375 : fix stripping of unwanted LDFLAGS.
Georg Brandl [Fri, 24 Aug 2007 06:10:01 +0000 (06:10 +0000)]
uuid creation is now threadsafe, backport from py3k rev. 57375.
Gregory P. Smith [Fri, 24 Aug 2007 05:11:38 +0000 (05:11 +0000)]
Georg Brandl [Thu, 23 Aug 2007 21:55:57 +0000 (21:55 +0000)]
Patch #
1779550 : remove redundant code in logging.
Georg Brandl [Thu, 23 Aug 2007 21:42:54 +0000 (21:42 +0000)]
Bug #
1758696 : more info about descriptors.
Georg Brandl [Thu, 23 Aug 2007 21:36:05 +0000 (21:36 +0000)]
Bug #
1625381 : clarify match vs search introduction.
Georg Brandl [Thu, 23 Aug 2007 21:27:57 +0000 (21:27 +0000)]
Bug #
1688564 : document os.path.join's absolute path behavior in the docstring.
Georg Brandl [Thu, 23 Aug 2007 21:21:36 +0000 (21:21 +0000)]
Bug #
1734111 : document struct.Struct.size.
Georg Brandl [Thu, 23 Aug 2007 21:18:44 +0000 (21:18 +0000)]
Bug #
1752332 : httplib no longer uses socket.getaddrinfo().
Georg Brandl [Thu, 23 Aug 2007 20:55:44 +0000 (20:55 +0000)]
Clarify wording a bit.
Georg Brandl [Thu, 23 Aug 2007 20:53:28 +0000 (20:53 +0000)]
Bug #
1594966 : fix misleading usage example
Georg Brandl [Thu, 23 Aug 2007 20:50:23 +0000 (20:50 +0000)]
Bug #
1694833 : fix imp.find_module() docs wrt. packages.
Georg Brandl [Thu, 23 Aug 2007 20:40:01 +0000 (20:40 +0000)]
Bug #
1573854 : fix docs for sqlite3 cursor rowcount attr.
Georg Brandl [Thu, 23 Aug 2007 20:35:00 +0000 (20:35 +0000)]
Bug #
1697820 : document that the old slice protocol is still used by builtin types.
Georg Brandl [Thu, 23 Aug 2007 18:11:33 +0000 (18:11 +0000)]
Use try-except-finally in contextlib.
Georg Brandl [Thu, 23 Aug 2007 18:08:06 +0000 (18:08 +0000)]
Second half of #
1752175 : #ifdef out references to PyImport_DynLoadFiletab if HAVE_DYNAMIC_LOADING is not defined.
Georg Brandl [Thu, 23 Aug 2007 17:57:05 +0000 (17:57 +0000)]
Bug #
1766421 : "return code" vs. "status code".
Georg Brandl [Thu, 23 Aug 2007 17:54:11 +0000 (17:54 +0000)]
Bug #
1768121 : fix wrong/missing opcode docs.
Brett Cannon [Thu, 23 Aug 2007 14:53:17 +0000 (14:53 +0000)]
Make test_runpy re-entrant.
Jeffrey Yasskin [Wed, 22 Aug 2007 23:14:27 +0000 (23:14 +0000)]
When setup.py fails to find the necessary bits to build some modules, have it
print a slightly more informative message.
Gregory P. Smith [Wed, 22 Aug 2007 21:32:34 +0000 (21:32 +0000)]
stop leaving log.
0000001 __db.00* and xxx.db turds in developer
sandboxes when bsddb3 tests are run.
Alex Martelli [Wed, 22 Aug 2007 21:14:17 +0000 (21:14 +0000)]
Fix compile.c so that it records 0.0 and -0.0 as separate constants in a code
object's co_consts tuple; add a test to show that the previous behavior (where
these two constants were "collapsed" into one) causes serious malfunctioning.
Skip Montanaro [Wed, 22 Aug 2007 19:05:21 +0000 (19:05 +0000)]
whoops - need to check in configure as well
Skip Montanaro [Wed, 22 Aug 2007 19:02:16 +0000 (19:02 +0000)]
Note that BeOS is unsupported as of Python 2.6.
Facundo Batista [Tue, 21 Aug 2007 16:57:18 +0000 (16:57 +0000)]
Added test for behavior of operations on an unconnected SMTP object,
and tests for NOOP, RSET, and VRFY. Corrected typo in a comment for
testNonnumericPort. Added a check for constructing SMTP objects when
non-numeric ports are included in the host name. Derived a server from
SMTPServer to test various ESMTP/SMTP capabilities. Check that a
second HELO to DebuggingServer returns an error. [GSoC - Alan McIntyre]
Georg Brandl [Tue, 21 Aug 2007 06:12:19 +0000 (06:12 +0000)]
Bug #
1777168 : replace operator names "opa"... with "op1"... and mark everything up as literal,
to enhance readability.
Georg Brandl [Tue, 21 Aug 2007 06:07:08 +0000 (06:07 +0000)]
Bug #
1777160 : mention explicitly that e.g. -1**2 is -1.
Georg Brandl [Tue, 21 Aug 2007 06:03:43 +0000 (06:03 +0000)]
Revert accidental checkins from last commit.
Georg Brandl [Tue, 21 Aug 2007 06:01:18 +0000 (06:01 +0000)]
Demand version 2.5.1 since 2.5 has a bug with codecs.open context managers.
Mark Hammond [Tue, 21 Aug 2007 01:05:16 +0000 (01:05 +0000)]
[
1761786 ] distutils.util.get_platform() return value on 64bit Windows
As discussed on distutils-sig: Allows the generated installer name on
64bit Windows platforms to be different than the name generated for
32bit Windows platforms.
Mark Hammond [Tue, 21 Aug 2007 01:04:47 +0000 (01:04 +0000)]
[
1761786 ] distutils.util.get_platform() return value on 64bit Windows
As discussed on distutils-sig: Allows the generated installer name on
64bit Windows platforms to be different than the name generated for
32bit Windows platforms.
Facundo Batista [Tue, 21 Aug 2007 00:16:21 +0000 (00:16 +0000)]
Catch ProtocolError exceptions and include the header information in
test output (to make it easier to debug test failures caused by
problems in the server). [GSoC - Alan McIntyre]
Guido van Rossum [Mon, 20 Aug 2007 15:18:04 +0000 (15:18 +0000)]
Add a hack (originally devised in a slightly different form by Thomas Wouters)
to prevent spurious tracebacks when a daemon thread's cleanup happens to wake
up when the world around it has already been destroyed.
Hye-Shik Chang [Mon, 20 Aug 2007 06:49:18 +0000 (06:49 +0000)]
Add cheot-ga-keut composed make-up sequence support in EUC-KR codec.
Georg Brandl [Sun, 19 Aug 2007 18:43:50 +0000 (18:43 +0000)]
Fix stray backticks.
Brett Cannon [Sat, 18 Aug 2007 18:30:36 +0000 (18:30 +0000)]
Remove Mikael as the maintainer of BeOS at his request. With no maintainer
should the port be deprecated in 2.6?
Georg Brandl [Sat, 18 Aug 2007 06:05:56 +0000 (06:05 +0000)]
Fix PDB command descriptions.
Brett Cannon [Fri, 17 Aug 2007 20:16:15 +0000 (20:16 +0000)]
Make test_warnings re-entrant.
Facundo Batista [Fri, 17 Aug 2007 19:16:44 +0000 (19:16 +0000)]
Added a flag (_send_traceback_header) to the SimpleXMLRPCServer class
that allows sending back exception/stack trace information about
internal server errors (this flag defaults to False to avoid sending
such information unless explicitly enabled). Added tests to verify
behavior of this new feature (these tests are skipped on win32 because
of problems with WSAEWOULDBLOCK). Renamed HTTPTestCase to
SimpleServerTestCase. [GSoC - Alan McIntyre]
Brett Cannon [Fri, 17 Aug 2007 18:59:58 +0000 (18:59 +0000)]
Remove news entry for test.test_support.guard_warnings_filter as it has been
removed.
Brett Cannon [Fri, 17 Aug 2007 18:51:57 +0000 (18:51 +0000)]
Clarify the comment about setting the PYTHON variable for the Doc Makefile.
Walter Dörwald [Fri, 17 Aug 2007 16:58:43 +0000 (16:58 +0000)]
Move another variable declaration up.
Georg Brandl [Fri, 17 Aug 2007 16:54:59 +0000 (16:54 +0000)]
Use glossary x-refs, document new ``!`` feature.
Walter Dörwald [Fri, 17 Aug 2007 16:52:50 +0000 (16:52 +0000)]
Move variable declaration up.
Walter Dörwald [Fri, 17 Aug 2007 16:41:28 +0000 (16:41 +0000)]
Backport r57105 and r57145 from the py3k branch: UTF-32 codecs.
Georg Brandl [Fri, 17 Aug 2007 06:27:11 +0000 (06:27 +0000)]
Move the glossary from the tutorial to toplevel.
Prepare for cross-linking with the new .. glossary:: directive.
Georg Brandl [Fri, 17 Aug 2007 05:58:36 +0000 (05:58 +0000)]
Note that smtplib example needs a mailserver.
Georg Brandl [Fri, 17 Aug 2007 05:52:24 +0000 (05:52 +0000)]
Fix problem reported by Andre Roberge.
Neal Norwitz [Fri, 17 Aug 2007 04:10:55 +0000 (04:10 +0000)]
Update the tools before building the docs
Guido van Rossum [Fri, 17 Aug 2007 03:36:03 +0000 (03:36 +0000)]
Ignore a few more files.
Guido van Rossum [Fri, 17 Aug 2007 03:30:08 +0000 (03:30 +0000)]
Ignore *.py[co] files.
Matthias Klose [Thu, 16 Aug 2007 12:03:44 +0000 (12:03 +0000)]
- mark the findCaller 2-element tuple/3-element tuple change as new in 2.4
Mark Summerfield [Thu, 16 Aug 2007 10:09:22 +0000 (10:09 +0000)]
Added a note in each regarding the fact that unicode strings that look the same
may not compare equal (due to the possibility of multiple representations).
Neal Norwitz [Thu, 16 Aug 2007 05:16:09 +0000 (05:16 +0000)]
Try to make the comment a little clearer.
Neal Norwitz [Thu, 16 Aug 2007 05:07:03 +0000 (05:07 +0000)]
Support the new doc system.
Georg Brandl [Wed, 15 Aug 2007 19:06:04 +0000 (19:06 +0000)]
Replace "Caveat" paragraphs by .. warning::s.
Georg Brandl [Wed, 15 Aug 2007 18:41:25 +0000 (18:41 +0000)]
Mark deprecated modules as such.
Georg Brandl [Wed, 15 Aug 2007 18:30:42 +0000 (18:30 +0000)]
Fix a wrong path in the Makefile.
Georg Brandl [Wed, 15 Aug 2007 18:02:37 +0000 (18:02 +0000)]
Don't use "?=" which seems to be a GNUism.
Georg Brandl [Wed, 15 Aug 2007 17:27:29 +0000 (17:27 +0000)]
Add the roman.py module which docutils require.
Georg Brandl [Wed, 15 Aug 2007 17:25:27 +0000 (17:25 +0000)]
Fail somewhat more gracefully when using Python < 2.5.
Facundo Batista [Wed, 15 Aug 2007 15:13:09 +0000 (15:13 +0000)]
When passed a bad formed literal to Decimal, now we have a
better error message, more descriptive. (bug #
1770009 )
Georg Brandl [Wed, 15 Aug 2007 14:28:01 +0000 (14:28 +0000)]
Move the 2.6 reST doc tree in place.
Georg Brandl [Wed, 15 Aug 2007 14:26:55 +0000 (14:26 +0000)]
Delete the LaTeX doc tree.
Georg Brandl [Wed, 15 Aug 2007 14:08:45 +0000 (14:08 +0000)]
Tag last revision with LaTeX docs.
Brett Cannon [Tue, 14 Aug 2007 17:53:30 +0000 (17:53 +0000)]
Fix a missed instance of test.test_support.guard_warnings_filter (which was
recently removed).