]> granicus.if.org Git - python/log
python
27 years agoUndo half of the previous change :-(
Guido van Rossum [Tue, 4 Nov 1997 19:36:18 +0000 (19:36 +0000)]
Undo half of the previous change :-(

Setting interp->builtins to the __builtin__ module instead of to its
dictionary had the unfortunate side effect of always running in
restricted execution mode :-(

I will check in a different way of setting __main__.__builtins__ to
the __builtin__ module later.

Also, there was a typo -- a comment was unfinished, and as a result
some finalizations were not being executed.

In Bart Simpson style,

I Will Not Check In Untested Changes.
I Will Not Check In Untested Changes.
I Will Not Check In Untested Changes.
I Will Not Check In Untested Changes.
I Will Not Check In Untested Changes.
I Will Not Check In Untested Changes.
I Will Not Check In Untested Changes.
I Will Not Check In Untested Changes.
I Will Not Check In Untested Changes.
I Will Not Check In Untested Changes.

27 years ago(py-backspace-function): New variable.
Barry Warsaw [Tue, 4 Nov 1997 19:21:50 +0000 (19:21 +0000)]
(py-backspace-function): New variable.

(py-electric-backspace, py-electric-delete): Support the XEmacs 20 Way
for backspace and delete mappings.  In XEmacs 19, Emacs 19, and Emacs
20, both backspace and delete keysyms are bound to
py-electric-backspace.  In XEmacs 20, backspace and delete keysyms are
bound separately, allowing the user to specify forward or backward
deletion of the delete keysym through the variable
delete-key-deletes-forward.  All this is the Right Way To Do It and
this implementation was largely ripped from CC Mode.

27 years agoFirst round of changes, mostly subprocess stuff.
Barry Warsaw [Tue, 4 Nov 1997 18:47:06 +0000 (18:47 +0000)]
First round of changes, mostly subprocess stuff.

(py-execute-file): Better interaction with comint.  Set
comint-scroll-to-bottom-on-output to t.  Wrapper buffer change in
unwind-protect in case process filter fails.

(py-shell): Start Python with -i flag to fix tty problem on Windows;
presumably -- not yet tested.

(py-clear-queue): New function to clear the pending exec file queue.
Not currently keybound.

(py-execute-region, py-execute-buffer): Added optional async flag (use
via C-u prefix) to execute the region in a new asynchrous buffer, even
if the Python shell is running.

(py-append-to-process-buffer): Removed as obsolete.  Comint provides
this functionality.

Removed fbound test defun of match-string.  All modern X/Emacsen have
this function.

27 years agoislink() returns false, but there is no constant false! Return 0 instead.
Guido van Rossum [Tue, 4 Nov 1997 18:40:53 +0000 (18:40 +0000)]
islink() returns false, but there is no constant false!  Return 0 instead.

27 years agoWhen checking for equality, open the slave file in text mode so it
Guido van Rossum [Tue, 4 Nov 1997 17:35:43 +0000 (17:35 +0000)]
When checking for equality, open the slave file in text mode so it
will compare equal even if the master file uses only \n to terminate
lines (this is by far the most common situation).  Also, check for the
case where the master file is missing, and print the time difference
in seconds when the slave file appears newer than the master (for
debugging).

27 years agoUse ``0'' instead of ``None'' to reset the underlying object in close
Guido van Rossum [Tue, 4 Nov 1997 17:32:59 +0000 (17:32 +0000)]
Use ``0'' instead of ``None'' to reset the underlying object in close
methods.  Using None causes problems if the destructor is called after
the __builtin__ module has already been destroyed (unfortunately, this
can happen!).  I can't just delete the object because it is actually
tested for (if self._sock: ...).  Setting it to 0 is a bit weird but
works.

27 years agoFix due to Bill Noon for problem discovered by Ken Manheimer: packing
Guido van Rossum [Tue, 4 Nov 1997 17:12:33 +0000 (17:12 +0000)]
Fix due to Bill Noon for problem discovered by Ken Manheimer: packing
0.0 as float or double would yield the representation for 1.0!

27 years agoGet rid of another reference to _PyImport_Inittab (now a static array)
Guido van Rossum [Tue, 4 Nov 1997 17:04:34 +0000 (17:04 +0000)]
Get rid of another reference to _PyImport_Inittab (now a static array)
that should be PyImport_Inittab (a new pointer initialized to point to
the array).

27 years agoThe warning about thread still having a frame now only happens in
Guido van Rossum [Mon, 3 Nov 1997 22:08:36 +0000 (22:08 +0000)]
The warning about thread still having a frame now only happens in
verbose mode.

27 years agoMove the Py_{{BEGIN,END}_ALLOW,BLOCK}_THREADS macros in time_sleep()
Guido van Rossum [Mon, 3 Nov 1997 22:04:46 +0000 (22:04 +0000)]
Move the Py_{{BEGIN,END}_ALLOW,BLOCK}_THREADS macros in time_sleep()
to inside floatsleep().  This is necessary because floatsleep() does
the error handling and it must have grabbed the interpreter lock and
thread state before it can do so.

27 years agoTwo independent changes (alas):
Guido van Rossum [Mon, 3 Nov 1997 21:58:47 +0000 (21:58 +0000)]
Two independent changes (alas):

- The interp->builtins variable (and hence, __main__.__builtins__) is
once again initialized to the built-in *module* instead of its
dictionary.

- The finalization order is once again changed.  Signals are finalized
relatively early, because (1) it DECREF's the signal handlers, and if
a signal handler happens to be a bound method, deleting it could cause
problems when there's no current thread around, and (2) we don't want
to risk executing signal handlers during finalization.

27 years agoChange the signal finialization so that it also resets the signal
Guido van Rossum [Mon, 3 Nov 1997 21:53:55 +0000 (21:53 +0000)]
Change the signal finialization so that it also resets the signal
handlers.  After this has been called, our signal handlers are no
longer active!

27 years agoDoing the most complicated CVS dance I've ever seen. Barry has had
Guido van Rossum [Mon, 3 Nov 1997 17:14:19 +0000 (17:14 +0000)]
Doing the most complicated CVS dance I've ever seen.  Barry has had
his *own* RCS file for python-mode.el, and I've agreed that it would
be better if his version was in the Python source tree.  However I
don't want to totally get rid of the old RCS file (which has
interesting info such as which version was in which Python release).
So I've moved the old one to python-mode-old.el behind the scenes,
and this checkin message indicates that I'm now deleting it.
If you do an update, you will actually get Barry's *new* version!

27 years agoChanges in preparation for integrating into the Python CVS tree.
Barry Warsaw [Mon, 3 Nov 1997 16:59:38 +0000 (16:59 +0000)]
Changes in preparation for integrating into the Python CVS tree.

Introductory comment updates.

(python-font-lock-keywords): Added "assert"

(py-block-closing-keywords-re): New variable.

(py-no-outdent-re): Rewrite to use py-block-closing-keywords-re.

(py-shell): py-process-filter should no longer be necessary.  Comint
should do all the work.  Note that more fixes to the py-shell process
mechanism need to be done.

(py-execute-region): Check for empty region.  Some questionable
changes to set-buffer after shell-command-on-region.  Again, this all
needs to be closely examined for X/Emacs 19/20 compatibility.

(py-goto-beyond-final-line): py-parse-partial-sexp-works-p should no
longer be necessary.

(py-statement-closes-block-p): Use py-block-closing-keywords-re.

27 years agoAdd cast to realloc/malloc call to shut up AIX compiler. (Vladimir Marangozov)
Guido van Rossum [Fri, 31 Oct 1997 20:32:13 +0000 (20:32 +0000)]
Add cast to realloc/malloc call to shut up AIX compiler.  (Vladimir Marangozov)

27 years agoNew policy for package imports: only a directory containing
Guido van Rossum [Fri, 31 Oct 1997 18:38:52 +0000 (18:38 +0000)]
New policy for package imports: only a directory containing
__init__.py (or __init__.pyc/.pyo, whichever applies) is considered a
package.  All other subdirectories are left alone.  Should make Konrad
Hinsen happy!

27 years agoInstead of using _PyImport_Inittab[] directly, use the new "official"
Guido van Rossum [Fri, 31 Oct 1997 18:37:24 +0000 (18:37 +0000)]
Instead of using _PyImport_Inittab[] directly, use the new "official"
pointer *PyImport_Inittab which is initialized to _PyImport_Inittab.

27 years agoRemove the declaration of "internal" table _PyImport_Inittab[]; add
Guido van Rossum [Fri, 31 Oct 1997 18:36:47 +0000 (18:36 +0000)]
Remove the declaration of "internal" table _PyImport_Inittab[]; add
new "official" pointer *PyImport_Inittab.

27 years agoAdd empty __init__.py files to the test packages so the new policy
Guido van Rossum [Fri, 31 Oct 1997 18:33:41 +0000 (18:33 +0000)]
Add empty __init__.py files to the test packages so the new policy
will recognize them.

27 years agoTake out the setlocale() call. It affects atof() and will break
Guido van Rossum [Fri, 31 Oct 1997 18:25:15 +0000 (18:25 +0000)]
Take out the setlocale() call.  It affects atof() and will break
floating point literals.  Need to do this differently...

27 years agoHack suggested by Matthias Klose to pull in all relevant entry points
Guido van Rossum [Fri, 31 Oct 1997 17:00:30 +0000 (17:00 +0000)]
Hack suggested by Matthias Klose to pull in all relevant entry points
in libmath.a so they are available to mathmodule.so (in case it is
shared).  While this still gets triggered on Solaris 2.x, this appears
to be harmless there.

27 years agoAdd #include "mytime.h", needed for SunOS 4.1 (Matthias Klose).
Guido van Rossum [Fri, 31 Oct 1997 16:55:51 +0000 (16:55 +0000)]
Add #include "mytime.h", needed for SunOS 4.1 (Matthias Klose).

27 years agoNew version from Sjoerd, small bugfix + optimizations.
Guido van Rossum [Thu, 30 Oct 1997 15:27:37 +0000 (15:27 +0000)]
New version from Sjoerd, small bugfix + optimizations.

27 years agoInstall Misc/Makefile.pre.in in the config/ install directory.
Guido van Rossum [Wed, 29 Oct 1997 19:07:30 +0000 (19:07 +0000)]
Install Misc/Makefile.pre.in in the config/ install directory.
Suggestion by Konrad Hinsen.

27 years agoTests for tokenize.py (Ka-Ping Yee)
Guido van Rossum [Mon, 27 Oct 1997 22:15:06 +0000 (22:15 +0000)]
Tests for tokenize.py (Ka-Ping Yee)

27 years agoNew, fixed version with proper r"..." and R"..." support from Ka-Ping.
Guido van Rossum [Mon, 27 Oct 1997 21:17:24 +0000 (21:17 +0000)]
New, fixed version with proper r"..." and R"..." support from Ka-Ping.

27 years agoRedone (by Ka-Ping) using the new re module, and adding recognition
Guido van Rossum [Mon, 27 Oct 1997 20:44:15 +0000 (20:44 +0000)]
Redone (by Ka-Ping) using the new re module, and adding recognition
for r"..." raw strings.  (And R"..." string support added by Guido.)

27 years agoSmall wording change about global and local trace functions.
Guido van Rossum [Mon, 27 Oct 1997 19:57:20 +0000 (19:57 +0000)]
Small wording change about global and local trace functions.

27 years agoThis should hopefully finally clean up the remaining __del__ related
Guido van Rossum [Mon, 27 Oct 1997 18:56:19 +0000 (18:56 +0000)]
This should hopefully finally clean up the remaining __del__ related
problems with this module, even if an instance of a derived class is
kept alive longer than the urllib module itself...

27 years agoBugfix in match() -- the number of registers shouldn't be divided by two!
Guido van Rossum [Mon, 27 Oct 1997 18:17:19 +0000 (18:17 +0000)]
Bugfix in match() -- the number of registers shouldn't be divided by two!

27 years agoUse __dict__.update(state) instead of for loop over state.items() and
Guido van Rossum [Sun, 26 Oct 1997 17:00:25 +0000 (17:00 +0000)]
Use __dict__.update(state) instead of for loop over state.items() and
call to setattr().  This changes semantics, following the change
already implemented in pickle.

Also reindented a few lines properly.

27 years agoOoops, found too more references to old conditions on floating point values.
Fred Drake [Fri, 24 Oct 1997 21:15:55 +0000 (21:15 +0000)]
Ooops, found too more references to old conditions on floating point values.

27 years agoRemoved obsolete discussion on _xdr helper module.
Fred Drake [Fri, 24 Oct 1997 21:14:36 +0000 (21:14 +0000)]
Removed obsolete discussion on _xdr helper module.

27 years agore -> regex conversions by Sjoerd.
Guido van Rossum [Fri, 24 Oct 1997 14:46:16 +0000 (14:46 +0000)]
re -> regex conversions by Sjoerd.

27 years agoNew module -- converts regex regular expressions to re style.
Guido van Rossum [Thu, 23 Oct 1997 22:43:50 +0000 (22:43 +0000)]
New module -- converts regex regular expressions to re style.
There are two ways to use this -- as a filter (e.g. using C-U M-| on a
regex string literal in an Emacs buffer) or from a Python program
which imports this as a module.  Read the doc string for more info,
and also some caveats (some cases aren't handled right).

27 years agoAlthough it's hard to be sure, I *think* this is a working conversion
Guido van Rossum [Thu, 23 Oct 1997 19:09:21 +0000 (19:09 +0000)]
Although it's hard to be sure, I *think* this is a working conversion
from regex to re style regular expressions.  This should make sgmllib
and htmllib threadsafe, so I can now create a threaded version of
webchecker...

27 years agoRemove redundant import regsub.
Guido van Rossum [Thu, 23 Oct 1997 17:50:10 +0000 (17:50 +0000)]
Remove redundant import regsub.

27 years agoDaniel Larsson discovered another cut-n-paste bug in the Olimit story...
Guido van Rossum [Thu, 23 Oct 1997 17:43:11 +0000 (17:43 +0000)]
Daniel Larsson discovered another cut-n-paste bug in the Olimit story...

27 years agoConvert all remaining *simple* cases of regex usage to re usage.
Guido van Rossum [Wed, 22 Oct 1997 21:00:49 +0000 (21:00 +0000)]
Convert all remaining *simple* cases of regex usage to re usage.

27 years agoAdd pcre to the list of safe modules.
Guido van Rossum [Wed, 22 Oct 1997 20:56:32 +0000 (20:56 +0000)]
Add pcre to the list of safe modules.

27 years agoRemove outdated comments.
Guido van Rossum [Wed, 22 Oct 1997 20:54:50 +0000 (20:54 +0000)]
Remove outdated comments.

27 years agoRemoved some unneeded imports, moved others around.
Guido van Rossum [Wed, 22 Oct 1997 20:52:53 +0000 (20:52 +0000)]
Removed some unneeded imports, moved others around.

27 years agoRemoved unneeded imports of regex and regsub.
Guido van Rossum [Wed, 22 Oct 1997 20:50:37 +0000 (20:50 +0000)]
Removed unneeded imports of regex and regsub.

27 years agoUse re instead of regex. Also remove bogus return statement from __init__().
Guido van Rossum [Wed, 22 Oct 1997 20:49:52 +0000 (20:49 +0000)]
Use re instead of regex.  Also remove bogus return statement from __init__().

27 years agoAdded pgrep() function, which is like grep/egrep/emgrep but uses Perl
Guido van Rossum [Wed, 22 Oct 1997 20:44:58 +0000 (20:44 +0000)]
Added pgrep() function, which is like grep/egrep/emgrep but uses Perl
syntax, by virtue of the new re module.

27 years agoDeleted this long-obsolete module
Guido van Rossum [Wed, 22 Oct 1997 16:29:53 +0000 (16:29 +0000)]
Deleted this long-obsolete module

27 years agoAdded "new" symbol defns for RE_ANSI_HEX and RE_NO_GNU_EXTENSIONS --
Guido van Rossum [Wed, 22 Oct 1997 16:28:53 +0000 (16:28 +0000)]
Added "new" symbol defns for RE_ANSI_HEX and RE_NO_GNU_EXTENSIONS --
hopefully the last maintenance on this module, ever.

27 years agoPut {} around \^ in sets to force latex2html to do the right thing...
Guido van Rossum [Wed, 22 Oct 1997 03:03:44 +0000 (03:03 +0000)]
Put {} around \^ in sets to force latex2html to do the right thing...

27 years agoNew CObject from Jim Fulton, adds PyCObject_FromVoidPtrAndDesc() and
Guido van Rossum [Tue, 21 Oct 1997 19:48:35 +0000 (19:48 +0000)]
New CObject from Jim Fulton, adds PyCObject_FromVoidPtrAndDesc() and
PyCObject_GetDesc().

27 years agoForgot to add .cxx and .cpp to the second case statement.
Guido van Rossum [Tue, 21 Oct 1997 19:30:29 +0000 (19:30 +0000)]
Forgot to add .cxx and .cpp to the second case statement.
Thanks to Daniel Larsson.

27 years agoSome patches to Lee Busby's fpectl mods that accidentally didn't make it
Guido van Rossum [Mon, 20 Oct 1997 23:50:01 +0000 (23:50 +0000)]
Some patches to Lee Busby's fpectl mods that accidentally didn't make it
into 1.5a4.

27 years agoRemove "." or "" from front of sys.path (this bit me once).
Guido van Rossum [Mon, 20 Oct 1997 23:48:01 +0000 (23:48 +0000)]
Remove "." or "" from front of sys.path (this bit me once).

27 years agoCatch KeyboardInterrupt separately and propagate it, instead of
Guido van Rossum [Mon, 20 Oct 1997 23:46:54 +0000 (23:46 +0000)]
Catch KeyboardInterrupt separately and propagate it, instead of
reporting a "crash".

Use sys.exc_info() instead of sys.exc_type and sys.exc_value.

27 years agoAdd optional 4th argument to count(), matching find() etc.
Guido van Rossum [Mon, 20 Oct 1997 23:31:15 +0000 (23:31 +0000)]
Add optional 4th argument to count(), matching find() etc.
Also change all occurrences of "x == None" to "x is None" (not that it
matters much, these functions are all reimplemented in strop -- but
count() is not).

27 years agoPatch by Charles G. Waldman to add optional user and password
Guido van Rossum [Mon, 20 Oct 1997 23:29:44 +0000 (23:29 +0000)]
Patch by Charles G. Waldman to add optional user and password
arguments to NNTP.__init__(), for nntp servers that need them.

27 years agoWrite a str() function for class objects that returns
Guido van Rossum [Mon, 20 Oct 1997 23:26:11 +0000 (23:26 +0000)]
Write a str() function for class objects that returns
"modulename.classname" instead of returning the same as repr().

27 years agoDon't use sscanf(s, "%x", &c) to parse \xX... escapes; hardcode it.
Guido van Rossum [Mon, 20 Oct 1997 23:24:07 +0000 (23:24 +0000)]
Don't use sscanf(s, "%x", &c) to parse \xX... escapes; hardcode it.

27 years agoAdd getintarg(), getlongarg(), getstrarg() to macros since these no
Guido van Rossum [Mon, 20 Oct 1997 23:22:07 +0000 (23:22 +0000)]
Add getintarg(), getlongarg(), getstrarg() to macros since these no
longer exist in the general headers.

27 years agoAdd proper (getattrfunc) cast in Pcre_Type.
Guido van Rossum [Mon, 20 Oct 1997 23:21:23 +0000 (23:21 +0000)]
Add proper (getattrfunc) cast in Pcre_Type.

27 years agoChange sharedmodules to lib-dynload.
Guido van Rossum [Mon, 20 Oct 1997 23:20:32 +0000 (23:20 +0000)]
Change sharedmodules to lib-dynload.

### If you still have sharedmodules in your Modules/Setup file, remove it! ###

27 years agoRemove .pyo files like .pyc files.
Guido van Rossum [Mon, 20 Oct 1997 23:16:58 +0000 (23:16 +0000)]
Remove .pyo files like .pyc files.

27 years agoRename sharedmodules to lib-dynload.
Guido van Rossum [Mon, 20 Oct 1997 23:16:32 +0000 (23:16 +0000)]
Rename sharedmodules to lib-dynload.

Treat .pyo files like .pyc files.

27 years agoSwitch around OPT assignments in Don Beaudry's patch for Olimit (his
Guido van Rossum [Mon, 20 Oct 1997 23:10:56 +0000 (23:10 +0000)]
Switch around OPT assignments in Don Beaudry's patch for Olimit (his
code had the assignments switched around).

Also rename sharedmodules to lib-dynload.

27 years agoAIX notes are simpler -- no need to enable sharedlibs with an edit.
Guido van Rossum [Mon, 20 Oct 1997 22:57:00 +0000 (22:57 +0000)]
AIX notes are simpler -- no need to enable sharedlibs with an edit.

27 years agocount() now has a 4th parameter too. Also rephrased the docs for find
Guido van Rossum [Mon, 20 Oct 1997 22:40:26 +0000 (22:40 +0000)]
count() now has a 4th parameter too.  Also rephrased the docs for find
to use the same, better words to explain start/end.

27 years agoDocumented exc_info(); also updated exc_type and last_type docs.
Guido van Rossum [Mon, 20 Oct 1997 22:38:43 +0000 (22:38 +0000)]
Documented exc_info(); also updated exc_type and last_type docs.

27 years agoAdded separate tests for {}.get().
Guido van Rossum [Mon, 20 Oct 1997 20:10:43 +0000 (20:10 +0000)]
Added separate tests for {}.get().

27 years agoCorrect Barry's fix -- take care of {}.get(0).
Guido van Rossum [Mon, 20 Oct 1997 20:10:00 +0000 (20:10 +0000)]
Correct Barry's fix -- take care of {}.get(0).

27 years agoAdded tests of dict.get()
Barry Warsaw [Mon, 20 Oct 1997 17:34:43 +0000 (17:34 +0000)]
Added tests of dict.get()

27 years agodict_get(): Fixed a couple of stupid mistakes which caused crashes.
Barry Warsaw [Mon, 20 Oct 1997 17:26:25 +0000 (17:26 +0000)]
dict_get(): Fixed a couple of stupid mistakes which caused crashes.
Also got rid of some unnecessary code.

27 years agoChange Python-as-executable-script example to use "#! /usr/bin/env python"
Fred Drake [Wed, 15 Oct 1997 14:37:24 +0000 (14:37 +0000)]
Change Python-as-executable-script example to use "#! /usr/bin/env python"
since that's now the recommended way to do it.

In pickling discussion, change "code{pickle}" (not missing leading "\") to
"This" since the immediately preceeding sentence ended with the same text
(with the proper "\").  Fixes a formatting bug and an odd glitch in the
writing.

27 years agosplitpasswd(): The parameter is named "user", not "host".
Fred Drake [Tue, 14 Oct 1997 13:30:57 +0000 (13:30 +0000)]
splitpasswd():  The parameter is named "user", not "host".

27 years agoRestore the \seealso formatting that got lost when I updated the math
Fred Drake [Mon, 13 Oct 1997 22:06:17 +0000 (22:06 +0000)]
Restore the \seealso formatting that got lost when I updated the math
module documentation.

27 years agoAdd support for ctypedesc, cvardesc, seealso, seemodule, seetext.
Fred Drake [Mon, 13 Oct 1997 22:04:17 +0000 (22:04 +0000)]
Add support for ctypedesc, cvardesc, seealso, seemodule, seetext.

This seems to take care of everything but tables and equations.

27 years agoRemove macpath entry -- it is already documented.
Fred Drake [Mon, 13 Oct 1997 22:02:09 +0000 (22:02 +0000)]
Remove macpath entry -- it is already documented.

27 years agosocket_type ==> SocketType
Fred Drake [Mon, 13 Oct 1997 21:31:02 +0000 (21:31 +0000)]
socket_type ==> SocketType

27 years agoRemove superfluous comman from between "not" and "in" when describing the
Fred Drake [Mon, 13 Oct 1997 20:48:17 +0000 (20:48 +0000)]
Remove superfluous comman from between "not" and "in" when describing the
"not in" operator.

27 years agostruct _frozen:
Fred Drake [Mon, 13 Oct 1997 18:18:33 +0000 (18:18 +0000)]
struct _frozen:
Use spaces instead of tabs to indent structure definition; tabs don't
work in tex/latex.

PyImport_FrozenModules:
struct _freeze ==> struct _frozen

27 years agoShared libraries didn't quite work under AIX because of the change in
Guido van Rossum [Fri, 10 Oct 1997 17:40:00 +0000 (17:40 +0000)]
Shared libraries didn't quite work under AIX because of the change in
status of the GNU readline interface.  Here's a patch, by Vladimir
Marangozov.

27 years agoDarn. When thread support is disabled, the BEGIN/END macros don't
Guido van Rossum [Fri, 10 Oct 1997 17:39:19 +0000 (17:39 +0000)]
Darn.  When thread support is disabled, the BEGIN/END macros don't
save and restore the tstate, but explicitly calling
PyEval_SaveThread() does reset it!  While I think about how to fix
this for real, here's a fix that avoids getting a fatal error.

27 years agoUpdated (but still not up to date)
Jack Jansen [Fri, 10 Oct 1997 15:50:37 +0000 (15:50 +0000)]
Updated (but still not up to date)

27 years agoBuild balloon help for EditPythonPrefs
Jack Jansen [Fri, 10 Oct 1997 15:50:00 +0000 (15:50 +0000)]
Build balloon help for EditPythonPrefs

27 years agoFixup sys.path to be able to find macostools
Jack Jansen [Fri, 10 Oct 1997 15:49:36 +0000 (15:49 +0000)]
Fixup sys.path to be able to find macostools

27 years ago1.5a4 relnotes
Jack Jansen [Fri, 10 Oct 1997 15:48:57 +0000 (15:48 +0000)]
1.5a4 relnotes

27 years agoProjects used for 1.5a4
Jack Jansen [Fri, 10 Oct 1997 15:48:01 +0000 (15:48 +0000)]
Projects used for 1.5a4

27 years agoThis commit was manufactured by cvs2svn to create tag 'r15a4'. v1.5a4
cvs2svn [Thu, 9 Oct 1997 23:32:24 +0000 (23:32 +0000)]
This commit was manufactured by cvs2svn to create tag 'r15a4'.

27 years agoFinal touch -- Don's SGI_ABI patches.
Guido van Rossum [Thu, 9 Oct 1997 23:32:24 +0000 (23:32 +0000)]
Final touch -- Don's SGI_ABI patches.

27 years agoDon Beaudry's changes to support SGI_ABI on Irix 6.x.
Guido van Rossum [Thu, 9 Oct 1997 20:24:13 +0000 (20:24 +0000)]
Don Beaudry's changes to support SGI_ABI on Irix 6.x.

27 years agoRemove requirement for strdup() since it causes so many troubles for too many
Fred Drake [Thu, 9 Oct 1997 16:29:31 +0000 (16:29 +0000)]
Remove requirement for strdup() since it causes so many troubles for too many
platforms.  Argh!

27 years agoTypo in description of news in errno; added setlocale() call.
Guido van Rossum [Wed, 8 Oct 1997 22:49:49 +0000 (22:49 +0000)]
Typo in description of news in errno; added setlocale() call.

27 years agoAdd call to setlocale(LC_ALL, "").
Guido van Rossum [Wed, 8 Oct 1997 22:49:17 +0000 (22:49 +0000)]
Add call to setlocale(LC_ALL, "").

27 years agoAdd checks for setlocale() and <locale.h>
Guido van Rossum [Wed, 8 Oct 1997 22:47:52 +0000 (22:47 +0000)]
Add checks for setlocale() and <locale.h>

27 years agoPut back the extern declaration for strdup(), between #ifndef MS_WINDOWS.
Guido van Rossum [Wed, 8 Oct 1997 15:45:53 +0000 (15:45 +0000)]
Put back the extern declaration for strdup(), between #ifndef MS_WINDOWS.
This should make everybody happy, especially since we don't say what
the argument type is (there is disagreement on that, too :-( ).

27 years ago1.5a3 relnotes (1.5a4 to follow later)
Jack Jansen [Wed, 8 Oct 1997 15:35:17 +0000 (15:35 +0000)]
1.5a3 relnotes (1.5a4 to follow later)

27 years agoUpdated for 1.5a4
Jack Jansen [Wed, 8 Oct 1997 15:34:42 +0000 (15:34 +0000)]
Updated for 1.5a4

27 years agoAdded pcre module
Jack Jansen [Wed, 8 Oct 1997 15:34:03 +0000 (15:34 +0000)]
Added pcre module

27 years agoBug fix for fast module location
Jack Jansen [Wed, 8 Oct 1997 15:32:46 +0000 (15:32 +0000)]
Bug fix for fast module location

27 years agoUpped version to 1.5a4, changed sys.path initialization to match new
Jack Jansen [Wed, 8 Oct 1997 15:31:47 +0000 (15:31 +0000)]
Upped version to 1.5a4, changed sys.path initialization to match new
directory structure.

27 years agotimezone support for macintosh (Jack)
Guido van Rossum [Wed, 8 Oct 1997 15:27:56 +0000 (15:27 +0000)]
timezone support for macintosh (Jack)

27 years agoInclude macbuildno.h here (mac only) (Jack)
Guido van Rossum [Wed, 8 Oct 1997 15:26:56 +0000 (15:26 +0000)]
Include macbuildno.h here (mac only) (Jack)