]> granicus.if.org Git - python/log
python
26 years agoAdded hints about building your own DLL.
Guido van Rossum [Tue, 7 Jul 1998 22:35:03 +0000 (22:35 +0000)]
Added hints about building your own DLL.

26 years agoTwo error messages still used the old name of the functio mkvalue() --
Guido van Rossum [Tue, 7 Jul 1998 22:32:19 +0000 (22:32 +0000)]
Two error messages still used the old name of the functio mkvalue() --
which is now Py_BuildValue().

26 years agoAdd a cast that a picky SGI compiler found was necessary.
Guido van Rossum [Tue, 7 Jul 1998 22:25:47 +0000 (22:25 +0000)]
Add a cast that a picky SGI compiler found was necessary.

26 years agoFix a benign problem found by a picky SGI compiler (unreachable break
Guido van Rossum [Tue, 7 Jul 1998 22:23:22 +0000 (22:23 +0000)]
Fix a benign problem found by a picky SGI compiler (unreachable break
after a return).

26 years agoFix benign problems found by a picky SGI compiler (unreachable break
Guido van Rossum [Tue, 7 Jul 1998 22:22:22 +0000 (22:22 +0000)]
Fix benign problems found by a picky SGI compiler (unreachable break
after a return or goto).

26 years agoFix benign problems found by a picky SGI compiler (unreachable break
Guido van Rossum [Tue, 7 Jul 1998 22:21:45 +0000 (22:21 +0000)]
Fix benign problems found by a picky SGI compiler (unreachable break
after a return).

26 years agoFix some problems that a picky SGI compiler reported. Two were benign
Guido van Rossum [Tue, 7 Jul 1998 22:19:27 +0000 (22:19 +0000)]
Fix some problems that a picky SGI compiler reported.  Two were benign
(unreachable break after a return) but one was a real bug:
ReadFrames() was getting a bogus framecount because of a missing '&'.

26 years agoSigh. The hack to enable special treatment for errno on SGI machines
Guido van Rossum [Tue, 7 Jul 1998 21:32:53 +0000 (21:32 +0000)]
Sigh.  The hack to enable special treatment for errno on SGI machines
must be enabled here, otherwise the errno we set on overflows is not
the errno that's being read by compile.c.  Wonder how many other files
that do their own "#include config.h" need this too :-(

(Because of the structure of autoconf, it's not so simple to get this
into config.h...)

26 years agoGuess what...
Guido van Rossum [Tue, 7 Jul 1998 21:11:02 +0000 (21:11 +0000)]
Guess what...

26 years agoFix two unrelated problems in the same area:
Guido van Rossum [Tue, 7 Jul 1998 21:05:09 +0000 (21:05 +0000)]
Fix two unrelated problems in the same area:

(1) reorder the tests for -Olimit 1500 and -OPT:Olimit=0 so that the
latter test is performed first, and if it works, the former test is
skipped.  This should get rid of the problem that the new SGI
compilers accept both but emit a warning about -Olimit 1500.

(2) The DGUX hack was somehow split in two by the Olimit tests,
probably as the result of a non-context diff.  Moved this back
together again, after the Olimit tests.

26 years agoAdded copious docstrings, plus two minor layout tweaks.
Guido van Rossum [Tue, 7 Jul 1998 20:45:43 +0000 (20:45 +0000)]
Added copious docstrings, plus two minor layout tweaks.

26 years agoIn the example iterating over sys.argv and opening each argument,
Guido van Rossum [Tue, 7 Jul 1998 20:18:06 +0000 (20:18 +0000)]
In the example iterating over sys.argv and opening each argument,
change it to iterate over sys.argv[1:].  Suggestion by Gerry Wiener.

26 years ago(py-beginning-of-def-or-class, py-end-of-def-or-class,
Barry Warsaw [Tue, 7 Jul 1998 17:45:38 +0000 (17:45 +0000)]
(py-beginning-of-def-or-class, py-end-of-def-or-class,
py-mark-def-or-class): Integrated Michael Ernst latest patches.
Primarily, it allows functions that search or mark defs/classes based
on programmatic specification, to take an 'either flag value which
allows searching for both classes and defs (stopping at the nearest
construct).

Also clean up some docstrings.

26 years ago(py-comment-indent-function): A replacement for
Barry Warsaw [Tue, 7 Jul 1998 15:11:24 +0000 (15:11 +0000)]
(py-comment-indent-function): A replacement for
comment-indent-function's default lambda value (in simple.el), this
version finally kills this nit: auto-filling a comment that starts in
column zero with filladapt turned off would cascade the #'s to the
right.

Now auto-filling seems to work with or without filladapt, and with the
comment starting in any column.

(python-mode): Set comment-indent-function.

26 years agoGet rid of some obsolete opcodes.
Guido van Rossum [Tue, 7 Jul 1998 14:58:39 +0000 (14:58 +0000)]
Get rid of some obsolete opcodes.

26 years agoRewritten a bit to address some criticism in the newsgroup.
Guido van Rossum [Mon, 6 Jul 1998 20:47:40 +0000 (20:47 +0000)]
Rewritten a bit to address some criticism in the newsgroup.

26 years agoAdded back the description of the exec statement. It appears that I
Guido van Rossum [Mon, 6 Jul 1998 13:18:39 +0000 (13:18 +0000)]
Added back the description of the exec statement.  It appears that I
accidentally cut it out when removing the access statement!  Added a
paragraph on __builtins__ and other possible manipulations of the key
space of the dictionaries.  Added some index entries.

26 years agoThe permissions ('mode' flag) should default to 0666.
Guido van Rossum [Fri, 3 Jul 1998 14:16:55 +0000 (14:16 +0000)]
The permissions ('mode' flag) should default to 0666.

26 years agoThe _fromlinepattern was a little too restrictive -- some sendmails
Guido van Rossum [Thu, 2 Jul 1998 23:05:32 +0000 (23:05 +0000)]
The _fromlinepattern was a little too restrictive -- some sendmails
don't put the seconds in the time!

26 years ago# The variable total is never used somehow. I think I had plans for
Guido van Rossum [Thu, 2 Jul 1998 22:17:28 +0000 (22:17 +0000)]
# The variable total is never used somehow.  I think I had plans for
# it but can't remember what.  Get rid of a comparison that breaks.

26 years agoAccording to Robin Dunn, at least one FTP server returns 200 instead
Guido van Rossum [Thu, 2 Jul 1998 20:41:20 +0000 (20:41 +0000)]
According to Robin Dunn, at least one FTP server returns 200 instead
of 250 on a successful delete.

26 years agoNormalize markup.
Fred Drake [Thu, 2 Jul 1998 19:36:50 +0000 (19:36 +0000)]
Normalize markup.

26 years agoNormalize the markup.
Fred Drake [Thu, 2 Jul 1998 19:35:12 +0000 (19:35 +0000)]
Normalize the markup.

26 years agoAdded index entry.
Fred Drake [Thu, 2 Jul 1998 19:33:43 +0000 (19:33 +0000)]
Added index entry.

26 years agoAdded \deprecated to exit_thread() function.
Fred Drake [Thu, 2 Jul 1998 19:33:12 +0000 (19:33 +0000)]
Added \deprecated to exit_thread() function.
Reflects Guido's revision.

26 years agoOn Windows, put the select file descriptor arrays on the heap.
Guido van Rossum [Thu, 2 Jul 1998 02:53:36 +0000 (02:53 +0000)]
On Windows, put the select file descriptor arrays on the heap.
This is because they are huge and the stack is limited on Windows.
Other platforms keep declaring it on the stack.

26 years agoGotta have an __init__() method -- pdb.py calls it!
Guido van Rossum [Wed, 1 Jul 1998 22:53:04 +0000 (22:53 +0000)]
Gotta have an __init__() method -- pdb.py calls it!

26 years agoSeveral changes:
Barry Warsaw [Wed, 1 Jul 1998 20:41:12 +0000 (20:41 +0000)]
Several changes:

1. Convert to using re module

2. Added two new exception classes

    a. MissingSectionHeaderError which signals an early parsing
       exception when options appear in the file before any section
       header.  Previously a bogus TypeError was thrown deeper down.

    b. ParsingError which collates any non-fatal parsing errors.
       ConfigParser.read() will raise this after the entire file was
       parsed if any errors occurred during parsing (client could just
       catch the exception and continue, because the ConfigParser
       instance would still be initialized with the valid data).

   (small note: Error.__msg => Error._msg)

3. ConfigParser.__read() now uses re which has the following minor
   semantic change: underscore is now allowed in section header and
   option name.  Also, because of the old regexps, theoretically.
   Fixed continuation line bug reported by F. Lundh.

4. It seemed that the old ConfigParser automatically added the option
   `name' to every section, which contained the name of the section.
   This seemed bogus to me so I took it out.

26 years agoFix two smal memory leaks discovered by Vadim Chugunov.
Guido van Rossum [Wed, 1 Jul 1998 17:36:26 +0000 (17:36 +0000)]
Fix two smal memory leaks discovered by Vadim Chugunov.

26 years agoDisable malloc debug in frozen programs.
Jack Jansen [Wed, 1 Jul 1998 15:49:56 +0000 (15:49 +0000)]
Disable malloc debug in frozen programs.

26 years agoThe init routine for MacOS had a non-standard name. Changed to
Jack Jansen [Wed, 1 Jul 1998 15:48:54 +0000 (15:48 +0000)]
The init routine for MacOS had a non-standard name. Changed to
initMacOS().

26 years agoConvert \n to \r in strings that are displayed in the dialogs.
Jack Jansen [Wed, 1 Jul 1998 15:47:44 +0000 (15:47 +0000)]
Convert \n to \r in strings that are displayed in the dialogs.

26 years agoFix the \kbd definition so it didn't leave the courier face on.
Fred Drake [Wed, 1 Jul 1998 14:49:25 +0000 (14:49 +0000)]
Fix the \kbd definition so it didn't leave the courier face on.

26 years agoMark the actual SMTP commands (HELO, etc.) the same way FTP & NNTP commands
Fred Drake [Wed, 1 Jul 1998 14:10:52 +0000 (14:10 +0000)]
Mark the actual SMTP commands (HELO, etc.) the same way FTP & NNTP commands
are in the appropriate sections.

Some minor nits.

26 years agoAdded a section to the chapter on modules, describing the package system.
Andrew M. Kuchling [Wed, 1 Jul 1998 13:58:55 +0000 (13:58 +0000)]
Added a section to the chapter on modules, describing the package system.
The text is almost completely from GvR's essay on packages; some
introductory paragraphs have been removed, and everything after the
'Details' section in the HTML has been dropped (seems too technical).  A
paragraph has been added after the sample package layout stating that there
must be a file called__init__.py in a directory to make it a package.

26 years agoNew blood.
Guido van Rossum [Tue, 30 Jun 1998 17:02:57 +0000 (17:02 +0000)]
New blood.

26 years agoImproved test set for int() and long() string conversions.
Guido van Rossum [Tue, 30 Jun 1998 17:02:20 +0000 (17:02 +0000)]
Improved test set for int() and long() string conversions.

26 years agoGet rid of the lock; it's no longer needed.
Guido van Rossum [Tue, 30 Jun 1998 17:01:06 +0000 (17:01 +0000)]
Get rid of the lock; it's no longer needed.

26 years ago# Be more definite about the MIPSpro compiler bug being fixed in a
Guido van Rossum [Tue, 30 Jun 1998 16:58:58 +0000 (16:58 +0000)]
# Be more definite about the MIPSpro compiler bug being fixed in a
# later release.

26 years agoDocument __copy__() and __deepcopy__() methods.
Guido van Rossum [Tue, 30 Jun 1998 16:54:33 +0000 (16:54 +0000)]
Document __copy__() and __deepcopy__() methods.

26 years agoUse the real name of the module: "smtplib", not "smtp".
Fred Drake [Tue, 30 Jun 1998 16:53:52 +0000 (16:53 +0000)]
Use the real name of the module: "smtplib", not "smtp".

Use logical (& consistent) markup.

Added a see-also section at the end.

26 years agoNote that readline returns '' on EOF, not "EOF" (whatever that may be).
Guido van Rossum [Tue, 30 Jun 1998 16:35:25 +0000 (16:35 +0000)]
Note that readline returns '' on EOF, not "EOF" (whatever that may be).

26 years agoClearly I was to quick with the previous commit...
Guido van Rossum [Tue, 30 Jun 1998 16:02:35 +0000 (16:02 +0000)]
Clearly I was to quick with the previous commit...

Need to add \optional{} to sort argument too.

Made x a \var in descr of pop.

Fixed note for pop() and mentioned that it is experimental.

Also added pop to index.

26 years agoDocumented the pop() method for lists.
Guido van Rossum [Tue, 30 Jun 1998 15:56:23 +0000 (15:56 +0000)]
Documented the pop() method for lists.

# The brackets generated by \optional{} are real ugly.  Alas...

26 years agoDocumented os.linesep (line separator).
Guido van Rossum [Tue, 30 Jun 1998 15:54:27 +0000 (15:54 +0000)]
Documented os.linesep (line separator).

26 years agoAdd pop method.
Guido van Rossum [Tue, 30 Jun 1998 15:40:05 +0000 (15:40 +0000)]
Add pop method.

26 years agoAdded doc strings for methods and a new pop() method.
Guido van Rossum [Tue, 30 Jun 1998 15:36:32 +0000 (15:36 +0000)]
Added doc strings for methods and a new pop() method.

26 years agoAs suggested by pson@pson.pp.se, correct the docs for head(), body(),
Guido van Rossum [Tue, 30 Jun 1998 14:53:41 +0000 (14:53 +0000)]
As suggested by pson@pson.pp.se, correct the docs for head(), body(),
article().

26 years agoFix the comments describing the return values of the head(), body(),
Guido van Rossum [Tue, 30 Jun 1998 14:50:26 +0000 (14:50 +0000)]
Fix the comments describing the return values of the head(), body(),
article() commands.

26 years agoChanged URL to crypto page.
Andrew M. Kuchling [Tue, 30 Jun 1998 13:42:05 +0000 (13:42 +0000)]
Changed URL to crypto page.

26 years agoFix by Sjoerd Mullender to support symbolic links and make a backup of
Guido van Rossum [Mon, 29 Jun 1998 23:17:16 +0000 (23:17 +0000)]
Fix by Sjoerd Mullender to support symbolic links and make a backup of
.mirrorinfo.  Fix by me to call string.lstrip(filename) to cope with a
bug in strop.strip() in Python 1.4.  Additionally, I changed all print
statements that print filenames etc. to put them in backquotes so that
it will be more obvious when there's a funny character on one of them
(such as a space...).

26 years agoDocument new default arg to groups() and new functions/methods
Guido van Rossum [Mon, 29 Jun 1998 22:48:01 +0000 (22:48 +0000)]
Document new default arg to groups() and new functions/methods
groupdict() and findall().

26 years agoFix a stupid little bug: len() of an unsized returns -1 and leaves an
Guido van Rossum [Mon, 29 Jun 1998 22:26:50 +0000 (22:26 +0000)]
Fix a stupid little bug: len() of an unsized returns -1 and leaves an
exception waiting to happen next...

26 years agoAdd PyImport_AppendInittab() an PyImport_ExtendInittab().
Guido van Rossum [Mon, 29 Jun 1998 20:34:46 +0000 (20:34 +0000)]
Add PyImport_AppendInittab() an PyImport_ExtendInittab().

26 years agoFor completeness, add a dummy load_package() method to RHooks. It
Guido van Rossum [Mon, 29 Jun 1998 20:32:57 +0000 (20:32 +0000)]
For completeness, add a dummy load_package() method to RHooks.  It
should never be called, so this isn't really needed, but this
signifies that rexec now supports packages -- because ihooks does.

26 years agoSupport loading of packages. (I had this coded up for a while but
Guido van Rossum [Mon, 29 Jun 1998 20:31:16 +0000 (20:31 +0000)]
Support loading of packages.  (I had this coded up for a while but
didn't want to commit until it had been tested.  I presume that it
works in Grail.)

26 years agoAdded findall() to RegexObject -- return a list of all matches in a
Guido van Rossum [Mon, 29 Jun 1998 20:29:08 +0000 (20:29 +0000)]
Added findall() to RegexObject -- return a list of all matches in a
string.  Added groupdict() to MatchObject -- return the named groups
as a dict.  Added default argument to groups() to specify what to
return for unmatching groups; groupdict() also has this.

26 years agoImproved by Eric Raymond.
Guido van Rossum [Mon, 29 Jun 1998 17:58:55 +0000 (17:58 +0000)]
Improved by Eric Raymond.

26 years ago# Make tabnanny happy.
Guido van Rossum [Mon, 29 Jun 1998 17:58:43 +0000 (17:58 +0000)]
# Make tabnanny happy.

26 years agoImproved by Eric Raymond.
Guido van Rossum [Mon, 29 Jun 1998 17:56:06 +0000 (17:56 +0000)]
Improved by Eric Raymond.

26 years agoExperimental feature: add default argument to getattr().
Guido van Rossum [Mon, 29 Jun 1998 13:38:57 +0000 (13:38 +0000)]
Experimental feature: add default argument to getattr().

26 years agoUnsigned 1 and 2 byte sized formats shouldn't result in long integer values!
Guido van Rossum [Mon, 29 Jun 1998 04:00:40 +0000 (04:00 +0000)]
Unsigned 1 and 2 byte sized formats shouldn't result in long integer values!

26 years agoOops! Of course, Tim is right -- when the item is not a hex number,
Guido van Rossum [Mon, 29 Jun 1998 00:42:54 +0000 (00:42 +0000)]
Oops!  Of course, Tim is right -- when the item is not a hex number,
the '%' should be put back in.

26 years agoSpeed-up unquote(), inspired by post from Daniel Walton.
Guido van Rossum [Sun, 28 Jun 1998 23:49:35 +0000 (23:49 +0000)]
Speed-up unquote(), inspired by post from Daniel Walton.

26 years agoNote that no .pyc/.pyo files are created for script files.
Guido van Rossum [Sun, 28 Jun 1998 19:16:38 +0000 (19:16 +0000)]
Note that no .pyc/.pyo files are created for script files.

26 years agoNow cmd is documented too.
Guido van Rossum [Sun, 28 Jun 1998 18:01:59 +0000 (18:01 +0000)]
Now cmd is documented too.

26 years agoDocumented smtplib, multifile
Guido van Rossum [Sun, 28 Jun 1998 17:58:06 +0000 (17:58 +0000)]
Documented smtplib, multifile

26 years agoDocumented cmd, smtplib, multifile
Guido van Rossum [Sun, 28 Jun 1998 17:57:27 +0000 (17:57 +0000)]
Documented cmd, smtplib, multifile

26 years agoAdded cmd, smtplib, multifile
Guido van Rossum [Sun, 28 Jun 1998 17:57:05 +0000 (17:57 +0000)]
Added cmd, smtplib, multifile

26 years agoContributions by Eric Raymond: documentation for modules
Guido van Rossum [Sun, 28 Jun 1998 17:55:53 +0000 (17:55 +0000)]
Contributions by Eric Raymond: documentation for modules
cmd, multifile and smtplib.

26 years ago# Added missing semicolon (was #ifdef'ed out in edit on Windows).
Guido van Rossum [Sun, 28 Jun 1998 17:00:19 +0000 (17:00 +0000)]
# Added missing semicolon (was #ifdef'ed out in edit on Windows).

26 years agoAdded doc strings.
Guido van Rossum [Sun, 28 Jun 1998 16:54:49 +0000 (16:54 +0000)]
Added doc strings.

26 years agoWindows-specific hack to make sure that when LoadLibrary() is called,
Guido van Rossum [Sat, 27 Jun 1998 21:53:17 +0000 (21:53 +0000)]
Windows-specific hack to make sure that when LoadLibrary() is called,
the filename contains at least a rudimentary pathname.
(The bad part is that we need to call getcwd() because only a prefix
of ".\\" is not enough -- we prefix the drive letter.)

26 years agoAdded doc strings.
Guido van Rossum [Sat, 27 Jun 1998 20:38:36 +0000 (20:38 +0000)]
Added doc strings.

26 years ago# Remove an extra blank line from a doc string.
Guido van Rossum [Sat, 27 Jun 1998 19:45:17 +0000 (19:45 +0000)]
# Remove an extra blank line from a doc string.

26 years agoAdded doc strings. Maybe the doc string for the module itself is a bit
Guido van Rossum [Sat, 27 Jun 1998 19:43:25 +0000 (19:43 +0000)]
Added doc strings.  Maybe the doc string for the module itself is a bit
long, but it sure helps!

26 years agoNew feature: if the object's type has a non-NULL tp_doc field, that
Guido van Rossum [Sat, 27 Jun 1998 18:28:59 +0000 (18:28 +0000)]
New feature: if the object's type has a non-NULL tp_doc field, that
is returned as the object's __doc__ attribute.

(If only the list of methods would be referenced from the type...)

26 years agoDocument optional kwargs argument to start_new_thread(). Also
Guido van Rossum [Sat, 27 Jun 1998 18:25:44 +0000 (18:25 +0000)]
Document optional kwargs argument to start_new_thread().  Also
document new LockType and reverse the preference for exit()
vs. exit_thread() -- exit() is now preferred and exit_thread() is
obsolete.

26 years agoDefine new macro Py_InitModule3(name, methods, doc) which calls
Guido van Rossum [Sat, 27 Jun 1998 18:21:59 +0000 (18:21 +0000)]
Define new macro Py_InitModule3(name, methods, doc) which calls
Py_InitModule4() with appropriate arguments.

26 years agoAdded doc strings. Also export LockType from the modoule, and give it
Guido van Rossum [Sat, 27 Jun 1998 18:21:06 +0000 (18:21 +0000)]
Added doc strings.  Also export LockType from the modoule, and give it
a doc string.

26 years agoAdded doc strings.
Guido van Rossum [Fri, 26 Jun 1998 21:23:49 +0000 (21:23 +0000)]
Added doc strings.

26 years agoIn raw_input(prompt), make sure that str(prompt) really a string
Guido van Rossum [Fri, 26 Jun 1998 18:25:38 +0000 (18:25 +0000)]
In raw_input(prompt), make sure that str(prompt) really a string
object before using it.

26 years agoSlight rearrangement of some code to make it faster, by Vladimir
Guido van Rossum [Fri, 26 Jun 1998 15:53:50 +0000 (15:53 +0000)]
Slight rearrangement of some code to make it faster, by Vladimir
Marangozov.

26 years agoAdded build.macfreeze to the "special" folders.
Jack Jansen [Fri, 26 Jun 1998 15:05:29 +0000 (15:05 +0000)]
Added build.macfreeze to the "special" folders.

26 years agoConfig file for frozen binaries.
Jack Jansen [Fri, 26 Jun 1998 15:04:11 +0000 (15:04 +0000)]
Config file for frozen binaries.

26 years agoInitial documentation on freezing.
Jack Jansen [Fri, 26 Jun 1998 15:01:52 +0000 (15:01 +0000)]
Initial documentation on freezing.

26 years agoTemplate project, bundle file and config.c file for frozen applications.
Jack Jansen [Fri, 26 Jun 1998 15:00:19 +0000 (15:00 +0000)]
Template project, bundle file and config.c file for frozen applications.

26 years agoA well-known example for freeze.
Jack Jansen [Fri, 26 Jun 1998 14:56:38 +0000 (14:56 +0000)]
A well-known example for freeze.

26 years agoMac version of freeze. Uses standard freeze modules where it can,
Jack Jansen [Fri, 26 Jun 1998 14:56:00 +0000 (14:56 +0000)]
Mac version of freeze. Uses standard freeze modules where it can,
augmenting them here and there. For now, it works more-or-less similar
to unix/windows freeze, generating a config.c file, but storing
modules in PYC resources. A template project is also copied.

The hooks are in place to freeze by merging shared libraries so you
can freeze without a C compiler/linker, but this does not work yet.

26 years agoPrint message when we load a PYC resource, if verbose import flag is on.
Jack Jansen [Fri, 26 Jun 1998 14:52:04 +0000 (14:52 +0000)]
Print message when we load a PYC resource, if verbose import flag is on.

26 years agoRemove RCS and #! cruft at top.
Guido van Rossum [Fri, 26 Jun 1998 13:38:38 +0000 (13:38 +0000)]
Remove RCS and #! cruft at top.

26 years agoAllow binding a Tcl command (given as a string) as well as a Python
Guido van Rossum [Thu, 25 Jun 1998 18:54:49 +0000 (18:54 +0000)]
Allow binding a Tcl command (given as a string) as well as a Python
function.

26 years agoMark the 'whence' parameter of the file object's seek() method as optional;
Fred Drake [Thu, 25 Jun 1998 16:26:56 +0000 (16:26 +0000)]
Mark the 'whence' parameter of the file object's seek() method as optional;
it's already decribed that way in the description.

26 years agoTreat "HEAD" same as "GET", so that CGI scripts won't fail.
Guido van Rossum [Thu, 25 Jun 1998 02:40:17 +0000 (02:40 +0000)]
Treat "HEAD" same as "GET", so that CGI scripts won't fail.

26 years agoRewrite the (test) main program so that when used as a script, it can
Guido van Rossum [Thu, 25 Jun 1998 02:39:00 +0000 (02:39 +0000)]
Rewrite the (test) main program so that when used as a script, it can
retrieve one or more URLs to stdout.  Use -t to run the self-test.

26 years agoPiers' latest version, labeled 2.11. This time he integrated my
Guido van Rossum [Thu, 25 Jun 1998 02:22:16 +0000 (02:22 +0000)]
Piers' latest version, labeled 2.11.  This time he integrated my
changes, and made only a few minor changes.  No changes of my own this
time.

26 years agoEric Raymond added support for ESMTP protocol and corrected some typos
Guido van Rossum [Thu, 25 Jun 1998 02:15:50 +0000 (02:15 +0000)]
Eric Raymond added support for ESMTP protocol and corrected some typos
in comments and doc strings.

26 years agoIgnore Windows case check for ALL CAPS 8.3 files
Guido van Rossum [Wed, 24 Jun 1998 03:54:06 +0000 (03:54 +0000)]
Ignore Windows case check for ALL CAPS 8.3 files

26 years agoSubsume the interact() function in a class. This should make it
Guido van Rossum [Tue, 23 Jun 1998 19:31:19 +0000 (19:31 +0000)]
Subsume the interact() function in a class.  This should make it
possible to use this in PythonWin, and to replace Fredrik Lundh's
PythonInterpreter class.  Fredrik is credited with the class' API.

26 years ago"if match(x) >= 0:" smells of regex matching; should use "if match(x):"
Guido van Rossum [Tue, 23 Jun 1998 14:43:06 +0000 (14:43 +0000)]
"if match(x) >= 0:" smells of regex matching; should use "if match(x):"