]> granicus.if.org Git - python/log
python
21 years agoSee rev. 1.42 for log message
Brett Cannon [Sun, 12 Oct 2003 04:29:10 +0000 (04:29 +0000)]
See rev. 1.42 for log message

21 years agosee rev. 1.13 for log message
Brett Cannon [Sun, 12 Oct 2003 04:29:10 +0000 (04:29 +0000)]
see rev. 1.13 for log message

21 years agoSF patch #819955: Erroneous \seemodule in tarfile docs
Raymond Hettinger [Sun, 12 Oct 2003 02:02:16 +0000 (02:02 +0000)]
SF patch #819955:  Erroneous \seemodule in tarfile docs
(Contributed by Johannes Gijsbers.)

21 years agoUse the simpler and faster PyArg_UnpackTuple() instead of
Raymond Hettinger [Sat, 11 Oct 2003 19:32:18 +0000 (19:32 +0000)]
Use the simpler and faster PyArg_UnpackTuple() instead of
PyArg_ParseTuple() where possible.

21 years agoSF bug #820397: __nonzero__() returns 1/0
Raymond Hettinger [Sat, 11 Oct 2003 17:29:04 +0000 (17:29 +0000)]
SF bug #820397:  __nonzero__() returns 1/0

Altered to return a PyBool instead of a PyInt.

Backport candidate.

21 years agoadd some information about using graphics with the Python document
Fred Drake [Sat, 11 Oct 2003 05:25:24 +0000 (05:25 +0000)]
add some information about using graphics with the Python document
classes

21 years agoOuch. Remove debug code containing obscenities. :-)
Guido van Rossum [Fri, 10 Oct 2003 23:05:41 +0000 (23:05 +0000)]
Ouch.  Remove debug code containing obscenities. :-)

21 years agoThe fullmodname() function chopped off the first character if the
Guido van Rossum [Fri, 10 Oct 2003 23:02:01 +0000 (23:02 +0000)]
The fullmodname() function chopped off the first character if the
module existed in the current directory.  Fix this.  Backport
candidate (I presume).

21 years agoTo build on windows, the manual editing of the python_nt.rc file to
Thomas Heller [Fri, 10 Oct 2003 16:57:45 +0000 (16:57 +0000)]
To build on windows, the manual editing of the python_nt.rc file to
change the version number is no longer required.

Instead, a make_versioninfo.exe is compiled, which spits out an
include file for python_nt.rc.

Will backport to 2.3

21 years agoTCPServer: Fixed typo in class docstring.
Barry Warsaw [Thu, 9 Oct 2003 23:48:52 +0000 (23:48 +0000)]
TCPServer: Fixed typo in class docstring.

21 years agoTCPServer: Fixed typo in class docstring.
Barry Warsaw [Thu, 9 Oct 2003 22:44:05 +0000 (22:44 +0000)]
TCPServer: Fixed typo in class docstring.

Backport candidate.

21 years agoReturn a bool rather than an int from proxy_has_key().
Guido van Rossum [Thu, 9 Oct 2003 03:47:08 +0000 (03:47 +0000)]
Return a bool rather than an int from proxy_has_key().

21 years agoFix leak introduced by previous typeobject.c checkin.
Guido van Rossum [Thu, 9 Oct 2003 03:46:35 +0000 (03:46 +0000)]
Fix leak introduced by previous typeobject.c checkin.

21 years agoSF patch #820195 by Wojtek Walczak (gminick at users.sourceforge.net):
Guido van Rossum [Wed, 8 Oct 2003 21:08:29 +0000 (21:08 +0000)]
SF patch #820195 by Wojtek Walczak (gminick at users.sourceforge.net):
make obj.__contains__() returns True/False instead of 1/0.

21 years agoFix a typo, discovered by Joonas Paalasmaa.
Thomas Heller [Wed, 8 Oct 2003 12:01:33 +0000 (12:01 +0000)]
Fix a typo, discovered by Joonas Paalasmaa.

Backported to 2.3

21 years agoPatch #817329: Use SC_OPEN_MAX to determine MAXFD. Backported to 2.3.
Martin v. Löwis [Mon, 6 Oct 2003 21:34:33 +0000 (21:34 +0000)]
Patch #817329: Use SC_OPEN_MAX to determine MAXFD. Backported to 2.3.

21 years agoSF patch [ 816787 ] urllib2.URLError don't calll IOError.__init__
Jeremy Hylton [Mon, 6 Oct 2003 05:15:13 +0000 (05:15 +0000)]
SF patch [ 816787 ] urllib2.URLError don't calll IOError.__init__

Not sure if this fix is great, but it's probably a small improvement.

21 years agoFix for SF bug [ 817156 ] invalid \U escape gives 0=length unistr.
Jeremy Hylton [Mon, 6 Oct 2003 05:08:26 +0000 (05:08 +0000)]
Fix for SF bug [ 817156 ] invalid \U escape gives 0=length unistr.

21 years agoAdopt Christian Stork's suggested argument order for the logic quantifiers.
Raymond Hettinger [Sun, 5 Oct 2003 16:47:36 +0000 (16:47 +0000)]
Adopt Christian Stork's suggested argument order for the logic quantifiers.
Adopt Jeremy Fincher's suggested function name, "any", instead of "some".

21 years agoSF bug #812202: randint is always even
Raymond Hettinger [Sun, 5 Oct 2003 09:09:15 +0000 (09:09 +0000)]
SF bug #812202:  randint is always even

* Added C coded getrandbits(k) method that runs in linear time.
* Call the new method from randrange() for ranges >= 2**53.
* Adds a warning for generators not defining getrandbits() whenever they
  have a call to randrange() with too large of a population.

21 years agotwo bugfixes
Anthony Baxter [Sat, 4 Oct 2003 08:04:04 +0000 (08:04 +0000)]
two bugfixes

21 years agomade the SGI INET_ADDRSTRLEN define apply for any compiler on Irix. Both the
Anthony Baxter [Sat, 4 Oct 2003 08:00:49 +0000 (08:00 +0000)]
made the SGI INET_ADDRSTRLEN define apply for any compiler on Irix. Both the
SGI compiler and GCC seem to need this.

21 years agoFreeBSD 4.8 and MacOS X 10.2 have a broken ncurses.h - if you don't
Anthony Baxter [Sat, 4 Oct 2003 07:46:23 +0000 (07:46 +0000)]
FreeBSD 4.8 and MacOS X 10.2 have a broken ncurses.h - if you don't
define _XOPEN_EXTENDED_SOURCE, the bug isn't triggered. Testing on
FreeBSD shows that nothing is broken by this change.

21 years agoGNUTranslations._parse(): Initialize local variable k so that if the
Barry Warsaw [Sat, 4 Oct 2003 02:28:31 +0000 (02:28 +0000)]
GNUTranslations._parse(): Initialize local variable k so that if the
first line of a header section isn't an RFC-ish header, it's just
ignored instead of throwing an UnboundLocalError.

Backport candidate.

21 years agoA helper to dump info about the current frame,
Jeremy Hylton [Fri, 3 Oct 2003 20:56:15 +0000 (20:56 +0000)]
A helper to dump info about the current frame,
assuming it is the variable f.

21 years agoCheck for TclError when reading variables. Fixes #807314.
Martin v. Löwis [Fri, 3 Oct 2003 17:12:26 +0000 (17:12 +0000)]
Check for TclError when reading variables. Fixes #807314.
Backported to 2.3.

21 years ago- don't re-write a SourceForge authenticated CVS root into the
Fred Drake [Fri, 3 Oct 2003 15:21:38 +0000 (15:21 +0000)]
- don't re-write a SourceForge authenticated CVS root into the
  anonymous flavor unless the user asks for it on the command line
- decompose SourceForge authenticated CVS roots correctly

21 years agoforgot the NEWS blurb about the change to csv.DictReader
Skip Montanaro [Fri, 3 Oct 2003 14:07:07 +0000 (14:07 +0000)]
forgot the NEWS blurb about the change to csv.DictReader

21 years agotweak the docstring to not be so focused on 1.6.
Skip Montanaro [Fri, 3 Oct 2003 14:05:26 +0000 (14:05 +0000)]
tweak the docstring to not be so focused on 1.6.

21 years agoMake the fieldnames argument optional in the DictReader. If self.fieldnames
Skip Montanaro [Fri, 3 Oct 2003 14:03:01 +0000 (14:03 +0000)]
Make the fieldnames argument optional in the DictReader.  If self.fieldnames
is None, the next row read is used as the fieldnames.  In the common case,
this means the programmer doesn't need to know the fieldnames ahead of time.
The first row of the file will be used.  In the uncommon case, this means
the programmer can set the reader's fieldnames attribute to None at any time
and have the next row read as the next set of fieldnames, so a csv file can
contain several "sections", each with different fieldnames.

21 years agoPatch #813445: Add IPPROTO_IPV6 option to the socketmodule.
Martin v. Löwis [Fri, 3 Oct 2003 13:57:37 +0000 (13:57 +0000)]
Patch #813445: Add IPPROTO_IPV6 option to the socketmodule.

21 years agoPatch #813445: Add missing socket.IPPROTO_IPV6. Backported to 2.3.
Martin v. Löwis [Fri, 3 Oct 2003 13:56:20 +0000 (13:56 +0000)]
Patch #813445: Add missing socket.IPPROTO_IPV6. Backported to 2.3.

21 years agoPatch #814764: Undefine xopen_source on OpenBSD 3.4. Backported to 2.3.
Martin v. Löwis [Fri, 3 Oct 2003 13:47:44 +0000 (13:47 +0000)]
Patch #814764: Undefine xopen_source on OpenBSD 3.4. Backported to 2.3.

21 years agonormalize whitespace
Fred Drake [Thu, 2 Oct 2003 16:30:17 +0000 (16:30 +0000)]
normalize whitespace

21 years agoMake sure the trunk Makefile doesn't require mkhowto to be "installed"
Fred Drake [Wed, 1 Oct 2003 18:49:55 +0000 (18:49 +0000)]
Make sure the trunk Makefile doesn't require mkhowto to be "installed"
as described in "Documenting Python".

21 years agoRelease 2.3.2 (final) has a windows build number of 49.
Thomas Heller [Wed, 1 Oct 2003 17:36:45 +0000 (17:36 +0000)]
Release 2.3.2 (final) has a windows build number of 49.

21 years agoupdated HPUX notes.
Anthony Baxter [Wed, 1 Oct 2003 07:24:54 +0000 (07:24 +0000)]
updated HPUX notes.

21 years agobsddb3 4.2.2, adds DBCursor.get_current_size() method to return the length
Gregory P. Smith [Wed, 1 Oct 2003 06:48:51 +0000 (06:48 +0000)]
bsddb3 4.2.2, adds DBCursor.get_current_size() method to return the length
of the current value without reading the value itself.

21 years agoVarious minor updates in the description of mkhowto.
Fred Drake [Wed, 1 Oct 2003 04:15:09 +0000 (04:15 +0000)]
Various minor updates in the description of mkhowto.

21 years agono longer assign into sys; "print chevron" is the way to go
Fred Drake [Wed, 1 Oct 2003 04:07:44 +0000 (04:07 +0000)]
no longer assign into sys; "print chevron" is the way to go

21 years agoWe're long past worrying about Python versions older than 1.5.2;
Fred Drake [Wed, 1 Oct 2003 04:03:54 +0000 (04:03 +0000)]
We're long past worrying about Python versions older than 1.5.2;
remove old compatibility definition of os.path.abspath().

21 years agoWork around minor markup issue: we don't want markup to escape into
Fred Drake [Tue, 30 Sep 2003 20:00:43 +0000 (20:00 +0000)]
Work around minor markup issue: we don't want markup to escape into
the module index.

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.