]> granicus.if.org Git - python/log
python
21 years agoOn c.l.py, Martin v. Löwis said that Py_UNICODE could be of a signed type,
Tim Peters [Tue, 16 Sep 2003 20:30:58 +0000 (20:30 +0000)]
On c.l.py, Martin v. Löwis said that Py_UNICODE could be of a signed type,
so fiddle Jeremy's fix to live with that.  Also added more comments.

Bugfix candidate (this bug is in all versions of Python, at least since
2.1).

21 years agoDouble-fix of crash in Unicode freelist handling.
Jeremy Hylton [Tue, 16 Sep 2003 19:41:39 +0000 (19:41 +0000)]
Double-fix of crash in Unicode freelist handling.

If a length-1 Unicode string was in the freelist and it was
uninitialized or pointed to a very large (magnitude) negative number,
the check

 unicode_latin1[unicode->str[0]] == unicode

could cause a segmentation violation, e.g. unicode->str[0] is 0xcbcbcbcb.

Fix this in two ways:

1. Change guard befor unicode_latin1[] to test against 256U.  If I
   understand correctly, the unsigned long used to store UCS4 on my
   box was getting converted to a signed long to compare with the
   signed constant 256.

2. Change _PyUnicode_New() to make sure the first element of str is
   always initialized to zero.  There are several places in the code
   where the caller can exit with an error before initializing any
   of str, which would leave junk in str[0].

Also, silence a compiler warning on pointer vs. int arithmetic.

Bug fix candidate.

21 years agoFix leak in classobject.c. The leak surfaced on the error exit when
Raymond Hettinger [Tue, 16 Sep 2003 07:11:46 +0000 (07:11 +0000)]
Fix leak in classobject.c.  The leak surfaced on the error exit when
hashing a class that does not define __hash__ but does define a
comparison.

21 years agoTest __all__ for unittest.py
Raymond Hettinger [Tue, 16 Sep 2003 04:37:39 +0000 (04:37 +0000)]
Test __all__ for unittest.py

21 years agoImprove the leak fix so that PyTuple_New is only called when needed.
Raymond Hettinger [Tue, 16 Sep 2003 04:27:52 +0000 (04:27 +0000)]
Improve the leak fix so that PyTuple_New is only called when needed.

21 years agoChange checks of PyUnicode_Resize() return value for clarity.
Jeremy Hylton [Tue, 16 Sep 2003 03:41:45 +0000 (03:41 +0000)]
Change checks of PyUnicode_Resize() return value for clarity.

The unicode_resize() family only returns -1 or 0 so simply checking
for != 0 is sufficient, but somewhat unclear.  Many Python API
functions return < 0 on error, reserving the right to return 0 or 1 on
success.  Change the call sites for consistency with these calls.

21 years agoCorrect check of PyUnicode_Resize() return value.
Jeremy Hylton [Tue, 16 Sep 2003 03:17:16 +0000 (03:17 +0000)]
Correct check of PyUnicode_Resize() return value.

21 years agoReflow long lines and reformat.
Jeremy Hylton [Tue, 16 Sep 2003 03:10:59 +0000 (03:10 +0000)]
Reflow long lines and reformat.

21 years agoFix leak discovered in test_new by Michael Hudson.
Raymond Hettinger [Mon, 15 Sep 2003 21:43:16 +0000 (21:43 +0000)]
Fix leak discovered in test_new by Michael Hudson.

Will backport to 2.3.1

21 years agoSF bug #804113: Crypto terminology for crypto hash function
Raymond Hettinger [Mon, 15 Sep 2003 18:20:52 +0000 (18:20 +0000)]
SF bug #804113:  Crypto terminology for crypto hash function

Noted that the SHA algorithm is really SHA-1.
(Contributed by Ronald Rivest.)

21 years agoRemove possibly-misleading Expat version
Andrew M. Kuchling [Mon, 15 Sep 2003 12:27:18 +0000 (12:27 +0000)]
Remove possibly-misleading Expat version

21 years agoExplicitly define public symbols via __all__: see discussion with Raymond
Steve Purcell [Mon, 15 Sep 2003 11:01:21 +0000 (11:01 +0000)]
Explicitly define public symbols via __all__: see discussion with Raymond
Hettinger in comments for issue 804115
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=804115&group_id=5470

21 years ago* Converted test to unittest format.
Raymond Hettinger [Sat, 13 Sep 2003 05:51:09 +0000 (05:51 +0000)]
* Converted test to unittest format.
* Expanded coverage.

21 years agoThe previous change works much faster (one lookup per key) when
Raymond Hettinger [Sat, 13 Sep 2003 03:18:34 +0000 (03:18 +0000)]
The previous change works much faster (one lookup per key) when
iteritems() is defined.

21 years agoSF bug #804115: bad argument handling(unittest.py)
Raymond Hettinger [Sat, 13 Sep 2003 02:58:00 +0000 (02:58 +0000)]
SF bug #804115:  bad argument handling(unittest.py)

21 years agoSimplify doctest of tee().
Raymond Hettinger [Sat, 13 Sep 2003 01:01:34 +0000 (01:01 +0000)]
Simplify doctest of tee().

21 years agoPatch #793021: Implement htmllib.HTMLParser.reset. Fixes #711632.
Martin v. Löwis [Fri, 12 Sep 2003 16:38:00 +0000 (16:38 +0000)]
Patch #793021: Implement htmllib.HTMLParser.reset. Fixes #711632.
Backported to 2.3.

21 years agoPatch #790000: Allow os.access to handle Unicode file name.
Martin v. Löwis [Fri, 12 Sep 2003 16:25:38 +0000 (16:25 +0000)]
Patch #790000: Allow os.access to handle Unicode file name.

21 years agoSF #662923
Raymond Hettinger [Fri, 12 Sep 2003 06:33:37 +0000 (06:33 +0000)]
SF #662923

Add support for the iterator and mapping protocols.
For Py2.3, this was done for shelve, dumbdbm and other mapping objects, but
not for bsddb and dbhash which were inadvertently missed.

21 years agoSF bug #804280: fromkeys is not listed in index
Raymond Hettinger [Fri, 12 Sep 2003 00:02:37 +0000 (00:02 +0000)]
SF bug #804280:  fromkeys is not listed in index

21 years agofix markup buglets
Fred Drake [Thu, 11 Sep 2003 18:18:54 +0000 (18:18 +0000)]
fix markup buglets

21 years ago- added many links into the library reference
Fred Drake [Thu, 11 Sep 2003 06:06:26 +0000 (06:06 +0000)]
- added many links into the library reference
- removed use of the string module
- fixed some broken markup

21 years ago- add several links into the library reference
Fred Drake [Thu, 11 Sep 2003 04:28:13 +0000 (04:28 +0000)]
- add several links into the library reference
- update a couple of URLs to point to more recent portions of
  python.org

21 years agoremove useless <br/> from the top navigation panel
Fred Drake [Thu, 11 Sep 2003 04:14:20 +0000 (04:14 +0000)]
remove useless <br/> from the top navigation panel

21 years agotry to fix up the padding inside a notice environment so they fit in a
Fred Drake [Thu, 11 Sep 2003 04:08:47 +0000 (04:08 +0000)]
try to fix up the padding inside a notice environment so they fit in a
little better, with similar spacing characteristics with the seealso
environment

21 years agoSF patch #803449: modernize demo scripts
Raymond Hettinger [Wed, 10 Sep 2003 21:12:59 +0000 (21:12 +0000)]
SF patch #803449:  modernize demo scripts
(Contributed by George Yoshida.)

21 years ago- add version annotation for HIGHEST_PROTOCOL
Fred Drake [Wed, 10 Sep 2003 20:47:43 +0000 (20:47 +0000)]
- add version annotation for HIGHEST_PROTOCOL
- cleaned up some markup

21 years agoOops. Really fix the indentation problem this time.
Jeremy Hylton [Wed, 10 Sep 2003 20:19:54 +0000 (20:19 +0000)]
Oops.  Really fix the indentation problem this time.

21 years agoFix inconsistent mix of tabs and spaces that caused test to fail.
Jeremy Hylton [Wed, 10 Sep 2003 19:57:31 +0000 (19:57 +0000)]
Fix inconsistent mix of tabs and spaces that caused test to fail.

21 years agoselect.select() now accepts a sequence (as defined by PySequence_Fast()) for
Brett Cannon [Wed, 10 Sep 2003 19:37:42 +0000 (19:37 +0000)]
select.select() now accepts a sequence (as defined by PySequence_Fast()) for
its first three arguments.

Closes RFE #798046 .

21 years agomention new module doc display feature of pydoc in libref and NEWS
Skip Montanaro [Wed, 10 Sep 2003 19:04:13 +0000 (19:04 +0000)]
mention new module doc display feature of pydoc in libref and NEWS

21 years agoSF bug #803679: Missing section number in csv module documentation
Raymond Hettinger [Wed, 10 Sep 2003 18:54:49 +0000 (18:54 +0000)]
SF bug #803679:  Missing section number in csv module documentation

21 years agoSF bug #803842: Wrong description of regexp concatenation
Raymond Hettinger [Wed, 10 Sep 2003 18:45:12 +0000 (18:45 +0000)]
SF bug #803842:  Wrong description of regexp concatenation

21 years agodisplay link to module docs when it looks like the object module is a core
Skip Montanaro [Wed, 10 Sep 2003 16:47:51 +0000 (16:47 +0000)]
display link to module docs when it looks like the object module is a core
module

21 years agoSF bug #802302: Invalid documentation for dbhash.
Raymond Hettinger [Wed, 10 Sep 2003 04:44:29 +0000 (04:44 +0000)]
SF bug #802302:  Invalid documentation for dbhash.

The documentation severely departed for the actual implementation.

21 years agoSF patch #800899: Making "|" directive from REs a bit clearer.
Raymond Hettinger [Wed, 10 Sep 2003 03:54:50 +0000 (03:54 +0000)]
SF patch #800899:  Making "|" directive from REs a bit clearer.

21 years agoPython Bug 775061
Kurt B. Kaiser [Wed, 10 Sep 2003 02:42:18 +0000 (02:42 +0000)]
Python Bug 775061
1. Remove "idle" script, it lives in Tools/scripts/ now.
2. Remove shebang from idle.py, should be called explicitly.
3. Remove obsolete test code from rpc.py; needs unit test.

21 years agoFix typo.
Raymond Hettinger [Wed, 10 Sep 2003 00:11:28 +0000 (00:11 +0000)]
Fix typo.

21 years agoend-of-sentence punctuation comes *before* \footnote, not after
Fred Drake [Tue, 9 Sep 2003 19:49:18 +0000 (19:49 +0000)]
end-of-sentence punctuation comes *before* \footnote, not after

21 years agoSF #801306: Bad RE in scanf example
Raymond Hettinger [Tue, 9 Sep 2003 01:30:13 +0000 (01:30 +0000)]
SF #801306:  Bad RE in scanf example

21 years agoSF bug #560286: Add docs for 'basestring'
Raymond Hettinger [Tue, 9 Sep 2003 01:12:18 +0000 (01:12 +0000)]
SF bug #560286:  Add docs for 'basestring'

21 years agoAdd an example to address a common question of how to split iterators.
Raymond Hettinger [Mon, 8 Sep 2003 23:58:40 +0000 (23:58 +0000)]
Add an example to address a common question of how to split iterators.

21 years agoSet the warnings stacklevel to two.
Raymond Hettinger [Mon, 8 Sep 2003 19:16:36 +0000 (19:16 +0000)]
Set the warnings stacklevel to two.

21 years agoFix spacing markup and other sundries.
Raymond Hettinger [Mon, 8 Sep 2003 19:01:04 +0000 (19:01 +0000)]
Fix spacing markup and other sundries.

21 years agoFix spacing markup and other sundries.
Raymond Hettinger [Mon, 8 Sep 2003 18:52:18 +0000 (18:52 +0000)]
Fix spacing markup and other sundries.

21 years agoGeneralize the last change to check for other markup spacing errors.
Raymond Hettinger [Mon, 8 Sep 2003 18:43:46 +0000 (18:43 +0000)]
Generalize the last change to check for other markup spacing errors.

21 years agoCheck for \NULL markup errors.
Raymond Hettinger [Mon, 8 Sep 2003 17:33:31 +0000 (17:33 +0000)]
Check for \NULL markup errors.

21 years agoOnly release buffer after file has been closed. Fixes #800824.
Martin v. Löwis [Sun, 7 Sep 2003 20:42:29 +0000 (20:42 +0000)]
Only release buffer after file has been closed. Fixes #800824.
Will backport to 2.2.

21 years agoPatch #801349: 64-bit fix for AMD64 from Gwenole Beauchesne.
Just van Rossum [Sun, 7 Sep 2003 13:36:48 +0000 (13:36 +0000)]
Patch #801349: 64-bit fix for AMD64 from Gwenole Beauchesne.
Classical problem with int vs. long mismatch in varargs.
2.3 backport candidate.

21 years agoSF bug 801631: file.truncate fault on windows.
Tim Peters [Sun, 7 Sep 2003 03:30:18 +0000 (03:30 +0000)]
SF bug  801631:  file.truncate fault on windows.

file_truncate():  C doesn't define what fflush(fp) does if fp is open
for update, and the preceding I/O operation on fp was input.  On Windows,
fflush() actually changes the current file position then.  Because
Windows doesn't support ftruncate() directly, this not only caused
Python's file.truncate() to change the file position (contra our docs),
it also caused the file not to change size.

Repaired by getting the initial file position at the start, restoring
it at the end, and tossing all the complicated micro-efficiency checks
trying to avoid "provably unnecessary" seeks.  file.truncate() can't
be a frequent operation, and seeking to the current file position has
got to be cheap anyway.

Bugfix candidate.

21 years agofix \NULL with following space and no {} (two instances)
Fred Drake [Sun, 7 Sep 2003 02:33:37 +0000 (02:33 +0000)]
fix \NULL with following space and no {} (two instances)

21 years agofix \NULL with following space and no {}
Fred Drake [Sun, 7 Sep 2003 02:32:55 +0000 (02:32 +0000)]
fix \NULL with following space and no {}

21 years agoFix minor LaTeX bug of not ending a \NULL{} with the curly braces to get the
Brett Cannon [Sun, 7 Sep 2003 02:22:16 +0000 (02:22 +0000)]
Fix minor LaTeX bug of not ending a \NULL{} with the curly braces to get the
spacing correct in the output.

21 years ago**kwds arg was missing from __init__ for Dict{Reader,Writer} classes.
Skip Montanaro [Sat, 6 Sep 2003 19:52:12 +0000 (19:52 +0000)]
**kwds arg was missing from __init__ for Dict{Reader,Writer} classes.
will backport.

21 years ago- reorganize sections
Fred Drake [Sat, 6 Sep 2003 17:51:16 +0000 (17:51 +0000)]
- reorganize sections
- correct section level error (module references are always \section)
- many markup revisions, including some minor rewordings

21 years agoadd missing dependency
Fred Drake [Sat, 6 Sep 2003 06:42:01 +0000 (06:42 +0000)]
add missing dependency

21 years agoSF bug 799191: fix markup
Raymond Hettinger [Sat, 6 Sep 2003 05:47:31 +0000 (05:47 +0000)]
SF bug 799191:  fix markup

21 years agoSF bug 799367: grammar error
Raymond Hettinger [Sat, 6 Sep 2003 05:36:13 +0000 (05:36 +0000)]
SF bug 799367:  grammar error

21 years agoSF bug #801486: Markup error.
Raymond Hettinger [Sat, 6 Sep 2003 04:39:54 +0000 (04:39 +0000)]
SF bug #801486:  Markup error.

21 years agoSF bug #801342: Bug (documentation or real, your choice) in random.sample.
Raymond Hettinger [Sat, 6 Sep 2003 04:25:54 +0000 (04:25 +0000)]
SF bug #801342:  Bug (documentation or real, your choice) in random.sample.

random.sample() uses one of two algorithms depending on the ratio of the
sample size to the population size.  One of the algorithms accepted any
iterable population argument so long as it defined __len__().  The other
had a stronger requirement that the population argument be indexable.

While it met the documentation specifications which insisted that the
population argument be a sequence, it made random.sample() less usable
with sets.  So, the second algorithm was modified to coerce non-indexable
iterables and dictionaries into a tuple before proceeding.

21 years agoadd a note about how \ulink should be different than it actually is
Fred Drake [Sat, 6 Sep 2003 04:19:43 +0000 (04:19 +0000)]
add a note about how \ulink should be different than it actually is
for PDF generation

21 years agoElaborate the explanation of different flavors of _* identifiers.
Fred Drake [Sat, 6 Sep 2003 03:50:07 +0000 (03:50 +0000)]
Elaborate the explanation of different flavors of _* identifiers.
Fixes SF bug #520325.

21 years ago- create a hyperlink for a section reference (also more robust in the
Fred Drake [Sat, 6 Sep 2003 03:33:32 +0000 (03:33 +0000)]
- create a hyperlink for a section reference (also more robust in the
  face of section re-ordering)
- fix minor markup nits for better presentation

21 years agoavoid spurious vertical whitespace preceeding heading which are marked
Fred Drake [Sat, 6 Sep 2003 01:10:14 +0000 (01:10 +0000)]
avoid spurious vertical whitespace preceeding heading which are marked
with a \label

21 years agomarkup updates
Fred Drake [Fri, 5 Sep 2003 15:50:20 +0000 (15:50 +0000)]
markup updates

21 years agonormalize whitespace; detabify
Fred Drake [Fri, 5 Sep 2003 15:43:58 +0000 (15:43 +0000)]
normalize whitespace; detabify

21 years agofix some nuissance formatting problems for the "alltt" environment;
Fred Drake [Fri, 5 Sep 2003 15:43:00 +0000 (15:43 +0000)]
fix some nuissance formatting problems for the "alltt" environment;
there's still a bug for the environment, but that's worked around in
this change as well

21 years agonormalize whitespace
Fred Drake [Fri, 5 Sep 2003 15:36:23 +0000 (15:36 +0000)]
normalize whitespace

21 years agoSF bug #800796: Difference between hash() and __hash__()
Raymond Hettinger [Fri, 5 Sep 2003 14:27:30 +0000 (14:27 +0000)]
SF bug #800796:  Difference between hash() and __hash__()

slice(5).__hash__() now raises a TypeError.

21 years agoadd index entry
Fred Drake [Fri, 5 Sep 2003 14:06:35 +0000 (14:06 +0000)]
add index entry

21 years agofix minor markup nits
Fred Drake [Fri, 5 Sep 2003 14:01:15 +0000 (14:01 +0000)]
fix minor markup nits

21 years agoadd a relevant "see also" link
Fred Drake [Fri, 5 Sep 2003 13:59:10 +0000 (13:59 +0000)]
add a relevant "see also" link

21 years agomake the padding inside a "See also" box more consistent around the
Fred Drake [Fri, 5 Sep 2003 13:58:26 +0000 (13:58 +0000)]
make the padding inside a "See also" box more consistent around the
sides

21 years agoclean up some markup
Fred Drake [Fri, 5 Sep 2003 13:48:02 +0000 (13:48 +0000)]
clean up some markup

21 years agonormalize whitespace
Fred Drake [Thu, 4 Sep 2003 22:21:17 +0000 (22:21 +0000)]
normalize whitespace

21 years agoSuppress more online-only navigation in the printed HTML.
Fred Drake [Thu, 4 Sep 2003 22:16:45 +0000 (22:16 +0000)]
Suppress more online-only navigation in the printed HTML.

21 years agomake sure cells are really generated for all table cells, even those
Fred Drake [Thu, 4 Sep 2003 21:25:03 +0000 (21:25 +0000)]
make sure cells are really generated for all table cells, even those
that are left empty
fixes first of the problems reported in SF bug #727692

21 years agoadjust markup to avoid suppressing a word space in content
Fred Drake [Thu, 4 Sep 2003 19:52:02 +0000 (19:52 +0000)]
adjust markup to avoid suppressing a word space in content

21 years agoMake the redundent portion of the lower navigation area disappear from the
Fred Drake [Thu, 4 Sep 2003 19:30:15 +0000 (19:30 +0000)]
Make the redundent portion of the lower navigation area disappear from the
printed version for browsers that support "@media print" in CSS.

21 years agoPatch #788249: Pass an explicit buffer to setvbuf in PyFile_SetBufSize().
Martin v. Löwis [Thu, 4 Sep 2003 19:01:46 +0000 (19:01 +0000)]
Patch #788249: Pass an explicit buffer to setvbuf in PyFile_SetBufSize().
Fixes #603724. Will backport to 2.3.

21 years agoPatch #798202: detect redhat9 Tcl/Tk in configure script.
Martin v. Löwis [Thu, 4 Sep 2003 18:50:54 +0000 (18:50 +0000)]
Patch #798202: detect redhat9 Tcl/Tk in configure script.
Will backport to 2.2.

21 years agoPatch #794826: Add __file__ in dynamically loaded modules for multiple
Martin v. Löwis [Thu, 4 Sep 2003 18:45:59 +0000 (18:45 +0000)]
Patch #794826: Add __file__ in dynamically loaded modules for multiple
interpreters. Fixes #698282. Will backport to 2.3.

21 years agoPatch #792338: Correct documentation for timetuple return type.
Martin v. Löwis [Thu, 4 Sep 2003 18:29:53 +0000 (18:29 +0000)]
Patch #792338: Correct documentation for timetuple return type.

21 years agoPatch #798145: Return correct information from nl_langinfo(RADIXCHAR).
Martin v. Löwis [Thu, 4 Sep 2003 18:24:47 +0000 (18:24 +0000)]
Patch #798145: Return correct information from nl_langinfo(RADIXCHAR).
Will backport to 2.3.

21 years agoBug #794140: cygwin builds do not embed
Jason Tishler [Thu, 4 Sep 2003 11:59:50 +0000 (11:59 +0000)]
Bug #794140: cygwin builds do not embed

The embed2.diff patch solves the user's problem by exporting the missing
symbols from the Python core so Python can be embedded in another Cygwin
application (well, at lest vim).

21 years agoThis patch enables the building of Cygwin Python with a static core
Jason Tishler [Thu, 4 Sep 2003 11:04:06 +0000 (11:04 +0000)]
This patch enables the building of Cygwin Python with a static core
which still supports shared extensions. It takes advantage the latest
Cygwin binutils (i.e., 20030901-1) which can export symbols from
executables:

http://cygwin.com/ml/cygwin-announce/2003-09/msg00002.html

Additionally, it finally lays to rest the following mailing list
subthread:

http://mail.python.org/pipermail/python-list/2002-May/102500.html

I tested the patch under Red Hat Linux 8.0 too

21 years agoCatch locale.error as well. Fixes #788378. Will backport to 2.3.
Martin v. Löwis [Wed, 3 Sep 2003 05:13:14 +0000 (05:13 +0000)]
Catch locale.error as well. Fixes #788378. Will backport to 2.3.

21 years agoUse de_DE in example, change message for unknown locale. Fixes #797447.
Martin v. Löwis [Wed, 3 Sep 2003 04:50:13 +0000 (04:50 +0000)]
Use de_DE in example, change message for unknown locale. Fixes #797447.
Will backport to 2.3.

21 years agotest_get_param_with_semis_in_quotes(): Test case for SF bug #794466.
Barry Warsaw [Wed, 3 Sep 2003 04:10:52 +0000 (04:10 +0000)]
test_get_param_with_semis_in_quotes(): Test case for SF bug #794466.

Backport candidate.

21 years agoNEWS about email package 794466 patch.
Barry Warsaw [Wed, 3 Sep 2003 04:09:49 +0000 (04:09 +0000)]
NEWS about email package 794466 patch.

21 years agoA fix for parsing parameters when there are semicolons inside the
Barry Warsaw [Wed, 3 Sep 2003 04:08:13 +0000 (04:08 +0000)]
A fix for parsing parameters when there are semicolons inside the
quotes.  Fixes SF bug #794466, with the essential patch provided by
Stuart D. Gathman.  Specifically,

_parseparam(), _get_params_preserve(): Use the parsing function that
takes quotes into account, as given (essentially) in the bug report's
test program.

Backport candidate.

21 years agoDocument the Pynche patch.
Barry Warsaw [Wed, 3 Sep 2003 03:20:37 +0000 (03:20 +0000)]
Document the Pynche patch.

21 years agoFix for SF bug #780996, crash when no .pynche file exists and -d
Barry Warsaw [Wed, 3 Sep 2003 03:15:50 +0000 (03:15 +0000)]
Fix for SF bug #780996, crash when no .pynche file exists and -d
option is not given.  If dbfile isn't given and can't be retrieved
from the optionsdb, just initialize it to the first element in
RGB_TXT.

Backport candidate.

21 years agouse the long names for re compilation options; this makes it easier to
Fred Drake [Tue, 2 Sep 2003 16:01:07 +0000 (16:01 +0000)]
use the long names for re compilation options; this makes it easier to
figure out what the code is doing

21 years agoModernize code a bit: use isinstance instead of type(); return True/False
Andrew M. Kuchling [Tue, 2 Sep 2003 11:52:06 +0000 (11:52 +0000)]
Modernize code a bit: use isinstance instead of type(); return True/False

21 years ago[Patch #759208] Fix has_key emulation to not raise KeyError
Andrew M. Kuchling [Tue, 2 Sep 2003 11:44:44 +0000 (11:44 +0000)]
[Patch #759208] Fix has_key emulation to not raise KeyError

21 years agoOnly apply case-insensitivity test on appropriate platforms.' test_filecmp.py
Raymond Hettinger [Tue, 2 Sep 2003 06:59:21 +0000 (06:59 +0000)]
Only apply case-insensitivity test on appropriate platforms.' test_filecmp.py

21 years agoSF bug #453515: filecmp.dircmp case sensitivity bug
Raymond Hettinger [Tue, 2 Sep 2003 05:42:02 +0000 (05:42 +0000)]
SF bug #453515:  filecmp.dircmp case sensitivity bug

21 years agoSF patch #798255: Document httplib.HTTPResponse.read "amt" argument
Raymond Hettinger [Tue, 2 Sep 2003 02:32:54 +0000 (02:32 +0000)]
SF patch #798255:  Document httplib.HTTPResponse.read "amt" argument
(Contributed by Jeff Epler.)

21 years agoSF 798269: bug fix for doctest (sf bug id: 798254
Raymond Hettinger [Tue, 2 Sep 2003 02:17:46 +0000 (02:17 +0000)]
SF 798269:  bug fix for doctest (sf bug id: 798254
(Contributed by Alexander Belopolsky.)