]> granicus.if.org Git - python/log
python
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):"

26 years agoPatch by Eric Raymond: add an optional 'seekable' flag to the
Guido van Rossum [Tue, 23 Jun 1998 14:20:27 +0000 (14:20 +0000)]
Patch by Eric Raymond: add an optional 'seekable' flag to the
MultiFile constructor, and only do the posstack bookkeeping when it is
true.

26 years agoRemoved loading of shared font stuff from howto.cls and manual.cls, moving it
Fred Drake [Mon, 22 Jun 1998 17:50:34 +0000 (17:50 +0000)]
Removed loading of shared font stuff from howto.cls and manual.cls, moving it
to pypaper.sty.

Added the use of the "avant" package to use AvantGarde for the sans-serif
font instead of the helvetica font loaded by the "times" package.

26 years agoMake the large letter at the top of each section use the sans-serif font,
Fred Drake [Mon, 22 Jun 1998 17:27:48 +0000 (17:27 +0000)]
Make the large letter at the top of each section use the sans-serif font,
like any other header.

26 years agoAdded texinputs/pypaper.sty to the list of manual style files, so that the
Fred Drake [Mon, 22 Jun 1998 17:14:47 +0000 (17:14 +0000)]
Added texinputs/pypaper.sty to the list of manual style files, so that the
.dvi files are properly dependent on it.

26 years agoBugfix to ESR's code reported by himself: should use hasattr() to test
Guido van Rossum [Mon, 22 Jun 1998 15:46:26 +0000 (15:46 +0000)]
Bugfix to ESR's code reported by himself: should use hasattr() to test
for presence unread, not getattr()!

26 years agoFix unclear wording pointed out by Tim Peters, about the interaction between
Andrew M. Kuchling [Mon, 22 Jun 1998 15:02:42 +0000 (15:02 +0000)]
Fix unclear wording pointed out by Tim Peters, about the interaction between
    ^ and the pos argument to re.match().
Also, fixed a typo in libregex.tex.

26 years agoThere's no point in mentioning F6 as an alternate EOF on DOS -- it
Guido van Rossum [Mon, 22 Jun 1998 14:28:39 +0000 (14:28 +0000)]
There's no point in mentioning F6 as an alternate EOF on DOS -- it
doesn't work on modern Windows systems, and Control-Z works
everywhere.

26 years agoRevert the change of revision 1.30. While it's in general a laudable
Guido van Rossum [Mon, 22 Jun 1998 14:07:36 +0000 (14:07 +0000)]
Revert the change of revision 1.30.  While it's in general a laudable
goal to use isinstance(x, y) instead of comparing type(x) to y, it
doesn't make sense to change this in the example code for the type()
builtin...

26 years agoAdd check in long-to-int conversion for at least one digit.
Guido van Rossum [Mon, 22 Jun 1998 03:54:46 +0000 (03:54 +0000)]
Add check in long-to-int conversion for at least one digit.

26 years agoFix the tests for various anomalies in the string-to-numbers
Guido van Rossum [Mon, 22 Jun 1998 03:54:15 +0000 (03:54 +0000)]
Fix the tests for various anomalies in the string-to-numbers
conversions.  Formerly, for example, int('-') would return 0 instead
of raising ValueError, and int(' 0') would raise ValueError
(complaining about a null byte!) instead of 0...

26 years agoTranslated to use re instead of regex. Also replaced one use of
Guido van Rossum [Fri, 19 Jun 1998 21:39:27 +0000 (21:39 +0000)]
Translated to use re instead of regex.  Also replaced one use of
L.append(a,b,c,d) with the correct L.append((a,b,c,d)).

26 years agoeval() example: Removed final interpreter prompt; other examples don't have
Fred Drake [Fri, 19 Jun 1998 21:19:50 +0000 (21:19 +0000)]
eval() example:  Removed final interpreter prompt; other examples don't have
the empty prompt.

26 years agoSomewhat updated, but not checked for everything (just the stuff I was using).
Fred Drake [Fri, 19 Jun 1998 21:18:28 +0000 (21:18 +0000)]
Somewhat updated, but not checked for everything (just the stuff I was using).

26 years agoAdded Py_{Get,Set}PythonHome.
Guido van Rossum [Fri, 19 Jun 1998 19:24:08 +0000 (19:24 +0000)]
Added Py_{Get,Set}PythonHome.

26 years agoAdded {Get,Set}PopupData calls to get at the data for popup menu controls.
Jack Jansen [Fri, 19 Jun 1998 13:35:14 +0000 (13:35 +0000)]
Added {Get,Set}PopupData calls to get at the data for popup menu controls.

26 years agoTurns out that 'winfo id' returns the id as a hex string, with 0x prefix.
Guido van Rossum [Fri, 19 Jun 1998 04:35:45 +0000 (04:35 +0000)]
Turns out that 'winfo id' returns the id as a hex string, with 0x prefix.
The int() function (aliased to getint()) doesn't handle that, so we must
use self.tk.getint() again...

26 years agoDifferent trick to get the _test() window to pop up.
Guido van Rossum [Fri, 19 Jun 1998 04:34:19 +0000 (04:34 +0000)]
Different trick to get the _test() window to pop up.

26 years agoAdded <ctype.h>, needed for Windows.
Guido van Rossum [Fri, 19 Jun 1998 04:33:30 +0000 (04:33 +0000)]
Added <ctype.h>, needed for Windows.

26 years agoAdded _locale
Guido van Rossum [Fri, 19 Jun 1998 04:29:55 +0000 (04:29 +0000)]
Added _locale

26 years agoThere was an error check in a loop in PythonCmd which called
Guido van Rossum [Fri, 19 Jun 1998 04:28:10 +0000 (04:28 +0000)]
There was an error check in a loop in PythonCmd which called
PythonCmd_Error() but failed to return.  The error wasn't very likely
(only when we run out of memory) but since the check is there we might
as well return the error.  (I think that Barry introduced this buglet
when he added error checks everywhere.)

26 years agoAdded a stronger warning about changing the dictionary returned by
Guido van Rossum [Thu, 18 Jun 1998 16:45:34 +0000 (16:45 +0000)]
Added a stronger warning about changing the dictionary returned by
locals().

26 years agoPiers' latest version -- authentication added by Donn Cave.
Guido van Rossum [Thu, 18 Jun 1998 14:24:28 +0000 (14:24 +0000)]
Piers' latest version -- authentication added by Donn Cave.

26 years ago# Untabified the example :-(
Guido van Rossum [Wed, 17 Jun 1998 22:38:09 +0000 (22:38 +0000)]
# Untabified the example :-(

26 years agoDocumented that by default the output goes to stderr, and that a file
Guido van Rossum [Wed, 17 Jun 1998 22:37:26 +0000 (22:37 +0000)]
Documented that by default the output goes to stderr, and that a file
keyword argument can be used to direct it somewhere else.  Also
documented all the other functions in this module, and even added a
little example.

# Haven't tested the latex for correctness -- all latex installations
# appear broken.

26 years agoIn class _Subfile, make sure read(n) can't read beyond EOF. Also
Guido van Rossum [Wed, 17 Jun 1998 18:34:40 +0000 (18:34 +0000)]
In class _Subfile, make sure read(n) can't read beyond EOF.  Also
allow negative numbers to specify read until EOF (like for a regular
file's read() method).

26 years agoChange the description of input() -- it is exactly equivalent to
Guido van Rossum [Wed, 17 Jun 1998 15:16:40 +0000 (15:16 +0000)]
Change the description of input() -- it is exactly equivalent to
eval(raw_input(s)).  The statement about breaking a long expression
over multiple lines is no longer true.

26 years agoMinor cleanup by Tim after my changes:
Guido van Rossum [Wed, 17 Jun 1998 14:15:44 +0000 (14:15 +0000)]
Minor cleanup by Tim after my changes:

+ Took the "list" argument out of the other functions that no longer need
it.  This speeds things up a little more.

+ Small comment changes in accord with that.

+ Exploited the now-safe ability to cache values in the partitioning loop.
Makes no timing difference on my flavor of Pentium, but this machine ran out
of registers 12 iterations ago.  It should yield a small speedup on a RISC
machine, and not hurt in any case.

26 years agoAdd __getitem__ to AddressList object, to make it a sequence.
Guido van Rossum [Tue, 16 Jun 1998 22:29:03 +0000 (22:29 +0000)]
Add __getitem__ to AddressList object, to make it a sequence.

26 years agoSome extra notes, and describe a new class (AddressList), all by ESR.
Guido van Rossum [Tue, 16 Jun 1998 22:27:40 +0000 (22:27 +0000)]
Some extra notes, and describe a new class (AddressList), all by ESR.

26 years agoSome extra comments and docstrings, and a new class (AddressList), all by ESR.
Guido van Rossum [Tue, 16 Jun 1998 22:27:09 +0000 (22:27 +0000)]
Some extra comments and docstrings, and a new class (AddressList), all by ESR.

26 years agoTim's latest, with some of my changes (also a TP suggestion) added:
Guido van Rossum [Tue, 16 Jun 1998 15:18:28 +0000 (15:18 +0000)]
Tim's latest, with some of my changes (also a TP suggestion) added:
instead of testing whether the list changed size after each
comparison, temporarily set the type of the list to an immutable list
type.  This should allow continued use of the list for legitimate
purposes but disallows all operations that can change it in any way.
(Changes to the internals of list items are not caught, of cause;
that's not possible to detect, and it's not necessary to protect the
sort code, either.)

26 years agoFixed the UDP server -- this never worked. Ray Loyzaga deserves
Guido van Rossum [Tue, 16 Jun 1998 02:27:33 +0000 (02:27 +0000)]
Fixed the UDP server -- this never worked.  Ray Loyzaga deserves
credit for complaining about this and for testing these changes.

26 years agoSubject: Bug in PC/import_nt.c
Guido van Rossum [Mon, 15 Jun 1998 18:01:34 +0000 (18:01 +0000)]
Subject: Bug in PC/import_nt.c
From: Dan Pierson <dan@remote.control.com>
To: "Mark Hammond (E-mail)" <MHammond@skippinet.com.au>,
    "Guido van Rossum (E-mail)" <guido@cnri.reston.va.us>
Date: Mon, 8 Jun 1998 17:25:07 -0400

RegistryQueryValue requires that its fourth argument be initialized to
the length of the buffer being passed in, this wasn't being done.  I
also split the call and status test into two lines with a local variable
so that I could look at the status in the debugger.

26 years agoLots of changes to get this in sync with the Frame version.
Guido van Rossum [Mon, 15 Jun 1998 18:00:50 +0000 (18:00 +0000)]
Lots of changes to get this in sync with the Frame version.
Added raw strings, imaginary literals, assert and exec (!) keywords, a
table about Resererved classes of identifiers, and more.

26 years agoTwo small additions to make it identical to the obsolete Frame version.
Guido van Rossum [Mon, 15 Jun 1998 16:27:37 +0000 (16:27 +0000)]
Two small additions to make it identical to the obsolete Frame version.

26 years agoNewNew abstract, copied from the obsolete Frame version.
Guido van Rossum [Mon, 15 Jun 1998 16:27:09 +0000 (16:27 +0000)]
NewNew abstract, copied from the obsolete Frame version.

26 years ago# This is a new module I wrote over the weekend. Again, you missed the
Guido van Rossum [Mon, 15 Jun 1998 14:49:16 +0000 (14:49 +0000)]
# This is a new module I wrote over the weekend.  Again, you missed the
# checkin email because my PC doesn't have the "Mail" command.

Add threading (now that it works).  Also some small adaptations to
Unix again.