]> granicus.if.org Git - python/log
python
22 years agoAdd an entry for pdb's new `pp' command.
Barry Warsaw [Tue, 5 Nov 2002 22:41:33 +0000 (22:41 +0000)]
Add an entry for pdb's new `pp' command.

22 years agoDocument the new `pp' command.
Barry Warsaw [Tue, 5 Nov 2002 22:41:16 +0000 (22:41 +0000)]
Document the new `pp' command.

22 years agoImplement a `pp' command, which is like `p' except that it
Barry Warsaw [Tue, 5 Nov 2002 22:40:20 +0000 (22:40 +0000)]
Implement a `pp' command, which is like `p' except that it
pretty-prints the value of its expression argument.

22 years agoFix minor typos
Neal Norwitz [Tue, 5 Nov 2002 22:37:58 +0000 (22:37 +0000)]
Fix minor typos

22 years agoMinor cleanups, markup.
Fred Drake [Tue, 5 Nov 2002 22:19:45 +0000 (22:19 +0000)]
Minor cleanups, markup.

22 years agoDocument that images go away when they go away. Fixes #632323.
Martin v. Löwis [Tue, 5 Nov 2002 22:11:50 +0000 (22:11 +0000)]
Document that images go away when they go away. Fixes #632323.

22 years agoparse(), _parseheaders(), _parsebody(): A fix for SF bug #633527,
Barry Warsaw [Tue, 5 Nov 2002 21:44:06 +0000 (21:44 +0000)]
parse(), _parseheaders(), _parsebody(): A fix for SF bug #633527,
where in lax parsing, the first non-header line after a header block
(e.g. the first line not containing a colon, and not a continuation),
can be treated as the first body line, even without the RFC mandated
blank line separator.

rfc822 had this behavior, and I vaguely remember problems with this,
but can't remember details.  In any event, all the tests still pass,
so I guess we'll find out. ;/

This patch works by returning the non-header, non-continuation line
from _parseheader() and using that as the first header line prepended
to fp.read() if given.  It's usually None.

We use this approach instead of trying to seek/tell the file-like
object.

22 years agotest_no_separating_blank_line(): A test for SF bug #633527, no
Barry Warsaw [Tue, 5 Nov 2002 21:36:17 +0000 (21:36 +0000)]
test_no_separating_blank_line(): A test for SF bug #633527, no
separating blank line between a header block and body text.

Tests both lax and strict parsing.

22 years agoA message with no separating blank line between the headers and the
Barry Warsaw [Tue, 5 Nov 2002 21:29:47 +0000 (21:29 +0000)]
A message with no separating blank line between the headers and the
body.  A test message for SF bug #633527.

22 years agotest_text_plain_in_a_multipart_digest(): A test of the fix for SF bug
Barry Warsaw [Tue, 5 Nov 2002 21:04:52 +0000 (21:04 +0000)]
test_text_plain_in_a_multipart_digest(): A test of the fix for SF bug
#631350, where a subobject in a multipart/digest isn't a
message/rfc822.

22 years ago_parsebody(): A fix for SF bug #631350, where a subobject in a
Barry Warsaw [Tue, 5 Nov 2002 20:54:37 +0000 (20:54 +0000)]
_parsebody(): A fix for SF bug #631350, where a subobject in a
multipart/digest isn't a message/rfc822.  This is legal, but counter
to recommended practice in RFC 2046, $5.1.5.

The fix is to look at the content type after setting the default
content type.  If the maintype is then message or multipart, attach
the parsed subobject, otherwise use set_payload() to set the data of
the other object.

22 years agoTest case, distilled from SF bug #631350, where a subobject in a
Barry Warsaw [Tue, 5 Nov 2002 20:53:18 +0000 (20:53 +0000)]
Test case, distilled from SF bug #631350, where a subobject in a
multipart/digest isn't a message/rfc822.  This is legal, but counter
to recommended practice in RFC 2046, $5.1.5.

22 years agoAnother round on SF patch 618135: gzip.py and files > 2G
Tim Peters [Tue, 5 Nov 2002 20:38:55 +0000 (20:38 +0000)]
Another round on SF patch 618135: gzip.py and files > 2G
The last round boosted "the limit" from 2GB to 4GB.  This round gets
rid of the 4GB limit.  For files > 4GB, gzip stores just the last 32
bits of the file size, and now we play along with that too.  Tested
by hand (on a 6+GB file) on Win2K.

Boosting from 2GB to 4GB was arguably enough "a bugfix".  Going beyond
that smells more like "new feature" to me.

22 years agoRepair inconsistent use of tabs and spaces.
Jeremy Hylton [Tue, 5 Nov 2002 20:27:17 +0000 (20:27 +0000)]
Repair inconsistent use of tabs and spaces.

22 years agoRemove use of string module and reflow a couple of long lines.
Jeremy Hylton [Tue, 5 Nov 2002 20:11:08 +0000 (20:11 +0000)]
Remove use of string module and reflow a couple of long lines.

22 years agoBump __version__ (yes, to 2.5 "minus")
Barry Warsaw [Tue, 5 Nov 2002 19:56:47 +0000 (19:56 +0000)]
Bump __version__ (yes, to 2.5 "minus")

22 years agoJason Mastaler's patch to break the dependence on rfc822.py for the
Barry Warsaw [Tue, 5 Nov 2002 19:54:52 +0000 (19:54 +0000)]
Jason Mastaler's patch to break the dependence on rfc822.py for the
address parsing routines.  Closes SF patch #613434.

22 years ago* bzmodule.c
Gustavo Niemeyer [Tue, 5 Nov 2002 18:41:53 +0000 (18:41 +0000)]
* bzmodule.c
  More fixes of XDECREF'd values not initialized.

22 years agoFix an old bug in poll(). When a signal is handled while we're
Guido van Rossum [Tue, 5 Nov 2002 18:41:20 +0000 (18:41 +0000)]
Fix an old bug in poll().  When a signal is handled while we're
blocked in select(), this will raise select.error with errno set to
EINTR.  The except clauses correctly ignores this error, but the rest
of the logic will then call read() for all objects in select's *input*
list of read file descriptors.  Then when an object's read_handler()
is naive, it will call recv() on its socket, which will raise an
IOError, and then asyncore decides to close the socket.  To fix this,
we simply return in this case.

Backport candidate.

22 years agoFix SF #633935, test_bz2 fails
Neal Norwitz [Tue, 5 Nov 2002 18:17:32 +0000 (18:17 +0000)]
Fix SF #633935, test_bz2 fails

Needed to init ret since it was Py_XDECREF()d on error.
All regressions pass in debug build for me.

22 years agoUse PyList_CheckExact and PyTuple_CheckExact for checking whether
Michael W. Hudson [Tue, 5 Nov 2002 18:05:49 +0000 (18:05 +0000)]
Use PyList_CheckExact and PyTuple_CheckExact for checking whether
PySequence_Fast needs to do anything siginificant.

22 years agoFix a few minor nits. Still need to actually proofread this.
Fred Drake [Tue, 5 Nov 2002 17:54:02 +0000 (17:54 +0000)]
Fix a few minor nits.  Still need to actually proofread this.

22 years agoThis is Alex Martelli's patch
Michael W. Hudson [Tue, 5 Nov 2002 17:38:05 +0000 (17:38 +0000)]
This is Alex Martelli's patch

[ 633870 ] allow any seq assignment to a list slice

plus a very silly little test case of my own.

22 years agoFix minor markup nits.
Fred Drake [Tue, 5 Nov 2002 16:52:50 +0000 (16:52 +0000)]
Fix minor markup nits.

22 years agoPatch implementing bz2 module.
Gustavo Niemeyer [Tue, 5 Nov 2002 16:50:05 +0000 (16:50 +0000)]
Patch implementing bz2 module.

* setup.py
  (PyBuildExt.detect_modules): Included bz2 module detection.

* Modules/bz2module.c
* Lib/test/test_bz2.py
* Doc/lib/libbz2.tex
  Included files implementing, testing, and documenting bz2 module.

* Doc/Makefile.deps
* Doc/lib/lib.tex
  Include references to libbz2.tex.

* Misc/NEWS
  (Library): Mention distutils' c++ linkage patch, and new bz2 module.

22 years agoThis patch fixes the following bugs:
Gustavo Niemeyer [Tue, 5 Nov 2002 16:12:02 +0000 (16:12 +0000)]
This patch fixes the following bugs:

[#413582] g++ must be called for c++ extensions
[#454030] distutils cannot link C++ code with GCC

topdir = "Lib/distutils"

* bcppcompiler.py
  (BCPPCompiler.create_static_lib): Fixed prototype, removing extra_preargs
  and extra_postargs parameters. Included target_lang parameter.
  (BCPPCompiler.link): Included target_lang parameter.

* msvccompiler.py
  (MSVCCompiler.create_static_lib): Fixed prototype, removing extra_preargs
  and extra_postargs parameters. Included target_lang parameter.
  (MSVCCompiler.link): Included target_lang parameter.

* ccompiler.py
  (CCompiler): New language_map and language_order attributes, used by
  CCompiler.detect_language().

  (CCompiler.detect_language): New method, will return the language of
  a given source, or list of sources. Individual source language is
  detected using the language_map dict. When mixed sources are used,
  language_order will stablish the language precedence.

  (CCompiler.create_static_lib, CCompiler.link, CCompiler.link_executable,
   CCompiler.link_shared_object, CCompiler.link_shared_lib):
  Inlcuded target_lang parameter.

* cygwinccompiler.py
  (CygwinCCompiler.link): Included target_lang parameter.

* emxccompiler.py
  (EMXCCompiler.link): Included target_lang parameter.

* mwerkscompiler.py
  (MWerksCompiler.link): Included target_lang parameter.

* extension.py
  (Extension.__init__): New 'language' parameter/attribute, initialized
  to None by default. If provided will overlap the automatic detection
  made by CCompiler.detect_language(), in build_ext command.

* sysconfig.py
  (customize_compiler): Check Makefile for CXX option, and also the
  environment variable CXX. Use the resulting value in the 'compiler_cxx'
  parameter of compiler.set_executables().

* unixccompiler.py
  (UnixCCompiler): Included 'compiler_cxx' in executables dict, defaulting
  to 'cc'.
  (UnixCCompiler.create_static_lib): Included target_lang parameter.
  (UnixCCompiler.link): Included target_lang parameter, and made
  linker command use compiler_cxx, if target_lang is 'c++'.

* command/build_ext.py
  (build_ext.build_extension): Pass new ext.language attribute
  to compiler.link_shared_object()'s target_lang parameter. If
  ext.language is not provided, detect language using
  compiler.detect_language(sources) instead.

* command/config.py
  (config._link): Pass already available lang parameter as target_lang
  parameter of compiler.link_executable().

22 years agoSome days, I think my comment of
Michael W. Hudson [Tue, 5 Nov 2002 15:28:51 +0000 (15:28 +0000)]
Some days, I think my comment of

/* this is harder to get right than you might think */

angered some God somewhere.  After noticing

    >>> range(5000000)[slice(96360, None, 439)]
    []

I found that my cute test for the slice being empty failed due to
overflow.  Fixed, and added simple test (not the above!).

22 years agoMust now give the basename - not including directories - of the
Thomas Heller [Tue, 5 Nov 2002 10:06:19 +0000 (10:06 +0000)]
Must now give the basename - not including directories - of the
install-script on the command line.

Recreated after recompilation of wininst.exe.

22 years agoSF 633560: tokenize.__all__ needs "generate_tokens"
Raymond Hettinger [Tue, 5 Nov 2002 06:06:02 +0000 (06:06 +0000)]
SF 633560:  tokenize.__all__ needs "generate_tokens"

22 years agoThis stopped working on Windows, due to a reference to the non-existent
Tim Peters [Tue, 5 Nov 2002 03:49:09 +0000 (03:49 +0000)]
This stopped working on Windows, due to a reference to the non-existent
_locale.getdefaultlocale.  Guessing a leading underscore was intended,
but don't really understood this stuff (locale looks like Spanish for
the opposite of global to me <wink>).

22 years agoUse personal e-mail address; update date; various small edits; add a name to acks
Andrew M. Kuchling [Tue, 5 Nov 2002 00:26:33 +0000 (00:26 +0000)]
Use personal e-mail address; update date; various small edits; add a name to acks

22 years agoSet breakpoints on remote debugger
Chui Tey [Mon, 4 Nov 2002 23:39:45 +0000 (23:39 +0000)]
Set breakpoints on remote debugger

22 years agoSF #633013, Fix NIS causing interpreter core dump
Neal Norwitz [Mon, 4 Nov 2002 23:21:09 +0000 (23:21 +0000)]
SF #633013, Fix NIS causing interpreter core dump

Prevent the lengths passed to PyString_FromStringAndSize()
from being negative in some cases.

22 years agoTidied up widget placement
Chui Tey [Mon, 4 Nov 2002 23:07:51 +0000 (23:07 +0000)]
Tidied up widget placement

22 years agoRecalls breakpoints set in a file
Chui Tey [Mon, 4 Nov 2002 22:14:54 +0000 (22:14 +0000)]
Recalls breakpoints set in a file

22 years agoUpdate config.h to pyconfig.h.
Fred Drake [Mon, 4 Nov 2002 20:49:45 +0000 (20:49 +0000)]
Update config.h to pyconfig.h.

22 years agoBring back the patch/bug count paragraph.
Andrew M. Kuchling [Mon, 4 Nov 2002 20:17:24 +0000 (20:17 +0000)]
Bring back the patch/bug count paragraph.
Correct source of *strip() changes
Small rewrites.

22 years agoMention distutil changes
Andrew M. Kuchling [Mon, 4 Nov 2002 20:05:10 +0000 (20:05 +0000)]
Mention distutil changes

22 years ago[Patch #588809] LDFLAGS support for build_ext.py, from Robert Weber
Andrew M. Kuchling [Mon, 4 Nov 2002 19:53:24 +0000 (19:53 +0000)]
[Patch #588809] LDFLAGS support for build_ext.py, from Robert Weber

customize_compiler() now looks at various environment variables and uses
   their values to override the configured C compiler/preprocessor/linker
   binary and flags.

22 years agoRelated to SF patch 618135: gzip.py and files > 2G.
Tim Peters [Mon, 4 Nov 2002 19:50:11 +0000 (19:50 +0000)]
Related to SF patch 618135: gzip.py and files > 2G.
Fixed the signed/unsigned confusions when dealing with files >= 2GB.
4GB is still a hard limitation of the gzip file format, though.

Testing this was a bitch on Win98SE due to frequent system freezes.  It
didn't freeze while running gzip, it kept freezing while trying to *create*
a > 2GB test file!  This wasn't Python's doing.  I don't know of a
reasonable way to test this functionality in regrtest.py, so I'm not
checking in a test case (a test case would necessarily require creating
a 2GB+ file first, using gzip to zip it, using gzip to unzip it again,
and then compare before-and-after; so >4GB free space would be required,
and a loooong time; I did all this "by hand" once).

Bugfix candidate, I guess.

22 years ago[Patch #588809] Remove check of environment variables; sysconfig.py will do that now
Andrew M. Kuchling [Mon, 4 Nov 2002 19:50:03 +0000 (19:50 +0000)]
[Patch #588809] Remove check of environment variables; sysconfig.py will do that now

22 years agoDocument symbolic constants for commands.
Martin v. Löwis [Mon, 4 Nov 2002 17:41:18 +0000 (17:41 +0000)]
Document symbolic constants for commands.

22 years agoPatch #625823: Add symbolic constants for more commands.
Martin v. Löwis [Mon, 4 Nov 2002 17:34:07 +0000 (17:34 +0000)]
Patch #625823: Add symbolic constants for more commands.

22 years agoThinking on comp.text.tex seems to be that it's better to override
Fred Drake [Mon, 4 Nov 2002 16:29:31 +0000 (16:29 +0000)]
Thinking on comp.text.tex seems to be that it's better to override
\@makefntext than \@footnotetext, so we'll do that instead.

22 years ago[Bug #620630] Flush stdout after logging every message. Without it,
Andrew M. Kuchling [Mon, 4 Nov 2002 14:27:43 +0000 (14:27 +0000)]
[Bug #620630] Flush stdout after logging every message.  Without it,
   when output is redirected to a file, compiler error messages show
   up before Distutils prints the command being invoked.

22 years agoAdd get_distutil_options(); future setup.py files can use this to check
Andrew M. Kuchling [Mon, 4 Nov 2002 13:45:15 +0000 (13:45 +0000)]
Add get_distutil_options(); future setup.py files can use this to check
   whether the Distutils being used supports a particularly capability.

   (This idea was originally suggested by Juergen Hermann as a method
    on the Distribution class.  I think it makes more sense as a
    function in core.py, and that's what this patch implements.)

22 years ago[Bug #570655] Fix misleading option text
Andrew M. Kuchling [Mon, 4 Nov 2002 13:33:07 +0000 (13:33 +0000)]
[Bug #570655] Fix misleading option text

22 years agoPatch #630829: Don't block on IAC, process suboptions.
Martin v. Löwis [Mon, 4 Nov 2002 09:56:00 +0000 (09:56 +0000)]
Patch #630829: Don't block on IAC, process suboptions.

22 years ago[ 629984 ] Smaller font sizes not supported
Chui Tey [Mon, 4 Nov 2002 03:17:45 +0000 (03:17 +0000)]
[ 629984 ] Smaller font sizes not supported

22 years ago619127: Recent File Menu Not Updating
Chui Tey [Mon, 4 Nov 2002 03:11:10 +0000 (03:11 +0000)]
619127: Recent File Menu Not Updating

22 years agoAdd getpreferredencoding. Support @euro modifiers. Fixes #554676.
Martin v. Löwis [Sun, 3 Nov 2002 17:20:12 +0000 (17:20 +0000)]
Add getpreferredencoding. Support @euro modifiers. Fixes #554676.
The @euro part is backported to 2.2.3.

22 years agoFix SF #632864, Typo string instead of sting in LibDoc. Will backport.
Neal Norwitz [Sun, 3 Nov 2002 13:13:20 +0000 (13:13 +0000)]
Fix SF #632864, Typo string instead of sting in LibDoc.  Will backport.

22 years agoFix SF # 518775, buffer object API description truncated
Neal Norwitz [Sun, 3 Nov 2002 02:56:27 +0000 (02:56 +0000)]
Fix SF # 518775, buffer object API description truncated

22 years agoFix SF # 631066, running regrtest in user mode fails
Neal Norwitz [Sun, 3 Nov 2002 00:35:53 +0000 (00:35 +0000)]
Fix SF # 631066, running regrtest in user mode fails

Try to write to TESTFN, if that fails, try TESTFN in /tmp
If that fails, print a warning and go on.
Will backport.

22 years agoFix SF #618146, overflow error in calendar module
Neal Norwitz [Sun, 3 Nov 2002 00:13:42 +0000 (00:13 +0000)]
Fix SF #618146, overflow error in calendar module
Will backport.

22 years agoAdd "select all" by clicking on (0,0) cell.
Guido van Rossum [Sat, 2 Nov 2002 22:18:46 +0000 (22:18 +0000)]
Add "select all" by clicking on (0,0) cell.
Redo setting the selection and setting the beacon to deal better
with rows or columns -- these are now expressed by range (1, sys.maxint).

22 years agoFix SF # 551504, python -v sometimes fails to find init (HPUX)
Neal Norwitz [Sat, 2 Nov 2002 20:58:05 +0000 (20:58 +0000)]
Fix SF # 551504, python -v sometimes fails to find init (HPUX)

Joseph Winston recommends removing DYNAMIC_PATH, since it can
cause some dynamic libraries to not load on HP-UX 11.

22 years agoFix compiler warning on HP-UX.
Neal Norwitz [Sat, 2 Nov 2002 20:43:25 +0000 (20:43 +0000)]
Fix compiler warning on HP-UX.
Cast param to isalnum() to int.

22 years agoUse O_NONBLOCK rather than O_NDELAY, so we get POSIX non-blocking I/O.
Neal Norwitz [Sat, 2 Nov 2002 19:55:21 +0000 (19:55 +0000)]
Use O_NONBLOCK rather than O_NDELAY, so we get POSIX non-blocking I/O.

On HPUX, Solaris, Tru64 (Dec UNIX), and IRIX (I think),
O_NONBLOCK is the POSIX version of non-blocking I/O
which is what we want.

On Linux and FreeBSD (at least), O_NONBLOCK and O_NDELAY are the same.
So this change should have no negative effect on those platforms.

Tested on Linux, Solaris, HPUX.

Thanks to Anders Qvist for diagnosing this problem.

22 years agoSkip test_dbm if we can't write to the file
Neal Norwitz [Sat, 2 Nov 2002 18:25:08 +0000 (18:25 +0000)]
Skip test_dbm if we can't write to the file
Cleanup (remove) the file(s) after we are done with the test.
(Fixes problem on snake farm)

22 years agoFix SF #632624, test_resource failure on alpha/64bit
Neal Norwitz [Sat, 2 Nov 2002 17:46:24 +0000 (17:46 +0000)]
Fix SF #632624, test_resource failure on alpha/64bit
Return PyLongs instead ot PyInts.
On alphas, 9223372036854775807 became -1.

22 years agoRemove extra argument in mknod. Fixes #632628.
Martin v. Löwis [Sat, 2 Nov 2002 17:42:33 +0000 (17:42 +0000)]
Remove extra argument in mknod. Fixes #632628.

22 years agoNeed to quote test for posix_threads on HPUX11
Neal Norwitz [Sat, 2 Nov 2002 16:58:05 +0000 (16:58 +0000)]
Need to quote test for posix_threads on HPUX11

22 years agoMove introductory sentence to where it belongs.
Walter Dörwald [Sat, 2 Nov 2002 13:32:07 +0000 (13:32 +0000)]
Move introductory sentence to where it belongs.

22 years agoAdd ESC key binding -- undo current cell editing.
Guido van Rossum [Sat, 2 Nov 2002 06:50:05 +0000 (06:50 +0000)]
Add ESC key binding -- undo current cell editing.

22 years agoMajor breakthrough in selection -- drag-select multiple cells now
Guido van Rossum [Sat, 2 Nov 2002 06:25:51 +0000 (06:25 +0000)]
Major breakthrough in selection -- drag-select multiple cells now
works.  Also row and column selection works (sort of).  The DEL
key deletes the selected rectangle.  sys.argv[1] used by test_gui().

22 years agoCorrect erroneous parenthesis placement in the delta from 1.63 to 1.64.
Raymond Hettinger [Sat, 2 Nov 2002 02:02:46 +0000 (02:02 +0000)]
Correct erroneous parenthesis placement in the delta from 1.63 to 1.64.

22 years agoUpdate example for the type() function to use the currently accepted
Fred Drake [Fri, 1 Nov 2002 21:33:44 +0000 (21:33 +0000)]
Update example for the type() function to use the currently accepted
preference of using "is" instead of "==" to compare types, use
built-in names where available, and point to the isinstance()
function.
Closes SF bug #632196.

22 years agoPatch #631972: Adds an is_jython flag.
Finn Bock [Fri, 1 Nov 2002 18:02:03 +0000 (18:02 +0000)]
Patch #631972: Adds an is_jython flag.

22 years agopatch #624180 (part 2 of 2):
Fredrik Lundh [Fri, 1 Nov 2002 17:14:16 +0000 (17:14 +0000)]
patch #624180 (part 2 of 2):

use unquote on authentication strings, to allow users to embed
@ and : in user names and passwords (from Phillip Eby)

22 years ago[SF bug 631713] use the import exeption message in the TestFailed
Finn Bock [Fri, 1 Nov 2002 11:33:00 +0000 (11:33 +0000)]
[SF bug 631713] use the import exeption message in the TestFailed
exception.

22 years agoDefine abstract way to get the normal and smaller font sizes that work
Fred Drake [Thu, 31 Oct 2002 21:04:34 +0000 (21:04 +0000)]
Define abstract way to get the normal and smaller font sizes that work
even in the footnote context.

22 years agoAdd a missing % to a Windows-style environment variable expression.
Fred Drake [Thu, 31 Oct 2002 20:46:20 +0000 (20:46 +0000)]
Add a missing % to a Windows-style environment variable expression.
Minor style guide compliance fix.
Several markup fixes.

22 years agoAd test_funky_hyphens() to test some screwy edge cases reported in SF
Greg Ward [Thu, 31 Oct 2002 16:11:18 +0000 (16:11 +0000)]
Ad test_funky_hyphens() to test some screwy edge cases reported in SF
bug #596434.  (Alas, I don't think this completely covers that bug.)

Remove 'wrapper' argument from BaseTestCase.check_split() -- it's not
actually needed.

22 years agoFixes SF bug#614051: win32 build_ext problem.
Thomas Heller [Thu, 31 Oct 2002 14:26:37 +0000 (14:26 +0000)]
Fixes SF bug#614051: win32 build_ext problem.

22 years agoCatch only ImportError
Andrew M. Kuchling [Thu, 31 Oct 2002 13:39:33 +0000 (13:39 +0000)]
Catch only ImportError

22 years agoAdd docstrings to register, lookup, register_error
Walter Dörwald [Thu, 31 Oct 2002 13:36:29 +0000 (13:36 +0000)]
Add docstrings to register, lookup, register_error
and lookup_error. This closes SF patch #630622.

22 years agoMake the Distribution() constructor forgiving of unknown keyword
Andrew M. Kuchling [Thu, 31 Oct 2002 13:22:41 +0000 (13:22 +0000)]
Make the Distribution() constructor forgiving of unknown keyword
arguments, triggering a warning instead of raising an exception.  (In
1.5.2/2.0, it will print to stderr.)

Bugfix candidate for all previous versions.  This changes behaviour,
but the old behaviour wasn't very useful.  If Distutils version X+1
adds a new keyword argument, using the new keyword means your setup.py
file won't work with Distutils version X any more.

22 years agoAdd a couple of comments about the use of \normalsize and
Fred Drake [Wed, 30 Oct 2002 22:20:27 +0000 (22:20 +0000)]
Add a couple of comments about the use of \normalsize and
\footnotesize.

22 years agoStill more magical <link> elements.
Fred Drake [Wed, 30 Oct 2002 21:51:18 +0000 (21:51 +0000)]
Still more magical <link> elements.

22 years agoHackish way to generate an up-<link> for the title page if we have
Fred Drake [Wed, 30 Oct 2002 21:38:32 +0000 (21:38 +0000)]
Hackish way to generate an up-<link> for the title page if we have
one.

Added misc. comments.

22 years agoMore <link> support for generated pages.
Fred Drake [Wed, 30 Oct 2002 21:32:40 +0000 (21:32 +0000)]
More <link> support for generated pages.

22 years agoTwo more <link> elements.
Fred Drake [Wed, 30 Oct 2002 21:29:50 +0000 (21:29 +0000)]
Two more <link> elements.

22 years agoAdd some relevant <link> elements.
Fred Drake [Wed, 30 Oct 2002 21:17:10 +0000 (21:17 +0000)]
Add some relevant <link> elements.

22 years agoUse personal e-mail address
Andrew M. Kuchling [Wed, 30 Oct 2002 21:08:34 +0000 (21:08 +0000)]
Use personal e-mail address

22 years agoMinor rearranging.
Fred Drake [Wed, 30 Oct 2002 19:55:23 +0000 (19:55 +0000)]
Minor rearranging.

22 years agoAdd notes to the asctime() and ctime() descriptions to make it
Fred Drake [Wed, 30 Oct 2002 18:17:03 +0000 (18:17 +0000)]
Add notes to the asctime() and ctime() descriptions to make it
explicit that locale information is not used.  There wasn't anything
that implied it was, but this has confused users.

22 years agoSprinkle with --favicon options.
Fred Drake [Wed, 30 Oct 2002 17:07:02 +0000 (17:07 +0000)]
Sprinkle with --favicon options.

22 years agoAdded support for --favicon.
Fred Drake [Wed, 30 Oct 2002 17:05:03 +0000 (17:05 +0000)]
Added support for --favicon.
Fix support for the Aesop Meta Type.

22 years agoAdded support for --favicon.
Fred Drake [Wed, 30 Oct 2002 17:02:21 +0000 (17:02 +0000)]
Added support for --favicon.

22 years agoAdd support for using a "favicon".
Fred Drake [Wed, 30 Oct 2002 17:00:58 +0000 (17:00 +0000)]
Add support for using a "favicon".

make_head_and_body():  Re-arranged to do (slightly) less work for each page.

22 years agoMake use of the new "favicon" image.
Fred Drake [Wed, 30 Oct 2002 16:54:54 +0000 (16:54 +0000)]
Make use of the new "favicon" image.

22 years agoAdded "favicon" image.
Fred Drake [Wed, 30 Oct 2002 16:54:12 +0000 (16:54 +0000)]
Added "favicon" image.

22 years agoAdded missing class to __all__.
Raymond Hettinger [Wed, 30 Oct 2002 06:20:37 +0000 (06:20 +0000)]
Added missing class to __all__.

22 years agoAdded __all__.
Raymond Hettinger [Wed, 30 Oct 2002 06:15:53 +0000 (06:15 +0000)]
Added __all__.

22 years agoAdded missing names to __all__.
Raymond Hettinger [Wed, 30 Oct 2002 06:09:58 +0000 (06:09 +0000)]
Added missing names to __all__.

22 years agoAdded new move() function to __all__.
Raymond Hettinger [Wed, 30 Oct 2002 05:44:50 +0000 (05:44 +0000)]
Added new move() function to __all__.

22 years agoSF bug 630824: pydoc Helper keywords missing 'yield'
Tim Peters [Wed, 30 Oct 2002 05:21:00 +0000 (05:21 +0000)]
SF bug 630824:  pydoc Helper keywords missing 'yield'
Wow, what a brittle subsystem!  Fixed, maybe, provided Fred doesn't
shuffle the docs around.

Bugfix candidate.

22 years agoPatrick K. O'Brien notices that kwlist was missing from __all__.
Raymond Hettinger [Wed, 30 Oct 2002 05:17:22 +0000 (05:17 +0000)]
Patrick K. O'Brien notices that kwlist was missing from __all__.
Added because it is part of the documented interface.

22 years agoForward port of 1.12.14.3 (which has an incorrect log message):
Jack Jansen [Tue, 29 Oct 2002 22:48:43 +0000 (22:48 +0000)]
Forward port of 1.12.14.3 (which has an incorrect log message):
if SetDates() in touched() returns an error ignore it: the user may not have
permission to change the parent folder. This is a non-serious problem,
the only function of touched() is to speed up the finder seeing the
change.