]> granicus.if.org Git - python/log
python
18 years agoNo more raising of string exceptions!
Brett Cannon [Tue, 30 Jan 2007 21:34:36 +0000 (21:34 +0000)]
No more raising of string exceptions!

The next step of PEP 352 (for 2.6) causes raising a string exception to trigger
a TypeError.  Trying to catch a string exception raises a DeprecationWarning.
References to string exceptions has been removed from the docs since they are
now just an error.

18 years agoBug #1648191: typo in docs.
Georg Brandl [Tue, 30 Jan 2007 20:21:30 +0000 (20:21 +0000)]
Bug #1648191: typo in docs.

18 years agoWhitespace normalization.
Tim Peters [Tue, 30 Jan 2007 03:03:46 +0000 (03:03 +0000)]
Whitespace normalization.

18 years agoMore edits
Andrew M. Kuchling [Mon, 29 Jan 2007 21:28:48 +0000 (21:28 +0000)]
More edits

18 years agoVarious minor edits
Andrew M. Kuchling [Mon, 29 Jan 2007 20:55:40 +0000 (20:55 +0000)]
Various minor edits

18 years agoMinor edits to the curses HOWTO
Andrew M. Kuchling [Mon, 29 Jan 2007 20:21:43 +0000 (20:21 +0000)]
Minor edits to the curses HOWTO

18 years agoAdd a test for slicing an exception.
Brett Cannon [Mon, 29 Jan 2007 04:41:44 +0000 (04:41 +0000)]
Add a test for slicing an exception.

18 years agoUse the thread lock's context manager instead of a try/finally statement.
Brett Cannon [Sun, 28 Jan 2007 20:58:00 +0000 (20:58 +0000)]
Use the thread lock's context manager instead of a try/finally statement.

18 years agoBug #1645944: os.access now returns bool but docstring is not updated
Georg Brandl [Sat, 27 Jan 2007 19:38:50 +0000 (19:38 +0000)]
Bug #1645944: os.access now returns bool but docstring is not updated

18 years agoPatch #1634778: add missing encoding aliases for iso8859_15 and
Georg Brandl [Sat, 27 Jan 2007 17:59:42 +0000 (17:59 +0000)]
Patch #1634778: add missing encoding aliases for iso8859_15 and
iso8859_16.

18 years agoPatch #1638243: the compiler package is now able to correctly compile
Georg Brandl [Sat, 27 Jan 2007 17:43:02 +0000 (17:43 +0000)]
Patch #1638243: the compiler package is now able to correctly compile
a with statement; previously, executing code containing a with statement
compiled by the compiler package crashed the interpreter.

18 years agofix typo (extraneous ")")
Fred Drake [Fri, 26 Jan 2007 16:28:44 +0000 (16:28 +0000)]
fix typo (extraneous ")")

18 years agoRemove specific mention of my name and email address from modules. Not really
Brett Cannon [Thu, 25 Jan 2007 23:30:39 +0000 (23:30 +0000)]
Remove specific mention of my name and email address from modules.  Not really
needed and all bug reports should go to the bug tracker, not directly to me.
Plus I am not the only person to have edited these files at this point.

18 years agoFix time.strptime's %U support. Basically rewrote the algorithm to be more
Brett Cannon [Thu, 25 Jan 2007 20:22:02 +0000 (20:22 +0000)]
Fix time.strptime's %U support.  Basically rewrote the algorithm to be more
generic so that one only has to shift certain values based on whether the week
was specified to start on Monday or Sunday.  Cut out a lot of edge case code
compared to the previous version.  Also broke algorithm out into its own
function (that is private to the module).

Fixes bug #1643943 (thanks Biran Nahas for the report).

18 years agoAdd item
Andrew M. Kuchling [Thu, 25 Jan 2007 20:02:13 +0000 (20:02 +0000)]
Add item

18 years agoFix for #1643874: When calling SysAllocString, create a PyCObject
Thomas Heller [Thu, 25 Jan 2007 18:34:14 +0000 (18:34 +0000)]
Fix for #1643874: When calling SysAllocString, create a PyCObject
which will eventually call SysFreeString to free the BSTR resource.

18 years agoStrengthen warning about using lock()
Andrew M. Kuchling [Wed, 24 Jan 2007 20:06:41 +0000 (20:06 +0000)]
Strengthen warning about using lock()

18 years agoPort test_popen.py to unittest.
Walter Dörwald [Wed, 24 Jan 2007 00:42:19 +0000 (00:42 +0000)]
Port test_popen.py to unittest.

18 years agoFix crasher for when an object's __del__ creates a new weakref to itself.
Brett Cannon [Tue, 23 Jan 2007 23:21:22 +0000 (23:21 +0000)]
Fix crasher for when an object's __del__ creates a new weakref to itself.
Patch only fixes new-style classes; classic classes still buggy.

Closes bug #1377858.  Already backported.

18 years agoMake PyTraceBack_Here use the current thread, not the
Martin v. Löwis [Tue, 23 Jan 2007 21:11:47 +0000 (21:11 +0000)]
Make PyTraceBack_Here use the current thread, not the
frame's thread state. Fixes #1579370.
Will backport.

18 years agoAdd news entry about last checkin (oops.)
Thomas Wouters [Tue, 23 Jan 2007 13:50:49 +0000 (13:50 +0000)]
Add news entry about last checkin (oops.)

18 years agoSF patch #1630975: Fix crash when replacing sys.stdout in sitecustomize
Thomas Wouters [Tue, 23 Jan 2007 13:42:00 +0000 (13:42 +0000)]
SF patch #1630975: Fix crash when replacing sys.stdout in sitecustomize

When running the interpreter in an environment that would cause it to set
stdout/stderr/stdin's encoding, having a sitecustomize that would replace
them with something other than PyFile objects would crash the interpreter.
Fix it by simply ignoring the encoding-setting for non-files.

This could do with a test, but I can think of no maintainable and portable
way to test this bug, short of adding a sitecustomize.py to the buildsystem
and have it always run with it (hmmm....)

18 years agoPatch #1507247: tarfile.py: use current umask for intermediate
Lars Gustäbel [Tue, 23 Jan 2007 11:17:33 +0000 (11:17 +0000)]
Patch #1507247: tarfile.py: use current umask for intermediate
directories.

18 years agoBug #1627316: handle error in condition/ignore pdb commands more gracefully.
Georg Brandl [Mon, 22 Jan 2007 21:23:41 +0000 (21:23 +0000)]
Bug #1627316: handle error in condition/ignore pdb commands more gracefully.

18 years agoBug #1249573: fix rfc822.parsedate not accepting a certain date format
Georg Brandl [Mon, 22 Jan 2007 21:10:33 +0000 (21:10 +0000)]
Bug #1249573: fix rfc822.parsedate not accepting a certain date format

18 years agoMake comment match the code
Andrew M. Kuchling [Mon, 22 Jan 2007 20:27:50 +0000 (20:27 +0000)]
Make comment match the code

18 years agoImprove pattern used for mbox 'From' lines; add a simple test
Andrew M. Kuchling [Mon, 22 Jan 2007 20:26:40 +0000 (20:26 +0000)]
Improve pattern used for mbox 'From' lines; add a simple test

18 years agoUse new email module names (#1637162, #1637159, #1637157).
Georg Brandl [Mon, 22 Jan 2007 19:40:21 +0000 (19:40 +0000)]
Use new email module names (#1637162, #1637159, #1637157).

18 years agoPatch #1627441: close sockets properly in urllib2.
Georg Brandl [Sun, 21 Jan 2007 10:35:10 +0000 (10:35 +0000)]
Patch #1627441: close sockets properly in urllib2.

18 years agoBug #1486663: don't reject keyword arguments for subclasses of builtin
Georg Brandl [Sun, 21 Jan 2007 10:28:43 +0000 (10:28 +0000)]
Bug #1486663: don't reject keyword arguments for subclasses of builtin
types.

18 years agoPatch #1610575: Add support for _Bool to struct.
Martin v. Löwis [Sun, 21 Jan 2007 09:33:07 +0000 (09:33 +0000)]
Patch #1610575: Add support for _Bool to struct.

18 years agoPort test_new.py to unittest.
Walter Dörwald [Sat, 20 Jan 2007 23:07:28 +0000 (23:07 +0000)]
Port test_new.py to unittest.

18 years agoresource.RUSAGE_BOTH might not exist.
Walter Dörwald [Sat, 20 Jan 2007 19:03:17 +0000 (19:03 +0000)]
resource.RUSAGE_BOTH might not exist.

18 years agoAdd argument tests an calls of resource.getrusage().
Walter Dörwald [Sat, 20 Jan 2007 18:19:33 +0000 (18:19 +0000)]
Add argument tests an calls of resource.getrusage().

18 years agoPort test_resource.py to unittest.
Walter Dörwald [Sat, 20 Jan 2007 17:28:31 +0000 (17:28 +0000)]
Port test_resource.py to unittest.

18 years agoMerge 53501 and 53502 from 25 branch:
Martin v. Löwis [Sat, 20 Jan 2007 14:05:39 +0000 (14:05 +0000)]
Merge 53501 and 53502 from 25 branch:
Add /GS- for AMD64 and Itanium builds where missing.

18 years agoSF# 1635892: Fix docs for betavariate's input parameters .
Raymond Hettinger [Fri, 19 Jan 2007 18:07:18 +0000 (18:07 +0000)]
SF# 1635892:  Fix docs for betavariate's input parameters .

18 years agoAdd UUIDs for 2.5.1 and 2.5.2
Martin v. Löwis [Fri, 19 Jan 2007 18:01:38 +0000 (18:01 +0000)]
Add UUIDs for 2.5.1 and 2.5.2

18 years agoPrefix AST symbols with _Py_. Fixes #1637022.
Martin v. Löwis [Fri, 19 Jan 2007 06:42:22 +0000 (06:42 +0000)]
Prefix AST symbols with _Py_. Fixes #1637022.
Will backport.

18 years agoSF #1635217, Fix unbalanced paren
Neal Norwitz [Fri, 19 Jan 2007 05:53:33 +0000 (05:53 +0000)]
SF #1635217, Fix unbalanced paren

18 years agoThis test doesn't pass on Windows. The cause seems to be that chmod
Neal Norwitz [Thu, 18 Jan 2007 06:20:55 +0000 (06:20 +0000)]
This test doesn't pass on Windows.  The cause seems to be that chmod
doesn't support the same funcationality as on Unix.  I'm not sure if
this fix is the best (or if it will even work)--it's a test to see
if the buildbots start passing again.

It might be better to not even run this test if it's windows (or non-posix).

18 years agoadd missing version entry
Fred Drake [Thu, 18 Jan 2007 05:42:30 +0000 (05:42 +0000)]
add missing version entry

18 years agoTry reverting part of r53145 that seems to cause the Windows buildbots to fail in...
Neal Norwitz [Thu, 18 Jan 2007 05:40:58 +0000 (05:40 +0000)]
Try reverting part of r53145 that seems to cause the Windows buildbots to fail in test_uu.UUFileTest.test_encode

18 years agoBug #1629125: fix wrong data type (int -> Py_ssize_t) in PyDict_Next docs.
Georg Brandl [Wed, 17 Jan 2007 21:19:58 +0000 (21:19 +0000)]
Bug #1629125: fix wrong data type (int -> Py_ssize_t) in PyDict_Next docs.

18 years agoBug #1637967: missing //= operator in list.
Georg Brandl [Wed, 17 Jan 2007 21:09:04 +0000 (21:09 +0000)]
Bug #1637967: missing //= operator in list.

18 years ago[Part of bug #1599254] Add suggestion to Mailbox docs to use Maildir, and warn user...
Andrew M. Kuchling [Wed, 17 Jan 2007 19:55:06 +0000 (19:55 +0000)]
[Part of bug #1599254] Add suggestion to Mailbox docs to use Maildir, and warn user to lock/unlock mailboxes when modifying them

18 years agoReplace C++ comments with C comments.
Thomas Heller [Wed, 17 Jan 2007 09:40:34 +0000 (09:40 +0000)]
Replace C++ comments with C comments.

18 years agoRemove Calvin since he only has access to the website currently.
Neal Norwitz [Wed, 17 Jan 2007 08:37:26 +0000 (08:37 +0000)]
Remove Calvin since he only has access to the website currently.

18 years agoGive Calvin Spealman access for python-dev summaries.
Neal Norwitz [Wed, 17 Jan 2007 06:23:51 +0000 (06:23 +0000)]
Give Calvin Spealman access for python-dev summaries.

18 years agoFixed ntpath.expandvars to not replace references to non-existing
Sjoerd Mullender [Tue, 16 Jan 2007 16:42:38 +0000 (16:42 +0000)]
Fixed ntpath.expandvars to not replace references to non-existing
variables with nothing.  Also added tests.
This fixes bug #494589.

18 years agoAdd news items for the recent pybench and platform changes.
Marc-André Lemburg [Tue, 16 Jan 2007 13:03:06 +0000 (13:03 +0000)]
Add news items for the recent pybench and platform changes.

18 years agoUpdated rotating file handlers to use _open().
Vinay Sajip [Tue, 16 Jan 2007 09:50:07 +0000 (09:50 +0000)]
Updated rotating file handlers to use _open().

18 years agoAdd a note for strptime that just because strftime supports some extra
Brett Cannon [Mon, 15 Jan 2007 19:12:08 +0000 (19:12 +0000)]
Add a note for strptime that just because strftime supports some extra
directive that is not documented that strptime will as well.

18 years agoDoc patch matching r53434 (htonl etc. now always take/return positive ints).
Guido van Rossum [Mon, 15 Jan 2007 00:02:35 +0000 (00:02 +0000)]
Doc patch matching r53434 (htonl etc. now always take/return positive ints).

18 years agoAdded documentation for WatchedFileHandler (based on SF patch #1598415)
Vinay Sajip [Sun, 14 Jan 2007 21:50:50 +0000 (21:50 +0000)]
Added documentation for WatchedFileHandler (based on SF patch #1598415)

18 years agoAdded WatchedFileHandler (based on SF patch #1598415)
Vinay Sajip [Sun, 14 Jan 2007 21:49:59 +0000 (21:49 +0000)]
Added WatchedFileHandler (based on SF patch #1598415)

18 years agoPatch #1635058 by Mark Roberts: ensure that htonl and friends never accept or
Guido van Rossum [Sun, 14 Jan 2007 17:03:32 +0000 (17:03 +0000)]
Patch #1635058 by Mark Roberts: ensure that htonl and friends never accept or
return negative numbers, per the underlying C implementation.

18 years agoHandle old-style instances more gracefully (display documentation on
Ka-Ping Yee [Sun, 14 Jan 2007 04:25:15 +0000 (04:25 +0000)]
Handle old-style instances more gracefully (display documentation on
the relevant class instead of documentation on <type 'instance'>).

18 years agoRemove a dependency of this test on $COLUMNS.
Guido van Rossum [Sun, 14 Jan 2007 03:46:33 +0000 (03:46 +0000)]
Remove a dependency of this test on $COLUMNS.

18 years agoMerged changes from standalone version 2.3.3. This should probably all be
Gerhard Häring [Sun, 14 Jan 2007 01:43:50 +0000 (01:43 +0000)]
Merged changes from standalone version 2.3.3. This should probably all be
merged into the 2.5 maintenance branch:

- self->statement was not checked while fetching data, which could
  lead to crashes if you used the pysqlite API in unusual ways.
  Closing the cursor and continuing to fetch data was enough.

- Converters are stored in a converters dictionary. The converter name
  is uppercased first. The old upper-casing algorithm was wrong and
  was replaced by a simple call to the Python string's upper() method
  instead.

-Applied patch by Glyph Lefkowitz that fixes the problem with
 subsequent SQLITE_SCHEMA errors.

- Improvement to the row type: rows can now be iterated over and have a keys()
  method. This improves compatibility with both tuple and dict a lot.

- A bugfix for the subsecond resolution in timestamps.

- Corrected the way the flags PARSE_DECLTYPES and PARSE_COLNAMES are
  checked for. Now they work as documented.

- gcc on Linux sucks. It exports all symbols by default in shared
  libraries, so if symbols are not unique it can lead to problems with
  symbol lookup.  pysqlite used to crash under Apache when mod_cache
  was enabled because both modules had the symbol cache_init. I fixed
  this by applying the prefix pysqlite_ almost everywhere. Sigh.

18 years agoJython doesn't have sys.setcheckinterval() - ignore it in that case.
Marc-André Lemburg [Sat, 13 Jan 2007 23:15:33 +0000 (23:15 +0000)]
Jython doesn't have sys.setcheckinterval() - ignore it in that case.

18 years agoUse defaults if sys.executable isn't set (e.g. on Jython).
Marc-André Lemburg [Sat, 13 Jan 2007 23:13:54 +0000 (23:13 +0000)]
Use defaults if sys.executable isn't set (e.g. on Jython).

This change allows running PyBench under Jython.

18 years agoAdd Python implementation to the machine details.
Marc-André Lemburg [Sat, 13 Jan 2007 22:59:36 +0000 (22:59 +0000)]
Add Python implementation to the machine details.

Pretty-print the Python version used for running PyBench.

Let the user know when calibration has finished.

1563844 ] pybench support for IronPython:

Simplify Unicode version detection.

Make garbage collection and check interval settings optional if
the Python implementation doesn't support thess (e.g. IronPython).

18 years agoFix for bug #1634343: allow specifying empty arguments on Windows
Peter Astrand [Sat, 13 Jan 2007 22:35:35 +0000 (22:35 +0000)]
Fix for bug #1634343: allow specifying empty arguments on Windows

18 years agoAdd parameter sys_version to _sys_version().
Marc-André Lemburg [Sat, 13 Jan 2007 22:32:21 +0000 (22:32 +0000)]
Add parameter sys_version to _sys_version().

Change the cache for _sys_version() to take the parameter into account.

Add support for parsing the IronPython 1.0.1 sys.version value - even
though it still returns '1.0.0'; the version string no longer includes
the patch level.

18 years agoFix grammar in docstrings
Neal Norwitz [Sat, 13 Jan 2007 21:22:37 +0000 (21:22 +0000)]
Fix grammar in docstrings

18 years agoBump version number and change copyright year.
Marc-André Lemburg [Sat, 13 Jan 2007 21:00:08 +0000 (21:00 +0000)]
Bump version number and change copyright year.

Add new API linux_distribution() which supports reading the full distribution
name and also knows how to parse LSB-style release files.

Redirect the old dist() API to the new API (using the short distribution name
taken from the release file filename).

Add branch and revision to _sys_version().

Add work-around for Cygwin to libc_ver().

Add support for IronPython (thanks for Anthony Baxter) and make
Jython support more robust.

18 years agoFix typo.
Georg Brandl [Sat, 13 Jan 2007 12:31:51 +0000 (12:31 +0000)]
Fix typo.

18 years agoDeprecate the sets module.
Brett Cannon [Sat, 13 Jan 2007 00:29:49 +0000 (00:29 +0000)]
Deprecate the sets module.

18 years agopatch #1610795: BSD version of ctypes.util.find_library, by Martin
Thomas Heller [Fri, 12 Jan 2007 20:21:53 +0000 (20:21 +0000)]
patch #1610795: BSD version of ctypes.util.find_library, by Martin
Kammerhofer.

18 years agopatch #1610795: BSD version of ctypes.util.find_library, by Martin
Thomas Heller [Fri, 12 Jan 2007 20:17:34 +0000 (20:17 +0000)]
patch #1610795: BSD version of ctypes.util.find_library, by Martin
Kammerhofer.

release25-maint backport candidate, but the release manager has to
decide.

18 years agoAvoid warnings in the test suite because ctypes.wintypes cannot be
Thomas Heller [Fri, 12 Jan 2007 20:08:19 +0000 (20:08 +0000)]
Avoid warnings in the test suite because ctypes.wintypes cannot be
imported on non-windows systems.

18 years agoadd parsetok.h as a dependency - previously, changing this file doesn't
Anthony Baxter [Fri, 12 Jan 2007 09:35:56 +0000 (09:35 +0000)]
add parsetok.h as a dependency - previously, changing this file doesn't
cause the right files to be rebuilt.

18 years agoFix error where the end of a funcdesc environment was accidentally moved too
Brett Cannon [Fri, 12 Jan 2007 07:27:52 +0000 (07:27 +0000)]
Fix error where the end of a funcdesc environment was accidentally moved too
far down.

18 years agoCorrect the comments: the code is right.
Thomas Heller [Thu, 11 Jan 2007 21:23:12 +0000 (21:23 +0000)]
Correct the comments: the code is right.

18 years agoFixes for 64-bit Windows: In ctypes.wintypes, correct the definitions
Thomas Heller [Thu, 11 Jan 2007 21:18:56 +0000 (21:18 +0000)]
Fixes for 64-bit Windows: In ctypes.wintypes, correct the definitions
of HANDLE, WPARAM, LPARAM data types.  Make parameterless foreign
function calls work.

18 years agoSF #1486663 -- Allow keyword args in subclasses of set() and frozenset().
Raymond Hettinger [Thu, 11 Jan 2007 18:22:55 +0000 (18:22 +0000)]
SF #1486663 -- Allow keyword args in subclasses of set() and frozenset().

18 years ago- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).
Matthias Klose [Thu, 11 Jan 2007 11:44:04 +0000 (11:44 +0000)]
- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).

18 years ago- Make the documentation match the code and the docstring
Matthias Klose [Thu, 11 Jan 2007 10:26:31 +0000 (10:26 +0000)]
- Make the documentation match the code and the docstring

18 years agoFix the signature of log_error(). (A subclass that did the right thing
Guido van Rossum [Wed, 10 Jan 2007 23:12:56 +0000 (23:12 +0000)]
Fix the signature of log_error().  (A subclass that did the right thing
was getting complaints from pychecker.)

18 years agoMust change the version number in the _ctypes extension as well.
Thomas Heller [Wed, 10 Jan 2007 20:51:19 +0000 (20:51 +0000)]
Must change the version number in the _ctypes extension as well.

18 years agoChange the ctypes version number to "1.1.0".
Thomas Heller [Wed, 10 Jan 2007 20:12:13 +0000 (20:12 +0000)]
Change the ctypes version number to "1.1.0".

18 years agoMinor change in int() docstring for proper spacing.
Gustavo Niemeyer [Wed, 10 Jan 2007 16:15:48 +0000 (16:15 +0000)]
Minor change in int() docstring for proper spacing.

18 years agoMention in the int() docstring that a base zero has meaning, as
Gustavo Niemeyer [Wed, 10 Jan 2007 16:13:40 +0000 (16:13 +0000)]
Mention in the int() docstring that a base zero has meaning, as
stated in http://docs.python.org/lib/built-in-funcs.html as well.

18 years agoVerify the sizes of the basic ctypes data types against the struct
Thomas Heller [Tue, 9 Jan 2007 19:19:33 +0000 (19:19 +0000)]
Verify the sizes of the basic ctypes data types against the struct
module.

Will backport to release25-maint.

18 years agoAdded a docstring
Vinay Sajip [Tue, 9 Jan 2007 14:54:56 +0000 (14:54 +0000)]
Added a docstring

18 years agoAdded entry about addition of _open() method to logging.FileHandler.
Vinay Sajip [Tue, 9 Jan 2007 14:51:36 +0000 (14:51 +0000)]
Added entry about addition of _open() method to logging.FileHandler.

18 years agoBug #1627575: Added _open() method to FileHandler which can be used to reopen files...
Vinay Sajip [Tue, 9 Jan 2007 14:50:28 +0000 (14:50 +0000)]
Bug #1627575: Added _open() method to FileHandler which can be used to reopen files. The FileHandler instance now saves the encoding (which can be None) in an attribute called "encoding".

18 years agoAdded entries about removal of some bare except clauses from logging.
Vinay Sajip [Mon, 8 Jan 2007 18:52:36 +0000 (18:52 +0000)]
Added entries about removal of some bare except clauses from logging.

18 years agoBare except clause removed from LogRecord.__init__. Now, only ValueError, TypeError...
Vinay Sajip [Mon, 8 Jan 2007 18:51:46 +0000 (18:51 +0000)]
Bare except clause removed from LogRecord.__init__. Now, only ValueError, TypeError and AttributeError are trapped.
(SF #411881)

18 years agoBare except clause removed from SMTPHandler.emit(). Now, only ImportError is trapped.
Vinay Sajip [Mon, 8 Jan 2007 18:50:32 +0000 (18:50 +0000)]
Bare except clause removed from SMTPHandler.emit(). Now, only ImportError is trapped.
Bare except clause removed from SocketHandler.createSocket(). Now, only socket.error is trapped.
(SF #411881)

18 years agoFix zero-length corner case for iterating over a mutating deque.
Raymond Hettinger [Mon, 8 Jan 2007 18:09:20 +0000 (18:09 +0000)]
Fix zero-length corner case for iterating over a mutating deque.

18 years agoAvoid O(N**2) bottleneck in _communicate_(). Fixes #1598181.
Peter Astrand [Sun, 7 Jan 2007 14:34:16 +0000 (14:34 +0000)]
Avoid O(N**2) bottleneck in _communicate_(). Fixes #1598181.

18 years agoRe-implemented fix for #1531862 once again, in a way that works with Python 2.2....
Peter Astrand [Sun, 7 Jan 2007 08:53:46 +0000 (08:53 +0000)]
Re-implemented fix for #1531862 once again, in a way that works with Python 2.2. Fixes bug #1603424.

18 years agoAdd Josiah to SF for maintaining asyncore/asynchat
Neal Norwitz [Sat, 6 Jan 2007 21:24:35 +0000 (21:24 +0000)]
Add Josiah to SF for maintaining asyncore/asynchat

18 years agoupdate to (c) years to include 2007
Anthony Baxter [Sat, 6 Jan 2007 04:45:54 +0000 (04:45 +0000)]
update to (c) years to include 2007

18 years agoSF# 1409443: Expand comment to cover the interaction between f->f_lasti and the...
Raymond Hettinger [Sat, 6 Jan 2007 01:14:41 +0000 (01:14 +0000)]
SF# 1409443:  Expand comment to cover the interaction between f->f_lasti and the PREDICT macros.

18 years agoSilence a warning from gcc 4.0.1 by specifying a function's parameter list is
Brett Cannon [Fri, 5 Jan 2007 21:45:09 +0000 (21:45 +0000)]
Silence a warning from gcc 4.0.1 by specifying a function's parameter list is
'void' instead of just a set of empty parentheses.

18 years ago[Patch #1520904] Fix bsddb tests to write to the temp directory instead of the Lib...
Andrew M. Kuchling [Fri, 5 Jan 2007 15:51:24 +0000 (15:51 +0000)]
[Patch #1520904] Fix bsddb tests to write to the temp directory instead of the Lib/bsddb/test directory

18 years ago[Bug #1622533] Make docstrings raw strings because they contain control characters...
Andrew M. Kuchling [Fri, 5 Jan 2007 14:22:17 +0000 (14:22 +0000)]
[Bug #1622533] Make docstrings raw strings because they contain control characters (\0, \1)