]> granicus.if.org Git - python/log
python
26 years agoA little more tweakage
Barry Warsaw [Wed, 18 Nov 1998 03:32:43 +0000 (03:32 +0000)]
A little more tweakage

26 years agoA bit of tweakage of the --help and --version options
Barry Warsaw [Wed, 18 Nov 1998 03:28:45 +0000 (03:28 +0000)]
A bit of tweakage of the --help and --version options

26 years ago(ChipViewer): Make frame sticky NSEW to fix geometry problem.
Barry Warsaw [Wed, 18 Nov 1998 03:15:19 +0000 (03:15 +0000)]
(ChipViewer): Make frame sticky NSEW to fix geometry problem.

26 years agotweak version number
Barry Warsaw [Wed, 18 Nov 1998 03:09:18 +0000 (03:09 +0000)]
tweak version number

26 years agoUpdate
Barry Warsaw [Wed, 18 Nov 1998 00:27:14 +0000 (00:27 +0000)]
Update

26 years agoUpdating
Barry Warsaw [Wed, 18 Nov 1998 00:21:09 +0000 (00:21 +0000)]
Updating

26 years agoEliminate remaining \verb/.../ constructs; there's no need for them.
Fred Drake [Tue, 17 Nov 1998 21:59:04 +0000 (21:59 +0000)]
Eliminate remaining \verb/.../ constructs; there's no need for them.

26 years ago(py-execute-region): Patch by Hunter Kelly so that execution uses the
Barry Warsaw [Tue, 17 Nov 1998 19:24:47 +0000 (19:24 +0000)]
(py-execute-region): Patch by Hunter Kelly so that execution uses the
correct Python shell (CPython or JPython).

26 years agoRemove some redundant initializations -- patch by Vladimir Marangozov.
Guido van Rossum [Tue, 17 Nov 1998 17:02:51 +0000 (17:02 +0000)]
Remove some redundant initializations -- patch by Vladimir Marangozov.

26 years agoAccept a non-list sequence for the long options (request by Jack Jansen).
Guido van Rossum [Tue, 17 Nov 1998 04:16:37 +0000 (04:16 +0000)]
Accept a non-list sequence for the long options (request by Jack Jansen).

Because it might be a common mistake to pass a single string, this
situation is treated separately.

Since we were making a copy of the longopts list anyway, we now use
the list() function -- this made it necessary to change all uses of
the local variable (and argument) 'list' to something more meaningful,
i.e., 'opts'.

Also added docstrings (copied from the library manual) and removed the
(now redundant) module comments.

26 years agoRajGopal Srinivasan noted that the latest code doesn't work when
Guido van Rossum [Tue, 17 Nov 1998 03:45:24 +0000 (03:45 +0000)]
RajGopal Srinivasan noted that the latest code doesn't work when
running in a non-threaded environment.  He added some #ifdefs that fix
this.

26 years agoRemove dead code discovered by Vladimir Marangozov.
Guido van Rossum [Mon, 16 Nov 1998 22:46:30 +0000 (22:46 +0000)]
Remove dead code discovered by Vladimir Marangozov.

26 years agoFix typo in doc for handle(): client_request should be client_address.
Guido van Rossum [Mon, 16 Nov 1998 19:07:04 +0000 (19:07 +0000)]
Fix typo in doc for handle(): client_request should be client_address.
Noted by Stefan Witzel.

26 years agoFix typo in docstring: client_request should be client_address.
Guido van Rossum [Mon, 16 Nov 1998 19:06:30 +0000 (19:06 +0000)]
Fix typo in docstring: client_request should be client_address.
Noted by Stefan Witzel.

26 years agoMake tuples less hungry -- an extra item was allocated but never used.
Guido van Rossum [Mon, 16 Nov 1998 18:56:03 +0000 (18:56 +0000)]
Make tuples less hungry -- an extra item was allocated but never used.
Tip by Vladimir Marangozov.

26 years agoClarify portability and main program.
Guido van Rossum [Mon, 16 Nov 1998 18:37:42 +0000 (18:37 +0000)]
Clarify portability and main program.

26 years agoAdded intro for 0.1 release and append Grail notes.
Guido van Rossum [Mon, 16 Nov 1998 18:34:26 +0000 (18:34 +0000)]
Added intro for 0.1 release and append Grail notes.

26 years agoUpdate the example in "Calling Python Functions from C" to use
Fred Drake [Mon, 16 Nov 1998 18:34:07 +0000 (18:34 +0000)]
Update the example in "Calling Python Functions from C" to use
METH_VARARGS conventions and PyArg_ParseTuple(), and document the flag
and where to look for PyArg_ParseTuple() info.

Response to comment from Don Bashford <bashford@scripps.edu>.

26 years agoDocument the user and password parameters to the NNTP constructor.
Fred Drake [Mon, 16 Nov 1998 17:11:30 +0000 (17:11 +0000)]
Document the user and password parameters to the NNTP constructor.

26 years agoAdded a None button to turn off all input sources.
Barry Warsaw [Mon, 2 Nov 1998 22:48:56 +0000 (22:48 +0000)]
Added a None button to turn off all input sources.

26 years agoClarify the default buffering for open(). (Comment from Andrew Dalke
Fred Drake [Mon, 2 Nov 1998 18:57:34 +0000 (18:57 +0000)]
Clarify the default buffering for open().  (Comment from Andrew Dalke
<dalke@bioreason.com>).

26 years agoFix Barry's markup.
Fred Drake [Mon, 2 Nov 1998 17:23:25 +0000 (17:23 +0000)]
Fix Barry's markup.

26 years agoWarn that AddModule doesn't import the module.
Guido van Rossum [Mon, 2 Nov 1998 17:02:42 +0000 (17:02 +0000)]
Warn that AddModule doesn't import the module.

26 years agoMetrowerks PRO4 finally fixes the hypot snafu. (Jack Jansen)
Guido van Rossum [Mon, 2 Nov 1998 16:21:39 +0000 (16:21 +0000)]
Metrowerks PRO4 finally fixes the hypot snafu.  (Jack Jansen)

26 years agoMoved zmod and poly descriptions to the Obsolete section.
Fred Drake [Mon, 2 Nov 1998 15:46:21 +0000 (15:46 +0000)]
Moved zmod and poly descriptions to the Obsolete section.

26 years agoDeclaring zmod and poly obsolete. They have problems.
Guido van Rossum [Mon, 2 Nov 1998 15:38:51 +0000 (15:38 +0000)]
Declaring zmod and poly obsolete.  They have problems.

26 years agoProject files converted for CW Pro 4. And the daylight savings time switch seems...
Jack Jansen [Sun, 1 Nov 1998 22:11:33 +0000 (22:11 +0000)]
Project files converted for CW Pro 4. And the daylight savings time switch seems to have "modified" the resource files (but nothing has changed there).

26 years agoIf the module SUNAUDIODEV was generated on an older version of
Barry Warsaw [Sun, 1 Nov 1998 07:17:24 +0000 (07:17 +0000)]
If the module SUNAUDIODEV was generated on an older version of
Solaris, the `CD' macro won't exist in the header file, so this will
raise a NameError.

26 years agoMainWindow.__init__(): Move the import of Tkinter to here so that
Barry Warsaw [Sun, 1 Nov 1998 07:13:14 +0000 (07:13 +0000)]
MainWindow.__init__(): Move the import of Tkinter to here so that
command line operation is (much) faster.

26 years agoAdded a version number, --version, and updated the docstring.
Barry Warsaw [Sun, 1 Nov 1998 07:10:51 +0000 (07:10 +0000)]
Added a version number, --version, and updated the docstring.

26 years agoRewrite, simplification of command line option parsing. Many GUI
Barry Warsaw [Sun, 1 Nov 1998 07:03:55 +0000 (07:03 +0000)]
Rewrite, simplification of command line option parsing.  Many GUI
fixes.  Input sources are mutually exclusive.

26 years agoDocument the new features of this module
Barry Warsaw [Sat, 31 Oct 1998 23:19:00 +0000 (23:19 +0000)]
Document the new features of this module

26 years agoaudio(7I) suggests that applications do the following to get the
Barry Warsaw [Sat, 31 Oct 1998 22:52:54 +0000 (22:52 +0000)]
audio(7I) suggests that applications do the following to get the
device and control pseudo-device:

- first look for the device filename in the environment variable
  AUDIODEV.

- if not found, use /dev/audio

- calculate the control device by tacking "ctl" onto the base device
  name.

We now do this.  Also, if the open fails, we call
PyErr_SetFromErrnoWithFilename() to give a more informative error
message.

Added a fileno() method to the audio object returned from open().
This returns the file descriptor which can be used by applications to
set up SIGPOLL notification, as per the manpage.

26 years agosome rewriting, must do command line args
Barry Warsaw [Sat, 31 Oct 1998 00:25:14 +0000 (00:25 +0000)]
some rewriting, must do command line args

26 years agoInput stuff
Barry Warsaw [Fri, 30 Oct 1998 23:45:41 +0000 (23:45 +0000)]
Input stuff

26 years agoAdded command line options
Barry Warsaw [Fri, 30 Oct 1998 18:21:52 +0000 (18:21 +0000)]
Added command line options

26 years agoInitial revision
Barry Warsaw [Fri, 30 Oct 1998 16:22:18 +0000 (16:22 +0000)]
Initial revision

26 years agoDon't describe something as "below"; that won't make sense for the
Fred Drake [Wed, 28 Oct 1998 20:08:35 +0000 (20:08 +0000)]
Don't describe something as "below"; that won't make sense for the
HTML version.  Give a reference to the actual section to allow a
hyperlink to be built.

26 years agoFix typo reported by Gerry Weiner <gerry@ucar.edu>.
Fred Drake [Wed, 28 Oct 1998 18:19:16 +0000 (18:19 +0000)]
Fix typo reported by Gerry Weiner <gerry@ucar.edu>.

26 years agoAdded URL to HOWTO page, with reference to Regex HOWTO.
Andrew M. Kuchling [Wed, 28 Oct 1998 15:44:14 +0000 (15:44 +0000)]
Added URL to HOWTO page, with reference to Regex HOWTO.
Corrected error: {,5} is not equivalent to {0,5}.

26 years ago(py-imenu-method-regexp): Fix suggested by Daniel Calvelo to
Barry Warsaw [Wed, 28 Oct 1998 04:08:13 +0000 (04:08 +0000)]
(py-imenu-method-regexp): Fix suggested by Daniel Calvelo to
generalize the matching of function arguments.

26 years ago#XEmacs 21 now supports Imenu, so I am able to test (and fix) some
Barry Warsaw [Wed, 28 Oct 1998 00:10:45 +0000 (00:10 +0000)]
#XEmacs 21 now supports Imenu, so I am able to test (and fix) some
#simple things.  First step: rename the Imenu supportive variables and
#functions in this file to py-imenu-* so I can grok what is part of
#python-mode and what is part of Imenu.

(py-imenu-create-index-engine): Fixed problem with two classes in a
single file, caused by new semantics of py-beginning-of-def-or-class
when called programmatically.

#Note, there are still some problems with Imenu when arguments to
#functions are funky, but it should be much better now.

26 years ago#Some minor changes in the commentary, obstensibly to test the new
Barry Warsaw [Tue, 27 Oct 1998 22:09:25 +0000 (22:09 +0000)]
#Some minor changes in the commentary, obstensibly to test the new
#checkin script.

26 years agoSupport the use of bibtex. This is transparent to the user.
Fred Drake [Tue, 27 Oct 1998 21:59:03 +0000 (21:59 +0000)]
Support the use of bibtex.  This is transparent to the user.

Switch from bash to ksh, in the hope that more systems support it (one
report of a site without an available bash).

26 years ago#Fixed some typos in docstrings.
Barry Warsaw [Tue, 27 Oct 1998 21:54:56 +0000 (21:54 +0000)]
#Fixed some typos in docstrings.

26 years agoroot is now a global called _root
Guido van Rossum [Mon, 26 Oct 1998 18:49:00 +0000 (18:49 +0000)]
root is now a global called _root

26 years agoIndicate that os.environ may not be a real dictionary.
Guido van Rossum [Sat, 24 Oct 1998 20:16:56 +0000 (20:16 +0000)]
Indicate that os.environ may not be a real dictionary.

26 years agoBump the patch level to 1.5.2b2, just in case I feel like releasing
Guido van Rossum [Sat, 24 Oct 1998 19:47:34 +0000 (19:47 +0000)]
Bump the patch level to 1.5.2b2, just in case I feel like releasing
next week. :-)

26 years agoBump version to 1.5.2b1
Guido van Rossum [Sat, 24 Oct 1998 19:45:43 +0000 (19:45 +0000)]
Bump version to 1.5.2b1

26 years agoRaise the root window on reset().
Guido van Rossum [Sat, 24 Oct 1998 16:38:38 +0000 (16:38 +0000)]
Raise the root window on reset().
Different action on WM_DELETE_WINDOW is more likely to do the right thing,
allowing us to destroy old windows.

26 years agoSplit the goto() function in two: _goto() is the internal one,
Guido van Rossum [Sat, 24 Oct 1998 16:29:21 +0000 (16:29 +0000)]
Split the goto() function in two: _goto() is the internal one,
using Canvas coordinates, and goto() uses turtle coordinates
and accepts variable argument lists.

26 years agoImprovement to the previous fix suggested by Thomas Bellman: if the
Guido van Rossum [Sat, 24 Oct 1998 15:02:59 +0000 (15:02 +0000)]
Improvement to the previous fix suggested by Thomas Bellman: if the
unlink() or fdopen() fail, close the file descriptor and re-raise the
exception.

26 years agoCope with destruction of the window
Guido van Rossum [Sat, 24 Oct 1998 14:03:48 +0000 (14:03 +0000)]
Cope with destruction of the window

26 years agoThe last two example functions in the section about default argument
Guido van Rossum [Sat, 24 Oct 1998 13:15:28 +0000 (13:15 +0000)]
The last two example functions in the section about default argument
values (4.7.1) should return l, not a.  Reported by Axel Boldt.

26 years agoTurtle graphics
Guido van Rossum [Sat, 24 Oct 1998 05:46:37 +0000 (05:46 +0000)]
Turtle graphics

26 years agoThe TemporaryFile() function has a security leak -- because the
Guido van Rossum [Sat, 24 Oct 1998 01:34:45 +0000 (01:34 +0000)]
The TemporaryFile() function has a security leak -- because the
filenames generated are easily predictable, it is possible to trick an
unsuspecting program into overwriting another file by creating a
symbolic link with the predicted name.  Fix this by using the
low-level os.open() function with the O_EXCL flag and mode 0700.  On
non-Unix platforms, presumably there are no symbolic links so the
problem doesn't exist.  The explicit test for Unix (posix, actually)
makes it possible to change the non-Unix logic to work without a
try-except clause.

The mktemp() file is as unsafe as ever.

26 years agoUse of Breakpoint class should be bdb.Breakpoint.
Guido van Rossum [Sat, 24 Oct 1998 01:28:22 +0000 (01:28 +0000)]
Use of Breakpoint class should be bdb.Breakpoint.

26 years agoMoved compile_command() to a file of its own (codeop.py).
Guido van Rossum [Thu, 22 Oct 1998 21:56:44 +0000 (21:56 +0000)]
Moved compile_command() to a file of its own (codeop.py).

26 years agoMoved compile_command() here from code.py, so JPython can provide its
Guido van Rossum [Thu, 22 Oct 1998 21:56:15 +0000 (21:56 +0000)]
Moved compile_command() here from code.py, so JPython can provide its
own version.

26 years agoJim Fulton writes:
Guido van Rossum [Thu, 22 Oct 1998 20:15:36 +0000 (20:15 +0000)]
Jim Fulton writes:

"""
I've attached a long overdue patch to pickle.py to bring it to format
1.3, which is the same as 1.2 except that the binary float format
is supported.  This is done using the new platform-indepent format
features of struct.

This patch also gets rid of the undocumented obsolete Pickler
dump_special method.
"""

26 years agoBrief update on the slightly changed API of pyColorChooser.askcolor().
Barry Warsaw [Thu, 22 Oct 1998 19:00:38 +0000 (19:00 +0000)]
Brief update on the slightly changed API of pyColorChooser.askcolor().

Added a To Do list.

26 years ago__init__(): Removed initialcolor keyword.
Barry Warsaw [Thu, 22 Oct 1998 18:51:22 +0000 (18:51 +0000)]
__init__(): Removed initialcolor keyword.

show(): added color keyword here so that the selected color can be
chosen on each invocation of askcolor().

Also fixed this class, and askcolor() so that the same Chooser
instance can be re-used instead of creating a new one on each
invocation of askcolor().

Added a module function save() which can be used to explicitly save
the option database in ~/.pynche.  This does not happen automatically
when used as a modal.

26 years agosticky should be NSEW to fix pixel weirdness at right edge
Barry Warsaw [Thu, 22 Oct 1998 18:48:45 +0000 (18:48 +0000)]
sticky should be NSEW to fix pixel weirdness at right edge

26 years agoError message goes to stderr
Barry Warsaw [Thu, 22 Oct 1998 18:48:01 +0000 (18:48 +0000)]
Error message goes to stderr

canceled() takes an optional flag so that the canceled flag can be
cleared.

26 years agobeep => bell
Barry Warsaw [Thu, 22 Oct 1998 18:46:28 +0000 (18:46 +0000)]
beep => bell

deiconify(): New method

26 years agoFixed running of standalone via command line. Also, only do save from
Barry Warsaw [Thu, 22 Oct 1998 18:45:52 +0000 (18:45 +0000)]
Fixed running of standalone via command line.  Also, only do save from
main() so that run-as-modal doesn't automatically save database.

26 years agoMove 'import sys' to top of module, as noted by Tim Peters.
Guido van Rossum [Thu, 22 Oct 1998 16:18:25 +0000 (16:18 +0000)]
Move 'import sys' to top of module, as noted by Tim Peters.

26 years agoJim Fulton writes:
Guido van Rossum [Thu, 22 Oct 1998 15:46:50 +0000 (15:46 +0000)]
Jim Fulton writes:

"""
I had originally not realized that PyEval_GetGlobals did not
INCREF it's return value.  The fix is to add the INCREF,
as shown below.
"""

26 years agoAdded {Get,Set}WindowUserData methods.
Jack Jansen [Thu, 22 Oct 1998 15:08:00 +0000 (15:08 +0000)]
Added {Get,Set}WindowUserData methods.

26 years agoDescribe all the new features
Barry Warsaw [Thu, 22 Oct 1998 04:14:24 +0000 (04:14 +0000)]
Describe all the new features

26 years agoChooser.__init__(): Added `wantspec' keyword to conform exactly to
Barry Warsaw [Thu, 22 Oct 1998 03:44:52 +0000 (03:44 +0000)]
Chooser.__init__(): Added `wantspec' keyword to conform exactly to
tkColorChooser.askcolor() interface (i.e. don't return a color name
even if there is an exact match).

26 years agoMany changes to support a second mode of operation. Pynche can now be
Barry Warsaw [Thu, 22 Oct 1998 03:25:59 +0000 (03:25 +0000)]
Many changes to support a second mode of operation.  Pynche can now be
run either as a standalone application (by running pynche or
pynche.pyw), or as a modal dialog inside another application.  This
can be done by importing pyColorChooser and running askcolor().  The
API for this is the same as the tkColorChooser.askcolor() API, namely:

    When `Okay' is hit, askcolor() returns ((r, g, b), "name").  When
    `Cancel' is hit, askcolor() returns (None, None).

Note the following differences:

    1. pyColorChooser.askcolor() takes an optional keyword `master'
       which if set tells Pynche to run as a modal dialog.  `master'
       is a Tkinter parent window.  Without the `master' keyword
       Pynche runs standalone.

    2. in pyColorChooser.askcolor() will return a Tk/X11 color name as
       "name" if there is an exact match, otherwise it will return a
       color spec, e.g. "#rrggbb".  tkColorChooser can't return a
       color name.

There are also some UI differences when running standalone vs. modal.
When modal, there is no "File" menu, but instead there are "Okay" and
"Cancel" buttons.

The implementation of all this is a bit of a hack, but it seems to
work moderately well.  I'm not guaranteeing the pyColorChooser.Chooser
class has the same semantics as the tkColorChooser.Chooser class.

26 years agoPiers Lauder writes:
Guido van Rossum [Wed, 21 Oct 1998 22:06:56 +0000 (22:06 +0000)]
Piers Lauder writes:

"""
Jochen Hayek has reported a problem with some versions of IMAP4
servers that choose to mix the case in their CAPABILITIES response.

The patch below fixes the problem.
"""

26 years agoAdd note about compiling FORMS with -Dclear=__GLclear.
Guido van Rossum [Wed, 21 Oct 1998 17:03:36 +0000 (17:03 +0000)]
Add note about compiling FORMS with -Dclear=__GLclear.
(The GLHACK variable isn't really needed since the change to
glmodule.c, but I'm too busy to remove it.  It's harmless.)

26 years agoCheck in the changed version after running the stubber again -- this
Guido van Rossum [Wed, 21 Oct 1998 16:10:40 +0000 (16:10 +0000)]
Check in the changed version after running the stubber again -- this
solves the conflict with curses over the 'clear' entry point much
nicer.  (Jack had checked in the changes to cstubs eons ago, but I
never regenrated glmodule.c :-( )

26 years agoUse (f1, f2) as cache key instead of f1 + ' ' + f2.
Guido van Rossum [Wed, 21 Oct 1998 15:23:52 +0000 (15:23 +0000)]
Use (f1, f2) as cache key instead of f1 + ' ' + f2.
Noted by Fredrik Lundh.
(Note -- this module is pretty silly.)

26 years agoOn a recommendation from Sjoerd Mullender, add -Dclear=__GLclear to
Guido van Rossum [Wed, 21 Oct 1998 15:08:40 +0000 (15:08 +0000)]
On a recommendation from Sjoerd Mullender, add -Dclear=__GLclear to
the compilation flags for the gl, fl and fm modules.  This avoids a
name conflict with the curses module (both gl and curses have an entry
point called 'clear').

26 years agoUpdate the date.
Fred Drake [Wed, 21 Oct 1998 14:50:52 +0000 (14:50 +0000)]
Update the date.

26 years agoBump the release to 1.5.2a2.
Fred Drake [Wed, 21 Oct 1998 14:49:48 +0000 (14:49 +0000)]
Bump the release to 1.5.2a2.

26 years agoAdded --tools option, to package only the framework (no documents).
Fred Drake [Wed, 21 Oct 1998 14:26:26 +0000 (14:26 +0000)]
Added --tools option, to package only the framework (no documents).

26 years agoRemoved debug print
Jack Jansen [Wed, 21 Oct 1998 13:41:03 +0000 (13:41 +0000)]
Removed debug print

26 years agoRemove a couple of unnecessary "%" characters that cause problems with
Fred Drake [Wed, 21 Oct 1998 00:44:49 +0000 (00:44 +0000)]
Remove a couple of unnecessary "%" characters that cause problems with
the latest latex2html beta.

26 years agoRemove a bunch of unnecessary "%" characters that cause problems with
Fred Drake [Wed, 21 Oct 1998 00:26:56 +0000 (00:26 +0000)]
Remove a bunch of unnecessary "%" characters that cause problems with
the latest latex2html beta.

26 years agoRemove an unnecessary "%" character that seems to cause a minor glitch
Fred Drake [Wed, 21 Oct 1998 00:25:32 +0000 (00:25 +0000)]
Remove an unnecessary "%" character that seems to cause a minor glitch
with the latest latex2html.

26 years agoSaving/Restoring state into ~/.pynche file
Barry Warsaw [Tue, 20 Oct 1998 20:45:46 +0000 (20:45 +0000)]
Saving/Restoring state into ~/.pynche file

26 years agoadd_link(): Fix to use $section_info instead of $toc_section_info,
Fred Drake [Tue, 20 Oct 1998 18:14:20 +0000 (18:14 +0000)]
add_link():  Fix to use $section_info instead of $toc_section_info,
based on email from Ross Moore <ross@mpce.mq.edu.au>.

Set $HTML_VERSION to 4.0, since that's what we really generate (well,
4.0 "transitional").

26 years agoDetlef Lannert lannert@lannert.rz.uni-duesseldorf.de notices:
Guido van Rossum [Tue, 20 Oct 1998 15:33:33 +0000 (15:33 +0000)]
Detlef Lannert lannert@lannert.rz.uni-duesseldorf.de notices:

"""
the NEWS file of Python 1.5.2a2 inspired me to look at
Tools/scripts/untabify.py. I wonder why it accepts a -t argument
but ignores it. The following patch tries to make it somewhat useful
(i.e., to override the tabsize=8 setting). Is that agreeable?
"""

26 years agoAdding Fredrik Lundh's demo of the option menu.
Guido van Rossum [Tue, 20 Oct 1998 15:32:39 +0000 (15:32 +0000)]
Adding Fredrik Lundh's demo of the option menu.

26 years agoPatch by Jim Fulton, who writes:
Guido van Rossum [Tue, 20 Oct 1998 14:43:02 +0000 (14:43 +0000)]
Patch by Jim Fulton, who writes:

"""
The FieldStorage constructor calls the read_multi method.  The read_multi
method creates new FieldStorage objects, re-invoking the constructor
(on the new objects).  The problem is that the 'environ', 'keep_blank_values',
and 'strict_parsing' arguments originally passed to the constructor are not
propigated to the new object constructors.  This causes os.environ to be used,
leading to a miss-handling of the parts.

I fixed this by passing these arguments to read_multi and then on to the
constructor.  See the context diff below.
"""

26 years agoReflect new name of index style file.
Fred Drake [Mon, 19 Oct 1998 21:48:05 +0000 (21:48 +0000)]
Reflect new name of index style file.

26 years agoRenamed myindex.ist to something more reasonable.
Fred Drake [Mon, 19 Oct 1998 21:45:52 +0000 (21:45 +0000)]
Renamed myindex.ist to something more reasonable.

26 years agoNo longer needed since we have nice, contributed navigation buttons.
Fred Drake [Mon, 19 Oct 1998 21:40:45 +0000 (21:40 +0000)]
No longer needed since we have nice, contributed navigation buttons.

26 years agoIf building HTML and the icons should be served from the same
Fred Drake [Mon, 19 Oct 1998 19:14:42 +0000 (19:14 +0000)]
If building HTML and the icons should be served from the same
directory as the HTML (--iconserver .), copy the icons into place.

Clarify that lynx is needed for --text in the usage message.

Fix a typo in a comment.

26 years agoRename 'locals' argument to top-level interact() function to 'local'
Guido van Rossum [Mon, 19 Oct 1998 18:42:53 +0000 (18:42 +0000)]
Rename 'locals' argument to top-level interact() function to 'local'
for b/w compatibility with 1.5.1.

26 years agoArabictoRoman(): Removed, since it wasn't used anywhere.
Fred Drake [Mon, 19 Oct 1998 16:33:06 +0000 (16:33 +0000)]
ArabictoRoman():  Removed, since it wasn't used anywhere.

26 years agoA Py_DECREF(f) is missing in PyFrame_New for the error case when
Guido van Rossum [Mon, 19 Oct 1998 14:20:20 +0000 (14:20 +0000)]
A Py_DECREF(f) is missing in PyFrame_New for the error case when
the `builtins' initialization fails.  Vladimir Marangozov.

26 years agoAdd a missing DECREF in an error exit. Submitted by Jonathan Giddy.
Guido van Rossum [Mon, 19 Oct 1998 13:38:36 +0000 (13:38 +0000)]
Add a missing DECREF in an error exit.  Submitted by Jonathan Giddy.

26 years agoTypo: JIFF -> JFIF.
Guido van Rossum [Mon, 19 Oct 1998 13:30:01 +0000 (13:30 +0000)]
Typo: JIFF -> JFIF.

26 years agoFixed a problem where xmllib didn't handle the tag
Guido van Rossum [Mon, 19 Oct 1998 13:28:26 +0000 (13:28 +0000)]
Fixed a problem where xmllib didn't handle the tag
<sometag attrib=">">
correctly.
Also changed comparisons of re matches and searches into explicit
comparisons with None.
(Sjoerd Mullender)

26 years agoSpeed up the search a bit -- don't drag a mark around...
Guido van Rossum [Mon, 19 Oct 1998 03:33:40 +0000 (03:33 +0000)]
Speed up the search a bit -- don't drag a mark around...