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

27 years agolots of "goto error" replaced by "return" (Jack)
Guido van Rossum [Wed, 8 Oct 1997 15:26:28 +0000 (15:26 +0000)]
lots of "goto error" replaced by "return" (Jack)

27 years agoConverted to new exception style (Jack)
Guido van Rossum [Wed, 8 Oct 1997 15:26:07 +0000 (15:26 +0000)]
Converted to new exception style (Jack)

27 years agoMac does support createfilehandler now (Jack)
Guido van Rossum [Wed, 8 Oct 1997 15:25:37 +0000 (15:25 +0000)]
Mac does support createfilehandler now (Jack)

27 years agoMoved mac-specific speedup to a different place (Jack)
Guido van Rossum [Wed, 8 Oct 1997 15:25:08 +0000 (15:25 +0000)]
Moved mac-specific speedup to a different place (Jack)

27 years agoFixed for WITHOUT_COMPLEX compilation (Jack)
Guido van Rossum [Wed, 8 Oct 1997 15:23:55 +0000 (15:23 +0000)]
Fixed for WITHOUT_COMPLEX compilation (Jack)

27 years agoOpen files in binary mode (Jack)
Guido van Rossum [Wed, 8 Oct 1997 15:23:23 +0000 (15:23 +0000)]
Open files in binary mode (Jack)

27 years agoUse better timer on the mac
Guido van Rossum [Wed, 8 Oct 1997 15:23:02 +0000 (15:23 +0000)]
Use better timer on the mac
Open files in binary mode
(Jack)

27 years agoAllow open file as parameter (must be seekable) (Jack)
Guido van Rossum [Wed, 8 Oct 1997 15:22:32 +0000 (15:22 +0000)]
Allow open file as parameter (must be seekable) (Jack)

27 years agoGenerate new style exception initializer (Jack).
Guido van Rossum [Wed, 8 Oct 1997 15:21:57 +0000 (15:21 +0000)]
Generate new style exception initializer (Jack).

27 years agoReady for the release, I'd say.
Guido van Rossum [Wed, 8 Oct 1997 05:05:28 +0000 (05:05 +0000)]
Ready for the release, I'd say.

27 years agoChange test for re.sub() involving g<...> to use a multi-character
Guido van Rossum [Wed, 8 Oct 1997 04:05:08 +0000 (04:05 +0000)]
Change test for re.sub() involving g<...> to use a multi-character
identifier.  The previous re.py had a bug that wouldn't show up with
single-char identifier...

27 years agoChecking in AMK's latest installement.
Guido van Rossum [Wed, 8 Oct 1997 02:08:04 +0000 (02:08 +0000)]
Checking in AMK's latest installement.

27 years agoChecking in AMK's latest installement.
Guido van Rossum [Wed, 8 Oct 1997 02:07:40 +0000 (02:07 +0000)]
Checking in AMK's latest installement.
(Two small changes to shup up gcc added.)

27 years agoImplemented nositepython and oldexceptions flags
Jack Jansen [Tue, 7 Oct 1997 21:48:57 +0000 (21:48 +0000)]
Implemented nositepython and oldexceptions flags

27 years agoFixed for new "import dir.module" semantics. Needs accompanying fix in
Jack Jansen [Tue, 7 Oct 1997 21:48:31 +0000 (21:48 +0000)]
Fixed for new "import dir.module" semantics. Needs accompanying fix in
import.c (yes Guido, I'll send it tomorrow)

27 years agoNew exception interface
Jack Jansen [Tue, 7 Oct 1997 21:47:25 +0000 (21:47 +0000)]
New exception interface

27 years agoUse `...` around binary strings.
Guido van Rossum [Tue, 7 Oct 1997 21:22:48 +0000 (21:22 +0000)]
Use `...` around binary strings.

27 years agoinitparser(): Use PyErr_NewException() to create the exception.
Fred Drake [Tue, 7 Oct 1997 19:32:00 +0000 (19:32 +0000)]
initparser():  Use PyErr_NewException() to create the exception.

27 years agoA few last-minute additions and some rearrangements and corrections.
Guido van Rossum [Tue, 7 Oct 1997 19:12:50 +0000 (19:12 +0000)]
A few last-minute additions and some rearrangements and corrections.
What's "xlib"?  I took the line that mentioned it out.

27 years agoFix EventHook (the trick to make widgets appear when using GNU
Guido van Rossum [Tue, 7 Oct 1997 18:51:41 +0000 (18:51 +0000)]
Fix EventHook (the trick to make widgets appear when using GNU
readline) to create and use a new thread state object -- otherwise it
would dump core!

27 years agoRemove this pathetic little module!
Fred Drake [Tue, 7 Oct 1997 18:12:20 +0000 (18:12 +0000)]
Remove this pathetic little module!

27 years agoAdd the Setup line for the pcre module.
Guido van Rossum [Tue, 7 Oct 1997 16:17:55 +0000 (16:17 +0000)]
Add the Setup line for the pcre module.

27 years agoUpdated for Python 1.5, including my experiences with Purify on
Barry Warsaw [Tue, 7 Oct 1997 15:50:58 +0000 (15:50 +0000)]
Updated for Python 1.5, including my experiences with Purify on
Solaris 2.6 and with a threaded interpreter.  I also included my name
and email address.

27 years agoMap .shtml to text/html.
Guido van Rossum [Tue, 7 Oct 1997 14:56:42 +0000 (14:56 +0000)]
Map .shtml to text/html.

27 years agoVersion 0.8.1.
Guido van Rossum [Tue, 7 Oct 1997 14:56:09 +0000 (14:56 +0000)]
Version 0.8.1.

27 years agoAdd "set -e" to lock command.
Guido van Rossum [Tue, 7 Oct 1997 14:55:39 +0000 (14:55 +0000)]
Add "set -e" to lock command.

27 years agoThe target directory is now called dos-8x3, not dos_8x3.
Guido van Rossum [Tue, 7 Oct 1997 14:55:11 +0000 (14:55 +0000)]
The target directory is now called dos-8x3, not dos_8x3.

27 years agoCheck that all base classes are indeed class objects, rather than
Guido van Rossum [Tue, 7 Oct 1997 14:54:11 +0000 (14:54 +0000)]
Check that all base classes are indeed class objects, rather than
expecting the caller to do so.

27 years agoAdd get_line_buffer() and insert_text(), suggested by Michael McLay.
Guido van Rossum [Tue, 7 Oct 1997 14:53:21 +0000 (14:53 +0000)]
Add get_line_buffer() and insert_text(), suggested by Michael McLay.

27 years agoWhole bunch of additions...
Guido van Rossum [Tue, 7 Oct 1997 14:52:19 +0000 (14:52 +0000)]
Whole bunch of additions...

27 years agoTemporary fix to valid_identifier().
Guido van Rossum [Tue, 7 Oct 1997 14:51:18 +0000 (14:51 +0000)]
Temporary fix to valid_identifier().

27 years agoReturn the error code from most commands, rather than swallowing it.
Guido van Rossum [Tue, 7 Oct 1997 14:49:56 +0000 (14:49 +0000)]
Return the error code from most commands, rather than swallowing it.
Adapted the example (lying slightly about the string printed by
login()).