]> granicus.if.org Git - python/log
python
21 years agoFix stupid style bug in a second place.
Fred Drake [Tue, 30 Sep 2003 15:43:20 +0000 (15:43 +0000)]
Fix stupid style bug in a second place.

21 years agoFix stupid style bug.
Fred Drake [Tue, 30 Sep 2003 15:40:33 +0000 (15:40 +0000)]
Fix stupid style bug.

21 years agoworkaround for OpenBSD compiler bug w.r.t. handling of overflows.
Anthony Baxter [Tue, 30 Sep 2003 14:58:59 +0000 (14:58 +0000)]
workaround for OpenBSD compiler bug w.r.t. handling of overflows.

21 years agoRemoved redundant 'return' statement. (Issue 813159)
Steve Purcell [Tue, 30 Sep 2003 09:25:32 +0000 (09:25 +0000)]
Removed redundant 'return' statement. (Issue 813159)

21 years agoadded 2.3.2
Anthony Baxter [Tue, 30 Sep 2003 07:07:08 +0000 (07:07 +0000)]
added 2.3.2

21 years agoUpdate to match the version used to build the 2.3.2c1 documentation.
Fred Drake [Mon, 29 Sep 2003 17:26:08 +0000 (17:26 +0000)]
Update to match the version used to build the 2.3.2c1 documentation.

21 years ago- change computation of VERSION to use tools/getversioninfo; this is
Fred Drake [Sun, 28 Sep 2003 22:14:29 +0000 (22:14 +0000)]
- change computation of VERSION to use tools/getversioninfo; this is
  more reliable than using the $Revision$ expansion
- $RELEASE is no longer needed; we can just use $VERSION now

21 years agoMake the embedded hyperlinks work.
Fred Drake [Sun, 28 Sep 2003 19:03:36 +0000 (19:03 +0000)]
Make the embedded hyperlinks work.

21 years ago- update pkglist.html more frequently, and explain why that's helpful
Fred Drake [Sun, 28 Sep 2003 16:25:43 +0000 (16:25 +0000)]
- update pkglist.html more frequently, and explain why that's helpful
- add a comment explaining what pkglist.html is for

21 years agoUpdate the list of directories passed to py2texi.el. The ordering was
Fred Drake [Sun, 28 Sep 2003 03:11:09 +0000 (03:11 +0000)]
Update the list of directories passed to py2texi.el.  The ordering was
wrong, and commontex/ needed to be added.

21 years agoMake the "path math" more robust, and support both relative and
Fred Drake [Sun, 28 Sep 2003 03:10:09 +0000 (03:10 +0000)]
Make the "path math" more robust, and support both relative and
absolute paths as input.

21 years agoUse a threadsafe private DBEnv for each bsddb compatibility interface
Gregory P. Smith [Sat, 27 Sep 2003 23:00:19 +0000 (23:00 +0000)]
Use a threadsafe private DBEnv for each bsddb compatibility interface
db that is opened.  DB_THREAD and DB_INIT_LOCK allow for multithreaded
access.  DB_PRIVATE prevents the DBEnv from using the filesystem
(making it only usable by this process; and in this implementation
using one DBEnv per bsddb database)

21 years agoLoad the version information from ../Include/patchlevel.h, so there are
Fred Drake [Sat, 27 Sep 2003 22:07:05 +0000 (22:07 +0000)]
Load the version information from ../Include/patchlevel.h, so there are
fewer changes to make to version numbers after a release.

21 years ago* Fix markup.
Raymond Hettinger [Sat, 27 Sep 2003 20:19:02 +0000 (20:19 +0000)]
* Fix markup.
* Fix entry order:
  -  >>> before ...
  - __slots__ in the S section (like __future__ is in the F section)

Need to test the repaired(?) link to Guido's webpage.

Still needs to have the module reference links made relative to
the module directory instead of the tut directory.  That will
require Fred's magic touch.

21 years agoThe windows build number for 2.3.2c1 is 48
Thomas Heller [Sat, 27 Sep 2003 20:03:59 +0000 (20:03 +0000)]
The windows build number for 2.3.2c1 is 48

21 years agore.sub expands escape sequences in it's second argument.
Thomas Heller [Sat, 27 Sep 2003 19:35:37 +0000 (19:35 +0000)]
re.sub expands escape sequences in it's second argument.

Will backport to 2.3 myself.

21 years agoTypo: documnetation -> documentation
Thomas Heller [Sat, 27 Sep 2003 19:32:04 +0000 (19:32 +0000)]
Typo: documnetation -> documentation

Will backport to 2.3

21 years agoLots of markup corrections. Some are minor, but others are not: the
Fred Drake [Sat, 27 Sep 2003 18:59:43 +0000 (18:59 +0000)]
Lots of markup corrections.  Some are minor, but others are not: the
contents of an \item should not be enclosed in a group!

21 years agoMake sure LaTeX2HTML's $TEXINPUTS variable is initialized to include
Fred Drake [Sat, 27 Sep 2003 16:04:23 +0000 (16:04 +0000)]
Make sure LaTeX2HTML's $TEXINPUTS variable is initialized to include
directories identified in the TEXINPUTS environment variable.
I think this is the last part of the fix for the version number
problems seen in the documentation for the 2.3.1 release.

21 years agofix for bug #811160 - autoconf vs. hp/ux system header files.
Anthony Baxter [Sat, 27 Sep 2003 09:12:27 +0000 (09:12 +0000)]
fix for bug #811160 - autoconf vs. hp/ux system header files.
also applied to release23-maint.

Note that aclocal.m4 can go away when autoconf 2.58 is out.

21 years agoupdate one more reference to a file that moved from texinputs/ to
Fred Drake [Sat, 27 Sep 2003 07:48:25 +0000 (07:48 +0000)]
update one more reference to a file that moved from texinputs/ to
commontex/

21 years agoAdjust the organization a bit and update some of the comments to
Fred Drake [Sat, 27 Sep 2003 07:37:09 +0000 (07:37 +0000)]
Adjust the organization a bit and update some of the comments to
better explain what's happening.

21 years agoadd commontex/ to the list of directories described here
Fred Drake [Sat, 27 Sep 2003 07:18:52 +0000 (07:18 +0000)]
add commontex/ to the list of directories described here

21 years agopoint to the new location of the license information
Fred Drake [Sat, 27 Sep 2003 07:16:32 +0000 (07:16 +0000)]
point to the new location of the license information

21 years agoMove content input files shared among the documents into a new directory
Fred Drake [Sat, 27 Sep 2003 07:11:17 +0000 (07:11 +0000)]
Move content input files shared among the documents into a new directory
(commontex/), leaving only style support files in texinputs/.  This makes
texinputs/ part of the formatting tools while commontex/ is strictly part
of the actual documentation.

21 years ago- use string methods
Fred Drake [Sat, 27 Sep 2003 07:05:12 +0000 (07:05 +0000)]
- use string methods
- make TEXINPUTS work the way it's supposed to in TeX-ish tools

21 years agoFix the most recent change to the invocation of the mkhowto script so
Fred Drake [Sat, 27 Sep 2003 05:52:16 +0000 (05:52 +0000)]
Fix the most recent change to the invocation of the mkhowto script so
that it works for all targets.

The issue here is that there are two different levels in the directory
tree at which we execute mkhowto, so we can't define it just once
using a relative path (at least not with the current implementation
and Makefile structure).  We use the GNUish $(shell) function here to
work around that restriction by identifying mkhowto using an absolute
path.

21 years agoFix spelling and add markup.
Raymond Hettinger [Sat, 27 Sep 2003 05:42:14 +0000 (05:42 +0000)]
Fix spelling and add markup.

21 years ago[Bug #812936] Correct the documentation for RotatingFileHandler.
Andrew M. Kuchling [Fri, 26 Sep 2003 13:45:18 +0000 (13:45 +0000)]
[Bug #812936] Correct the documentation for RotatingFileHandler.
[2.3 bugfix candidate]

21 years agodefine a variable to specify the mkhowto program itself, as for any
Fred Drake [Thu, 25 Sep 2003 15:25:37 +0000 (15:25 +0000)]
define a variable to specify the mkhowto program itself, as for any
other application

21 years agoTypo. HAVE_SYNC -> HAVE_FSYNC
Skip Montanaro [Thu, 25 Sep 2003 14:50:29 +0000 (14:50 +0000)]
Typo.  HAVE_SYNC -> HAVE_FSYNC

21 years agoType. HAVE_SYNC -> HAVE_FSYNC
Skip Montanaro [Thu, 25 Sep 2003 14:50:04 +0000 (14:50 +0000)]
Type. HAVE_SYNC -> HAVE_FSYNC

21 years agoTypo: HAVE_SYNC -> HAVE_FSYNC
Skip Montanaro [Thu, 25 Sep 2003 14:49:15 +0000 (14:49 +0000)]
Typo: HAVE_SYNC -> HAVE_FSYNC

21 years agoTypo: sys.prefex -> sys.prefix
Thomas Heller [Thu, 25 Sep 2003 06:26:46 +0000 (06:26 +0000)]
Typo: sys.prefex -> sys.prefix

Closes SF# 812152

Baskport candidate for release23-main

21 years agoAdd a glossary to the tutorial. Also generate an index. At the moment this
Skip Montanaro [Wed, 24 Sep 2003 16:53:02 +0000 (16:53 +0000)]
Add a glossary to the tutorial.  Also generate an index.  At the moment this
mostly only references glossary entries.

21 years agofirst cut at a glossary
Skip Montanaro [Wed, 24 Sep 2003 16:51:23 +0000 (16:51 +0000)]
first cut at a glossary

21 years ago- update to reflect that base classes can be class types as well as
Fred Drake [Wed, 24 Sep 2003 04:11:47 +0000 (04:11 +0000)]
- update to reflect that base classes can be class types as well as
  "classic" class objects
  [partially fixes SF bug #453684]

- add note that new-style classes can use descriptors to implement
  instance variables in different ways

21 years agoFix whitespace in example
Raymond Hettinger [Wed, 24 Sep 2003 03:58:56 +0000 (03:58 +0000)]
Fix whitespace in example

21 years agoFix typo in the comments.
Raymond Hettinger [Wed, 24 Sep 2003 03:57:36 +0000 (03:57 +0000)]
Fix typo in the comments.

21 years agoAdd more identity tests.
Raymond Hettinger [Wed, 24 Sep 2003 03:56:07 +0000 (03:56 +0000)]
Add more identity tests.

21 years agoupdates from sean
Anthony Baxter [Wed, 24 Sep 2003 01:36:13 +0000 (01:36 +0000)]
updates from sean

21 years agoBuild number for Python 2.3.1.
Thomas Heller [Tue, 23 Sep 2003 20:54:48 +0000 (20:54 +0000)]
Build number for Python 2.3.1.

Forward ported from release23-maint.

21 years agoLet IDLE use the HTMLHelp docs on Windows, if found.
Thomas Heller [Tue, 23 Sep 2003 20:53:10 +0000 (20:53 +0000)]
Let IDLE use the HTMLHelp docs on Windows, if found.

Already 'backported' to release23-maint.

21 years agoChange the default window size to 1024x768. This shows at least the
Thomas Heller [Tue, 23 Sep 2003 20:50:47 +0000 (20:50 +0000)]
Change the default window size to 1024x768. This shows at least the
whole main page.

Support 2.3 and 2.4 docs in HTMLHelp format.

Already 'backported' to release-23maint.

21 years agoAdded codec for bz2 compression.
Raymond Hettinger [Tue, 23 Sep 2003 20:21:01 +0000 (20:21 +0000)]
Added codec for bz2 compression.

21 years agonote about HP compiler. CC="cc -Ae" is least broken, but still broken
Anthony Baxter [Tue, 23 Sep 2003 15:01:49 +0000 (15:01 +0000)]
note about HP compiler. CC="cc -Ae" is least broken, but still broken

21 years agoTopical change: use 'startswith()' to identify test methods with a
Steve Purcell [Tue, 23 Sep 2003 08:41:53 +0000 (08:41 +0000)]
Topical change: use 'startswith()' to identify test methods with a
given prefix rather than comparing a slice.

21 years agoadd entry for 2.3.1
Fred Drake [Tue, 23 Sep 2003 05:21:49 +0000 (05:21 +0000)]
add entry for 2.3.1

21 years agoinclude 2.3.1
Anthony Baxter [Tue, 23 Sep 2003 02:42:29 +0000 (02:42 +0000)]
include 2.3.1

21 years agoPlaySoundTest.test_alias_nofallback(): Simplified the coding by using
Tim Peters [Mon, 22 Sep 2003 18:41:53 +0000 (18:41 +0000)]
PlaySoundTest.test_alias_nofallback():  Simplified the coding by using
assertRaises.

NOT a bugfix candidate.

21 years agoPlaySoundTest.test_alias_fallback(): Disabled this test, and explained
Tim Peters [Mon, 22 Sep 2003 18:38:53 +0000 (18:38 +0000)]
PlaySoundTest.test_alias_fallback():  Disabled this test, and explained
why in a new comment.  My home Win98SE box is one of the "real systems"
alluded to (my system "default sound" appears to have vanished sometime
in the last month, that's certainly not a Python bug, and the MS
PlaySound docs are correct in their explanation of what happens then).

Bugfix candidate.  If someone can still sneak it into 2.3.1, that would
be good.

21 years agoSF 810242. Fix doubled word errors.
Raymond Hettinger [Mon, 22 Sep 2003 15:27:11 +0000 (15:27 +0000)]
SF 810242.  Fix doubled word errors.

21 years agoNew for unittest.py.
Guido van Rossum [Mon, 22 Sep 2003 15:03:11 +0000 (15:03 +0000)]
New for unittest.py.

21 years agoSF 810242. Fix doubled word errors.
Raymond Hettinger [Mon, 22 Sep 2003 15:00:55 +0000 (15:00 +0000)]
SF 810242.  Fix doubled word errors.

21 years agoAvoid list as a variable name.
Walter Dörwald [Mon, 22 Sep 2003 12:43:16 +0000 (12:43 +0000)]
Avoid list as a variable name.

21 years agoAdded test whether wchar_t is signed or not. A signed wchar_t is not usable as intern...
Marc-André Lemburg [Mon, 22 Sep 2003 11:14:40 +0000 (11:14 +0000)]
Added test whether wchar_t is signed or not. A signed wchar_t is not usable as internal unicode type base for Py_UNICODE since the unicode implementation assumes an unsigned type.

21 years ago- Fixed loading of tests by name when name refers to unbound
Steve Purcell [Mon, 22 Sep 2003 11:08:12 +0000 (11:08 +0000)]
- Fixed loading of tests by name when name refers to unbound
  method (PyUnit issue 563882, thanks to Alexandre Fayolle)
- Ignore non-callable attributes of classes when searching for test
  method names (PyUnit issue 769338, thanks to Seth Falcon)
- New assertTrue and assertFalse aliases for comfort of JUnit users
- Automatically discover 'runTest()' test methods (PyUnit issue 469444,
  thanks to Roeland Rengelink)
- Dropped Python 1.5.2 compatibility, merged appropriate shortcuts from
  Python CVS; should work with Python >= 2.1.
- Removed all references to string module by using string methods instead

21 years agoClean-up example code: remove string module and backticks.
Raymond Hettinger [Mon, 22 Sep 2003 06:25:10 +0000 (06:25 +0000)]
Clean-up example code:  remove string module and backticks.

21 years agoFix SF bug [ 808594 ] leak on lambda with duplicate arguments error.
Jeremy Hylton [Mon, 22 Sep 2003 04:26:44 +0000 (04:26 +0000)]
Fix SF bug [ 808594 ] leak on lambda with duplicate arguments error.

Refactor code so that one helper routine sets error location and
increments st_errors.

Bug fix candidate.

21 years agoAdd BerkeleyDB 4.2 to the library search for the bsddb module.
Gregory P. Smith [Mon, 22 Sep 2003 01:16:48 +0000 (01:16 +0000)]
Add BerkeleyDB 4.2 to the library search for the bsddb module.

21 years agominor correction. python 2.3 was released with the bsddb module 4.1.6 not 4.1.1
Gregory P. Smith [Sun, 21 Sep 2003 23:41:02 +0000 (23:41 +0000)]
minor correction.  python 2.3 was released with the bsddb module 4.1.6 not 4.1.1

21 years agoraise pybsddb version number to 4.2.1 to differentiate between it and the
Gregory P. Smith [Sun, 21 Sep 2003 23:29:41 +0000 (23:29 +0000)]
raise pybsddb version number to 4.2.1 to differentiate between it and the
version in the python 2.3.1 tree.

21 years agoImprove and expand identity tests.
Raymond Hettinger [Sun, 21 Sep 2003 08:14:11 +0000 (08:14 +0000)]
Improve and expand identity tests.

21 years agoAdds basic support for BerkeleyDB 4.2.x. Compiles and passes tests; new
Gregory P. Smith [Sun, 21 Sep 2003 00:08:14 +0000 (00:08 +0000)]
Adds basic support for BerkeleyDB 4.2.x.  Compiles and passes tests; new
features in BerkeleyDB not exposed.  notably: the DB_MPOOLFILE interface
has not yet been wrapped in an object.

Adds support for building and installing bsddb3 in python2.3 that has
an older version of this module installed as bsddb without conflicts.
The pybsddb.sf.net build/packaged version of the module uses a
dynamicly loadable module called _pybsddb rather than _bsddb.

21 years agoMaintain backwards compatibility with python < 2.3 by dynamically
Gregory P. Smith [Sat, 20 Sep 2003 23:51:34 +0000 (23:51 +0000)]
Maintain backwards compatibility with python < 2.3 by dynamically
adding the iterator interface for python >= 2.3.

21 years agoSF patch 809915: Fix bogus address to hopefully always break.
Tim Peters [Sat, 20 Sep 2003 22:16:26 +0000 (22:16 +0000)]
SF patch 809915:  Fix bogus address to hopefully always break.
test_bad_address():  Recover from that VeriSign thought it would boost
its corporate coffers to start resolving http://www.sadflkjsasadf.com/.

Bugfix candidate -- although the bug is more VeriSign's than Python's!

21 years agotest__locale (two underscores) can't pass on Windows: RADIXCHAR doesn't
Tim Peters [Sat, 20 Sep 2003 22:06:13 +0000 (22:06 +0000)]
test__locale (two underscores) can't pass on Windows:  RADIXCHAR doesn't
exist, and neither do any of the specific 5-letter locale names the test
is looking for.

21 years agoPatch #800697: Add readline.clear_history.
Martin v. Löwis [Sat, 20 Sep 2003 16:08:33 +0000 (16:08 +0000)]
Patch #800697: Add readline.clear_history.

21 years agoPatch #707167: Pass dircache exceptions to the caller. Fixes #682813.
Martin v. Löwis [Sat, 20 Sep 2003 15:52:21 +0000 (15:52 +0000)]
Patch #707167: Pass dircache exceptions to the caller. Fixes #682813.
Not backported because of behaviour change.

21 years agoCheck for declarations of fchdir and fsync. Fixes #800710. Backported to 2.3.
Martin v. Löwis [Sat, 20 Sep 2003 15:30:20 +0000 (15:30 +0000)]
Check for declarations of fchdir and fsync. Fixes #800710. Backported to 2.3.

21 years agoPatch #730597: Disable POPEN for RTEMS.
Martin v. Löwis [Sat, 20 Sep 2003 11:20:30 +0000 (11:20 +0000)]
Patch #730597: Disable POPEN for RTEMS.

21 years agoPatch #805613: Fix usage of the PTH library.
Martin v. Löwis [Sat, 20 Sep 2003 11:13:36 +0000 (11:13 +0000)]
Patch #805613: Fix usage of the PTH library.

21 years agoPatch #808362: Fix typos.
Martin v. Löwis [Sat, 20 Sep 2003 11:09:28 +0000 (11:09 +0000)]
Patch #808362: Fix typos.

21 years agoPatch #713645: Fix typo.
Martin v. Löwis [Sat, 20 Sep 2003 11:05:01 +0000 (11:05 +0000)]
Patch #713645: Fix typo.

21 years agoPatch #793559: Reset __starttext_tag. Fixes #709491. Backported to 2.3.
Martin v. Löwis [Sat, 20 Sep 2003 10:58:38 +0000 (10:58 +0000)]
Patch #793559: Reset __starttext_tag. Fixes #709491. Backported to 2.3.

21 years agoPatch #805976: Add DOTBOX and UNDERLINE.
Martin v. Löwis [Sat, 20 Sep 2003 10:52:56 +0000 (10:52 +0000)]
Patch #805976: Add DOTBOX and UNDERLINE.

21 years agoPatch #805678: Add .so symlink during make install. Backported to 2.3.
Martin v. Löwis [Sat, 20 Sep 2003 10:50:48 +0000 (10:50 +0000)]
Patch #805678: Add .so symlink during make install. Backported to 2.3.

21 years agoPatch #805604: Do not check for sem_init, do not use -Kthread,
Martin v. Löwis [Sat, 20 Sep 2003 10:47:47 +0000 (10:47 +0000)]
Patch #805604: Do not check for sem_init, do not use -Kthread,
if configured --without-threads. Backported to 2.3.

21 years agoImprove detection of whether tzset is broken.
Brett Cannon [Fri, 19 Sep 2003 00:59:16 +0000 (00:59 +0000)]
Improve detection of whether tzset is broken.

21 years agoFix a typo found by Eric D. Moyer, closes SF 807813.
Thomas Heller [Wed, 17 Sep 2003 17:11:01 +0000 (17:11 +0000)]
Fix a typo found by Eric D. Moyer, closes SF 807813.

Will backport to 2.3.

21 years agoSF patch #806246: use basestring where possible
Raymond Hettinger [Wed, 17 Sep 2003 05:50:59 +0000 (05:50 +0000)]
SF patch #806246:  use basestring where possible
(Contributed by George Yoshida.)

21 years ago* Minor wording change
Raymond Hettinger [Tue, 16 Sep 2003 22:04:31 +0000 (22:04 +0000)]
* Minor wording change
* Reference the doctest.DocTestSuite() conversion tool.

21 years agoMinor fixups
Raymond Hettinger [Tue, 16 Sep 2003 21:45:22 +0000 (21:45 +0000)]
Minor fixups

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.