]> granicus.if.org Git - python/log
python
18 years agoAs mentioned on python-dev, reverting patch #1504333 because it introduced
Neal Norwitz [Mon, 11 Sep 2006 04:05:18 +0000 (04:05 +0000)]
As mentioned on python-dev, reverting patch #1504333 because it introduced
an infinite loop in rev 47154.

This patch also adds a test to prevent the regression.

Will backport to 2.4 and head later.

18 years agoAdd NEWS entries for ctypes backports.
Neal Norwitz [Mon, 11 Sep 2006 04:03:07 +0000 (04:03 +0000)]
Add NEWS entries for ctypes backports.

18 years agoBackport rev 51820 from Thomas Heller
Neal Norwitz [Mon, 11 Sep 2006 04:02:43 +0000 (04:02 +0000)]
Backport rev 51820 from Thomas Heller

The cast function did not accept c_char_p or c_wchar_p instances
as first argument, and failed with a 'bad argument to internal function'
error message.

18 years agoBackport rev 51819 from Thomas Heller
Neal Norwitz [Mon, 11 Sep 2006 04:01:57 +0000 (04:01 +0000)]
Backport rev 51819 from Thomas Heller

Anonymous structure fields that have a bit-width specified did not work,
and they gave a strange error message from PyArg_ParseTuple:
   function takes exactly 2 arguments (3 given).

18 years agoRemove __unicode__ method so that ``unicode(BaseException)`` succeeds.
Brett Cannon [Sat, 9 Sep 2006 07:18:44 +0000 (07:18 +0000)]
Remove __unicode__ method so that ``unicode(BaseException)`` succeeds.

Fixes bug #1551432.

18 years agoFix typo in example
Andrew M. Kuchling [Fri, 8 Sep 2006 14:06:42 +0000 (14:06 +0000)]
Fix typo in example

18 years agoUse native SQLite types
Andrew M. Kuchling [Fri, 8 Sep 2006 14:03:19 +0000 (14:03 +0000)]
Use native SQLite types

18 years agoExplain SQLite a bit more clearly
Andrew M. Kuchling [Fri, 8 Sep 2006 13:36:57 +0000 (13:36 +0000)]
Explain SQLite a bit more clearly

18 years agoBackport inspect.py fix from rev 51803
Nick Coghlan [Fri, 8 Sep 2006 10:01:23 +0000 (10:01 +0000)]
Backport inspect.py fix from rev 51803

18 years agoBackport rev. 51798 from trunk:
Georg Brandl [Fri, 8 Sep 2006 06:02:26 +0000 (06:02 +0000)]
Backport rev. 51798 from trunk:
fix setobject.c refcounts and error checks.

18 years agoBackport from trunk r51737:
Hye-Shik Chang [Thu, 7 Sep 2006 12:50:38 +0000 (12:50 +0000)]
Backport from trunk r51737:

Fixed a few bugs on cjkcodecs:
- gbk and gb18030 codec now handle U+30FB KATAKANA MIDDLE DOT correctly.
- iso2022_jp_2 codec now encodes into G0 for KS X 1001, GB2312
  codepoints to conform the standard.
- iso2022_jp_3 and iso2022_jp_2004 codec can encode JIS X 0213:2
  codepoints now.

18 years agoRemove one glaring error and update several version numbers.
Ronald Oussoren [Thu, 7 Sep 2006 12:00:43 +0000 (12:00 +0000)]
Remove one glaring error and update several version numbers.

18 years agoNo, the problem was actually because buildbot uses a StringIO in
Gustavo Niemeyer [Wed, 6 Sep 2006 23:15:24 +0000 (23:15 +0000)]
No, the problem was actually because buildbot uses a StringIO in
place of sys.stdout while running tests. Removing one more test
to make buildbot happy.

18 years agoFixed bug #1531862: Do not close standard file descriptors in subprocess.
Gustavo Niemeyer [Wed, 6 Sep 2006 22:44:51 +0000 (22:44 +0000)]
Fixed bug #1531862: Do not close standard file descriptors in subprocess.

Let's try that once more. Buildbots were broken last time, but probably
because tests were sending data to stderr for testing it (sending to a
file doesn't touch the problem).

The fix is still the same, but tests were reduced (removing tests to
be able to fix something is weird, but oh well).

18 years agoBackport bug fix for SF bug report #1546372.
Marc-André Lemburg [Wed, 6 Sep 2006 20:38:50 +0000 (20:38 +0000)]
Backport bug fix for SF bug report #1546372.

18 years agoFix missing import of the types module in logging.config.
Georg Brandl [Wed, 6 Sep 2006 20:06:27 +0000 (20:06 +0000)]
Fix missing import of the types module in logging.config.
 (backport from rev. 51785)

18 years agoBackport of r51379 from trunk:
Thomas Heller [Wed, 6 Sep 2006 17:48:56 +0000 (17:48 +0000)]
Backport of r51379 from trunk:

Add asserts to check for 'impossible' NULL values, with comments.
In one place where I'm not 1000% sure about the non-NULL, raise
a RuntimeError for safety.

This should fix the klocwork issues that Neal sent me.  If so,
it should be applied to the release25-maint branch also.

18 years agoBug #1542051: Exceptions now correctly call PyObject_GC_UnTrack.
Georg Brandl [Wed, 6 Sep 2006 06:47:02 +0000 (06:47 +0000)]
Bug #1542051: Exceptions now correctly call PyObject_GC_UnTrack.
Also make sure that every exception class has __module__ set to
'exceptions'.
 (backport)

18 years agoBug #1550983: emit better error messages for erroneous relative
Georg Brandl [Wed, 6 Sep 2006 06:09:34 +0000 (06:09 +0000)]
Bug #1550983: emit better error messages for erroneous relative
imports (if not in package and if beyond toplevel package).
 (backport from rev. 51765)

18 years agoBug #1551427: fix a wrong NULL pointer check in the win32 version
Georg Brandl [Wed, 6 Sep 2006 06:04:06 +0000 (06:04 +0000)]
Bug #1551427: fix a wrong NULL pointer check in the win32 version
of os.urandom().
 (backport from rev. 51762)

18 years agoRevert 51759 because it broke all the buildbots
Neal Norwitz [Wed, 6 Sep 2006 03:58:59 +0000 (03:58 +0000)]
Revert 51759 because it broke all the buildbots

18 years agoBackporting fix for bug #1531862, committed in 51758, into 2.5,
Gustavo Niemeyer [Wed, 6 Sep 2006 02:05:35 +0000 (02:05 +0000)]
Backporting fix for bug #1531862, committed in 51758, into 2.5,
making subprocess not close standard file descriptors.

18 years agoFixing an improperly escaped grep in .spec file, pointed out by Neal Norwitz.
Sean Reifscheider [Tue, 5 Sep 2006 13:39:06 +0000 (13:39 +0000)]
Fixing an improperly escaped grep in .spec file, pointed out by Neal Norwitz.

18 years agoRearrange example a bit, and show rpartition() when separator is not found
Andrew M. Kuchling [Tue, 5 Sep 2006 13:11:33 +0000 (13:11 +0000)]
Rearrange example a bit, and show rpartition() when separator is not found

18 years agoBug #1552618: change docs of dict.has_key() to reflect recommendation
Georg Brandl [Tue, 5 Sep 2006 12:45:18 +0000 (12:45 +0000)]
Bug #1552618: change docs of dict.has_key() to reflect recommendation
to use "in".
 (backport from rev. 51740)

18 years agoAdd another NEWS entry for a fix already in 2.5c1
Neal Norwitz [Tue, 5 Sep 2006 04:49:45 +0000 (04:49 +0000)]
Add another NEWS entry for a fix already in 2.5c1

18 years agoAdd some NEWS for fixes already in 2.5c1
Neal Norwitz [Tue, 5 Sep 2006 04:43:56 +0000 (04:43 +0000)]
Add some NEWS for fixes already in 2.5c1

18 years agoBackport 51669: Make sure memory is properly cleaned up in file_init (even though...
Neal Norwitz [Tue, 5 Sep 2006 04:32:06 +0000 (04:32 +0000)]
Backport 51669: Make sure memory is properly cleaned up in file_init (even though this should not be able to happen since we already parsed the args)

18 years agoBug #1520864 (again): unpacking singleton tuples in list comprehensions and
Neal Norwitz [Tue, 5 Sep 2006 03:56:01 +0000 (03:56 +0000)]
Bug #1520864 (again): unpacking singleton tuples in list comprehensions and
generator expressions (x for x, in ... ) works again.

Sigh, I only fixed for loops the first time, not list comps and genexprs too.
I couldn't find any more unpacking cases where there is a similar bug lurking.

18 years agoPatch #1540470, for OpenBSD 4.0. Backport candidate for 2.[34].
Neal Norwitz [Tue, 5 Sep 2006 02:54:42 +0000 (02:54 +0000)]
Patch #1540470, for OpenBSD 4.0.  Backport candidate for 2.[34].

18 years agoBackport fix from 51683.
Neal Norwitz [Tue, 5 Sep 2006 02:33:44 +0000 (02:33 +0000)]
Backport fix from 51683.

18 years agoBackport fix for SF bug #1550714, itertools.tee raises SystemError
Neal Norwitz [Tue, 5 Sep 2006 02:30:10 +0000 (02:30 +0000)]
Backport fix for SF bug #1550714, itertools.tee raises SystemError

18 years agoFix str.rpartition(sep) when sep is not found in str.
Neal Norwitz [Tue, 5 Sep 2006 02:21:38 +0000 (02:21 +0000)]
Fix str.rpartition(sep) when sep is not found in str.
Partially from SF patch #1551339, but also taken from head.

18 years agoThis was found by Guido AFAIK on p3yk (sic) branch.
Neal Norwitz [Tue, 5 Sep 2006 02:00:21 +0000 (02:00 +0000)]
This was found by Guido AFAIK on p3yk (sic) branch.

18 years agoFix SF bug #1546288, crash in dict_equal
Neal Norwitz [Tue, 5 Sep 2006 01:54:06 +0000 (01:54 +0000)]
Fix SF bug #1546288, crash in dict_equal

18 years agoFix SF #1552093, eval docstring typo (3 ps in mapping)
Neal Norwitz [Tue, 5 Sep 2006 01:52:00 +0000 (01:52 +0000)]
Fix SF #1552093, eval docstring typo (3 ps in mapping)

18 years agoi_divmod(): As discussed on Python-Dev, changed the overflow
Tim Peters [Tue, 5 Sep 2006 01:47:53 +0000 (01:47 +0000)]
i_divmod():  As discussed on Python-Dev, changed the overflow
checking to live happily with recent gcc optimizations that
assume signed integer arithmetic never overflows.

18 years agoSF patch #1551340 ] Updated spec file for 2.5 release (c2)
Neal Norwitz [Tue, 5 Sep 2006 01:36:43 +0000 (01:36 +0000)]
SF patch #1551340 ] Updated spec file for 2.5 release (c2)

18 years agoBackport docos
Neal Norwitz [Sun, 3 Sep 2006 20:01:05 +0000 (20:01 +0000)]
Backport docos

18 years agoBackport doco
Neal Norwitz [Sun, 3 Sep 2006 20:00:39 +0000 (20:00 +0000)]
Backport doco

18 years agoNEWS entry for decimal module changes
Nick Coghlan [Sun, 3 Sep 2006 01:13:06 +0000 (01:13 +0000)]
NEWS entry for decimal module changes

18 years agoBackport of decimal module context management updates from rev 51694 to 2.5 release...
Nick Coghlan [Sun, 3 Sep 2006 01:08:30 +0000 (01:08 +0000)]
Backport of decimal module context management updates from rev 51694 to 2.5 release branch

18 years agoBackport 51663:
Neal Norwitz [Sun, 3 Sep 2006 00:04:26 +0000 (00:04 +0000)]
Backport 51663:
  Doc fix: hashlib objects don't always return a digest of 16 bytes.

18 years agoSF #1547931, fix typo (missing and). Backport candidate for 2.3/2.4 too
Neal Norwitz [Sat, 2 Sep 2006 02:45:43 +0000 (02:45 +0000)]
SF #1547931, fix typo (missing and).  Backport candidate for 2.3/2.4 too

18 years agoevalfile() should be execfile().
Georg Brandl [Fri, 1 Sep 2006 22:30:56 +0000 (22:30 +0000)]
evalfile() should be execfile().
 (backport from rev. 51677)

18 years ago- SF patch #1550263: Enhance and correct unittest docs
Fred Drake [Fri, 1 Sep 2006 03:56:22 +0000 (03:56 +0000)]
- SF patch #1550263: Enhance and correct unittest docs
- various minor cleanups for improved consistency

18 years agoPatch #1545507: Exclude ctypes package in Win64 MSI file.
Martin v. Löwis [Fri, 25 Aug 2006 00:11:38 +0000 (00:11 +0000)]
Patch #1545507: Exclude ctypes package in Win64 MSI file.

18 years agoAlexander Belopolsky pointed out that pos is a size_t
Neal Norwitz [Tue, 22 Aug 2006 13:57:07 +0000 (13:57 +0000)]
Alexander Belopolsky pointed out that pos is a size_t

18 years agopatch for documentation for recent uuid changes (from ping)
Anthony Baxter [Tue, 22 Aug 2006 07:36:06 +0000 (07:36 +0000)]
patch for documentation for recent uuid changes (from ping)

18 years ago- Patch #1541585: fix buffer overrun when performing repr() on
Neal Norwitz [Mon, 21 Aug 2006 22:13:11 +0000 (22:13 +0000)]
- Patch #1541585: fix buffer overrun when performing repr() on
  a unicode string in a build with wide unicode (UCS-4) support.

I will forward port to 2.6.  Can someone backport to 2.4?

18 years agoBackport 51443:
Neal Norwitz [Mon, 21 Aug 2006 20:20:59 +0000 (20:20 +0000)]
Backport 51443:
Handle a few more error conditions.

Klocwork 301 and 302.  Will backport.

18 years agoFix a couple of ssize-t issues reported by Alexander Belopolsky on python-dev
Neal Norwitz [Mon, 21 Aug 2006 18:44:09 +0000 (18:44 +0000)]
Fix a couple of ssize-t issues reported by Alexander Belopolsky on python-dev

18 years agoBackport 51432:
Neal Norwitz [Mon, 21 Aug 2006 18:43:51 +0000 (18:43 +0000)]
Backport 51432:
Fix bug #1543303, tarfile adds padding that breaks gunzip.
Patch # 1543897.  (remove the padding)

18 years agoPatch #1542948: fix urllib2 header casing issue. With new test.
Georg Brandl [Sun, 20 Aug 2006 13:15:43 +0000 (13:15 +0000)]
Patch #1542948: fix urllib2 header casing issue. With new test.
 (backport from rev. 51416)

18 years agoSF #1542693: Remove semi-colon at end of PyImport_ImportModuleEx macro
Neal Norwitz [Sat, 19 Aug 2006 04:19:43 +0000 (04:19 +0000)]
SF #1542693: Remove semi-colon at end of PyImport_ImportModuleEx macro

18 years agoMove initialization of interned strings to before allocating the
Neal Norwitz [Sat, 19 Aug 2006 04:19:14 +0000 (04:19 +0000)]
Move initialization of interned strings to before allocating the
object so we don't leak op.  (Fixes an earlier patch to this code)

Klockwork #350

18 years agoMove assert to after NULL check, otherwise we deref NULL in the assert.
Neal Norwitz [Sat, 19 Aug 2006 04:18:39 +0000 (04:18 +0000)]
Move assert to after NULL check, otherwise we deref NULL in the assert.

Klocwork #307

18 years agoMinor edits
Andrew M. Kuchling [Fri, 18 Aug 2006 13:54:33 +0000 (13:54 +0000)]
Minor edits

18 years agoTypo in tp_clear docs.
Georg Brandl [Fri, 18 Aug 2006 07:35:53 +0000 (07:35 +0000)]
Typo in tp_clear docs.
 (backport from rev. 51368)

18 years agoBug #1541682: Fix example in the "Refcount details" API docs.
Georg Brandl [Fri, 18 Aug 2006 07:28:03 +0000 (07:28 +0000)]
Bug #1541682: Fix example in the "Refcount details" API docs.
Additionally, remove a faulty example showing PySequence_SetItem applied
to a newly created list object and add notes that this isn't a good idea.
 (backport from rev. 51364)

18 years agoBug #1541863: uuid.uuid1 failed to generate unique identifiers
Martin v. Löwis [Fri, 18 Aug 2006 03:40:13 +0000 (03:40 +0000)]
Bug #1541863: uuid.uuid1 failed to generate unique identifiers
on systems with low clock resolution.

18 years agoInvoke debug mk1mf.pl after running Configure.
Martin v. Löwis [Thu, 17 Aug 2006 18:54:43 +0000 (18:54 +0000)]
Invoke debug mk1mf.pl after running Configure.

18 years agoLeave tk build directory to restore original path.
Martin v. Löwis [Thu, 17 Aug 2006 17:27:31 +0000 (17:27 +0000)]
Leave tk build directory to restore original path.

18 years agoTagging for release of Python 2.5c1
Anthony Baxter [Thu, 17 Aug 2006 03:08:55 +0000 (03:08 +0000)]
Tagging for release of Python 2.5c1

18 years agoBranching release25-maint. All further 2.5 releases (including the release candidates, v2.5c1
Anthony Baxter [Thu, 17 Aug 2006 00:38:04 +0000 (00:38 +0000)]
Branching release25-maint. All further 2.5 releases (including the release candidates,
the final release and all bugfix releases) will be from this branch, not the trunk.

18 years agoFix a bug in the ``compiler`` package that caused invalid code to be
Neil Schemenauer [Wed, 16 Aug 2006 23:38:05 +0000 (23:38 +0000)]
Fix a bug in the ``compiler`` package that caused invalid code to be
generated for generator expressions.

18 years agoFile menu hotkeys: there were three 'p' assignments. Reassign the
Kurt B. Kaiser [Wed, 16 Aug 2006 21:45:59 +0000 (21:45 +0000)]
File menu hotkeys: there were three 'p' assignments.  Reassign the
'Save Copy As' and 'Print' hotkeys to 'y' and 't'.  Change the
Shell menu hotkey from 's' to 'l'.

M    Bindings.py
M    PyShell.py
M    NEWS.txt

18 years agoTutorial:
Thomas Heller [Wed, 16 Aug 2006 18:02:11 +0000 (18:02 +0000)]
Tutorial:

    Clarify somewhat how parameters are passed to functions
    (especially explain what integer means).

    Correct the table - Python integers and longs can both be used.
    Further clarification to the table comparing ctypes types, Python
    types, and C types.

Reference:

    Replace integer by C ``int`` where it makes sense.

18 years agoGrammar fix
Andrew M. Kuchling [Wed, 16 Aug 2006 17:11:18 +0000 (17:11 +0000)]
Grammar fix

18 years agoSF#1534630
Fredrik Lundh [Wed, 16 Aug 2006 16:47:07 +0000 (16:47 +0000)]
SF#1534630

ignore data that arrives before the opening start tag

18 years agoAdd NEWS item mentioning the reverted distutils version number patch.
Marc-André Lemburg [Wed, 16 Aug 2006 16:11:01 +0000 (16:11 +0000)]
Add NEWS item mentioning the reverted distutils version number patch.

18 years agoRemove the special casing of Py_None when converting the return value
Thomas Heller [Wed, 16 Aug 2006 15:10:12 +0000 (15:10 +0000)]
Remove the special casing of Py_None when converting the return value
of the Python part of a callback function to C.  If it cannot be
converted, call PyErr_WriteUnraisable with the exception we got.
Before, arbitrary data has been passed to the calling C code in this
case.

(I'm not really sure the NEWS entry is understandable, but I cannot
find better words)

18 years agoWording/typo fixes
Andrew M. Kuchling [Wed, 16 Aug 2006 14:21:14 +0000 (14:21 +0000)]
Wording/typo fixes

18 years agoUpdate bug/patch counts
Andrew M. Kuchling [Wed, 16 Aug 2006 14:18:23 +0000 (14:18 +0000)]
Update bug/patch counts

18 years agoThe __repr__ method of a NULL py_object does no longer raise an
Thomas Heller [Wed, 16 Aug 2006 14:07:44 +0000 (14:07 +0000)]
The __repr__ method of a NULL py_object does no longer raise an
exception.  Remove a stray '?' character from the exception text
when the value is retrieved of such an object.

Includes tests.

18 years agoMake cl build step compile-only (/c). Remove libs from source list.
Martin v. Löwis [Wed, 16 Aug 2006 13:58:51 +0000 (13:58 +0000)]
Make cl build step compile-only (/c). Remove libs from source list.

18 years agoLink to docs; remove an XXX comment
Andrew M. Kuchling [Wed, 16 Aug 2006 13:51:32 +0000 (13:51 +0000)]
Link to docs; remove an XXX comment

18 years agoBump document version to 1.0; remove pystone paragraph
Andrew M. Kuchling [Wed, 16 Aug 2006 13:41:52 +0000 (13:41 +0000)]
Bump document version to 1.0; remove pystone paragraph

18 years agoAdd UnicodeWarning
Andrew M. Kuchling [Wed, 16 Aug 2006 13:22:20 +0000 (13:22 +0000)]
Add UnicodeWarning

18 years agonews entry for 51307
Anthony Baxter [Wed, 16 Aug 2006 13:08:25 +0000 (13:08 +0000)]
news entry for 51307

18 years agoAdd commented assert statements to check that the result of
Thomas Heller [Wed, 16 Aug 2006 13:03:11 +0000 (13:03 +0000)]
Add commented assert statements to check that the result of
PyObject_stgdict() and PyType_stgdict() calls are non-NULL before
dereferencing the result.  Hopefully this fixes what klocwork is
complaining about.

Fix a few other nits as well.

18 years agoBuild _hashlib on Windows. Build OpenSSL with masm assembler code.
Martin v. Löwis [Wed, 16 Aug 2006 12:55:10 +0000 (12:55 +0000)]
Build _hashlib on Windows. Build OpenSSL with masm assembler code.
Fixes #1535502.

18 years agoRevert to having static version numbers again.
Marc-André Lemburg [Wed, 16 Aug 2006 08:13:26 +0000 (08:13 +0000)]
Revert to having static version numbers again.

18 years agoGet quit() and exit() to work cleanly when not using subprocess.
Kurt B. Kaiser [Wed, 16 Aug 2006 07:04:17 +0000 (07:04 +0000)]
Get quit() and exit() to work cleanly when not using subprocess.

18 years agoUpdate code and tests to support the 'bytes_le' attribute (for
Ka-Ping Yee [Wed, 16 Aug 2006 07:02:50 +0000 (07:02 +0000)]
Update code and tests to support the 'bytes_le' attribute (for
little-endian byte order on Windows), and to work around clocks
with low resolution yielding duplicate UUIDs.

Anthony Baxter has approved this change.

18 years agoPatch #1540892: site.py Quitter() class attempts to close sys.stdin
Kurt B. Kaiser [Wed, 16 Aug 2006 05:01:42 +0000 (05:01 +0000)]
Patch #1540892: site.py Quitter() class attempts to close sys.stdin
before raising SystemExit, allowing IDLE to honor quit() and exit().

M    Lib/site.py
M    Lib/idlelib/PyShell.py
M    Lib/idlelib/CREDITS.txt
M    Lib/idlelib/NEWS.txt
M    Misc/NEWS

18 years agopreparing for 2.5c1 - no, really this time
Anthony Baxter [Wed, 16 Aug 2006 03:58:37 +0000 (03:58 +0000)]
preparing for 2.5c1 - no, really this time

18 years agopreparing for 2.5c1
Anthony Baxter [Wed, 16 Aug 2006 03:42:26 +0000 (03:42 +0000)]
preparing for 2.5c1

18 years agoThe 'with' statement is now a Code Context block opener
Kurt B. Kaiser [Wed, 16 Aug 2006 03:15:26 +0000 (03:15 +0000)]
The 'with' statement is now a Code Context block opener

18 years agoCheck for NULL return value from new_CArgObject calls.
Thomas Heller [Tue, 15 Aug 2006 13:07:21 +0000 (13:07 +0000)]
Check for NULL return value from new_CArgObject calls.

18 years agoSubclasses of int/long are allowed to define an __index__.
Neal Norwitz [Tue, 15 Aug 2006 06:29:03 +0000 (06:29 +0000)]
Subclasses of int/long are allowed to define an __index__.

18 years agoUpdate the docstring to use a version a little newer than 1999. This was
Neal Norwitz [Tue, 15 Aug 2006 04:59:30 +0000 (04:59 +0000)]
Update the docstring to use a version a little newer than 1999.  This was
taken from a Debian patch.  Should we update the version for each release?

18 years agoFix the test for SocketServer so it should pass on cygwin and not fail
Neal Norwitz [Tue, 15 Aug 2006 04:58:28 +0000 (04:58 +0000)]
Fix the test for SocketServer so it should pass on cygwin and not fail
sporadically on other platforms.  This is really a band-aid that doesn't
fix the underlying issue in SocketServer.  It's not clear if it's worth
it to fix SocketServer, however, I opened a bug to track it:

http://python.org/sf/1540386

18 years agoGeorg fixed one of my bugs, so I'll repay him with 2 NEWS entries.
Neal Norwitz [Tue, 15 Aug 2006 04:14:57 +0000 (04:14 +0000)]
Georg fixed one of my bugs, so I'll repay him with 2 NEWS entries.
Now we're even. :-)

18 years agoWhitespace normalization.
Tim Peters [Tue, 15 Aug 2006 00:25:04 +0000 (00:25 +0000)]
Whitespace normalization.

18 years agoPatch #1511317: don't crash on invalid hostname info
Georg Brandl [Mon, 14 Aug 2006 22:10:24 +0000 (22:10 +0000)]
Patch #1511317: don't crash on invalid hostname info

18 years agoCookie.py shouldn't "bogusly" use string._idmap.
Georg Brandl [Mon, 14 Aug 2006 22:01:24 +0000 (22:01 +0000)]
Cookie.py shouldn't "bogusly" use string._idmap.

18 years agoPatch #1536071: trace.py should now find the full module name of a
Georg Brandl [Mon, 14 Aug 2006 21:55:28 +0000 (21:55 +0000)]
Patch #1536071: trace.py should now find the full module name of a
file correctly even on Windows.

18 years agoAdd an additional test: BZ2File write methods should raise IOError
Georg Brandl [Mon, 14 Aug 2006 21:45:32 +0000 (21:45 +0000)]
Add an additional test: BZ2File write methods should raise IOError
when file is read-only.

18 years agoPatch #1535500: fix segfault in BZ2File.writelines and make sure it
Georg Brandl [Mon, 14 Aug 2006 21:42:55 +0000 (21:42 +0000)]
Patch #1535500: fix segfault in BZ2File.writelines and make sure it
raises the correct exceptions.