]> granicus.if.org Git - python/log
python
18 years agoConsolidate patches #1690164, 1683397, and 1690169, all of which refactor XML-related...
Collin Winter [Wed, 28 Mar 2007 23:34:06 +0000 (23:34 +0000)]
Consolidate patches #16901641683397, and 1690169, all of which refactor XML-related test suites. The patches are applied together because they use a common output/xmltests file.
Thanks to Jerry Seutter for all three patches.

18 years agoAdded timeout to smtplib (to SMTP and SMTP_SSL). Also created
Facundo Batista [Wed, 28 Mar 2007 18:25:54 +0000 (18:25 +0000)]
Added timeout to smtplib (to SMTP and SMTP_SSL). Also created
the test_smtplib.py file, with a basic test and the timeout
ones. Docs are updated too.

18 years agoBug 1688393. Adds a control of negative values in
Facundo Batista [Wed, 28 Mar 2007 03:45:20 +0000 (03:45 +0000)]
Bug 1688393. Adds a control of negative values in
socket.recvfrom, which caused an ugly crash.

18 years agoThe basic test cases of poplib.py.
Facundo Batista [Tue, 27 Mar 2007 18:50:29 +0000 (18:50 +0000)]
The basic test cases of poplib.py.

18 years agoAdded an optional timeout to poplib.POP3. Also created a
Facundo Batista [Tue, 27 Mar 2007 18:23:21 +0000 (18:23 +0000)]
Added an optional timeout to poplib.POP3. Also created a
test_poplib.py file with a basic test and the timeout
ones. Docs are also updated.

18 years agoForgot to add the file before the previous commit, here go
Facundo Batista [Mon, 26 Mar 2007 20:56:09 +0000 (20:56 +0000)]
Forgot to add the file before the previous commit, here go
the ftplib tests.

18 years agoSome nits.
Georg Brandl [Mon, 26 Mar 2007 20:28:28 +0000 (20:28 +0000)]
Some nits.

18 years agoAdded an optional timeout to FTP class. Also I started a test_ftplib.py
Facundo Batista [Mon, 26 Mar 2007 20:18:31 +0000 (20:18 +0000)]
Added an optional timeout to FTP class. Also I started a test_ftplib.py
file to test the ftp lib (right now I included a basic test, the timeout
one, and nothing else).

18 years agoMarkup fix.
Georg Brandl [Sun, 25 Mar 2007 19:04:55 +0000 (19:04 +0000)]
Markup fix.

18 years agoMarkup fix.
Georg Brandl [Sun, 25 Mar 2007 18:44:35 +0000 (18:44 +0000)]
Markup fix.

18 years agoClosing the HTTP connection after each test, and listening more.
Facundo Batista [Sun, 25 Mar 2007 03:20:05 +0000 (03:20 +0000)]
Closing the HTTP connection after each test, and listening more.

18 years agoRedone the tests, using the infrastructure already present
Facundo Batista [Sun, 25 Mar 2007 01:53:21 +0000 (01:53 +0000)]
Redone the tests, using the infrastructure already present
for threading and socket serving.

18 years agoChange the docs to no longer claim that unittest is preferred over doctest for
Brett Cannon [Sun, 25 Mar 2007 01:32:36 +0000 (01:32 +0000)]
Change the docs to no longer claim that unittest is preferred over doctest for
regression tests.

18 years agoRevert accidental change.
Georg Brandl [Sat, 24 Mar 2007 22:27:56 +0000 (22:27 +0000)]
Revert accidental change.

18 years agoRemove typo accent.
Georg Brandl [Sat, 24 Mar 2007 22:20:34 +0000 (22:20 +0000)]
Remove typo accent.

18 years agoPatch #1489771: update syntax rules in Python Reference Manual.
Žiga Seilnacht [Sat, 24 Mar 2007 14:24:26 +0000 (14:24 +0000)]
Patch #1489771: update syntax rules in Python Reference Manual.
Python 2.5 added support for explicit relative import statements and
yield expressions, which were missing in the manual.
Also fix grammar productions that used the names from the Grammar file,
markup that broke the generated grammar.txt, and wrap some lines that
broke the pdf output.  Will backport.

18 years agoMake test_relpath() pass on Windows.
Collin Winter [Fri, 23 Mar 2007 22:24:39 +0000 (22:24 +0000)]
Make test_relpath() pass on Windows.

18 years agoSurrounded with try/finally to socket's default timeout setting
Facundo Batista [Fri, 23 Mar 2007 20:23:08 +0000 (20:23 +0000)]
Surrounded with try/finally to socket's default timeout setting
changes in the tests, so failing one test won't produce strange
results in others. Also relaxed the timeout settings in the test
(where actually the value didn't mean anything).

18 years agoPrevent creation (followed by a segfault) of array types when the size
Thomas Heller [Fri, 23 Mar 2007 19:55:27 +0000 (19:55 +0000)]
Prevent creation (followed by a segfault) of array types when the size
overflows the valid Py_ssize_t range.  Check return values of
PyMem_Malloc.

Will backport to release25-maint.

18 years agoAdd note about type.__init__().
Guido van Rossum [Fri, 23 Mar 2007 19:39:01 +0000 (19:39 +0000)]
Add note about type.__init__().

18 years agoAdded a 'create_connect()' function to socket.py, which creates a
Facundo Batista [Fri, 23 Mar 2007 18:54:07 +0000 (18:54 +0000)]
Added a 'create_connect()' function to socket.py, which creates a
connection with an optional timeout, and modified httplib.py to
use this function in HTTPConnection. Applies patch 1676823.

18 years agoAdd a type.__init__() method that enforces the same signature as
Guido van Rossum [Fri, 23 Mar 2007 18:53:03 +0000 (18:53 +0000)]
Add a type.__init__() method that enforces the same signature as
type.__new__(), and then calls object.__init__(cls), just to be anal.

This allows us to restore the code in string.py's _TemplateMetaclass
that called super(...).__init__(name, bases, dct), which I commented
out yesterday since it broke due to the stricter argument checking
added to object.__init__().

18 years agoBug #978833: Revert r50844, as it broke _socketobject.dup.
Martin v. Löwis [Fri, 23 Mar 2007 13:27:15 +0000 (13:27 +0000)]
Bug #978833: Revert r50844, as it broke _socketobject.dup.
Will backport.

18 years agoPatch #1686451: Fix return type for PySequence_{Count,Index,Fast_GET_SIZE}.
Martin v. Löwis [Fri, 23 Mar 2007 10:35:49 +0000 (10:35 +0000)]
Patch #1686451: Fix return type for PySequence_{Count,Index,Fast_GET_SIZE}.
Will backport.

18 years agoAdd Mark Dickinson for SF # 1675423.
Neal Norwitz [Fri, 23 Mar 2007 05:17:23 +0000 (05:17 +0000)]
Add Mark Dickinson for SF # 1675423.

18 years ago- Bug #1683368: The object.__init__() and object.__new__() methods are
Guido van Rossum [Fri, 23 Mar 2007 04:58:42 +0000 (04:58 +0000)]
- Bug #1683368: The object.__init__() and object.__new__() methods are
  now stricter in rejecting excess arguments.  The only time when
  either allows excess arguments is when it is not overridden and the
  other one is.  For backwards compatibility, when both are
  overridden, it is a deprecation warning (for now; maybe a Py3k
  warning later).

When merging this into 3.0, the warnings should become errors.

Note: without the change to string.py, lots of spurious warnings happen.
What's going on there?

18 years agoExplain the purpose of the b_needsfree flag (forward ported from release25-maint).
Thomas Heller [Thu, 22 Mar 2007 20:34:37 +0000 (20:34 +0000)]
Explain the purpose of the b_needsfree flag (forward ported from release25-maint).

18 years agoBack out "Patch #1643874: memory leak in ctypes fixed."
Thomas Heller [Thu, 22 Mar 2007 19:44:31 +0000 (19:44 +0000)]
Back out "Patch #1643874: memory leak in ctypes fixed."

The code in this patch leaves no way to give up the ownership of a
BSTR instance.

18 years agoBug #1685704: use -m switch in timeit docs.
Georg Brandl [Thu, 22 Mar 2007 08:05:45 +0000 (08:05 +0000)]
Bug #1685704: use -m switch in timeit docs.

18 years agoAdd test and fix for fromkeys() optional argument.
Raymond Hettinger [Wed, 21 Mar 2007 20:33:57 +0000 (20:33 +0000)]
Add test and fix for fromkeys() optional argument.

18 years agoBug #1675967: re patterns pickled with older Python versions can
Žiga Seilnacht [Wed, 21 Mar 2007 20:07:56 +0000 (20:07 +0000)]
Bug #1675967: re patterns pickled with older Python versions can
now be unpickled. Will backport.

18 years agoMinor clarification, saying that blocking means no timeout (from bug #882297)
Facundo Batista [Wed, 21 Mar 2007 19:41:24 +0000 (19:41 +0000)]
Minor clarification, saying that blocking means no timeout (from bug #882297)

18 years agoPut code examples at left margin instead of indenting them
Andrew M. Kuchling [Wed, 21 Mar 2007 16:59:20 +0000 (16:59 +0000)]
Put code examples at left margin instead of indenting them

18 years agoFix sentence, and fix typo in example
Andrew M. Kuchling [Wed, 21 Mar 2007 16:57:32 +0000 (16:57 +0000)]
Fix sentence, and fix typo in example

18 years agoAdd comments on maintenance of this file
Andrew M. Kuchling [Wed, 21 Mar 2007 14:32:43 +0000 (14:32 +0000)]
Add comments on maintenance of this file

18 years agoFix #1684254: split BROWSER contents with shlex to avoid displaying 'URL'.
Georg Brandl [Wed, 21 Mar 2007 11:51:25 +0000 (11:51 +0000)]
Fix #1684254: split BROWSER contents with shlex to avoid displaying 'URL'.

18 years agoPatch #1684834: document some utility C API functions.
Georg Brandl [Wed, 21 Mar 2007 09:16:53 +0000 (09:16 +0000)]
Patch #1684834: document some utility C API functions.

18 years agoNew test for rev. 54407 which only uses directories under TESTFN.
Georg Brandl [Wed, 21 Mar 2007 09:10:29 +0000 (09:10 +0000)]
New test for rev. 54407 which only uses directories under TESTFN.

18 years agoPatch #1682205: a TypeError while unpacking an iterable is no longer
Georg Brandl [Wed, 21 Mar 2007 09:00:39 +0000 (09:00 +0000)]
Patch #1682205: a TypeError while unpacking an iterable is no longer
masked by a generic one with the message "unpack non-sequence".

18 years agoRemove unused file spotted by Paul Hankin
Neal Norwitz [Wed, 21 Mar 2007 06:39:48 +0000 (06:39 +0000)]
Remove unused file spotted by Paul Hankin

18 years agoFix for glob.py if filesystem encoding is None.
Georg Brandl [Tue, 20 Mar 2007 23:05:14 +0000 (23:05 +0000)]
Fix for glob.py if filesystem encoding is None.

18 years agoExtend work on rev 52962 and 53829 eliminating redundant PyObject_Hash() calls and...
Raymond Hettinger [Tue, 20 Mar 2007 21:27:24 +0000 (21:27 +0000)]
Extend work on rev 52962 and 53829 eliminating redundant PyObject_Hash() calls and fixing set/dict interoperability.

18 years agoTry to get test_urllib to pass on Windows by closing the file.
Neal Norwitz [Tue, 20 Mar 2007 08:14:57 +0000 (08:14 +0000)]
Try to get test_urllib to pass on Windows by closing the file.
I'm guessing that's the problem.  h.getfile() must be called *after*
h.getreply() and the fp can be None.

I'm not entirely convinced this is the best fix (or even correct).
The buildbots will tell us if things improve or not.  I don't
know if this needs to be backported (assuming it actually works).

18 years agoTry to be a little more resilient to errors. This might help the test
Neal Norwitz [Tue, 20 Mar 2007 06:53:17 +0000 (06:53 +0000)]
Try to be a little more resilient to errors.  This might help the test
pass, but my guess is that it won't.  I'm guessing that some other
test is leaving this file open which means it can't be removed
under Windows AFAIK.

18 years agoTry to make this test more resistant to dropping from previous runs (ie, files that...
Neal Norwitz [Tue, 20 Mar 2007 06:16:26 +0000 (06:16 +0000)]
Try to make this test more resistant to dropping from previous runs (ie, files that may exist but cause the test to fail).  Should be backported (assuming it works :-)

18 years agoTry to make this test more resistant to dropping from previous runs (ie, files that...
Neal Norwitz [Tue, 20 Mar 2007 06:13:25 +0000 (06:13 +0000)]
Try to make this test more resistant to dropping from previous runs (ie, files that may exist but cause the test to fail).  Should be backported (assuming it works :-)

18 years agoTry backing out 54407 to see if it corrects the problems on the Windows
Neal Norwitz [Tue, 20 Mar 2007 05:23:09 +0000 (05:23 +0000)]
Try backing out 54407 to see if it corrects the problems on the Windows
buildbots.  This rev was backported, so we will need to keep both branches
in sync, pending the outcome of the test after this checkin.

18 years agoGet rid of deprecation warning when testing commands.getstatus()
Neal Norwitz [Tue, 20 Mar 2007 05:21:21 +0000 (05:21 +0000)]
Get rid of deprecation warning when testing commands.getstatus()

18 years agoAdd a comment about 3k migration
Neal Norwitz [Tue, 20 Mar 2007 05:08:23 +0000 (05:08 +0000)]
Add a comment about 3k migration

18 years agoAdd some doc that was left out from some change to platform.py
Neal Norwitz [Tue, 20 Mar 2007 05:07:28 +0000 (05:07 +0000)]
Add some doc that was left out from some change to platform.py

18 years agoPatch #1683328: fixes and enhancements for "unparse" demo.
Georg Brandl [Mon, 19 Mar 2007 19:02:48 +0000 (19:02 +0000)]
Patch #1683328: fixes and enhancements for "unparse" demo.

18 years agoPatch #1630118: add a SpooledTemporaryFile class to tempfile.
Collin Winter [Mon, 19 Mar 2007 18:52:08 +0000 (18:52 +0000)]
Patch #1630118: add a SpooledTemporaryFile class to tempfile.

18 years agoPatch #1678339: test case for bug in difflib.
Georg Brandl [Sun, 18 Mar 2007 18:28:25 +0000 (18:28 +0000)]
Patch #1678339: test case for bug in difflib.

18 years agoPatch #1682878: the new socket methods are recv_into and recvfrom_into, not *_buf.
Georg Brandl [Sun, 18 Mar 2007 08:25:00 +0000 (08:25 +0000)]
Patch #1682878: the new socket methods are recv_into and recvfrom_into, not *_buf.

18 years agomove note to the correct section
Gregory P. Smith [Sat, 17 Mar 2007 22:33:35 +0000 (22:33 +0000)]
move note to the correct section

18 years agoPatch #1675423: PyComplex_AsCComplex() now tries to convert an object
Georg Brandl [Sat, 17 Mar 2007 16:08:45 +0000 (16:08 +0000)]
Patch #1675423: PyComplex_AsCComplex() now tries to convert an object
to complex using its __complex__() method before falling back to the
__float__() method. Therefore, the functions in the cmath module now
can operate on objects that define a __complex__() method.
 (backport)

18 years agoPatch 1339796: add a relpath() function to os.path.
Collin Winter [Fri, 16 Mar 2007 22:16:08 +0000 (22:16 +0000)]
Patch 1339796: add a relpath() function to os.path.

18 years agoRemove test/output/test_popen2 (missed in r54417).
Collin Winter [Fri, 16 Mar 2007 21:15:35 +0000 (21:15 +0000)]
Remove test/output/test_popen2 (missed in r54417).

18 years agoPatch #1676994: Refactor test_popen2 to use unittest.
Collin Winter [Fri, 16 Mar 2007 21:13:35 +0000 (21:13 +0000)]
Patch #1676994: Refactor test_popen2 to use unittest.

18 years agoClean up formatting of this file.
Jeremy Hylton [Fri, 16 Mar 2007 15:59:47 +0000 (15:59 +0000)]
Clean up formatting of this file.

The file should now follow PEP 7, except that it uses 4 space indents
(in the style of Py3k).  This particular code would be really hard to
read with the regular tab idents.

Other changes:
 - reflow long lines
 - change multi-line conditionals to have test at end of line

18 years agoRemove warning: funcion declaration isn't a prototype
Jeremy Hylton [Fri, 16 Mar 2007 14:49:11 +0000 (14:49 +0000)]
Remove warning: funcion declaration isn't a prototype

18 years agoWhitespace cleanup. Also remove the empty lines
Žiga Seilnacht [Fri, 16 Mar 2007 12:11:11 +0000 (12:11 +0000)]
Whitespace cleanup. Also remove the empty lines
from the previous check in.

18 years agoPatch #1623563: allow __class__ assignment for classes with __slots__.
Žiga Seilnacht [Fri, 16 Mar 2007 11:59:38 +0000 (11:59 +0000)]
Patch #1623563: allow __class__ assignment for classes with __slots__.
The old and the new class are still required to have the same slot
names, but the order in which they are specified is not relevant.

18 years agoRFE #1670167: fix in isinstance() docs.
Georg Brandl [Fri, 16 Mar 2007 08:33:47 +0000 (08:33 +0000)]
RFE #1670167: fix in isinstance() docs.

18 years agoAdd \versionadded tag.
Georg Brandl [Fri, 16 Mar 2007 08:24:21 +0000 (08:24 +0000)]
Add \versionadded tag.

18 years agoPatch #1273829: os.walk() now has a "followlinks" parameter. If set to
Georg Brandl [Fri, 16 Mar 2007 08:22:40 +0000 (08:22 +0000)]
Patch #1273829: os.walk() now has a "followlinks" parameter. If set to
True (which is not the default), it visits symlinks pointing to
directories.

18 years agoBug #1681228: the webbrowser module now correctly uses the default
Georg Brandl [Fri, 16 Mar 2007 07:55:09 +0000 (07:55 +0000)]
Bug #1681228: the webbrowser module now correctly uses the default
GNOME or KDE browser, depending on whether there is a session of one
of those present. Also, it tries the Windows default browser before
trying Mozilla variants.
 (backport)

18 years agoPatch #1642547: Fix an error/crash when encountering syntax errors in complex if...
Collin Winter [Fri, 16 Mar 2007 04:11:30 +0000 (04:11 +0000)]
Patch #1642547: Fix an error/crash when encountering syntax errors in complex if statements.
Will backport.

18 years agoPatch #1462488: prevent a segfault in object_reduce_ex() by splitting
Žiga Seilnacht [Thu, 15 Mar 2007 11:44:55 +0000 (11:44 +0000)]
Patch #1462488: prevent a segfault in object_reduce_ex() by splitting
the implementation for __reduce__ and __reduce_ex__ into two separate
functions. Fixes bug #931877. Will backport.

18 years agoPatch #1681153: the wave module now closes a file object it opened if
Georg Brandl [Thu, 15 Mar 2007 07:41:30 +0000 (07:41 +0000)]
Patch #1681153: the wave module now closes a file object it opened if
initialization failed.

18 years agoPatch #1680978: consistently use "alive" instead of "active" in the
Georg Brandl [Thu, 15 Mar 2007 07:38:14 +0000 (07:38 +0000)]
Patch #1680978: consistently use "alive" instead of "active" in the
thread lib doc.

18 years agoWrap a long line and fix a typo (is -> if)
Neal Norwitz [Thu, 15 Mar 2007 04:41:20 +0000 (04:41 +0000)]
Wrap a long line and fix a typo (is -> if)

18 years agoRaise ResourceDenied in test_urllib2net when the Net connection goes bad.
Brett Cannon [Wed, 14 Mar 2007 21:44:15 +0000 (21:44 +0000)]
Raise ResourceDenied in test_urllib2net when the Net connection goes bad.

18 years agoNote how test_socket_ssl has various exceptions that deal with a flaky Net
Brett Cannon [Wed, 14 Mar 2007 21:40:13 +0000 (21:40 +0000)]
Note how test_socket_ssl has various exceptions that deal with a flaky Net
connection are silenced.

18 years agoPatch #1559413: Fix test_cmd_line if sys.executable contains a space.
Martin v. Löwis [Wed, 14 Mar 2007 20:02:31 +0000 (20:02 +0000)]
Patch #1559413: Fix test_cmd_line if sys.executable contains a space.
Will backport.

18 years agoPatch #1680015: Don't modify __slots__ tuple if it contains an unicode
Žiga Seilnacht [Wed, 14 Mar 2007 12:24:09 +0000 (12:24 +0000)]
Patch #1680015: Don't modify __slots__ tuple if it contains an unicode
name. Remove a reference leak that happened if the name could not be
converted to string. Will backport.

18 years agoBug #767111: fix long-standing bug in urllib which caused an
Georg Brandl [Wed, 14 Mar 2007 08:27:52 +0000 (08:27 +0000)]
Bug #767111: fix long-standing bug in urllib which caused an
AttributeError instead of an IOError when the server's response didn't
contain a valid HTTP status line.

18 years agoIts time to stop listing (Unix, Windows) when we really mean "everything but Mac...
Gregory P. Smith [Wed, 14 Mar 2007 07:19:50 +0000 (07:19 +0000)]
Its time to stop listing (Unix, Windows) when we really mean "everything but Mac OS 9"
now that nobody is likely to use Python on Mac OS 9 and most of the (Mac) platform
items are all OS X special API specific since OS X is unixy enough for these modules
to be available out of the box.

18 years agocorrect order and names of the less often used keyword parameters.
Gregory P. Smith [Wed, 14 Mar 2007 07:17:40 +0000 (07:17 +0000)]
correct order and names of the less often used keyword parameters.

18 years agoSF bug #1582282; decode_header() incorrectly splits not-conformant RFC
Barry Warsaw [Wed, 14 Mar 2007 04:59:50 +0000 (04:59 +0000)]
SF bug #1582282; decode_header() incorrectly splits not-conformant RFC
2047-like headers where there is no whitespace between encoded words.  This
fix changes the matching regexp to include a trailing lookahead assertion that
the closing ?= must be followed by whitespace, newline, or end-of-string.
This also changes the regexp to add the MULTILINE flag.

18 years agoInline PyImport_GetModulesReloading().
Collin Winter [Tue, 13 Mar 2007 23:02:15 +0000 (23:02 +0000)]
Inline PyImport_GetModulesReloading().

18 years agoPatch #1185447: binascii.b2a_qp() now correctly quotes binary characters
Georg Brandl [Tue, 13 Mar 2007 22:49:43 +0000 (22:49 +0000)]
Patch #1185447: binascii.b2a_qp() now correctly quotes binary characters
with ASCII value less than 32. Also, it correctly quotes dots only if
they occur on a single line, as opposed to the previous behavior of
quoting dots if they are the second character of any line.

18 years agoPatch #1194449: correctly detect unbound methods in pydoc.
Georg Brandl [Tue, 13 Mar 2007 22:16:30 +0000 (22:16 +0000)]
Patch #1194449: correctly detect unbound methods in pydoc.

18 years agoPatch #957650: "%var%" environment variable references are now properly
Georg Brandl [Tue, 13 Mar 2007 22:07:36 +0000 (22:07 +0000)]
Patch #957650: "%var%" environment variable references are now properly
expanded in ntpath.expandvars(), also "~user" home directory references
are recognized and handled on Windows.

18 years agoPatch #1429539: pdb now correctly initializes the __main__ module for
Georg Brandl [Tue, 13 Mar 2007 21:58:44 +0000 (21:58 +0000)]
Patch #1429539: pdb now correctly initializes the __main__ module for
the debugged script, which means that imports from __main__ work
correctly now.

18 years agoNEWS entry for getstatus() deprecation.
Georg Brandl [Tue, 13 Mar 2007 21:32:56 +0000 (21:32 +0000)]
NEWS entry for getstatus() deprecation.

18 years agoDeprecate commands.getstatus().
Georg Brandl [Tue, 13 Mar 2007 21:32:01 +0000 (21:32 +0000)]
Deprecate commands.getstatus().

18 years agoPatch #1393667: pdb now has a "run" command which restarts the debugged
Georg Brandl [Tue, 13 Mar 2007 21:08:15 +0000 (21:08 +0000)]
Patch #1393667: pdb now has a "run" command which restarts the debugged
Python program, optionally with different arguments.

18 years agoAdd versionadded marker for ctypes.c_bool.
Thomas Heller [Tue, 13 Mar 2007 21:01:39 +0000 (21:01 +0000)]
Add versionadded marker for ctypes.c_bool.

18 years agoPatch #1444529: the builtin compile() now accepts keyword arguments.
Georg Brandl [Tue, 13 Mar 2007 20:46:32 +0000 (20:46 +0000)]
Patch #1444529: the builtin compile() now accepts keyword arguments.
 (backport)

18 years agoPatch #1649190: Adding support for _Bool to ctypes as c_bool, by David Remahl.
Thomas Heller [Tue, 13 Mar 2007 20:42:52 +0000 (20:42 +0000)]
Patch #1649190: Adding support for _Bool to ctypes as c_bool, by David Remahl.

18 years agoPatch #1530482: add pydoc.render_doc() which returns the documentation
Georg Brandl [Tue, 13 Mar 2007 20:02:57 +0000 (20:02 +0000)]
Patch #1530482: add pydoc.render_doc() which returns the documentation
for a thing instead of paging it to stdout, which pydoc.doc() does.

18 years agoPatch #1533909: the timeit module now accepts callables in addition to
Georg Brandl [Tue, 13 Mar 2007 19:32:21 +0000 (19:32 +0000)]
Patch #1533909: the timeit module now accepts callables in addition to
strings for the code to time and the setup code. Also added two
convenience functions for instantiating a Timer and calling its methods.

18 years agoFix a tab.
Georg Brandl [Tue, 13 Mar 2007 19:18:18 +0000 (19:18 +0000)]
Fix a tab.

18 years agoAcks for recent patches.
Georg Brandl [Tue, 13 Mar 2007 19:00:36 +0000 (19:00 +0000)]
Acks for recent patches.

18 years agoAdd acks for recent patch checkins:
Collin Winter [Tue, 13 Mar 2007 18:53:04 +0000 (18:53 +0000)]
Add acks for recent patch checkins:

Arvin Schnell - 1668482
Sébastien Martini - 1481079
Heiko Wundram - 1491866
Damon Kohler - 1545011
Peter Parente - 1599845
Bjorn Lindqvist - 1678662

18 years agoPatch #1537850: tempfile.NamedTemporaryFile now has a "delete" parameter
Georg Brandl [Tue, 13 Mar 2007 18:31:49 +0000 (18:31 +0000)]
Patch #1537850: tempfile.NamedTemporaryFile now has a "delete" parameter
which can be set to False to prevent the default delete-on-close
behavior.

18 years agoPatch #1605192: list allowed states in error messages for imaplib.
Georg Brandl [Tue, 13 Mar 2007 18:24:40 +0000 (18:24 +0000)]
Patch #1605192: list allowed states in error messages for imaplib.

18 years agoPatch #1581073: add a flag to textwrap that prevents the dropping of
Georg Brandl [Tue, 13 Mar 2007 18:15:41 +0000 (18:15 +0000)]
Patch #1581073: add a flag to textwrap that prevents the dropping of
whitespace while wrapping.

18 years agoPatch #1603688: ConfigParser.SafeConfigParser now checks values that
Georg Brandl [Tue, 13 Mar 2007 17:43:32 +0000 (17:43 +0000)]
Patch #1603688: ConfigParser.SafeConfigParser now checks values that
are set for invalid interpolation sequences that would lead to errors
on reading back those values.