]> granicus.if.org Git - python/log
python
21 years agoMake Message.__str__ more efficient.
Neil Schemenauer [Tue, 11 Nov 2003 19:39:17 +0000 (19:39 +0000)]
Make Message.__str__ more efficient.

21 years agofix typo in markup
Fred Drake [Mon, 10 Nov 2003 14:50:54 +0000 (14:50 +0000)]
fix typo in markup

21 years agofix use of undefined markup
Fred Drake [Mon, 10 Nov 2003 14:48:48 +0000 (14:48 +0000)]
fix use of undefined markup

21 years agoadd missing "if"
Fred Drake [Mon, 10 Nov 2003 14:43:16 +0000 (14:43 +0000)]
add missing "if"

21 years agoMention that getsid is new in 2.4.
Martin v. Löwis [Mon, 10 Nov 2003 06:46:15 +0000 (06:46 +0000)]
Mention that getsid is new in 2.4.

21 years agoPatch #798297: Add IMAP THREAD command.
Martin v. Löwis [Mon, 10 Nov 2003 06:44:44 +0000 (06:44 +0000)]
Patch #798297: Add IMAP THREAD command.

21 years agoPatch #839038: Add getsid(2).
Martin v. Löwis [Mon, 10 Nov 2003 06:35:36 +0000 (06:35 +0000)]
Patch #839038: Add getsid(2).

21 years agoPlug tempfile.mktemp() hole (Iustin Pop).
Guido van Rossum [Mon, 10 Nov 2003 02:27:19 +0000 (02:27 +0000)]
Plug tempfile.mktemp() hole (Iustin Pop).

21 years agomktemp() shouldn't rely on os.path.exists(), which can return False if
Guido van Rossum [Mon, 10 Nov 2003 02:16:36 +0000 (02:16 +0000)]
mktemp() shouldn't rely on os.path.exists(), which can return False if
the file is a symlink.  Instead, use os.lstat directly, if it exists;
fall back on os.stat or the built-in open.  Thanks to Iustin Pop.

21 years agofixed wrong error checking on fcntl call as per SF bug # 821896
Alex Martelli [Sun, 9 Nov 2003 16:44:09 +0000 (16:44 +0000)]
fixed wrong error checking on fcntl call as per SF bug # 821896
(same as commit of Sun Nov 2 to the release23-maint branch)

21 years agofixed obvious bug in _send_header as per SF bug #831271
Alex Martelli [Sun, 9 Nov 2003 16:41:38 +0000 (16:41 +0000)]
fixed obvious bug in _send_header as per SF bug #831271
(same as commit of Sun Nov 2 to the release23-maint branch)

21 years agofixed buggy comment as per SF bug #827856
Alex Martelli [Sun, 9 Nov 2003 16:38:39 +0000 (16:38 +0000)]
fixed buggy comment as per SF bug #827856
(same as commit of Sun Nov 2 to the release23-maint branch)

21 years agoclarified (in the 5.14 summary) that tests and comparisons all chain,
Alex Martelli [Sun, 9 Nov 2003 16:33:56 +0000 (16:33 +0000)]
clarified (in the 5.14 summary) that tests and comparisons all chain,
added a specific \ref to 5.9 in lieu of previous vague "see above".
(same as commit of Sun Nov 2 to the release23-maint branch)

21 years agoAdd docs for readmodule_ex and its function-descriptors, fixing
Alex Martelli [Sun, 9 Nov 2003 16:32:54 +0000 (16:32 +0000)]
Add docs for readmodule_ex and its function-descriptors, fixing
sf bug#812818.
(same as commit of Sun Nov 2 to the release23-maint branch)

21 years agoAvoid giving advice that's bad for security, as per SF bug #823515
Alex Martelli [Sun, 9 Nov 2003 16:31:18 +0000 (16:31 +0000)]
Avoid giving advice that's bad for security, as per SF bug #823515
(same as commit of Sun Nov 2 to the release23-maint branch)

21 years agoDocument Py_RETURN_NONE.
Brett Cannon [Sun, 9 Nov 2003 04:15:30 +0000 (04:15 +0000)]
Document Py_RETURN_NONE.

21 years agoAdd 'see also' section pointing to the PEP
Andrew M. Kuchling [Sat, 8 Nov 2003 16:05:37 +0000 (16:05 +0000)]
Add 'see also' section pointing to the PEP

21 years agoAdd some recent changes
Andrew M. Kuchling [Sat, 8 Nov 2003 15:58:49 +0000 (15:58 +0000)]
Add some recent changes

21 years agoUpdate test to handle list.__reversed__().
Raymond Hettinger [Sat, 8 Nov 2003 12:39:53 +0000 (12:39 +0000)]
Update test to handle list.__reversed__().

21 years agoImprove the reverse list iterator to free memory as soon as the iterator
Raymond Hettinger [Sat, 8 Nov 2003 11:58:44 +0000 (11:58 +0000)]
Improve the reverse list iterator to free memory as soon as the iterator
is exhausted.

21 years agoSF bug #835457: Small typo in logging documentation
Raymond Hettinger [Sat, 8 Nov 2003 11:40:03 +0000 (11:40 +0000)]
SF bug #835457:  Small typo in logging documentation

21 years agoMinor code fixup. Make sure that len reflects the current list size.
Raymond Hettinger [Sat, 8 Nov 2003 11:35:22 +0000 (11:35 +0000)]
Minor code fixup.  Make sure that len reflects the current list size.

21 years agoConvert heapq.py to a C implementation.
Raymond Hettinger [Sat, 8 Nov 2003 10:24:38 +0000 (10:24 +0000)]
Convert heapq.py to a C implementation.

21 years agoOptimize reversed(list) using a custom iterator.
Raymond Hettinger [Fri, 7 Nov 2003 15:38:09 +0000 (15:38 +0000)]
Optimize reversed(list) using a custom iterator.

21 years agoFix the problem addressed by patch
Michael W. Hudson [Fri, 7 Nov 2003 11:45:34 +0000 (11:45 +0000)]
Fix the problem addressed by patch

[ 819012 ] Fix for former/latter confusion in Extending documentation

although not by using supplied patch.

21 years agoAdd a new looping idiom
Raymond Hettinger [Fri, 7 Nov 2003 01:30:58 +0000 (01:30 +0000)]
Add a new looping idiom

21 years agoPatch #837322: Clarify owning, borrowing, stealing. Backported to 2.3.
Martin v. Löwis [Thu, 6 Nov 2003 21:08:11 +0000 (21:08 +0000)]
Patch #837322: Clarify owning, borrowing, stealing. Backported to 2.3.

21 years agoOverallocate target buffer for normalization more early. Fixes #834676.
Martin v. Löwis [Thu, 6 Nov 2003 20:47:57 +0000 (20:47 +0000)]
Overallocate target buffer for normalization more early. Fixes #834676.
Backported to 2.3.

21 years agoImplement and apply PEP 322, reverse iteration
Raymond Hettinger [Thu, 6 Nov 2003 14:06:48 +0000 (14:06 +0000)]
Implement and apply PEP 322, reverse iteration

21 years agoAdd traceback.format_exc().
Neil Schemenauer [Wed, 5 Nov 2003 23:03:00 +0000 (23:03 +0000)]
Add traceback.format_exc().

21 years agoMake undetected error on stack unwind a fatal error.
Jeremy Hylton [Wed, 5 Nov 2003 17:29:35 +0000 (17:29 +0000)]
Make undetected error on stack unwind a fatal error.

21 years agomissing news entry
Anthony Baxter [Tue, 4 Nov 2003 14:35:49 +0000 (14:35 +0000)]
missing news entry

21 years ago* SF patch 835100 - C++ // comments are not allowed. Use /* */
Gregory P. Smith [Mon, 3 Nov 2003 21:35:31 +0000 (21:35 +0000)]
* SF patch 835100 - C++ // comments are not allowed.  Use /* */

21 years agoFix compiler warning about possible use of n without assignment.
Jeremy Hylton [Mon, 3 Nov 2003 20:58:28 +0000 (20:58 +0000)]
Fix compiler warning about possible use of n without assignment.
Also fix use of n for two different variables in two different blocks.

21 years ago* Use weakref's of DBCursor objects for the iterator cursors to avoid a
Gregory P. Smith [Mon, 3 Nov 2003 01:04:41 +0000 (01:04 +0000)]
* Use weakref's of DBCursor objects for the iterator cursors to avoid a
  memory leak that would've occurred for all iterators that were
  destroyed before having iterated until they raised StopIteration.

* Simplify some code.

* Add new test cases to check for the memleak and ensure that mixing
  iteration with modification of the values for existing keys works.

21 years agoSF patch #834444: add versionadd to new functions
Raymond Hettinger [Sun, 2 Nov 2003 09:50:56 +0000 (09:50 +0000)]
SF patch #834444:  add versionadd to new functions
(Contributed by George Yoshida.)

21 years agoSF patch #834015: Remove imports of unused modules
Raymond Hettinger [Sun, 2 Nov 2003 09:47:05 +0000 (09:47 +0000)]
SF patch #834015:  Remove imports of unused modules
(Contributed by George Yoshida.)

21 years ago* Fix the singlethreaded deadlocks occurring in the simple bsddb interface.
Gregory P. Smith [Sun, 2 Nov 2003 09:10:16 +0000 (09:10 +0000)]
* Fix the singlethreaded deadlocks occurring in the simple bsddb interface.
* Add support for multiple iterator/generator objects at once on the simple
  bsddb _DBWithCursor interface.

21 years agoFix a tuple memory leak when raising DB, DBEnv and DBCursor "object
Gregory P. Smith [Sun, 2 Nov 2003 08:06:29 +0000 (08:06 +0000)]
Fix a tuple memory leak when raising DB, DBEnv and DBCursor "object
has been closed" exceptions.

Adds a DBCursorClosedError exception in the closed cursor case for
future use in fixing the legacy bsddb interface deadlock problems
due to its use of cursors with DB_INIT_LOCK | DB_THREAD support
enabled.

21 years agoUse PyTuple_Pack() to simplify enumerate().
Raymond Hettinger [Sun, 2 Nov 2003 05:37:44 +0000 (05:37 +0000)]
Use PyTuple_Pack() to simplify enumerate().

21 years ago[Bug #817178] Fix incorrect arguments in example, noted by Terry Reedy
Andrew M. Kuchling [Fri, 31 Oct 2003 19:52:30 +0000 (19:52 +0000)]
[Bug #817178] Fix incorrect arguments in example, noted by Terry Reedy

21 years agoPatch #833710: Set INSTSONAME on Solaris. Backported to 2.3.
Martin v. Löwis [Fri, 31 Oct 2003 15:42:07 +0000 (15:42 +0000)]
Patch #833710: Set INSTSONAME on Solaris. Backported to 2.3.

21 years agoPatch #830858: Correct the number of is-functions. Backported to 2.3 and 2.2.
Martin v. Löwis [Fri, 31 Oct 2003 15:35:53 +0000 (15:35 +0000)]
Patch #830858: Correct the number of is-functions. Backported to 2.3 and 2.2.

21 years agoPatch #628301: Update installer to
Martin v. Löwis [Fri, 31 Oct 2003 14:02:41 +0000 (14:02 +0000)]
Patch #628301: Update installer to
http://cesnet.dl.sourceforge.net/sourceforge/avpython/Python-2.3.2-Win32-159-Setup.iss

21 years agoPatch #531629: Add multicall support.
Martin v. Löwis [Fri, 31 Oct 2003 13:49:36 +0000 (13:49 +0000)]
Patch #531629: Add multicall support.

21 years agoPatch #785689: Use basename in usage. Backported to 2.3.
Martin v. Löwis [Fri, 31 Oct 2003 13:05:21 +0000 (13:05 +0000)]
Patch #785689: Use basename in usage. Backported to 2.3.

21 years agoPatch #787189: Explicitly define CTRL on SGI.
Martin v. Löwis [Fri, 31 Oct 2003 13:01:24 +0000 (13:01 +0000)]
Patch #787189: Explicitly define CTRL on SGI.

21 years agoPatch #: Add POP3 over SSL support.
Martin v. Löwis [Fri, 31 Oct 2003 12:52:35 +0000 (12:52 +0000)]
Patch #: Add POP3 over SSL support.

21 years agoPatch #788404: ignore "b" and "t" mode modifiers in posix_popen.
Martin v. Löwis [Fri, 31 Oct 2003 10:01:53 +0000 (10:01 +0000)]
Patch #788404: ignore "b" and "t" mode modifiers in posix_popen.
Fixes #703198. Backported to 2.3.

21 years agoFix typo.
Raymond Hettinger [Thu, 30 Oct 2003 06:08:32 +0000 (06:08 +0000)]
Fix typo.

21 years agoMinor grammatical fix.
Brett Cannon [Thu, 30 Oct 2003 05:42:15 +0000 (05:42 +0000)]
Minor grammatical fix.

21 years agoUpdate test to include "sorted" in dir(list).
Raymond Hettinger [Wed, 29 Oct 2003 07:23:57 +0000 (07:23 +0000)]
Update test to include "sorted" in dir(list).

21 years agoAdd list.sorted() classmethod.
Raymond Hettinger [Wed, 29 Oct 2003 06:54:43 +0000 (06:54 +0000)]
Add list.sorted() classmethod.

21 years agoSF bug #827902: ctime is not creation time
Raymond Hettinger [Wed, 29 Oct 2003 00:46:19 +0000 (00:46 +0000)]
SF bug #827902: ctime is not creation time

New fix for this bug recognizes differing definitions on various systems.

21 years agoSF #775057, fix IDLE problem in about dialog
Neal Norwitz [Tue, 28 Oct 2003 21:57:10 +0000 (21:57 +0000)]
SF #775057, fix IDLE problem in about dialog

If the file doesn't exist, the code to display an error message was broken
Will backport.

21 years agonote db2pickle/pickle2db tweaks
Skip Montanaro [Tue, 28 Oct 2003 16:24:00 +0000 (16:24 +0000)]
note db2pickle/pickle2db tweaks

21 years agoallow dump/load of gdbm files
Skip Montanaro [Tue, 28 Oct 2003 16:17:54 +0000 (16:17 +0000)]
allow dump/load of gdbm files

21 years agoFixed dis.disassemble_string().
Armin Rigo [Tue, 28 Oct 2003 12:17:25 +0000 (12:17 +0000)]
Fixed dis.disassemble_string().
Added dis.findlinestarts().
SF bug 811294

21 years agoDocumented gc.get_referrers() as dangerous.
Armin Rigo [Tue, 28 Oct 2003 12:10:38 +0000 (12:10 +0000)]
Documented gc.get_referrers() as dangerous.
SF bug 793822

21 years agoDeleting cyclic object comparison.
Armin Rigo [Tue, 28 Oct 2003 12:05:48 +0000 (12:05 +0000)]
Deleting cyclic object comparison.
SF patch 825639
http://mail.python.org/pipermail/python-dev/2003-October/039445.html

21 years agoFix nits in error messages.
Raymond Hettinger [Tue, 28 Oct 2003 07:32:28 +0000 (07:32 +0000)]
Fix nits in error messages.

21 years agoSF bug #827902: ctime is not creation time
Raymond Hettinger [Mon, 27 Oct 2003 20:00:36 +0000 (20:00 +0000)]
SF bug #827902:  ctime is not creation time

Document the correct definition of os.path.getctime()

21 years agoDocstring fix: XHTML 1.0 entities are supported
Andrew M. Kuchling [Mon, 27 Oct 2003 15:47:48 +0000 (15:47 +0000)]
Docstring fix: XHTML 1.0 entities are supported

21 years agoFix inaccuracy: all entities from XHTML 1.0 are supported (according to text further...
Andrew M. Kuchling [Mon, 27 Oct 2003 15:46:16 +0000 (15:46 +0000)]
Fix inaccuracy: all entities from XHTML 1.0 are supported (according to text further down in this file)

21 years agoPatch #803998: Correctly check for error in SSL_write.
Martin v. Löwis [Mon, 27 Oct 2003 14:24:37 +0000 (14:24 +0000)]
Patch #803998: Correctly check for error in SSL_write.

21 years agoPatch #817854: Add missing operations for SSLFile. Fixes #792101.
Martin v. Löwis [Mon, 27 Oct 2003 14:07:53 +0000 (14:07 +0000)]
Patch #817854: Add missing operations for SSLFile. Fixes #792101.
Backported to 2.3.

21 years agoFix Greg Ward's error message nit: PyObject_SetItem and PySequenceSetItem
Raymond Hettinger [Mon, 27 Oct 2003 09:22:16 +0000 (09:22 +0000)]
Fix Greg Ward's error message nit:  PyObject_SetItem and PySequenceSetItem
had slightly different error messages.

21 years agoDocument that varlist can be NULL.
Raymond Hettinger [Sun, 26 Oct 2003 17:20:07 +0000 (17:20 +0000)]
Document that varlist can be NULL.

21 years agoAnother instance of the same typo.
Steve Purcell [Sun, 26 Oct 2003 16:38:16 +0000 (16:38 +0000)]
Another instance of the same typo.

21 years agoReplace the window() example with pairwise() which demonstrates tee().
Raymond Hettinger [Sun, 26 Oct 2003 15:34:50 +0000 (15:34 +0000)]
Replace the window() example with pairwise() which demonstrates tee().

21 years agoMinor improvements to itertools.tee():
Raymond Hettinger [Sun, 26 Oct 2003 14:25:56 +0000 (14:25 +0000)]
Minor improvements to itertools.tee():

* tee object is no longer subclassable
* independent iterators renamed to "itertools.tee_iterator"
* fixed doc string typo and added entry in the module doc string

21 years agoIncorporated patch 819077, from George Yoshida:
Steve Purcell [Sun, 26 Oct 2003 10:41:03 +0000 (10:41 +0000)]
Incorporated patch 819077, from George Yoshida:

* Fixed typo in docstring for 'failUnlessAlmostEqual()'

* Removed unnecessary use of 'float()' for time values.

* Removed apparently unnecessary import of unittest. At some point in
  the distant past I believe it was necessary otherwise the 'TestCase'
  that a module saw was not the same as the 'TestCase' seen within
  'unittest', and the user's TestCase subclasses were not recognised as
  subclasses of the TestCase seen within unittest. Seems not to be
  necessary now.

21 years agoregressing the performance bugfix -- Guido wants the performance bug left
Alex Martelli [Sat, 25 Oct 2003 23:24:14 +0000 (23:24 +0000)]
regressing the performance bugfix -- Guido wants the performance bug left
alone, because there can be no guarantee re the semantics of += vs + .

21 years agooh dear. Wrong manipulation. Committed a version of ceval.c from my
Armin Rigo [Sat, 25 Oct 2003 14:33:09 +0000 (14:33 +0000)]
oh dear. Wrong manipulation. Committed a version of ceval.c from my
no-cyclic-comparison patch at the same time as errors.c.

Reverting ceval.c to the previous revision.

21 years agoMade function declaration a proper C prototype
Armin Rigo [Sat, 25 Oct 2003 14:29:27 +0000 (14:29 +0000)]
Made function declaration a proper C prototype

21 years agoSF #829941, update tutorial, built-in types can be base classes since 2.2
Neal Norwitz [Sat, 25 Oct 2003 14:15:54 +0000 (14:15 +0000)]
SF #829941, update tutorial, built-in types can be base classes since 2.2

21 years agodocument the performance fix to builtin_sum().
Alex Martelli [Sat, 25 Oct 2003 13:02:57 +0000 (13:02 +0000)]
document the performance fix to builtin_sum().

21 years agoChanged builtin_sum to use PyNumber_InPlaceAdd (same semantics, but fixes
Alex Martelli [Sat, 25 Oct 2003 12:49:56 +0000 (12:49 +0000)]
Changed builtin_sum to use PyNumber_InPlaceAdd (same semantics, but fixes
a performance bug in sum(manylists)), same as in 2.3 maintenance branch.

21 years agoUse PyArg_UnpackTuple() where possible.
Raymond Hettinger [Sat, 25 Oct 2003 06:41:37 +0000 (06:41 +0000)]
Use PyArg_UnpackTuple() where possible.

21 years agoImprovements to coding for itertools.tee():
Raymond Hettinger [Sat, 25 Oct 2003 06:37:47 +0000 (06:37 +0000)]
Improvements to coding for itertools.tee():

* Add error checking code to PyList_Append() call.

* Replace PyObject_CallMethod(to->outbasket, "pop", NULL) with equivalent
  in-line code.  Inlining is important here because the search for the
  pop method will occur for every element returned by the iterator.

* Make tee's dealloc() a little smarter.  If the trailing iterator is
  being deallocated, then the queue data is no longer needed and can
  be freed.

21 years agoPatch #812378: Normalize white space.
Martin v. Löwis [Fri, 24 Oct 2003 20:09:23 +0000 (20:09 +0000)]
Patch #812378: Normalize white space.

21 years agoPatch #828384: Don't discard nested exception in AddObject.
Martin v. Löwis [Fri, 24 Oct 2003 20:05:32 +0000 (20:05 +0000)]
Patch #828384: Don't discard nested exception in AddObject.

21 years ago[Patch #772077 from Tim Rice] Fix for compiling the readline module on UnixWare;...
Andrew M. Kuchling [Fri, 24 Oct 2003 18:26:26 +0000 (18:26 +0000)]
[Patch #772077 from Tim Rice] Fix for compiling the readline module on UnixWare; fix goofy comment indent.  2.3 bugfix candidate

21 years ago[Bug #822668] tarfile raises an exception if the tarfile is gzipped and is too large...
Andrew M. Kuchling [Fri, 24 Oct 2003 17:38:34 +0000 (17:38 +0000)]
[Bug #822668] tarfile raises an exception if the tarfile is gzipped and is too large; the gzip filesize should be written out mod 2**32.  (Reported by Johan Fredrik Ohman)

21 years agoFixed bug introduced in revision 1.27
Armin Rigo [Fri, 24 Oct 2003 17:15:29 +0000 (17:15 +0000)]
Fixed bug introduced in revision 1.27

21 years agoFix a bug in the memory reallocation code of PyUnicode_TranslateCharmap().
Walter Dörwald [Fri, 24 Oct 2003 14:25:28 +0000 (14:25 +0000)]
Fix a bug in the memory reallocation code of PyUnicode_TranslateCharmap().
charmaptranslate_makespace() allocated more memory than required for the
next replacement but didn't remember that fact, so memory size was growing
exponentially every time a replacement string is longer that one character.
This fixes SF bug #828737.

21 years agoAdded itertools.tee()
Raymond Hettinger [Fri, 24 Oct 2003 08:45:23 +0000 (08:45 +0000)]
Added itertools.tee()

It works like the pure python verion except:
* it stops storing data after of the iterators gets deallocated
* the data queue is implemented with two stacks instead of one dictionary.

21 years ago- The pwd module incorrectly advertised its struct type as
Guido van Rossum [Thu, 23 Oct 2003 23:54:57 +0000 (23:54 +0000)]
- The pwd module incorrectly advertised its struct type as
  struct_pwent; this has been renamed to struct_passwd.  (The old name
  is still supported for backwards compatibility.)

21 years agoRecord an item I missed and bump the version number. [2.3 bugfix candidate.]
Andrew M. Kuchling [Thu, 23 Oct 2003 18:08:03 +0000 (18:08 +0000)]
Record an item I missed and bump the version number.  [2.3 bugfix candidate.]

21 years agoPatch #813200: Quote executable path on Windows. Fixes #811082.
Martin v. Löwis [Thu, 23 Oct 2003 15:55:28 +0000 (15:55 +0000)]
Patch #813200: Quote executable path on Windows. Fixes #811082.
Backported to 2.3.

21 years ago- add "Why is Python installed on my computer?" as a documentation FAQ
Fred Drake [Thu, 23 Oct 2003 14:33:46 +0000 (14:33 +0000)]
- add "Why is Python installed on my computer?" as a documentation FAQ
  since this gets asked at the docs at python.org address a lot
- fix some minor style violations and inconsistencies

21 years agoRemove unneeded import.
Guido van Rossum [Wed, 22 Oct 2003 17:22:18 +0000 (17:22 +0000)]
Remove unneeded import.

21 years agoReplace a reduce() with sum().
Raymond Hettinger [Wed, 22 Oct 2003 16:49:01 +0000 (16:49 +0000)]
Replace a reduce() with sum().

21 years agoAdd docstring
Andrew M. Kuchling [Wed, 22 Oct 2003 14:38:54 +0000 (14:38 +0000)]
Add docstring

21 years ago[Part of patch #648322] Delete the poll2() function, which uses a 'poll' extension...
Andrew M. Kuchling [Wed, 22 Oct 2003 14:38:27 +0000 (14:38 +0000)]
[Part of patch #648322] Delete the poll2() function, which uses a 'poll' extension module that was once part of Medusa.  Contributed by Kjetil Jacobsen

21 years ago[Bug #809174] loads() and dumps() not documented
Andrew M. Kuchling [Wed, 22 Oct 2003 14:12:03 +0000 (14:12 +0000)]
[Bug #809174] loads() and dumps() not documented

21 years ago[Bug #758241] When you use asyncore with a non-default map, methods
Andrew M. Kuchling [Wed, 22 Oct 2003 13:48:27 +0000 (13:48 +0000)]
[Bug #758241] When you use asyncore with a non-default map, methods
  of the dispatcher object break.  e.g. if you close() the object, it
  tries to remove itself from the default map, not from the map the
  dispatcher was created with.

  The patch, from Stephane Ninin, records the map as an attribute of
  the dispatcher instance.

2.3 bugfix candidate.

21 years agoAvoid confusing name for the 3rd argument to str.replace().
Fred Drake [Wed, 22 Oct 2003 02:56:40 +0000 (02:56 +0000)]
Avoid confusing name for the 3rd argument to str.replace().
This closes SF bug #827260.

21 years agoDon't make promises about about the visibility of the induction variable.
Raymond Hettinger [Tue, 21 Oct 2003 18:42:21 +0000 (18:42 +0000)]
Don't make promises about about the visibility of the induction variable.

21 years agoRemoving bogus Py_DECREF() reported by Armin Rigo (SF bug 812353).
Jeremy Hylton [Tue, 21 Oct 2003 18:14:20 +0000 (18:14 +0000)]
Removing bogus Py_DECREF() reported by Armin Rigo (SF bug 812353).

Even if a new dict is generated for locals, it is stored in
f->f_locals.