]> granicus.if.org Git - python/log
python
25 years agoturn SysPathImporter into PathImporter.
Greg Stein [Sat, 20 Nov 1999 12:31:07 +0000 (12:31 +0000)]
turn SysPathImporter into PathImporter.

25 years agoremove the __version__ global.
Greg Stein [Sat, 20 Nov 1999 11:39:56 +0000 (11:39 +0000)]
remove the __version__ global.

25 years agoonly put __path__ into package modules.
Greg Stein [Sat, 20 Nov 1999 11:39:00 +0000 (11:39 +0000)]
only put __path__ into package modules.

25 years agoshift code from DirectoryImporter out to a common area.
Greg Stein [Sat, 20 Nov 1999 11:22:37 +0000 (11:22 +0000)]
shift code from DirectoryImporter out to a common area.
remove use of "os" module (bootstrap issues) and go to the underlying
  platform-specific modules
fix problem in _compile() (trapped wrong error on permission issues)
add SysPathImporter and BuiltinImporter
put __file__ into modules imported from the filesystem. [backwards compat]
put __path__ into modules [backwards compat]
  oops: it is doing this for all modules, not just packages.
comment and tweak to the PackageArchiveImporter

25 years agoMoved all the imports to the top.
Fred Drake [Fri, 19 Nov 1999 21:57:56 +0000 (21:57 +0000)]
Moved all the imports to the top.

Use the methods on the AST object instead of module-level functions;
these have been implemented for a couple of versions now, and are
already used in the module documentation in preference to the
functions.

25 years agoSet the date and version to reflect the actual status, not the last
Fred Drake [Thu, 18 Nov 1999 20:57:36 +0000 (20:57 +0000)]
Set the date and version to reflect the actual status, not the last
released status.  Has to be changed just before publishing anyway.

25 years agoWhen generating the top-level index to the documents, make sure some
Fred Drake [Thu, 18 Nov 1999 20:56:29 +0000 (20:56 +0000)]
When generating the top-level index to the documents, make sure some
oddball things from the LaTeX get translated to rational values.  This
is mostly to keep things from looking broken in a development tree
when they're not.

25 years agoPatches by Kannan Vijayan:
Guido van Rossum [Thu, 18 Nov 1999 17:51:02 +0000 (17:51 +0000)]
Patches by Kannan Vijayan:

new:
readline.get_begidx() -> int
gets the beginning index in the command line string
delimiting the tab-completion scope.  This would
probably be used from within a tab-completion
handler

readline.get_endidx() -> int
gets the ending index in the command line string
delimiting the tab-completion scope.  This would
probably be used from within a tab-compeltion
handler

readline.set_completer_delims(string) -> None
sets the delimiters used by readline as word breakpoints
for tab-completion

readline.get_completer_delims() -> string
gets the delimiters used by readline as word breakpoints
for tab-completion

fixed:
readline.get_line_buffer() -> string
doesnt cause a debug message every other call

25 years agoRemoved last XXX comment; no further action needed on this one.
Fred Drake [Wed, 17 Nov 1999 16:09:57 +0000 (16:09 +0000)]
Removed last XXX comment; no further action needed on this one.

25 years agoComplete the integration of Sam Bayer's fixes.
Guido van Rossum [Wed, 17 Nov 1999 15:41:47 +0000 (15:41 +0000)]
Complete the integration of Sam Bayer's fixes.

25 years agoChanged fron importing wcnew back to webchecker.
Guido van Rossum [Wed, 17 Nov 1999 15:40:48 +0000 (15:40 +0000)]
Changed fron importing wcnew back to webchecker.

25 years agoIntegrated Sam Bayer's wcnew.py code. It seems silly to keep two
Guido van Rossum [Wed, 17 Nov 1999 15:40:08 +0000 (15:40 +0000)]
Integrated Sam Bayer's wcnew.py code.  It seems silly to keep two
files.  Removed Sam's "SLB" change comments; otherwise this is the
same as wcnew.py.

25 years ago# *NOT* by Sam Bayer: reindented to use 4 spaces like the rest here,
Guido van Rossum [Wed, 17 Nov 1999 15:13:21 +0000 (15:13 +0000)]
# *NOT* by Sam Bayer: reindented to use 4 spaces like the rest here,
# and removed trailing whitespace.

25 years agoSamuel L. Bayer:
Guido van Rossum [Wed, 17 Nov 1999 15:04:26 +0000 (15:04 +0000)]
Samuel L. Bayer:

- same trick with "import wcnew; webchecker = wcnew" as above
- updated readhtml() method to handle pair representation; used
  new name suppression infrastructure from wcnew.py to suppress
  processing name anchors

[And untabified --GvR]

25 years agoSamuel L. Bayer:
Guido van Rossum [Wed, 17 Nov 1999 15:03:52 +0000 (15:03 +0000)]
Samuel L. Bayer:

- added -t and -a arguments
- added "import wcnew; webchecker = wcnew" in place of "import
  webchecker" (I assume that if you're happy with the changes, you'll
  just replace webchecker.py with wcnew.py, but if I were to do that,
  the diffs would be incomprehensible)
- fixed buggy -v argument (I think you got out of sync with the
  way verbosity was handled in webchecker vs. wcgui between 1.5 and
  1.5.2)
- made -v actually do something by adding a call to c.setflags()
  (probably the same problem as above)
- updated references to URLs to accommodate wcnew.py's pair
  representation; added appropriate calls to format_url() to handle
  display; added argument to ListPanel() initialization to provide
  access to format_url()

[And untabified --GvR]

25 years agoSamuel L. Bayer:
Guido van Rossum [Wed, 17 Nov 1999 15:02:53 +0000 (15:02 +0000)]
Samuel L. Bayer:

- same fixes from webchecker.py
- incorporated small diff between current webchecker.py and 1.5.2
- fixed bug where "extra roots" added with the -t argument were being
  checked as real roots, not just as possible continuations
- added -a argument to suppress checking of name anchors

[And untabified --GvR]

25 years agoSamuel L. Bayer:
Guido van Rossum [Wed, 17 Nov 1999 15:00:14 +0000 (15:00 +0000)]
Samuel L. Bayer:

- forced new done origins to set errors if they're in self.bad (fixes
  bug where only the first of a number of errorful references to a
  link is reported under some circumstances)
- suppressed adding duplicates to self.todo list (cleans up printout
  in wcgui details)

25 years agoMoshe Zadka writes: When deploying SimpleHTTPServer, I noticed a
Guido van Rossum [Tue, 16 Nov 1999 19:04:32 +0000 (19:04 +0000)]
Moshe Zadka writes: When deploying SimpleHTTPServer, I noticed a
problem: it does not encode/decode the urls, which is wrong.

25 years agoHint for C++ users on AIX by Gary Duzan added.
Guido van Rossum [Tue, 16 Nov 1999 16:03:03 +0000 (16:03 +0000)]
Hint for C++ users on AIX by Gary Duzan added.

25 years agoThe 'test' target ought to depend on 'all', not just on python$(EXE)
Guido van Rossum [Tue, 16 Nov 1999 15:58:32 +0000 (15:58 +0000)]
The 'test' target ought to depend on 'all', not just on python$(EXE)
-- otherwise shared libraries might not be rebuilt.

25 years agoPatch by Vladimir Marangozov, inspired by a bug report from Gary
Guido van Rossum [Tue, 16 Nov 1999 15:57:37 +0000 (15:57 +0000)]
Patch by Vladimir Marangozov, inspired by a bug report from Gary
Duzan, for AIX, to support C++ objects with static initializers, when
using the genuine IBM C++ compiler (namely xlC/xlC_r).

See accompanying patches to acconfig.h and importdl.c.

25 years agoChanges resulting from patch to acconfig.h.
Guido van Rossum [Tue, 16 Nov 1999 15:55:56 +0000 (15:55 +0000)]
Changes resulting from patch to acconfig.h.

25 years agoPatch by Vladimir Marangozov, inspired by a bug report from Gary
Guido van Rossum [Tue, 16 Nov 1999 15:55:00 +0000 (15:55 +0000)]
Patch by Vladimir Marangozov, inspired by a bug report from Gary
Duzan, for AIX, to support C++ objects with static initializers, when
using the genuine IBM C++ compiler (namely xlC/xlC_r).

See accompanying patches to configure.in and importdl.c.

25 years agoPatch by Vladimir Marangozov, inspired by a bug report from Gary
Guido van Rossum [Tue, 16 Nov 1999 15:54:16 +0000 (15:54 +0000)]
Patch by Vladimir Marangozov, inspired by a bug report from Gary
Duzan, for AIX, to support C++ objects with static initializers, when
using the genuine IBM C++ compiler (namely xlC/xlC_r).

See accompanying patches to configure.in and acconfig.h.

25 years agoChange the last PyErr_Format %s format to %.400s.
Guido van Rossum [Mon, 15 Nov 1999 19:29:33 +0000 (19:29 +0000)]
Change the last PyErr_Format %s format to %.400s.

25 years agoPreliminary documentation for turtle module (Tk), by Moshe Zadka.
Fred Drake [Mon, 15 Nov 1999 17:03:41 +0000 (17:03 +0000)]
Preliminary documentation for turtle module (Tk), by Moshe Zadka.

Fixed up a few TeXisms and markup nits, but otherwise unchanged.
Somewhat raw.

25 years agoCorrect typo in module doc string doscovered by Jonathan Giddy.
Guido van Rossum [Mon, 15 Nov 1999 14:19:15 +0000 (14:19 +0000)]
Correct typo in module doc string doscovered by Jonathan Giddy.

25 years agoAdded request to please not send HTML email to the newsgroup/mailing
Fred Drake [Fri, 12 Nov 1999 17:20:40 +0000 (17:20 +0000)]
Added request to please not send HTML email to the newsgroup/mailing
list or to python-docs.

25 years agoDocument \citetitle and \programopt.
Fred Drake [Wed, 10 Nov 1999 22:51:18 +0000 (22:51 +0000)]
Document \citetitle and \programopt.

25 years agoUse \citetitle and \programopt as appropriate.
Fred Drake [Wed, 10 Nov 1999 16:21:37 +0000 (16:21 +0000)]
Use \citetitle and \programopt as appropriate.

25 years agoUse \citetitle as appropriate.
Fred Drake [Wed, 10 Nov 1999 16:13:25 +0000 (16:13 +0000)]
Use \citetitle as appropriate.

25 years agoUse \citetitle in several places, and \programopt where appropriate.
Fred Drake [Wed, 10 Nov 1999 16:01:43 +0000 (16:01 +0000)]
Use \citetitle in several places, and \programopt where appropriate.

25 years agoUse \citetitle in several places.
Fred Drake [Wed, 10 Nov 1999 15:54:57 +0000 (15:54 +0000)]
Use \citetitle in several places.

25 years agoUse \citetitle instead of \emph.
Fred Drake [Tue, 9 Nov 1999 20:11:17 +0000 (20:11 +0000)]
Use \citetitle instead of \emph.

25 years agoUse \citetitle in one place.
Fred Drake [Tue, 9 Nov 1999 20:10:01 +0000 (20:10 +0000)]
Use \citetitle in one place.

25 years agoUse the new markup as apporpriate.
Fred Drake [Tue, 9 Nov 1999 19:45:59 +0000 (19:45 +0000)]
Use the new markup as apporpriate.

25 years agoUse \programopt in one place.
Fred Drake [Tue, 9 Nov 1999 19:44:44 +0000 (19:44 +0000)]
Use \programopt in one place.

25 years agoAdded citetitle and programopt.
Fred Drake [Tue, 9 Nov 1999 19:33:24 +0000 (19:33 +0000)]
Added citetitle and programopt.

Made var get renamed to varname (more like DocBook).
Other names should probably be changed as well; still waiting for the
DocBook book to arrive.

25 years agoUse \programopt in one place.
Fred Drake [Tue, 9 Nov 1999 18:03:00 +0000 (18:03 +0000)]
Use \programopt in one place.

25 years agoMissed a couple of program options that had been marked by \code.
Fred Drake [Tue, 9 Nov 1999 17:31:42 +0000 (17:31 +0000)]
Missed a couple of program options that had been marked by \code.

25 years agoUse \programopt in one place.
Fred Drake [Tue, 9 Nov 1999 17:03:45 +0000 (17:03 +0000)]
Use \programopt in one place.

25 years agoUse \citetitle and \programopt as appropriate.
Fred Drake [Tue, 9 Nov 1999 17:03:03 +0000 (17:03 +0000)]
Use \citetitle and \programopt as appropriate.

25 years ago\programopt: New macro, used to mark command-line parameters in the
Fred Drake [Tue, 9 Nov 1999 17:02:11 +0000 (17:02 +0000)]
\programopt:  New macro, used to mark command-line parameters in the
              text.  Looks like \program.

\citetitle:   New macro, used to mark titles of cited works (like the
              names of the Python manuals).  Accepts & discards an
              optional parameter that is only used by the HTML
              formatter.  Looks like \emph.

25 years agodo_cmd_programopt(): New function, similar to do_cmd_program().
Fred Drake [Tue, 9 Nov 1999 16:59:42 +0000 (16:59 +0000)]
do_cmd_programopt():  New function, similar to do_cmd_program().

do_cmd_citetitle():  New function.  Extracts one optional and one
                     required parameter.  If the optional one is
                     provided, it is used a URL (or relative URL) and
                     the text of the required parameter is turned into
                     a hyperlink.

25 years agoOops. Remove some garbage from the doc string that was accidentally
Guido van Rossum [Tue, 9 Nov 1999 16:36:45 +0000 (16:36 +0000)]
Oops.  Remove some garbage from the doc string that was accidentally
checked in due to a patching mishap.  Reported by Detlef Lannert;
thanks!

25 years agoJack Jansen: Mac has no EINTR.
Guido van Rossum [Mon, 8 Nov 1999 15:32:27 +0000 (15:32 +0000)]
Jack Jansen: Mac has no EINTR.

25 years agoAdd some header comments to all the files.
Greg Stein [Sun, 7 Nov 1999 13:14:58 +0000 (13:14 +0000)]
Add some header comments to all the files.

25 years agoinitial checkin for my Python stuff.
Greg Stein [Sun, 7 Nov 1999 12:54:45 +0000 (12:54 +0000)]
initial checkin for my Python stuff.

25 years agoPatch by Dieter Maurer to make things work for Tcl/Tk 8.1. This
Guido van Rossum [Fri, 5 Nov 1999 18:11:23 +0000 (18:11 +0000)]
Patch by Dieter Maurer to make things work for Tcl/Tk 8.1.  This
simply moves the call to Tk_MainWindow() after the Tcl/Tk
initialization calls.  The patch is unconditional, it works with
earlier and later versions as well.

25 years agoPatch by Dieter Maurer to make things work for Tcl/Tk 8.1 (tested with
Guido van Rossum [Fri, 5 Nov 1999 18:09:56 +0000 (18:09 +0000)]
Patch by Dieter Maurer to make things work for Tcl/Tk 8.1 (tested with
8.1.1).  His approach doesn't work with Tcl/Tk 8.2, so I've placed it
inside #if TKMAJORMINOR == 8001 and #endif.  See also his patch for
tkappinit.c.

25 years agoAdded HAVE_LIMITS_H, MAVE_MEMMOVE, HAVE_STRERROR, HAVE_LOCALE_H
Jack Jansen [Fri, 5 Nov 1999 15:54:46 +0000 (15:54 +0000)]
Added HAVE_LIMITS_H, MAVE_MEMMOVE, HAVE_STRERROR, HAVE_LOCALE_H
since we have these in the current CW release (and probably already had them
quite some time, but never added the defines).

25 years agoChanges to ProgressBar:
Jack Jansen [Fri, 5 Nov 1999 15:53:10 +0000 (15:53 +0000)]
Changes to ProgressBar:
- Don't crash if max=0
- set() now has an optional max parameter, to set the maximum value.

25 years agoChecking in text versions of release forms and explanation.
Guido van Rossum [Fri, 5 Nov 1999 15:21:08 +0000 (15:21 +0000)]
Checking in text versions of release forms and explanation.

25 years agosplit() docstring: Made signature and description for the first
Fred Drake [Thu, 4 Nov 1999 19:19:48 +0000 (19:19 +0000)]
split() docstring:  Made signature and description for the first
                    parameter match.  Error pointed out by François
                    Pinard <pinard@iro.umontreal.ca> on c.l.py.

25 years agoBugfix by Jack Jansen for Macintosh (for the inet_ntoa/aton changes):
Guido van Rossum [Thu, 4 Nov 1999 18:22:29 +0000 (18:22 +0000)]
Bugfix by Jack Jansen for Macintosh (for the inet_ntoa/aton changes):

<arpa/inet.h> doesn't exist and isn't needed; and inet_addr() returns
a structure containing a long rather than a long.

25 years agoTypo fixed in docstring; removed unneccesary import. (jvr)
Just van Rossum [Thu, 4 Nov 1999 10:30:13 +0000 (10:30 +0000)]
Typo fixed in docstring; removed unneccesary import. (jvr)

25 years agoAdapted to new macmudulefinder.process() API. (jvr)
Just van Rossum [Thu, 4 Nov 1999 10:28:59 +0000 (10:28 +0000)]
Adapted to new macmudulefinder.process() API. (jvr)

25 years ago- changed the API of process() so it will return a list of missing modules instead...
Just van Rossum [Thu, 4 Nov 1999 10:28:00 +0000 (10:28 +0000)]
- changed the API of process() so it will return a list of missing modules instead of raising an exception.
- minor cleanups
(jvr)

25 years agoSeveral improvements, some of where were contributed by Bernhard
Barry Warsaw [Wed, 3 Nov 1999 18:47:52 +0000 (18:47 +0000)]
Several improvements, some of where were contributed by Bernhard
Herzog <herzog@online.de>.  Specifically,

--verbose/-v flag added

pot_header added to make msgmerge and Emacs po-mode work better

normalize(), escape(), safe_eval(): Improved normalization of strings
for more .po file compatibility (e.g. C style).  Handles emmbedded
newlines better.

Also added an identity function called _() and use it in the file
where messages are printed.  This allows us to selftest pygettext.py
with itself as input.

25 years agoPython equivalent of xgettext(1). This was originally released
Barry Warsaw [Wed, 3 Nov 1999 16:46:05 +0000 (16:46 +0000)]
Python equivalent of xgettext(1).  This was originally released
separately but now is included in the standard Python distribution.

25 years agoSjoerd Mullender writes:
Guido van Rossum [Wed, 3 Nov 1999 13:10:07 +0000 (13:10 +0000)]
Sjoerd Mullender writes:

I regularly find that pdb sets the breakpoint on the wrong line when I
try to set a breakpoint on a function.  This fixes the problem
somewhat.
The real problem is that pdb tries to parse the Python source code to
find the first executable line.  A better way might be to inspect the
code object, or even have a variable in the code object
co_firstexecutablelineno, but that's too much work.

The patch fixes the problem when the first code line after the def
statement contains the start *and* end of a triple-quoted string.  The
code assumed that the end of a triple-quoted string is not on the same
line as the start, and so it would skip to the end of the *next*
triple-quoted string.

25 years agoOops. spawnl() and spawnle() should be implemented on Windows too.
Guido van Rossum [Tue, 2 Nov 1999 20:44:07 +0000 (20:44 +0000)]
Oops.  spawnl() and spawnle() should be implemented on Windows too.

Also added a comment that the 'p' variants (spawnvp() etc.) are *not*
supported on Windows.  (They could be by adding them to posixmodule.c)

25 years agoFix a bug reported by Toby Dickenson (on 18 May 1999).
Guido van Rossum [Tue, 2 Nov 1999 15:46:44 +0000 (15:46 +0000)]
Fix a bug reported by Toby Dickenson (on 18 May 1999).
Sometimes there's no parent, so don't try to get its __name__.

25 years agoSjoerd Mullender:
Guido van Rossum [Tue, 2 Nov 1999 15:44:40 +0000 (15:44 +0000)]
Sjoerd Mullender:

Added some declarations to shut up compiler.

25 years agoCorrect typo in walk.__doc__ reported by Francois Pinard.
Guido van Rossum [Tue, 2 Nov 1999 13:29:08 +0000 (13:29 +0000)]
Correct typo in walk.__doc__ reported by Francois Pinard.

25 years agoChecking in a bunch of spawn functions. These are only defined if we
Guido van Rossum [Tue, 2 Nov 1999 13:27:32 +0000 (13:27 +0000)]
Checking in a bunch of spawn functions.  These are only defined if we
have fork and execv (and friends) but not spawnv.  They operate
exactly like the spawn functions on Windows.  A limited set of needed
constants is also defined (P_WAIT, P_NOWAIT etc.).

Also add getenv() as a familiar alias for environ.get().

25 years ago- windowbounds() now works with multiple screens (window position prefs!)
Just van Rossum [Sat, 30 Oct 1999 11:49:07 +0000 (11:49 +0000)]
- windowbounds() now works with multiple screens (window position prefs!)
- Minor tab behavior tweak
-- jvr

25 years agoVery minor little things... -- jvr
Just van Rossum [Sat, 30 Oct 1999 11:46:18 +0000 (11:46 +0000)]
Very minor little things... -- jvr

25 years agoNew __version__ number (1.0!) -- jvr
Just van Rossum [Sat, 30 Oct 1999 11:45:16 +0000 (11:45 +0000)]
New __version__ number (1.0!) -- jvr

25 years agoMinor indentation cleanup -- jvr
Just van Rossum [Sat, 30 Oct 1999 11:44:25 +0000 (11:44 +0000)]
Minor indentation cleanup -- jvr

25 years agoString values will now always be shown with quotes, so one can see the difference...
Just van Rossum [Sat, 30 Oct 1999 11:43:25 +0000 (11:43 +0000)]
String values will now always be shown with quotes, so one can see the difference between the value 2 and the value '2'. -- jvr

25 years agoChange the suggestions pointer at the bottom of generated HTML pages.
Fred Drake [Fri, 29 Oct 1999 20:51:43 +0000 (20:51 +0000)]
Change the suggestions pointer at the bottom of generated HTML pages.

25 years agoStraighten out dependencies so changes in the texinputs/* get reflected.
Fred Drake [Fri, 29 Oct 1999 20:49:23 +0000 (20:49 +0000)]
Straighten out dependencies so changes in the texinputs/* get reflected.

25 years agopathes --> paths; typo reported by Gerry Wiener <gerry@ucar.edu>.
Fred Drake [Fri, 29 Oct 1999 17:51:29 +0000 (17:51 +0000)]
pathes --> paths; typo reported by Gerry Wiener <gerry@ucar.edu>.

25 years agoAdded dependency on filecmp section, removed dependencies on cmp and
Fred Drake [Fri, 29 Oct 1999 17:27:08 +0000 (17:27 +0000)]
Added dependency on filecmp section, removed dependencies on cmp and
cmpcache sections.

25 years agoMake references to new filecmp module hyperlinks now that there's
Fred Drake [Fri, 29 Oct 1999 17:25:59 +0000 (17:25 +0000)]
Make references to new filecmp module hyperlinks now that there's
documentation.

25 years agoAdded section for filecmp.
Fred Drake [Fri, 29 Oct 1999 17:24:12 +0000 (17:24 +0000)]
Added section for filecmp.

25 years agofilecmp documentation from Moshe Zadka <moshez@math.huji.ac.il>.
Fred Drake [Fri, 29 Oct 1999 17:23:15 +0000 (17:23 +0000)]
filecmp documentation from Moshe Zadka <moshez@math.huji.ac.il>.

25 years agoAdded deprecation notes, in case anyone decides to read these anyway.
Fred Drake [Tue, 26 Oct 1999 16:31:51 +0000 (16:31 +0000)]
Added deprecation notes, in case anyone decides to read these anyway.

25 years agocmp and cmpcache are now obsolete, so don't include their
Fred Drake [Tue, 26 Oct 1999 16:28:04 +0000 (16:28 +0000)]
cmp and cmpcache are now obsolete, so don't include their
documentation sections.

25 years agoAdded cmp and cmpcache to the "Obsolete" section.
Fred Drake [Tue, 26 Oct 1999 16:27:28 +0000 (16:27 +0000)]
Added cmp and cmpcache to the "Obsolete" section.

25 years agoNew module by Moshe Zadka (submitted on Sept. 25). This unifies the
Guido van Rossum [Tue, 26 Oct 1999 14:02:01 +0000 (14:02 +0000)]
New module by Moshe Zadka (submitted on Sept. 25).  This unifies the
functionality of cmp.py and cmpcache.py, which are hereby declared
obsolescent.

25 years agoPatch by Michael Hudson: when the object of attribute expansion is a
Guido van Rossum [Tue, 26 Oct 1999 13:09:08 +0000 (13:09 +0000)]
Patch by Michael Hudson: when the object of attribute expansion is a
class instance, include the class attributes in the list of possible
expansions.

25 years agoFix by Moshe Zadka (cleaned up and documented by GvR) to break out the
Guido van Rossum [Tue, 26 Oct 1999 13:01:36 +0000 (13:01 +0000)]
Fix by Moshe Zadka (cleaned up and documented by GvR) to break out the
request handling into separate parse_request() and handle_request()
methods.

25 years agoMrC also needs BAD_STATIC_FORWARD define.
Jack Jansen [Tue, 26 Oct 1999 09:25:32 +0000 (09:25 +0000)]
MrC also needs BAD_STATIC_FORWARD define.

25 years agoFix PR117. The error message is "keywords must be strings". Perhaps
Guido van Rossum [Tue, 26 Oct 1999 00:12:20 +0000 (00:12 +0000)]
Fix PR117.  The error message is "keywords must be strings".  Perhaps
not as descriptive as what Barry suggests, but this also catches the
(in my opinion important) case where some other C code besides apply()
constructs a kwdict that doesn't have the right format.  All the other
possibilities of getting it wrong (non-dict, wrong keywords etc) are
already caught so this makes sense to check here.

25 years agoDon't assume GNU tar -- generate tar file and compress in separate steps.
Greg Ward [Sat, 23 Oct 1999 19:25:05 +0000 (19:25 +0000)]
Don't assume GNU tar -- generate tar file and compress in separate steps.
Now supports the full range of intended formats (tar, ztar, gztar, zip).
"-f" no longer a short option for "--formats" -- conflicts with new
  global option "--force"!

25 years agoRemoved massive comment speculating about needlessly complex variations
Greg Ward [Sat, 23 Oct 1999 19:10:59 +0000 (19:10 +0000)]
Removed massive comment speculating about needlessly complex variations
on the manifest file syntax.

25 years agoQualified use of 'newer_group' function.
Greg Ward [Sat, 23 Oct 1999 19:06:56 +0000 (19:06 +0000)]
Qualified use of 'newer_group' function.

25 years agoFix how we run 'zip' -- give explicit .zip extension.
Greg Ward [Sat, 23 Oct 1999 19:06:20 +0000 (19:06 +0000)]
Fix how we run 'zip' -- give explicit .zip extension.

25 years agoDocumented Beep() function.
Fred Drake [Fri, 22 Oct 1999 21:08:56 +0000 (21:08 +0000)]
Documented Beep() function.

25 years agoIn helo() and ehlo(), Don't fail when gethostbyaddr() fails -- just
Guido van Rossum [Fri, 22 Oct 1999 13:09:20 +0000 (13:09 +0000)]
In helo() and ehlo(), Don't fail when gethostbyaddr() fails -- just
keep whatever gethostname() returns.  After a suggestion by Doug Wyatt.

25 years agoModule/script to parse the reference count data file and make the
Fred Drake [Wed, 20 Oct 1999 21:50:31 +0000 (21:50 +0000)]
Module/script to parse the reference count data file and make the
information accessible to Python.

When run as a script, just dumps the information back out in the data
format, with functions in sorted order and a blank line between
different functions.

Still need to apply the information somehow.

25 years agoAdded note that Skip created the initial version of this file.
Fred Drake [Wed, 20 Oct 1999 16:03:38 +0000 (16:03 +0000)]
Added note that Skip created the initial version of this file.

Fixed up a few of his ??? comments.

25 years agoInitial version as provided by Skip Montanaro <skip@mojam.com>.
Fred Drake [Wed, 20 Oct 1999 15:06:24 +0000 (15:06 +0000)]
Initial version as provided by Skip Montanaro <skip@mojam.com>.

25 years agoFix PR#107: wm_colormapwindows() did the wrong thing when presented
Guido van Rossum [Wed, 20 Oct 1999 12:29:56 +0000 (12:29 +0000)]
Fix PR#107: wm_colormapwindows() did the wrong thing when presented
more than one window argument.

25 years agoTest output.
Guido van Rossum [Tue, 19 Oct 1999 19:09:00 +0000 (19:09 +0000)]
Test output.
(XXX perhaps a bit too verbose; in particular it is sensitive to
all the doc strings.)

25 years agoRewritten -- this now tests the binascii *except* for the binhex
Guido van Rossum [Tue, 19 Oct 1999 19:08:13 +0000 (19:08 +0000)]
Rewritten -- this now tests the binascii *except* for the binhex
module, which is tested by test_binhex.py.

25 years agoTest output for test_binhex.py.
Guido van Rossum [Tue, 19 Oct 1999 19:07:33 +0000 (19:07 +0000)]
Test output for test_binhex.py.

25 years agoPatch by Jason Trowbridge. (Followup to his PR#110.) (Slightly
Guido van Rossum [Tue, 19 Oct 1999 19:05:14 +0000 (19:05 +0000)]
Patch by Jason Trowbridge.  (Followup to his PR#110.)  (Slightly
reformatted.)

- Illegal padding is now ignored.  (Recommendation by GvR.)

- Padding no longer removes characters from data string (resulting in
lost data/strings with negative lengths).

- Illegal characters outside the ASCII range are now ignored, instead
of possibly being remapped to a valid character.