]> granicus.if.org Git - python/log
python
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.

18 years agoQuick fix for tests that fail on systems with an encoding other
Lars Gustäbel [Tue, 13 Mar 2007 15:47:07 +0000 (15:47 +0000)]
Quick fix for tests that fail on systems with an encoding other
than 'iso8859-1'.

18 years agoBug #1622896: fix a rare corner case where the bz2 module raised an
Georg Brandl [Tue, 13 Mar 2007 12:34:25 +0000 (12:34 +0000)]
Bug #1622896: fix a rare corner case where the bz2 module raised an
error in spite of a succesful compression.

18 years agoThis is the implementation of POSIX.1-2001 (pax) format read/write
Lars Gustäbel [Tue, 13 Mar 2007 10:47:19 +0000 (10:47 +0000)]
This is the implementation of POSIX.1-2001 (pax) format read/write
support.

The TarInfo class now contains all necessary logic to process and
create tar header data which has been moved there from the TarFile
class. The fromtarfile() method was added. The new path and linkpath
properties are aliases for the name and linkname attributes in
correspondence to the pax naming scheme.

The TarFile constructor and classmethods now accept a number of
keyword arguments which could only be set as attributes before (e.g.
dereference, ignore_zeros). The encoding and pax_headers arguments
were added for pax support. There is a new tarinfo keyword argument
that allows using subclassed TarInfo objects in TarFile.

The boolean TarFile.posix attribute is deprecated, because now three
tar formats are supported. Instead, the desired format for writing is
specified using the constants USTAR_FORMAT, GNU_FORMAT and PAX_FORMAT
as the format keyword argument. This change affects TarInfo.tobuf()
as well.

The test suite has been heavily reorganized and partially rewritten.
A new testtar.tar was added that contains sample data in many formats
from 4 different tar programs.

Some bugs and quirks that also have been fixed:
Directory names do no longer have a trailing slash in TarInfo.name or
TarFile.getnames().
Adding the same file twice does not create a hardlink file member.
The TarFile constructor does no longer need a name argument.
The TarFile._mode attribute was renamed to mode and contains either
'r', 'w' or 'a'.

18 years agoPatch #1449244: Support Unicode strings in
Martin v. Löwis [Tue, 13 Mar 2007 10:24:00 +0000 (10:24 +0000)]
Patch #1449244: Support Unicode strings in
email.message.Message.{set_charset,get_content_charset}.
Will backport.

18 years agoPatch #1569798: fix a bug in distutils when building Python from a
Georg Brandl [Tue, 13 Mar 2007 10:19:22 +0000 (10:19 +0000)]
Patch #1569798: fix a bug in distutils when building Python from a
directory within sys.exec_prefix.

18 years agoPatch #1542681: add entries for "with", "as" and "CONTEXTMANAGERS" to
Georg Brandl [Tue, 13 Mar 2007 10:06:48 +0000 (10:06 +0000)]
Patch #1542681: add entries for "with", "as" and "CONTEXTMANAGERS" to
pydoc's help keywords.

18 years agoPatch #1555098: use str.join() instead of repeated string
Georg Brandl [Tue, 13 Mar 2007 09:41:31 +0000 (09:41 +0000)]
Patch #1555098: use str.join() instead of repeated string
concatenation in robotparser.

18 years agoPatch #1635454: the csv.DictWriter class now includes the offending
Georg Brandl [Tue, 13 Mar 2007 09:32:11 +0000 (09:32 +0000)]
Patch #1635454: the csv.DictWriter class now includes the offending
field names in its exception message if you try to write a record with
a dictionary containing fields not in the CSV field names list.

18 years agoPatch #1668100: urllib2 now correctly raises URLError instead of
Georg Brandl [Tue, 13 Mar 2007 08:14:27 +0000 (08:14 +0000)]
Patch #1668100: urllib2 now correctly raises URLError instead of
OSError if accessing a local file via the file:// protocol fails.

18 years agoPatch #1642844: comments to clarify the complexobject constructor.
Georg Brandl [Tue, 13 Mar 2007 07:57:51 +0000 (07:57 +0000)]
Patch #1642844: comments to clarify the complexobject constructor.

18 years agoPatch #1679379: add documentation for fnmatch.translate().
Georg Brandl [Tue, 13 Mar 2007 07:50:57 +0000 (07:50 +0000)]
Patch #1679379: add documentation for fnmatch.translate().

18 years agoTypo and grammar fixes.
Georg Brandl [Tue, 13 Mar 2007 07:23:16 +0000 (07:23 +0000)]
Typo and grammar fixes.

18 years agoFix some style nits:
Neal Norwitz [Tue, 13 Mar 2007 05:31:38 +0000 (05:31 +0000)]
Fix some style nits:
  * lines too long
  * wrong indentation
  * space after a function name
  * wrong function name in error string
  * simplifying some logic

Also add an error check to PyDict_SetItemString.

18 years agoAdd some other acks for recent checkins:
Neal Norwitz [Tue, 13 Mar 2007 05:07:14 +0000 (05:07 +0000)]
Add some other acks for recent checkins:

Brian Leair  - 922167
Tomer Filiba - 1591665
Jeremy Jones - 1192590

18 years agoAdd Jerry Seutter for a bunch of his recent patches refactoring tests
Neal Norwitz [Tue, 13 Mar 2007 04:59:58 +0000 (04:59 +0000)]
Add Jerry Seutter for a bunch of his recent patches refactoring tests

18 years agoFix a typo where the variable name was not updated.
Brett Cannon [Tue, 13 Mar 2007 03:05:40 +0000 (03:05 +0000)]
Fix a typo where the variable name was not updated.

18 years agoAdd test.test_support.transient_internet . Returns a context manager that
Brett Cannon [Tue, 13 Mar 2007 02:34:09 +0000 (02:34 +0000)]
Add test.test_support.transient_internet .  Returns a context manager that
nests test.test_support.TransientResource context managers that capture
exceptions raised when the Internet connection is flaky.

Initially using in test_socket_ssl but should probably be expanded to cover any
test that should not raise the captured exceptions if the Internet connection
works.

18 years agoSet missing svn:eol-style property on text files.
Tim Peters [Mon, 12 Mar 2007 18:09:22 +0000 (18:09 +0000)]
Set missing svn:eol-style property on text files.

18 years agoWhitespace normalization.
Tim Peters [Mon, 12 Mar 2007 18:07:52 +0000 (18:07 +0000)]
Whitespace normalization.

18 years agoPatch #1670993: Refactor test_threadedtempfile.py to use unittest.
Collin Winter [Mon, 12 Mar 2007 17:24:07 +0000 (17:24 +0000)]
Patch #1670993: Refactor test_threadedtempfile.py to use unittest.

18 years agoTypo fix.
Georg Brandl [Mon, 12 Mar 2007 16:15:09 +0000 (16:15 +0000)]
Typo fix.

18 years agoBug #742342: make Python stop segfaulting on infinitely-recursive reload()s. Fixed...
Collin Winter [Mon, 12 Mar 2007 16:11:39 +0000 (16:11 +0000)]
Bug #742342: make Python stop segfaulting on infinitely-recursive reload()s. Fixed by patch #922167.
Will backport.

18 years agoPatch #1678088: convert test_operations to use unittest, fold the result into test_dict.
Collin Winter [Mon, 12 Mar 2007 15:57:19 +0000 (15:57 +0000)]
Patch #1678088: convert test_operations to use unittest, fold the result into test_dict.

18 years agoBug #1678647: write a newline after printing an exception in any
Georg Brandl [Mon, 12 Mar 2007 14:30:05 +0000 (14:30 +0000)]
Bug #1678647: write a newline after printing an exception in any
case, even when converting the value to a string failed.

18 years agoBackport from Py3k branch:
Georg Brandl [Mon, 12 Mar 2007 13:17:36 +0000 (13:17 +0000)]
Backport from Py3k branch:

Patch #1591665: implement the __dir__() special function lookup in PyObject_Dir.

Had to change a few bits of the patch because classobjs and __methods__ are still
in Py2.6.

18 years agoPatch #1677862: Require a space or tab after import in .pth files.
Martin v. Löwis [Mon, 12 Mar 2007 11:01:10 +0000 (11:01 +0000)]
Patch #1677862: Require a space or tab after import in .pth files.

18 years agoBug #1675511: Use -Kpic instead of -xcode=pic32 on Solaris/x86.
Martin v. Löwis [Mon, 12 Mar 2007 10:50:39 +0000 (10:50 +0000)]
Bug #1675511: Use -Kpic instead of -xcode=pic32 on Solaris/x86.

18 years agoSane humans would call these invalid tests, but Andrew McNamara pointed out
Skip Montanaro [Mon, 12 Mar 2007 03:30:50 +0000 (03:30 +0000)]
Sane humans would call these invalid tests, but Andrew McNamara pointed out
that given the inputs in these tests Excel does indeed produce the output
these tests expect.  Document that for future confused folks.

18 years agoTokio Kikuchi's fix for SF bug #1629369; folding whitespace allowed in the
Barry Warsaw [Mon, 12 Mar 2007 03:20:01 +0000 (03:20 +0000)]
Tokio Kikuchi's fix for SF bug #1629369; folding whitespace allowed in the
display name of an email address, e.g.

Foo
\tBar <foo@example.com>

Test case added by Barry.

18 years agoPatch #1678662: ftp.python.org does not exist. So the testcode in urllib.py must...
Collin Winter [Mon, 12 Mar 2007 01:55:54 +0000 (01:55 +0000)]
Patch #1678662: ftp.python.org does not exist. So the testcode in urllib.py must use a more
stable FTP.
Will backport.

18 years agoFix resource leak reported in SF #1516995.
Vinay Sajip [Sun, 11 Mar 2007 18:32:07 +0000 (18:32 +0000)]
Fix resource leak reported in SF #1516995.

18 years agoPatch #1192590: Fix pdb's "ignore" and "condition" commands so they trap the IndexErr...
Collin Winter [Sun, 11 Mar 2007 16:00:20 +0000 (16:00 +0000)]
Patch #1192590: Fix pdb's "ignore" and "condition" commands so they trap the IndexError caused by passing in an invalid breakpoint number.
Will backport.

18 years agoPatch #1675981: remove unreachable code from type.__new__() method.
Žiga Seilnacht [Sun, 11 Mar 2007 15:54:54 +0000 (15:54 +0000)]
Patch #1675981: remove unreachable code from type.__new__() method.
__dict__ and __weakref__ are removed from the slots tuple earlier
in the code, in the loop that mangles slot names. Will backport.

18 years agoAdd missing "return" statements in exception handler.
Georg Brandl [Sun, 11 Mar 2007 08:28:46 +0000 (08:28 +0000)]
Add missing "return" statements in exception handler.

18 years agoPatch #1599845: Add an option to disable the implicit calls to server_bind() and...
Collin Winter [Sat, 10 Mar 2007 14:41:48 +0000 (14:41 +0000)]
Patch #1599845: Add an option to disable the implicit calls to server_bind() and server_activate() in the constructors for TCPServer, SimpleXMLRPCServer and DocXMLRPCServer.

18 years agoConvert an assert to a raise so it works even in the presence of -O.
Collin Winter [Sat, 10 Mar 2007 14:33:32 +0000 (14:33 +0000)]
Convert an assert to a raise so it works even in the presence of -O.

18 years agoTypos.
Georg Brandl [Sat, 10 Mar 2007 07:38:14 +0000 (07:38 +0000)]
Typos.

18 years agoAdd proper attribution for a bug fix.
Collin Winter [Sat, 10 Mar 2007 03:35:34 +0000 (03:35 +0000)]
Add proper attribution for a bug fix.

18 years agoSimplify a little by handling the TCP case first.
Neal Norwitz [Sat, 10 Mar 2007 03:19:18 +0000 (03:19 +0000)]
Simplify a little by handling the TCP case first.
Update to use predominant style of spaces around = in args list
and print to stderr if debugging.

18 years agoBug #1531963: Make SocketServer.TCPServer's server_address always be equal to calling...
Collin Winter [Sat, 10 Mar 2007 02:51:26 +0000 (02:51 +0000)]
Bug #1531963: Make SocketServer.TCPServer's server_address always be equal to calling getsockname() on the server's socket.
Will backport.

18 years ago* Unlink test files before and after each test; hopefully this will cut down on recen...
Collin Winter [Sat, 10 Mar 2007 02:23:40 +0000 (02:23 +0000)]
* Unlink test files before and after each test; hopefully this will cut down on recent buildbot failures in test_islink.
* Drop safe_remove() in favor of test_support.unlink().
* Fix the indentation of test_samefile so that it runs.

18 years agoHashing simplification pointed out by Thomas Wouters.
Collin Winter [Fri, 9 Mar 2007 23:30:39 +0000 (23:30 +0000)]
Hashing simplification pointed out by Thomas Wouters.

18 years agoBug #1651235: When a tuple was passed to a ctypes function call,
Thomas Heller [Fri, 9 Mar 2007 20:39:22 +0000 (20:39 +0000)]
Bug #1651235: When a tuple was passed to a ctypes function call,
Python would crash instead of raising an error.

The crash was caused by a section of code that should have been
removed long ago, at that time ctypes had other ways to pass
parameters to function calls.

18 years agoPatch #1491866: change the complex() constructor to allow parthensized forms. This...
Collin Winter [Fri, 9 Mar 2007 20:33:07 +0000 (20:33 +0000)]
Patch #1491866: change the complex() constructor to allow parthensized forms. This means complex(repr(x)) now works instead of raising a ValueError.

18 years agoAdd Ziga Seilnacht.
Martin v. Löwis [Fri, 9 Mar 2007 19:36:01 +0000 (19:36 +0000)]
Add Ziga Seilnacht.

18 years agoFix bug #1646630: ctypes.string_at(buf, 0) and ctypes.wstring_at(buf, 0)
Thomas Heller [Fri, 9 Mar 2007 19:21:28 +0000 (19:21 +0000)]
Fix bug #1646630: ctypes.string_at(buf, 0) and ctypes.wstring_at(buf, 0)
returned string up to the first NUL character.

18 years agoBug #1629566: clarify the docs on the return values of parsedate() and parsedate_tz...
Collin Winter [Fri, 9 Mar 2007 18:09:10 +0000 (18:09 +0000)]
Bug #1629566: clarify the docs on the return values of parsedate() and parsedate_tz() in email.utils and rfc822.

18 years agoPatch #957003: Implement smtplib.LMTP.
Martin v. Löwis [Fri, 9 Mar 2007 15:35:55 +0000 (15:35 +0000)]
Patch #957003: Implement smtplib.LMTP.

18 years agoTypo.
Georg Brandl [Fri, 9 Mar 2007 12:58:41 +0000 (12:58 +0000)]
Typo.

18 years agoFix SF #1676971, Complex OverflowError has a typo
Neal Norwitz [Fri, 9 Mar 2007 05:59:01 +0000 (05:59 +0000)]
Fix SF #1676971, Complex OverflowError has a typo

18 years agoAdd NEWS item for patch #1481079 (r54234).
Collin Winter [Fri, 9 Mar 2007 03:26:32 +0000 (03:26 +0000)]
Add NEWS item for patch #1481079 (r54234).

18 years agoPatch #1481079: Support of HTTP_REFERER in CGIHTTPServer.py
Collin Winter [Fri, 9 Mar 2007 03:15:56 +0000 (03:15 +0000)]
Patch #1481079: Support of HTTP_REFERER in CGIHTTPServer.py