]> granicus.if.org Git - python/log
python
17 years agoCatch ProtocolError exceptions and include the header information in
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]

17 years agoAdd a hack (originally devised in a slightly different form by Thomas Wouters)
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.

17 years agoAdd cheot-ga-keut composed make-up sequence support in EUC-KR codec.
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.

17 years agoFix stray backticks.
Georg Brandl [Sun, 19 Aug 2007 18:43:50 +0000 (18:43 +0000)]
Fix stray backticks.

17 years agoRemove Mikael as the maintainer of BeOS at his request. With no maintainer
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?

17 years agoFix PDB command descriptions.
Georg Brandl [Sat, 18 Aug 2007 06:05:56 +0000 (06:05 +0000)]
Fix PDB command descriptions.

17 years agoMake test_warnings re-entrant.
Brett Cannon [Fri, 17 Aug 2007 20:16:15 +0000 (20:16 +0000)]
Make test_warnings re-entrant.

17 years agoAdded a flag (_send_traceback_header) to the SimpleXMLRPCServer class
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]

17 years agoRemove news entry for test.test_support.guard_warnings_filter as it has been
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.

17 years agoClarify the comment about setting the PYTHON variable for the Doc Makefile.
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.

17 years agoMove another variable declaration up.
Walter Dörwald [Fri, 17 Aug 2007 16:58:43 +0000 (16:58 +0000)]
Move another variable declaration up.

17 years agoUse glossary x-refs, document new ``!`` feature.
Georg Brandl [Fri, 17 Aug 2007 16:54:59 +0000 (16:54 +0000)]
Use glossary x-refs, document new ``!`` feature.

17 years agoMove variable declaration up.
Walter Dörwald [Fri, 17 Aug 2007 16:52:50 +0000 (16:52 +0000)]
Move variable declaration up.

17 years agoBackport r57105 and r57145 from the py3k branch: UTF-32 codecs.
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.

17 years agoMove the glossary from the tutorial to toplevel.
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.

17 years agoNote that smtplib example needs a mailserver.
Georg Brandl [Fri, 17 Aug 2007 05:58:36 +0000 (05:58 +0000)]
Note that smtplib example needs a mailserver.

17 years agoFix problem reported by Andre Roberge.
Georg Brandl [Fri, 17 Aug 2007 05:52:24 +0000 (05:52 +0000)]
Fix problem reported by Andre Roberge.

17 years agoUpdate the tools before building the docs
Neal Norwitz [Fri, 17 Aug 2007 04:10:55 +0000 (04:10 +0000)]
Update the tools before building the docs

17 years agoIgnore a few more files.
Guido van Rossum [Fri, 17 Aug 2007 03:36:03 +0000 (03:36 +0000)]
Ignore a few more files.

17 years agoIgnore *.py[co] files.
Guido van Rossum [Fri, 17 Aug 2007 03:30:08 +0000 (03:30 +0000)]
Ignore *.py[co] files.

17 years ago- mark the findCaller 2-element tuple/3-element tuple change as new in 2.4
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

17 years agoAdded a note in each regarding the fact that unicode strings that look the same
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).

17 years agoTry to make the comment a little clearer.
Neal Norwitz [Thu, 16 Aug 2007 05:16:09 +0000 (05:16 +0000)]
Try to make the comment a little clearer.

17 years agoSupport the new doc system.
Neal Norwitz [Thu, 16 Aug 2007 05:07:03 +0000 (05:07 +0000)]
Support the new doc system.

17 years agoReplace "Caveat" paragraphs by .. warning::s.
Georg Brandl [Wed, 15 Aug 2007 19:06:04 +0000 (19:06 +0000)]
Replace "Caveat" paragraphs by .. warning::s.

17 years agoMark deprecated modules as such.
Georg Brandl [Wed, 15 Aug 2007 18:41:25 +0000 (18:41 +0000)]
Mark deprecated modules as such.

17 years agoFix a wrong path in the Makefile.
Georg Brandl [Wed, 15 Aug 2007 18:30:42 +0000 (18:30 +0000)]
Fix a wrong path in the Makefile.

17 years agoDon't use "?=" which seems to be a GNUism.
Georg Brandl [Wed, 15 Aug 2007 18:02:37 +0000 (18:02 +0000)]
Don't use "?=" which seems to be a GNUism.

17 years agoAdd the roman.py module which docutils require.
Georg Brandl [Wed, 15 Aug 2007 17:27:29 +0000 (17:27 +0000)]
Add the roman.py module which docutils require.

17 years agoFail somewhat more gracefully when using Python < 2.5.
Georg Brandl [Wed, 15 Aug 2007 17:25:27 +0000 (17:25 +0000)]
Fail somewhat more gracefully when using Python < 2.5.

17 years agoWhen passed a bad formed literal to Decimal, now we have a
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)

17 years agoMove the 2.6 reST doc tree in place.
Georg Brandl [Wed, 15 Aug 2007 14:28:01 +0000 (14:28 +0000)]
Move the 2.6 reST doc tree in place.

17 years agoDelete the LaTeX doc tree.
Georg Brandl [Wed, 15 Aug 2007 14:26:55 +0000 (14:26 +0000)]
Delete the LaTeX doc tree.

17 years agoTag last revision with LaTeX docs.
Georg Brandl [Wed, 15 Aug 2007 14:08:45 +0000 (14:08 +0000)]
Tag last revision with LaTeX docs.

17 years agoFix a missed instance of test.test_support.guard_warnings_filter (which was
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).

17 years agoAdded tests for simple function calls and introspection that are run
Facundo Batista [Tue, 14 Aug 2007 13:35:00 +0000 (13:35 +0000)]
Added tests for simple function calls and introspection that are run
against a SimpleXMLRPCServer in a separate thread.  Because of
problems with WSAEWOULDBLOCK (error 10035) being raised by the server
on Windows, these new tests are skipped on win32. [GSoC - Alan McIntyre]

17 years agoRemove test.test_support.guard_warnings_filter.
Brett Cannon [Tue, 14 Aug 2007 05:51:06 +0000 (05:51 +0000)]
Remove test.test_support.guard_warnings_filter.
test.test_support.catch_warning is more full-featured and provides the same
functionality.

Since guard_warnings_filter was added in 2.6 there is no
backwards-compatibility issues.

17 years agoAdd a UUID for python26.dll.
Martin v. Löwis [Tue, 14 Aug 2007 05:01:50 +0000 (05:01 +0000)]
Add a UUID for python26.dll.

17 years agoClarify the docs for TransientResource.
Brett Cannon [Tue, 14 Aug 2007 03:42:13 +0000 (03:42 +0000)]
Clarify the docs for TransientResource.

17 years agoFix a minor typo in a docstring.
Brett Cannon [Tue, 14 Aug 2007 03:38:47 +0000 (03:38 +0000)]
Fix a minor typo in a docstring.

17 years agoFix memory leak in os.readlink
Neal Norwitz [Sun, 12 Aug 2007 17:11:13 +0000 (17:11 +0000)]
Fix memory leak in os.readlink

17 years agoAdded Jeffrey Yasskin, reformat some lines to be consistent (and shorter).
Neal Norwitz [Fri, 10 Aug 2007 05:47:30 +0000 (05:47 +0000)]
Added Jeffrey Yasskin, reformat some lines to be consistent (and shorter).

17 years agoBackport r56875 from py3k; double LEAVE_PYTHON when AsString() fails
Guido van Rossum [Thu, 9 Aug 2007 21:47:11 +0000 (21:47 +0000)]
Backport r56875 from py3k; double LEAVE_PYTHON when AsString() fails
in PythonCmd().

17 years agoFix compilation warning.
Georg Brandl [Wed, 8 Aug 2007 13:50:02 +0000 (13:50 +0000)]
Fix compilation warning.

17 years agoRevert the fix for #1548891, it broke backwards compatibility with arbitrary read...
Georg Brandl [Wed, 8 Aug 2007 13:03:41 +0000 (13:03 +0000)]
Revert the fix for #1548891, it broke backwards compatibility with arbitrary read buffers.
Fixes #1730114.

17 years agoBug #1769002: fix a now-wrong sentence in the tutorial.
Georg Brandl [Tue, 7 Aug 2007 07:13:24 +0000 (07:13 +0000)]
Bug #1769002: fix a now-wrong sentence in the tutorial.

17 years agoPatch #1765839: add link to https+proxy urllib2 opener.
Georg Brandl [Mon, 6 Aug 2007 07:52:20 +0000 (07:52 +0000)]
Patch #1765839: add link to https+proxy urllib2 opener.

17 years agoReplace unnecessary function call.
Georg Brandl [Mon, 6 Aug 2007 07:39:09 +0000 (07:39 +0000)]
Replace unnecessary function call.

17 years agoPlace #ifdef Py_USING_UNICODE around decode_unicode().
Georg Brandl [Mon, 6 Aug 2007 07:37:58 +0000 (07:37 +0000)]
Place #ifdef Py_USING_UNICODE around decode_unicode().

17 years agoHandle errors when generating a warning.
Neal Norwitz [Sun, 5 Aug 2007 03:23:31 +0000 (03:23 +0000)]
Handle errors when generating a warning.
The value is always written to the returned pointer if getting it was
successful, even if a warning causes an error. (This probably doesn't matter
as the caller will probably discard the value.)

Will backport.

17 years agoFix gb18030 codec's bug that doesn't map two-byte characters on
Hye-Shik Chang [Sat, 4 Aug 2007 04:10:18 +0000 (04:10 +0000)]
Fix gb18030 codec's bug that doesn't map two-byte characters on
GB18030 extension in encoding. (bug reported by Bjorn Stabell)

17 years agoPy_ssize_t is defined regardless of HAVE_LONG_LONG. Will backport
Neal Norwitz [Fri, 3 Aug 2007 06:46:29 +0000 (06:46 +0000)]
Py_ssize_t is defined regardless of HAVE_LONG_LONG.  Will backport

17 years ago- Allow Emacs 22 for building the documentation in info format.
Matthias Klose [Thu, 2 Aug 2007 21:33:13 +0000 (21:33 +0000)]
- Allow Emacs 22 for building the documentation in info format.

17 years agoAllow the OS to select a free port for each test server. For
Facundo Batista [Wed, 1 Aug 2007 23:18:36 +0000 (23:18 +0000)]
Allow the OS to select a free port for each test server. For
DebuggingServerTests, construct SMTP objects with a localhost argument
to avoid abysmally long FQDN lookups (not relevant to items under
test) on some machines that would cause the test to fail. Moved server
setup code in the server function inside the try block to avoid the
possibility of setup failure hanging the test.  Minor edits to conform
to PEP 8. [GSoC - Alan McIntyre]

17 years agoDefine _BSD_SOURCE, to get access to POSIX extensions on OpenBSD 4.1+.
Martin v. Löwis [Tue, 31 Jul 2007 19:57:56 +0000 (19:57 +0000)]
Define _BSD_SOURCE, to get access to POSIX extensions on OpenBSD 4.1+.

17 years agoEliminate RLock race condition reported in SF bug #1764059
Nick Coghlan [Tue, 31 Jul 2007 13:38:01 +0000 (13:38 +0000)]
Eliminate RLock race condition reported in SF bug #1764059

17 years agoWhen running asynchat tests on OS X (darwin), the test client now
Facundo Batista [Tue, 31 Jul 2007 03:03:34 +0000 (03:03 +0000)]
When running asynchat tests on OS X (darwin), the test client now
overrides asyncore.dispatcher.handle_expt to do nothing, since
select.poll gives a POLLHUP error at the completion of these tests.
Added timeout & count arguments to several asyncore.loop calls to
avoid the possibility of a test hanging up a build. [GSoC - Alan
McIntyre]

17 years agoCorrect use of Py_BUILD_CORE - now make sure it is defined before it is
Mark Hammond [Mon, 30 Jul 2007 00:45:29 +0000 (00:45 +0000)]
Correct use of Py_BUILD_CORE - now make sure it is defined before it is
referenced, and also fix definition of _WIN32_WINNT.
Resolves patch 1761803.

17 years agoBug #1763149: use proper slice syntax in docstring.
Georg Brandl [Sun, 29 Jul 2007 17:38:35 +0000 (17:38 +0000)]
Bug #1763149: use proper slice syntax in docstring.
 (backport)

17 years agoAdded tests for asynchat classes simple_producer & fifo, and the
Facundo Batista [Sun, 29 Jul 2007 14:23:08 +0000 (14:23 +0000)]
Added tests for asynchat classes simple_producer & fifo, and the
find_prefix_at_end function. Check behavior of a string given as a
producer.  Added tests for behavior of asynchat.async_chat when given
int, long, and None terminator arguments. Added usepoll attribute to
TestAsynchat to allow running the asynchat tests with poll support
chosen whether it's available or not (improves coverage of asyncore
code). [GSoC - Alan McIntyre]

17 years agotry-except-finally is new in 2.5.
Georg Brandl [Sun, 29 Jul 2007 09:11:15 +0000 (09:11 +0000)]
try-except-finally is new in 2.5.

17 years agoClarify PEP 343 description.
Georg Brandl [Sun, 29 Jul 2007 08:26:10 +0000 (08:26 +0000)]
Clarify PEP 343 description.

17 years agoMoved all of the capture_server socket setup code into the try block
Facundo Batista [Sat, 28 Jul 2007 14:21:22 +0000 (14:21 +0000)]
Moved all of the capture_server socket setup code into the try block
so that the event gets set if a failure occurs during server setup
(otherwise the test will block forever).  Changed to let the OS assign
the server port number, and client side of test waits for port number
assignment before proceeding. The test data in DispatcherWithSendTests
is also sent in multiple send() calls instead of one to make sure this
works properly. [GSoC - Alan McIntyre]

17 years agoBug #1704793: Return UTF-16 pair if unicodedata.lookup cannot
Martin v. Löwis [Sat, 28 Jul 2007 07:03:05 +0000 (07:03 +0000)]
Bug #1704793: Return UTF-16 pair if unicodedata.lookup cannot
represent the result in a single character.

17 years agoBug #978833: Close https sockets by releasing the _ssl object.
Martin v. Löwis [Fri, 27 Jul 2007 18:28:22 +0000 (18:28 +0000)]
Bug #978833: Close https sockets by releasing the _ssl object.

17 years agoMake test_math error messages more meaningful for small discrepancies in results
Nick Coghlan [Fri, 27 Jul 2007 10:36:30 +0000 (10:36 +0000)]
Make test_math error messages more meaningful for small discrepancies in results

17 years agoCorrectly detect AMD64 architecture on VC2003
Mark Hammond [Fri, 27 Jul 2007 05:08:54 +0000 (05:08 +0000)]
Correctly detect AMD64 architecture on VC2003

17 years agoIn consultation with Kristjan Jonsson, only define WINVER and _WINNT_WIN32
Mark Hammond [Fri, 27 Jul 2007 04:52:32 +0000 (04:52 +0000)]
In consultation with Kristjan Jonsson, only define WINVER and _WINNT_WIN32
if (a) we are building Python itself and (b) no one previously defined them

17 years agoAdd explicit test for a misbehaving math.floor
Nick Coghlan [Thu, 26 Jul 2007 14:03:00 +0000 (14:03 +0000)]
Add explicit test for a misbehaving math.floor

17 years agotabs, newlines and crs are valid XML characters.
Georg Brandl [Thu, 26 Jul 2007 09:36:25 +0000 (09:36 +0000)]
tabs, newlines and crs are valid XML characters.

17 years agoChange location of the package index to pypi.python.org/pypi
Martin v. Löwis [Wed, 25 Jul 2007 16:24:23 +0000 (16:24 +0000)]
Change location of the package index to pypi.python.org/pypi

17 years agoAdd a temporary diagnostic message before a strange failure on the alpha Debian buildbot
Nick Coghlan [Wed, 25 Jul 2007 13:18:58 +0000 (13:18 +0000)]
Add a temporary diagnostic message before a strange failure on the alpha Debian buildbot

17 years agoMore buildbot cleanup - let the OS assign the port for test_urllib2_localnet
Nick Coghlan [Wed, 25 Jul 2007 12:57:48 +0000 (12:57 +0000)]
More buildbot cleanup - let the OS assign the port for test_urllib2_localnet

17 years agoNew tests for basic behavior of smtplib.SMTP and
Facundo Batista [Tue, 24 Jul 2007 21:20:42 +0000 (21:20 +0000)]
New tests for basic behavior of smtplib.SMTP and
smtpd.DebuggingServer. Change to use global host & port number
variables. Modified the 'server' to take a string to send back in
order to vary test server responses. Added a test for the reaction of
smtplib.SMTP to a non-200 HELO response. [GSoC - Alan McIntyre]

17 years agoTry to get rid of spurious failure in test_resource on the Debian buildbots by changi...
Nick Coghlan [Tue, 24 Jul 2007 14:39:23 +0000 (14:39 +0000)]
Try to get rid of spurious failure in test_resource on the Debian buildbots by changing the file size limit before attempting to close the file

17 years agoFix an incompatibility between the -i and -m command line switches as reported on...
Nick Coghlan [Tue, 24 Jul 2007 13:58:28 +0000 (13:58 +0000)]
Fix an incompatibility between the -i and -m command line switches as reported on python-dev by PJE - runpy.run_module now leaves any changes it makes to the sys module intact after the function terminates

17 years agoTweak runpy test to do a better job of confirming that sys has been manipulated correctly
Nick Coghlan [Tue, 24 Jul 2007 13:07:38 +0000 (13:07 +0000)]
Tweak runpy test to do a better job of confirming that sys has been manipulated correctly

17 years agoCorrectly cleanup sys.modules after executing runpy relative import
Nick Coghlan [Mon, 23 Jul 2007 13:41:45 +0000 (13:41 +0000)]
Correctly cleanup sys.modules after executing runpy relative import
tests
Restore Python 2.4 ImportError when attempting to execute a package
(as imports cannot be guaranteed to work properly if you try it)

17 years agoAdd explicit relative import tests for runpy.run_module
Nick Coghlan [Sun, 22 Jul 2007 10:18:07 +0000 (10:18 +0000)]
Add explicit relative import tests for runpy.run_module

17 years agoSelectively enable tests for asyncore.readwrite based on the presence
Facundo Batista [Sun, 22 Jul 2007 00:13:00 +0000 (00:13 +0000)]
Selectively enable tests for asyncore.readwrite based on the presence
of poll support in the select module (since this is the only case in
which readwrite can be called). [GSoC - Alan McIntyre]

17 years agoPEP 3123: Provide forward compatibility with Python 3.0, while keeping
Martin v. Löwis [Sat, 21 Jul 2007 06:55:02 +0000 (06:55 +0000)]
PEP 3123: Provide forward compatibility with Python 3.0, while keeping
backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and
PyVarObject_HEAD_INIT.

17 years agoAdded a select.select call in the test server loop to make sure the
Facundo Batista [Thu, 19 Jul 2007 23:57:38 +0000 (23:57 +0000)]
Added a select.select call in the test server loop to make sure the
socket is ready to be read from before attempting a read (this
prevents an error 10035 on some Windows platforms). [GSoC - Alan
McIntyre]

17 years agoDocument that codecs.lookup() returns a CodecInfo object.
Walter Dörwald [Thu, 19 Jul 2007 13:04:38 +0000 (13:04 +0000)]
Document that codecs.lookup() returns a CodecInfo object.
(fixes SF bug #1754453).

17 years agoAdd description for wave.setcomptype() values
Georg Brandl [Wed, 18 Jul 2007 22:36:53 +0000 (22:36 +0000)]
Add description for wave.setcomptype() values

17 years agoFix failing unicode test caused by change to ast.c at r56441
Kurt B. Kaiser [Wed, 18 Jul 2007 19:58:42 +0000 (19:58 +0000)]
Fix failing unicode test caused by change to ast.c at r56441

17 years agoSF patch# 1755885 by Kurt Kaiser: show location of Unicode escape errors.
Guido van Rossum [Wed, 18 Jul 2007 17:19:14 +0000 (17:19 +0000)]
SF patch# 1755885 by Kurt Kaiser: show location of Unicode escape errors.
(Slightly tweaked for style and refcounts.)

17 years agoUse "Unix" as platform name, not "UNIX".
Georg Brandl [Wed, 18 Jul 2007 06:37:55 +0000 (06:37 +0000)]
Use "Unix" as platform name, not "UNIX".

17 years agoPrevent asyncore.dispatcher tests from hanging by adding loop counters
Facundo Batista [Tue, 17 Jul 2007 02:19:39 +0000 (02:19 +0000)]
Prevent asyncore.dispatcher tests from hanging by adding loop counters
to server & client, and by adding asyncore.close_all calls in
tearDown. Also choose correct expected logging results based on the
value of __debug__  [Alan McIntyre - GSoC]

18 years agoChanged the used port and commented out some tests that uses
Facundo Batista [Sun, 15 Jul 2007 20:30:39 +0000 (20:30 +0000)]
Changed the used port and commented out some tests that uses
a non documented function that appers to uses resources
not present in Windows.

18 years agoFirst version. Includes tests for helper functions: read, write,
Facundo Batista [Sat, 14 Jul 2007 22:41:45 +0000 (22:41 +0000)]
First version.  Includes tests for helper functions: read, write,
_exception, readwrite, closeall, compact_traceback; and for classes
dispatcher, dispatcher_with_send, and file_wrapper.
[Alan McIntyre - GSoC]

18 years agoAvoid exception if there's a stray directory inside a Maildir folder.
Andrew M. Kuchling [Sat, 14 Jul 2007 21:56:19 +0000 (21:56 +0000)]
Avoid exception if there's a stray directory inside a Maildir folder.

The Maildir specification doesn't seem to say anything about this
situation, and it can happen if you're keeping a Maildir mailbox in
Subversion (.svn directories) or some similar system.  The patch just
ignores directories in the cur/, new/, tmp/ folders.

18 years agoTypo fix
Andrew M. Kuchling [Sat, 14 Jul 2007 20:58:21 +0000 (20:58 +0000)]
Typo fix

18 years agoClarify webbrowser.open description.
Georg Brandl [Sat, 14 Jul 2007 17:32:41 +0000 (17:32 +0000)]
Clarify webbrowser.open description.

18 years agoBug #1753406: missing \versionadded for subprocess.check_call.
Georg Brandl [Sat, 14 Jul 2007 17:12:23 +0000 (17:12 +0000)]
Bug #1753406: missing \versionadded for subprocess.check_call.

18 years agoIn response to this SF bug:
Barry Warsaw [Fri, 13 Jul 2007 22:12:58 +0000 (22:12 +0000)]
In response to this SF bug:

1752723 ] email.message_from_string: initial line gets discarded

I added a test to assert that when the first line of text passed to
message_from_string() contains a leading space, the message ends up with the
appropriate FirstHeaderLineIsContinuationDefect on its defects list.

The bug is invalid.

18 years agoPyType_stgdict() returns a borrowed reference which must not be
Thomas Heller [Fri, 13 Jul 2007 19:51:55 +0000 (19:51 +0000)]
PyType_stgdict() returns a borrowed reference which must not be
Py_DECREF'd.

18 years agoFix for SF# 1649098: avoid zero-sized array declaration in structure.
Thomas Heller [Fri, 13 Jul 2007 17:46:54 +0000 (17:46 +0000)]
Fix for SF# 1649098: avoid zero-sized array declaration in structure.

18 years agoFix for SF# 1701409: segfault in c_char_p of ctypes. The repr output
Thomas Heller [Fri, 13 Jul 2007 17:12:23 +0000 (17:12 +0000)]
Fix for SF# 1701409: segfault in c_char_p of ctypes.  The repr output
of c_char_p and c_wchar_p has changed as a sideeffect.

18 years agoDo not try to load the GLUT library in the ctypes tests. This test
Thomas Heller [Fri, 13 Jul 2007 16:50:43 +0000 (16:50 +0000)]
Do not try to load the GLUT library in the ctypes tests.  This test
adds little value, but has a large problem on OS X, as explained in
SF# 1581906.

18 years agoAdd tests for _ctypes.COMError.
Thomas Heller [Fri, 13 Jul 2007 14:18:06 +0000 (14:18 +0000)]
Add tests for _ctypes.COMError.