]> granicus.if.org Git - python/log
python
18 years agoWork around deadlock risk. Will backport.
Martin v. Löwis [Mon, 1 May 2006 06:28:01 +0000 (06:28 +0000)]
Work around deadlock risk. Will backport.

18 years ago- minor clarification in section title
Fred Drake [Mon, 1 May 2006 06:25:58 +0000 (06:25 +0000)]
- minor clarification in section title
- markup adjustments
(there is clearly much to be done in this section)

18 years agoPort forward from 2.4 branch:
Barry Warsaw [Mon, 1 May 2006 03:03:02 +0000 (03:03 +0000)]
Port forward from 2.4 branch:

Patch #1464708 from William McVey: fixed handling of nested comments in mail
addresses.  E.g.

"Foo ((Foo Bar)) <foo@example.com>"

Fixes for both rfc822.py and email package.  This patch needs to be back
ported to Python 2.3 for email 2.5.

18 years agoAdd item
Andrew M. Kuchling [Sun, 30 Apr 2006 21:19:49 +0000 (21:19 +0000)]
Add item

18 years agoAdd urllib2 HOWTO from Michael Foord
Andrew M. Kuchling [Sun, 30 Apr 2006 21:19:31 +0000 (21:19 +0000)]
Add urllib2 HOWTO from Michael Foord

18 years agoPatch #1479438: add \keyword markup for "with".
Georg Brandl [Sun, 30 Apr 2006 19:34:19 +0000 (19:34 +0000)]
Patch #1479438: add \keyword markup for "with".

18 years agoPatch #1472854: make the rlcompleter.Completer class usable on non-
Georg Brandl [Sun, 30 Apr 2006 18:14:54 +0000 (18:14 +0000)]
Patch #1472854: make the rlcompleter.Completer class usable on non-
UNIX platforms.

18 years agoFix another problem in inspect: if the module for an object cannot be found, don...
Georg Brandl [Sun, 30 Apr 2006 17:42:26 +0000 (17:42 +0000)]
Fix another problem in inspect: if the module for an object cannot be found, don't try to give its __dict__ to linecache.

18 years agoFix infinite regress when inspecting <string> or <stdin> frames.
Phillip J. Eby [Sun, 30 Apr 2006 15:59:26 +0000 (15:59 +0000)]
Fix infinite regress when inspecting <string> or <stdin> frames.

18 years agoBug #1473625: stop cPickle making float dumps locale dependent in protocol 0.
Georg Brandl [Sun, 30 Apr 2006 11:13:56 +0000 (11:13 +0000)]
Bug #1473625: stop cPickle making float dumps locale dependent in protocol 0.

On the way, add a decorator to test_support to facilitate running single
test functions in different locales with automatic cleanup.

18 years agoPatch #1470976: don't NLST files when retrieving over FTP.
Georg Brandl [Sun, 30 Apr 2006 09:23:59 +0000 (09:23 +0000)]
Patch #1470976: don't NLST files when retrieving over FTP.

18 years agoIn stdlib, use hashlib instead of deprecated md5 and sha modules.
Georg Brandl [Sun, 30 Apr 2006 08:57:35 +0000 (08:57 +0000)]
In stdlib, use hashlib instead of deprecated md5 and sha modules.

18 years agoPatch #1470846: fix urllib2 ProxyBasicAuthHandler.
Georg Brandl [Sun, 30 Apr 2006 07:06:11 +0000 (07:06 +0000)]
Patch #1470846: fix urllib2 ProxyBasicAuthHandler.

18 years agoUse \versionchanged instead of \versionadded for new parameter support.
George Yoshida [Sun, 30 Apr 2006 03:49:56 +0000 (03:49 +0000)]
Use \versionchanged instead of \versionadded for new parameter support.

18 years agoAdd two items
Andrew M. Kuchling [Sun, 30 Apr 2006 01:07:09 +0000 (01:07 +0000)]
Add two items

18 years agoThis is the start of documentation for the sqlite3 module. Please feel free to
Gerhard Häring [Sat, 29 Apr 2006 23:12:41 +0000 (23:12 +0000)]
This is the start of documentation for the sqlite3 module. Please feel free to
find a better place for the link to it than alongside bsddb & friends.

18 years agoFix docstring for contextfactory; mentioned old contextmanager name.
Brett Cannon [Sat, 29 Apr 2006 21:29:50 +0000 (21:29 +0000)]
Fix docstring for contextfactory; mentioned old contextmanager name.

18 years agoFurther changes for #1471883: Edit Misc/NEWS, and
Martin v. Löwis [Sat, 29 Apr 2006 12:37:25 +0000 (12:37 +0000)]
Further changes for #1471883: Edit Misc/NEWS, and
add expat_config.h.

18 years agoAdd item
Andrew M. Kuchling [Sat, 29 Apr 2006 12:10:43 +0000 (12:10 +0000)]
Add item

18 years agoMake case of 'ZIP' consistent
Andrew M. Kuchling [Sat, 29 Apr 2006 12:10:28 +0000 (12:10 +0000)]
Make case of 'ZIP' consistent

18 years agoAdd item
Andrew M. Kuchling [Sat, 29 Apr 2006 11:53:15 +0000 (11:53 +0000)]
Add item

18 years agoPatch 1471883: --enable-universalsdk on Mac OS X
Ronald Oussoren [Sat, 29 Apr 2006 11:31:35 +0000 (11:31 +0000)]
Patch 1471883: --enable-universalsdk on Mac OS X

18 years agogrammar fix
George Yoshida [Sat, 29 Apr 2006 02:43:30 +0000 (02:43 +0000)]
grammar fix

18 years agoBug #1478429: make datetime.datetime.fromtimestamp accept every float,
Georg Brandl [Fri, 28 Apr 2006 19:09:24 +0000 (19:09 +0000)]
Bug #1478429: make datetime.datetime.fromtimestamp accept every float,
possibly "rounding up" to the next whole second.

18 years agoRemove a duplicated test (the same test is in test_incomplete.py).
Thomas Heller [Fri, 28 Apr 2006 17:02:18 +0000 (17:02 +0000)]
Remove a duplicated test (the same test is in test_incomplete.py).

18 years agoBug #1478326: don't allow '/' in distutils.util.get_platform machine names
Georg Brandl [Fri, 28 Apr 2006 16:58:52 +0000 (16:58 +0000)]
Bug #1478326: don't allow '/' in distutils.util.get_platform machine names
since this value is used to name the build directory.

18 years agoBug #1472949: stringify IOErrors in shutil.copytree when appending
Georg Brandl [Fri, 28 Apr 2006 16:54:25 +0000 (16:54 +0000)]
Bug #1472949: stringify IOErrors in shutil.copytree when appending
them to the Error errors list.

18 years agocorrect a dead link
George Yoshida [Fri, 28 Apr 2006 16:40:14 +0000 (16:40 +0000)]
correct a dead link

18 years agoBug #1475009: clarify ntpath.join behavior with absolute components
Georg Brandl [Fri, 28 Apr 2006 16:36:55 +0000 (16:36 +0000)]
Bug #1475009: clarify ntpath.join behavior with absolute components

18 years agoAdd SeaMonkey to the list of Mozilla browsers.
Georg Brandl [Fri, 28 Apr 2006 16:31:17 +0000 (16:31 +0000)]
Add SeaMonkey to the list of Mozilla browsers.

18 years agofix markup glitch
George Yoshida [Fri, 28 Apr 2006 16:09:45 +0000 (16:09 +0000)]
fix markup glitch

18 years agoFix a warning on ppc (debian)
Neal Norwitz [Fri, 28 Apr 2006 05:28:54 +0000 (05:28 +0000)]
Fix a warning on ppc (debian)

18 years agoFix a warning on alpha
Neal Norwitz [Fri, 28 Apr 2006 05:28:30 +0000 (05:28 +0000)]
Fix a warning on alpha

18 years agoFix some warnings on Mac OS X 10.4
Neal Norwitz [Fri, 28 Apr 2006 05:28:05 +0000 (05:28 +0000)]
Fix some warnings on Mac OS X 10.4

18 years agoTry to really fix the slow buildbots this time.
Neal Norwitz [Fri, 28 Apr 2006 04:34:43 +0000 (04:34 +0000)]
Try to really fix the slow buildbots this time.
Printing to stdout, doesn't mean the data was actually written.
It depends on the buffering, so we need to flush.  This will hopefully
really fix the buildbots getting killed due to no output on the slow bots.

18 years agoAdd some whitespace to be more consistent.
Neal Norwitz [Fri, 28 Apr 2006 04:32:20 +0000 (04:32 +0000)]
Add some whitespace to be more consistent.

18 years agoAdd more ignores of ImportWarnings; these are all just potential triggers
Thomas Wouters [Thu, 27 Apr 2006 23:41:27 +0000 (23:41 +0000)]
Add more ignores of ImportWarnings; these are all just potential triggers
(since they won't trigger if zlib is already sucessfully imported); they
were found by grepping .py files, instead of looking at warning output :)

18 years ago - Add new Warning class, ImportWarning
Thomas Wouters [Thu, 27 Apr 2006 23:13:20 +0000 (23:13 +0000)]
 - Add new Warning class, ImportWarning

 - Warn-raise ImportWarning when importing would have picked up a directory
   as package, if only it'd had an __init__.py. This swaps two tests (for
   case-ness and __init__-ness), but case-test is not really more expensive,
   and it's not in a speed-critical section.

 - Test for the new warning by importing a common non-package directory on
   sys.path: site-packages

 - In regrtest.py, silence warnings generated by the build-environment
   because Modules/ (which is added to sys.path for Setup-created modules)
   has 'zlib' and '_ctypes' directories without __init__.py's.

18 years agoAdded SVN access for Steven Bethard and Talin, for PEP updating.
David Goodger [Thu, 27 Apr 2006 22:53:05 +0000 (22:53 +0000)]
Added SVN access for Steven Bethard and Talin, for PEP updating.

18 years agoDo the small-memory run of big-meormy tests using a prime number, rather
Thomas Wouters [Thu, 27 Apr 2006 22:38:32 +0000 (22:38 +0000)]
Do the small-memory run of big-meormy tests using a prime number, rather
than a convenient power-of-2-and-multiple-of-5, so incorrect testing
algorithms fail more easily.

18 years agoSome style fixes and size-calculation fixes. Also do the small-memory run
Thomas Wouters [Thu, 27 Apr 2006 22:37:50 +0000 (22:37 +0000)]
Some style fixes and size-calculation fixes. Also do the small-memory run
using a prime number, rather than a convenient power-of-2-and-multiple-of-5,
so incorrect testing algorithms fail more easily.

18 years agoRerun the libffi configuration if any of the files used for that
Thomas Heller [Thu, 27 Apr 2006 15:50:42 +0000 (15:50 +0000)]
Rerun the libffi configuration if any of the files used for that
are newer then fficonfig.py.

18 years agoSome more size-estimate fixes, for large-list-tests.
Thomas Wouters [Thu, 27 Apr 2006 13:46:59 +0000 (13:46 +0000)]
Some more size-estimate fixes, for large-list-tests.

18 years agomarkup fix
George Yoshida [Thu, 27 Apr 2006 13:41:07 +0000 (13:41 +0000)]
markup fix

18 years agoMention the xmlrpclib.Error base class, which is used in one of the examples
Andrew M. Kuchling [Thu, 27 Apr 2006 12:42:54 +0000 (12:42 +0000)]
Mention the xmlrpclib.Error base class, which is used in one of the examples

18 years ago[Bug #1477140] Import Error base class
Andrew M. Kuchling [Thu, 27 Apr 2006 12:38:35 +0000 (12:38 +0000)]
[Bug #1477140] Import Error base class

18 years ago[Bug #1477102] Add necessary import to example
Andrew M. Kuchling [Thu, 27 Apr 2006 12:34:39 +0000 (12:34 +0000)]
[Bug #1477102] Add necessary import to example

This may be a useful style question for the docs -- should examples show
the necessary imports, or should it be assumed that the reader will
figure it out?  In the What's New, I'm not consistent but usually opt
for omitting the imports.

18 years agoBump document version
Andrew M. Kuchling [Thu, 27 Apr 2006 12:23:07 +0000 (12:23 +0000)]
Bump document version

18 years agoNow that 2.5a2 is out, revert to the current date
Andrew M. Kuchling [Thu, 27 Apr 2006 12:22:37 +0000 (12:22 +0000)]
Now that 2.5a2 is out, revert to the current date

18 years agoTagging for release of Python 2.5a2
Anthony Baxter [Thu, 27 Apr 2006 02:13:47 +0000 (02:13 +0000)]
Tagging for release of Python 2.5a2

18 years ago2.5a2 v2.5a2
Anthony Baxter [Thu, 27 Apr 2006 02:13:13 +0000 (02:13 +0000)]
2.5a2

18 years ago2.5a2
Anthony Baxter [Thu, 27 Apr 2006 02:11:24 +0000 (02:11 +0000)]
2.5a2

18 years agoadd missing word
Fred Drake [Thu, 27 Apr 2006 00:20:14 +0000 (00:20 +0000)]
add missing word

18 years ago- update version numbers in file names again, until we have a better way
Fred Drake [Thu, 27 Apr 2006 00:02:24 +0000 (00:02 +0000)]
- update version numbers in file names again, until we have a better way
- elaborate instructions for Cygwin support (closes SF #839709)

18 years agoone more place to use the current Python version
Fred Drake [Wed, 26 Apr 2006 23:40:32 +0000 (23:40 +0000)]
one more place to use the current Python version

18 years agoFix build on MIPS for libffi. I haven't tested this yet because I
Hye-Shik Chang [Wed, 26 Apr 2006 19:20:26 +0000 (19:20 +0000)]
Fix build on MIPS for libffi.  I haven't tested this yet because I
don't have an access on MIPS machines.  Will be tested by buildbot. :)

18 years agoSome more test-size-estimate fixes: test_append and test_insert trigger a
Thomas Wouters [Wed, 26 Apr 2006 19:14:46 +0000 (19:14 +0000)]
Some more test-size-estimate fixes: test_append and test_insert trigger a
list resize, which overallocates.

18 years agoAdd tests for += and *= on strings, and fix the memory-use estimate for the
Thomas Wouters [Wed, 26 Apr 2006 18:46:01 +0000 (18:46 +0000)]
Add tests for += and *= on strings, and fix the memory-use estimate for the
list.extend tests (they were estimating half the actual use.)

18 years agoUse GS- and bufferoverlowU.lib where appropriate, for AMD64.
Martin v. Löwis [Wed, 26 Apr 2006 17:19:44 +0000 (17:19 +0000)]
Use GS- and bufferoverlowU.lib where appropriate, for AMD64.

18 years agoWhitespace normalization.
Tim Peters [Wed, 26 Apr 2006 17:11:16 +0000 (17:11 +0000)]
Whitespace normalization.

18 years agoThe result of SF patch #1471578: big-memory tests for strings, lists and
Thomas Wouters [Wed, 26 Apr 2006 15:53:30 +0000 (15:53 +0000)]
The result of SF patch #1471578: big-memory tests for strings, lists and
tuples. Lots to be added, still, but this will give big-memory people
something to play with in 2.5 alpha 2, and hopefully get more people to
write these tests.

18 years agoAdd labels to all sections
Andrew M. Kuchling [Wed, 26 Apr 2006 12:23:39 +0000 (12:23 +0000)]
Add labels to all sections

18 years ago[Bug #1475080] Fix example
Andrew M. Kuchling [Wed, 26 Apr 2006 12:21:06 +0000 (12:21 +0000)]
[Bug #1475080] Fix example

18 years agoFix an error in the last contextlib.closing example
Nick Coghlan [Wed, 26 Apr 2006 11:50:04 +0000 (11:50 +0000)]
Fix an error in the last contextlib.closing example

18 years agoFix this test on Solaris. There can be embedded \r, so don't just replace
Neal Norwitz [Wed, 26 Apr 2006 06:26:12 +0000 (06:26 +0000)]
Fix this test on Solaris.  There can be embedded \r, so don't just replace
the one at the end.

18 years agoPatch from Aldo Cortesi (OpenBSD buildbot owner).
Neal Norwitz [Wed, 26 Apr 2006 05:34:03 +0000 (05:34 +0000)]
Patch from Aldo Cortesi (OpenBSD buildbot owner).

After the patch (45590) to add extra debug stats to the gc module, Python
was crashing on OpenBSD due to:
Fatal Python error: Interpreter not initialized (version mismatch?)

This seems to occur due to calling collect() when initialized (in pythonrun.c)
is set to 0.  Now, the import will occur in the init function which
shouldn't suffer this problem.

18 years agominor adjustment suggested by Peter Gephardt
Fred Drake [Wed, 26 Apr 2006 05:19:39 +0000 (05:19 +0000)]
minor adjustment suggested by Peter Gephardt

18 years agomarkup fixes, cleanup
Fred Drake [Wed, 26 Apr 2006 05:15:41 +0000 (05:15 +0000)]
markup fixes, cleanup

18 years agoRev 45706 renamed stuff in contextlib.py, but didn't rename
Tim Peters [Wed, 26 Apr 2006 01:15:53 +0000 (01:15 +0000)]
Rev 45706 renamed stuff in contextlib.py, but didn't rename
uses of it in test_with.py.  As a result, test_with has been skipped
(due to failing imports) on all buildbot boxes since.  Alas, that's
not a test failure -- you have to pay attention to the

    1 skip unexpected on PLATFORM:
        test_with

kinds of output at the ends of test runs to notice that this got
broken.

It's likely that more renaming in test_with.py would be desirable.

18 years agoImplement MvL's improvement on __context__ in Condition;
Guido van Rossum [Tue, 25 Apr 2006 20:12:45 +0000 (20:12 +0000)]
Implement MvL's improvement on __context__ in Condition;
this can just call __context__ on the underlying lock.
(The same change for Semaphore does *not* work!)

18 years agoFix compiler warnings on Darwin.
Thomas Heller [Tue, 25 Apr 2006 18:26:08 +0000 (18:26 +0000)]
Fix compiler warnings on Darwin.
Patch by Brett Canon, see
https://sourceforge.net/tracker/?func=detail&atid=532156&aid=1475959&group_id=71702

18 years agoDefine MAXPATHLEN to be at least PATH_MAX, if that's defined. Python uses
Thomas Wouters [Tue, 25 Apr 2006 15:29:46 +0000 (15:29 +0000)]
Define MAXPATHLEN to be at least PATH_MAX, if that's defined. Python uses
MAXPATHLEN-sized buffers for various output-buffers (like to realpath()),
and that's correct on BSD platforms, but not Linux (which uses PATH_MAX, and
does not define MAXPATHLEN.) Cursory googling suggests Linux is following a
newer standard than BSD, but in cases like this, who knows. Using the
greater of PATH_MAX and 1024 as a fallback for MAXPATHLEN seems to be the
most portable solution.

18 years agoFix SF bug #1476111: SystemError in socket sendto. The AF_INET6 and
Thomas Wouters [Tue, 25 Apr 2006 15:08:10 +0000 (15:08 +0000)]
Fix SF bug #1476111: SystemError in socket sendto. The AF_INET6 and
AF_PACKET cases in getsockaddrarg were missing their own checks for
tuple-ness of the address argument, which means a confusing SystemError was
raised by PyArg_ParseTuple instead.

18 years agominor tweak
George Yoshida [Tue, 25 Apr 2006 14:09:58 +0000 (14:09 +0000)]
minor tweak

18 years agoSF bug/patch #1433877: string parameter to ioctl not null terminated
Thomas Wouters [Tue, 25 Apr 2006 13:53:23 +0000 (13:53 +0000)]
SF bug/patch #1433877: string parameter to ioctl not null terminated

The new char-array used in ioctl calls wasn't explicitly NUL-terminated;
quite probably the cause for the test_pty failures on Solaris that we
circumvented earlier. (I wasn't able to reproduce it with this patch, but it
has been somewhat elusive to start with.)

18 years agoRework context terminology
Andrew M. Kuchling [Tue, 25 Apr 2006 12:47:25 +0000 (12:47 +0000)]
Rework context terminology

18 years agoAdd two items; easy_install is now off the table, though pkgutil still is
Andrew M. Kuchling [Tue, 25 Apr 2006 12:31:38 +0000 (12:31 +0000)]
Add two items; easy_install is now off the table, though pkgutil still is

18 years agoFix markup glitch in unittest docs. Will backport.
Thomas Wouters [Tue, 25 Apr 2006 12:28:56 +0000 (12:28 +0000)]
Fix markup glitch in unittest docs. Will backport.

18 years agoFix latex typo
Nick Coghlan [Tue, 25 Apr 2006 11:05:56 +0000 (11:05 +0000)]
Fix latex typo

18 years agoMove the PEP 343 documentation and implementation closer to the
Nick Coghlan [Tue, 25 Apr 2006 10:56:51 +0000 (10:56 +0000)]
Move the PEP 343 documentation and implementation closer to the
terminology in the alpha 1 documentation.

 - "context manager" reverts to its alpha 1 definition
 - the term "context specifier" goes away entirely
 - contextlib.GeneratorContextManager is renamed GeneratorContext

There are still a number of changes relative to alpha 1:

  - the expression in the with statement is explicitly called the
    "context expression" in the language reference
  - the terms 'with statement context', 'context object' or 'with
    statement context' are used in several places instead of a bare
    'context'. The aim of this is to avoid ambiguity in relation to the
    runtime context set up when the block is executed, and the context
    objects that already exist in various application domains (such as
    decimal.Context)
  - contextlib.contextmanager is renamed to contextfactory
    This best reflects the nature of the function resulting from the
    use of that decorator
  - decimal.ContextManager is renamed to WithStatementContext
    Simple dropping the 'Manager' part wasn't possible due to the
    fact that decimal.Context already exists and means something
    different. WithStatementContext is ugly but workable.

A technically unrelated change snuck into this commit:
contextlib.closing now avoids the overhead of creating a
generator, since it's trivial to implement that particular
context manager directly.

18 years agoRevert previous change, SKIP had a versionadded elsewhere
Neal Norwitz [Tue, 25 Apr 2006 05:49:42 +0000 (05:49 +0000)]
Revert previous change, SKIP had a versionadded elsewhere

18 years agoRestore Walters name
Neal Norwitz [Tue, 25 Apr 2006 05:05:03 +0000 (05:05 +0000)]
Restore Walters name

18 years agoversionadded for SKIP
Neal Norwitz [Tue, 25 Apr 2006 05:04:35 +0000 (05:04 +0000)]
versionadded for SKIP

18 years agoPatch #1475231: add a new SKIP doctest option, thanks to
Tim Peters [Tue, 25 Apr 2006 03:31:36 +0000 (03:31 +0000)]
Patch #1475231:  add a new SKIP doctest option, thanks to
Edward Loper.

18 years agoPut break at correct level so *all* root HKEYs acutally get checked for
Trent Mick [Tue, 25 Apr 2006 00:34:50 +0000 (00:34 +0000)]
Put break at correct level so *all* root HKEYs acutally get checked for
an installed VC6. Otherwise only the first such tree gets checked and this
warning doesn't get displayed.

18 years agoWhitespace normalization.
Tim Peters [Mon, 24 Apr 2006 22:45:13 +0000 (22:45 +0000)]
Whitespace normalization.

18 years agoRevert addition of setuptools
Phillip J. Eby [Mon, 24 Apr 2006 20:53:13 +0000 (20:53 +0000)]
Revert addition of setuptools

18 years agoEdits, using the new term
Andrew M. Kuchling [Mon, 24 Apr 2006 14:30:47 +0000 (14:30 +0000)]
Edits, using the new term
'context specifier' in a few places

18 years agoStop test_tcl's testLoadTk from leaking the Tk commands 'loadtk' registers.
Thomas Wouters [Mon, 24 Apr 2006 11:37:13 +0000 (11:37 +0000)]
Stop test_tcl's testLoadTk from leaking the Tk commands 'loadtk' registers.

18 years agoMore reliable version of new command line tests that just checks the exit codes
Nick Coghlan [Mon, 24 Apr 2006 05:52:15 +0000 (05:52 +0000)]
More reliable version of new command line tests that just checks the exit codes

18 years agoBack out new command line tests (broke buildbot)
Nick Coghlan [Mon, 24 Apr 2006 05:24:26 +0000 (05:24 +0000)]
Back out new command line tests (broke buildbot)

18 years agoFix broken contextlib test from last checkin (I'd've sworn I tested that before check...
Nick Coghlan [Mon, 24 Apr 2006 04:59:28 +0000 (04:59 +0000)]
Fix broken contextlib test from last checkin (I'd've sworn I tested that before checking it in. . .)

18 years agoFix contextlib.nested to cope with exit methods raising and handling exceptions
Nick Coghlan [Mon, 24 Apr 2006 04:37:15 +0000 (04:37 +0000)]
Fix contextlib.nested to cope with exit methods raising and handling exceptions

18 years agoAdd unit tests for the -m and -c command line switches
Nick Coghlan [Mon, 24 Apr 2006 04:32:47 +0000 (04:32 +0000)]
Add unit tests for the -m and -c command line switches

18 years agoChange PEP 343 related documentation to use the term context specifier instead of...
Nick Coghlan [Mon, 24 Apr 2006 04:17:02 +0000 (04:17 +0000)]
Change PEP 343 related documentation to use the term context specifier instead of context object

18 years agoNote changes made to PEP 343 related documentation
Nick Coghlan [Mon, 24 Apr 2006 03:04:43 +0000 (03:04 +0000)]
Note changes made to PEP 343 related documentation

18 years agoBug #1337990: clarified that `doctest` does not support examples
Tim Peters [Mon, 24 Apr 2006 02:03:16 +0000 (02:03 +0000)]
Bug #1337990: clarified that `doctest` does not support examples
requiring both expected output and an exception.

I'll backport to 2.4 next.

18 years agoAdd two items
Andrew M. Kuchling [Sun, 23 Apr 2006 21:51:10 +0000 (21:51 +0000)]
Add two items

18 years agoEdits to the PEP 343 section
Andrew M. Kuchling [Sun, 23 Apr 2006 21:01:04 +0000 (21:01 +0000)]
Edits to the PEP 343 section

18 years agocorrect example
Skip Montanaro [Sun, 23 Apr 2006 19:32:14 +0000 (19:32 +0000)]
correct example