]> granicus.if.org Git - python/log
python
26 years agoAdded prototypes for the code resource routines, and for Pstring
Jack Jansen [Mon, 13 Jul 1998 13:39:34 +0000 (13:39 +0000)]
Added prototypes for the code resource routines, and for Pstring
(which was missing, for some reason).

26 years agoIf the preference filename resource is empty don't try to open or
Jack Jansen [Mon, 13 Jul 1998 13:38:29 +0000 (13:38 +0000)]
If the preference filename resource is empty don't try to open or
create the preferences file. This is so that frozen programs don't
interfere with an existing Python installation, or leave turds in the
Preferences folder.

26 years agoAll import-related code has moved to macimport.c.
Jack Jansen [Mon, 13 Jul 1998 13:37:12 +0000 (13:37 +0000)]
All import-related code has moved to macimport.c.

There's also new support for importing code fragments: if a file on
sys.path contains a PYD resource with resourcename equal to the name
of the module to be imported this PYD resource should contain a
(pascal) string with the name of a code fragment to load. This allows
freezing Python programs without access to source or a development
environment.

26 years agoAdded macimport.c to various files
Jack Jansen [Mon, 13 Jul 1998 13:34:06 +0000 (13:34 +0000)]
Added macimport.c to various files

26 years agoAdd an empty PYTHONPREFSFILE STR resource, so frozen applications
Jack Jansen [Mon, 13 Jul 1998 13:33:09 +0000 (13:33 +0000)]
Add an empty PYTHONPREFSFILE STR resource, so frozen applications
don't try to open/create the preferences file.

26 years agoAdd special case to PySequence_List() so that list() of a list is
Guido van Rossum [Fri, 10 Jul 1998 18:03:50 +0000 (18:03 +0000)]
Add special case to PySequence_List() so that list() of a list is
faster (using PyList_GetSlice()).  Also added a test for a NULL
argument, as with PySequence_Tuple().  (Hmm...  Better names for these
two would be PyList_FromSequence() and PyTuple_FromSequence().  Oh well.)

26 years agoSmall changes to map() and filter():
Guido van Rossum [Fri, 10 Jul 1998 17:37:30 +0000 (17:37 +0000)]
Small changes to map() and filter():

(1) If a sequence S is shorter than len(S) indicated, don't fail --
just use the shorter size.  (I.e, len(S) is just a hint.)

(2) Implement the special case map(None, S) as list(S) -- it's faster.

26 years agoChanged PySequence_List() and PySequence_Tuple() to support
Guido van Rossum [Fri, 10 Jul 1998 16:22:44 +0000 (16:22 +0000)]
Changed PySequence_List() and PySequence_Tuple() to support
"indefinite length" sequences.  These should still have a length, but
the length is only used as a hint -- the actual length of the sequence
is determined by the item that raises IndexError, which may be either
smaller or larger than what len() returns.  (This is a novelty; map(),
filter() and reduce() only allow the actual length to be larger than
what len() returns, not shorter.  I'll fix that shortly.)

26 years agoAdded a function SetUserItemHandler: this takes a function(dialog,
Jack Jansen [Fri, 10 Jul 1998 15:47:48 +0000 (15:47 +0000)]
Added a function SetUserItemHandler: this takes a function(dialog,
item) as parameter and returns a handle suitable for passing to
SetDialogItem as a user-item redraw routine. Note that you can
only make one of these, for now.

26 years agoAdd macros for direct access to the members of CFunction objects.
Guido van Rossum [Fri, 10 Jul 1998 15:47:08 +0000 (15:47 +0000)]
Add macros for direct access to the members of CFunction objects.

26 years agoMove the definition of PyMethodObject to classobject.h, so it can define
Guido van Rossum [Fri, 10 Jul 1998 15:46:33 +0000 (15:46 +0000)]
Move the definition of PyMethodObject to classobject.h, so it can define
macros for more efficient access to the fields.

26 years agoMarc-Andre Lemburg's patch to move the typedef for PyCFunctionObject
Guido van Rossum [Fri, 10 Jul 1998 15:21:55 +0000 (15:21 +0000)]
Marc-Andre Lemburg's patch to move the typedef for PyCFunctionObject
to the .h file and add macros there for inlined access to the fields.

26 years ago(1) Added a sys.exc_info() emulation. (It returns None for the traceback.)
Guido van Rossum [Thu, 9 Jul 1998 13:52:38 +0000 (13:52 +0000)]
(1) Added a sys.exc_info() emulation.  (It returns None for the traceback.)

(2) Made the test script a bit fancier -- you can now use it to run
arbitrary scripts in restricted mode, and it will do the right thing.
(The interactive mode is still pretty lame; should integrate this with
code.interact().)

26 years agoAdded item about index item/subitem separation.
Fred Drake [Wed, 8 Jul 1998 21:42:41 +0000 (21:42 +0000)]
Added item about index item/subitem separation.

26 years agoFix suggested by Lorenzo M. Catucci <lorenzo@argon.roma2.infn.it> to keep the
Fred Drake [Wed, 8 Jul 1998 21:37:25 +0000 (21:37 +0000)]
Fix suggested by Lorenzo M. Catucci <lorenzo@argon.roma2.infn.it> to keep the
large letter at the top of each index section with at least the first entry
for that letter.

26 years ago# In case BINARY_SUBSCR, use proper PyList_GET* macros instead of inlining.
Guido van Rossum [Wed, 8 Jul 1998 15:02:37 +0000 (15:02 +0000)]
# In case BINARY_SUBSCR, use proper PyList_GET* macros instead of inlining.

26 years agoMarc-Andre Lemburg's patch to support instance methods with other
Guido van Rossum [Wed, 8 Jul 1998 14:58:16 +0000 (14:58 +0000)]
Marc-Andre Lemburg's patch to support instance methods with other
callable objects than regular Pythonm functions as their im_func.

26 years agoReindented some OS/2 and hpux code that looked ugly or at least
Guido van Rossum [Wed, 8 Jul 1998 13:47:12 +0000 (13:47 +0000)]
Reindented some OS/2 and hpux code that looked ugly or at least
inconsistent.

26 years agoRecompute the special getattr/setattr/delattr cache slots after
Guido van Rossum [Wed, 8 Jul 1998 13:34:48 +0000 (13:34 +0000)]
Recompute the special getattr/setattr/delattr cache slots after
changing __dict__ *or* __bases__.

26 years agoRewrite to support multiple suckers, each with their own thread.
Guido van Rossum [Wed, 8 Jul 1998 03:05:22 +0000 (03:05 +0000)]
Rewrite to support multiple suckers, each with their own thread.

26 years agoInstead of printint, use self.message() or self.note().
Guido van Rossum [Wed, 8 Jul 1998 03:04:39 +0000 (03:04 +0000)]
Instead of printint, use self.message() or self.note().

26 years agoNeeded.
Guido van Rossum [Wed, 8 Jul 1998 02:56:20 +0000 (02:56 +0000)]
Needed.

26 years agoMinor change for windows; set extensions_c later and set
Guido van Rossum [Tue, 7 Jul 1998 22:47:38 +0000 (22:47 +0000)]
Minor change for windows; set extensions_c later and set
frozendllmain_c at the right place.

26 years agoPut back the call to report_unbalanced() that was lost when
Guido van Rossum [Tue, 7 Jul 1998 22:46:11 +0000 (22:46 +0000)]
Put back the call to report_unbalanced() that was lost when
parse_endtag() was restructured in parse_endtag() and finish_endtag().

26 years ago# Bump version because of checkin to faqwiz.py. :-(
Guido van Rossum [Tue, 7 Jul 1998 22:39:47 +0000 (22:39 +0000)]
# Bump version because of checkin to faqwiz.py. :-(

26 years agoDon't add <...> around mail addresses; they may already be there.
Guido van Rossum [Tue, 7 Jul 1998 22:39:21 +0000 (22:39 +0000)]
Don't add <...> around mail addresses; they may already be there.

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.