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

27 years agoFix join to support multiple arguments.
Guido van Rossum [Tue, 7 Oct 1997 14:48:23 +0000 (14:48 +0000)]
Fix join to support multiple arguments.
(Why isn't this file identical to ntpath.py?)

27 years agoAdd XXX note about wanting support for copy_reg.py...
Guido van Rossum [Tue, 7 Oct 1997 14:47:50 +0000 (14:47 +0000)]
Add XXX note about wanting support for copy_reg.py...

27 years agoAdd Jeff Epler's interact() function. Note that it is broken.
Guido van Rossum [Tue, 7 Oct 1997 14:47:24 +0000 (14:47 +0000)]
Add Jeff Epler's interact() function.  Note that it is broken.
(It should probably be withdrawn :-( )

27 years agoAdd optional arguments lo and hi to insort() and bisect(), to support
Guido van Rossum [Tue, 7 Oct 1997 14:45:49 +0000 (14:45 +0000)]
Add optional arguments lo and hi to insort() and bisect(), to support
using arrays containing leading or trailing garbage.

27 years agoUse K&R function prototypes.
Guido van Rossum [Tue, 7 Oct 1997 14:44:48 +0000 (14:44 +0000)]
Use K&R function prototypes.

27 years agoThe sequence behavior is now on the Exception root class rather than
Guido van Rossum [Tue, 7 Oct 1997 14:41:04 +0000 (14:41 +0000)]
The sequence behavior is now on the Exception root class rather than
on the StandardError class.

27 years agoAdded pointer to api.tex and note about the out-of-date-ness of this
Guido van Rossum [Tue, 7 Oct 1997 14:40:16 +0000 (14:40 +0000)]
Added pointer to api.tex and note about the out-of-date-ness of this
document.

27 years agoSet Oct 10 as the release date.
Guido van Rossum [Tue, 7 Oct 1997 14:39:43 +0000 (14:39 +0000)]
Set Oct 10 as the release date.

27 years agoChange title to {Python/C API Reference Manual}; remove \bcode \ecode
Guido van Rossum [Tue, 7 Oct 1997 14:38:54 +0000 (14:38 +0000)]
Change title to {Python/C API Reference Manual}; remove \bcode \ecode
which appears to be out of fashion in this file.

27 years agoTypo discovered by Case Roole.
Guido van Rossum [Tue, 7 Oct 1997 14:37:58 +0000 (14:37 +0000)]
Typo discovered by Case Roole.

27 years agoBe more careful with closing fd's 0,1,2.
Guido van Rossum [Tue, 7 Oct 1997 14:37:31 +0000 (14:37 +0000)]
Be more careful with closing fd's 0,1,2.

27 years agoAdd note about condition.py.
Guido van Rossum [Tue, 7 Oct 1997 14:37:00 +0000 (14:37 +0000)]
Add note about condition.py.

27 years agoCompleted the changes between 1.5a3 and now. Not yet sorted though.
Guido van Rossum [Tue, 7 Oct 1997 00:12:43 +0000 (00:12 +0000)]
Completed the changes between 1.5a3 and now.  Not yet sorted though.

27 years agoAnd "ni" has been documented...
Fred Drake [Mon, 6 Oct 1997 21:53:50 +0000 (21:53 +0000)]
And "ni" has been documented...

27 years agoOops; don't know if this was my typo or not: There was a "p" on a line that
Fred Drake [Mon, 6 Oct 1997 21:52:31 +0000 (21:52 +0000)]
Oops; don't know if this was my typo or not:  There was a "p" on a line that
should have been blank.

27 years agoUpdated the section "Parsing Python".
Fred Drake [Mon, 6 Oct 1997 21:41:30 +0000 (21:41 +0000)]
Updated the section "Parsing Python".

27 years agoAdded keyword module entry.
Fred Drake [Mon, 6 Oct 1997 21:40:48 +0000 (21:40 +0000)]
Added keyword module entry.

27 years agoMinor nits (Lib/token.py is a file, token is a module...).
Fred Drake [Mon, 6 Oct 1997 21:40:20 +0000 (21:40 +0000)]
Minor nits (Lib/token.py is a file, token is a module...).

Added docs for symbol and token modules at the end.

27 years agoDocumentation for the keyword module.
Fred Drake [Mon, 6 Oct 1997 21:39:16 +0000 (21:39 +0000)]
Documentation for the keyword module.

27 years agoReduced number of temporary names used at module scope. Use underscores in
Fred Drake [Mon, 6 Oct 1997 21:28:04 +0000 (21:28 +0000)]
Reduced number of temporary names used at module scope.  Use underscores in
front of temporary names in the module namespace.

27 years agoMove the pprint docs after the code docs, so that all parser/codegen type
Fred Drake [Mon, 6 Oct 1997 21:26:03 +0000 (21:26 +0000)]
Move the pprint docs after the code docs, so that all parser/codegen type
things come together.

27 years agoFix comment to add the all-important trailing colon to the example.
Guido van Rossum [Mon, 6 Oct 1997 21:09:32 +0000 (21:09 +0000)]
Fix comment to add the all-important trailing colon to the example.
Print the author with the revision date and filename.

27 years agoReduced number of temporary names used at module scope. Use underscores in
Fred Drake [Mon, 6 Oct 1997 21:06:29 +0000 (21:06 +0000)]
Reduced number of temporary names used at module scope.  Use underscores in
front of temporary names in the module namespace.

27 years agoDone with adding changes from 1.4 till 1.5a3.
Guido van Rossum [Mon, 6 Oct 1997 21:04:35 +0000 (21:04 +0000)]
Done with adding changes from 1.4 till 1.5a3.

27 years agoDon't do weird things with the "import parser"; just do it. Sheesh...
Fred Drake [Mon, 6 Oct 1997 20:56:43 +0000 (20:56 +0000)]
Don't do weird things with the "import parser"; just do it.  Sheesh...

27 years agoThe usual (and some new modules).
Guido van Rossum [Mon, 6 Oct 1997 20:19:59 +0000 (20:19 +0000)]
The usual (and some new modules).

27 years agoA variant on webchecker that creates a mirror copy of a remote site.
Guido van Rossum [Mon, 6 Oct 1997 18:54:25 +0000 (18:54 +0000)]
A variant on webchecker that creates a mirror copy of a remote site.

27 years agoSeveral changes:
Guido van Rossum [Mon, 6 Oct 1997 18:54:01 +0000 (18:54 +0000)]
Several changes:

- Change the code that looks for robots.txt to always look in /, even
if the "root" path is somewhere deep down below.

- Add link processing in <AREA> tags.

- Change safeclose() to avoid crashing when the file has no geturl()
method.

27 years agoDocument the mapping object's new get() method.
Barry Warsaw [Mon, 6 Oct 1997 17:50:48 +0000 (17:50 +0000)]
Document the mapping object's new get() method.

27 years agoUserDict.get(): New method to mirror built-in dictionaries' get()
Barry Warsaw [Mon, 6 Oct 1997 17:50:04 +0000 (17:50 +0000)]
UserDict.get(): New method to mirror built-in dictionaries' get()
method.

27 years agodict_get(): New method for item access with different semantics than
Barry Warsaw [Mon, 6 Oct 1997 17:49:20 +0000 (17:49 +0000)]
dict_get(): New method for item access with different semantics than
__getitem__().  This method never raises an exception; if the key is
not in the dictionary, the second (optional) argument is returned.  If
the second argument is not provided and the key is missing, None is
returned.

mapp_methods: added "get" method.

27 years agoMove the __getitem__() definition from StandardException to Exception.
Fred Drake [Mon, 6 Oct 1997 15:48:20 +0000 (15:48 +0000)]
Move the __getitem__() definition from StandardException to Exception.
This allows stuff like this out of the box:

try:
    ...
except socket.error, (code, msg):
    ...

27 years agoNew "re" regular expression support.
Guido van Rossum [Mon, 6 Oct 1997 14:45:17 +0000 (14:45 +0000)]
New "re" regular expression support.
The new re module was written by Andrew Kuchling and uses the pcre
code in ../Modules/.  The old re module has been renamed to re1,
just in case you need it for comparison.

27 years agoNew "re" regular expression support.
Guido van Rossum [Mon, 6 Oct 1997 14:43:11 +0000 (14:43 +0000)]
New "re" regular expression support.
This code is written by Philip Hazel and Andrew Kuchling.
It requires a new "re.py" module, too.

27 years agoAdd the four latex2html output directories: api, ext, lib, tut.
Fred Drake [Mon, 6 Oct 1997 13:20:17 +0000 (13:20 +0000)]
Add the four latex2html output directories:  api, ext, lib, tut.

27 years agoDone with tread state descriptions. Sigh!
Guido van Rossum [Mon, 6 Oct 1997 05:10:47 +0000 (05:10 +0000)]
Done with tread state descriptions.  Sigh!

27 years agoOops -- needed to fix another place affected by the change back to
Guido van Rossum [Mon, 6 Oct 1997 00:15:31 +0000 (00:15 +0000)]
Oops -- needed to fix another place affected by the change back to
$(MACHDEP) being just the platform name, without "plat-" prefix...
(To be precise, the libainstall target was totally broken.)

27 years agoAdded strerror()
Guido van Rossum [Sun, 5 Oct 1997 18:54:52 +0000 (18:54 +0000)]
Added strerror()

27 years agoRemoved emacs.py
Guido van Rossum [Sun, 5 Oct 1997 18:54:36 +0000 (18:54 +0000)]
Removed emacs.py

27 years agoFixed some stuff that was incorrectly copied from regex.
Guido van Rossum [Sun, 5 Oct 1997 18:54:07 +0000 (18:54 +0000)]
Fixed some stuff that was incorrectly copied from regex.

27 years agoDocumented __import__, callable, isinstance, issubclass,
Guido van Rossum [Sun, 5 Oct 1997 18:53:00 +0000 (18:53 +0000)]
Documented __import__, callable, isinstance, issubclass,
and slice.

27 years agoDocumented new exceptions and exception classes.
Guido van Rossum [Sun, 5 Oct 1997 18:51:26 +0000 (18:51 +0000)]
Documented new exceptions and exception classes.

27 years agoAdd -N0 to dvips flags to generate page structure comments.
Guido van Rossum [Sun, 5 Oct 1997 18:51:02 +0000 (18:51 +0000)]
Add -N0 to dvips flags to generate page structure comments.

27 years agoCheckpoint. Added docs for the new exception handling APIs and for
Guido van Rossum [Sun, 5 Oct 1997 15:27:29 +0000 (15:27 +0000)]
Checkpoint.  Added docs for the new exception handling APIs and for
the interfaces defined in import.h.

27 years agoThe directory containing config.h has changed.
Guido van Rossum [Sun, 5 Oct 1997 03:01:28 +0000 (03:01 +0000)]
The directory containing config.h has changed.

27 years agoTurns out whatsound.py and sndhdr.py were identical modules.
Guido van Rossum [Sat, 4 Oct 1997 20:29:17 +0000 (20:29 +0000)]
Turns out whatsound.py and sndhdr.py were identical modules.
Since there's also an imghdr.py file, I propose to make sndhdr.py the
official one.  For compatibility, whatsound.py imports * from
sndhdr.py.

27 years agoinstall: New target that installs shared modules in
Fred Drake [Sat, 4 Oct 1997 04:56:40 +0000 (04:56 +0000)]
install:  New target that installs shared modules in
$exec_prefix/lib/python$VERSION/site-packages by default.

27 years agoInstall install-sh with the other config files.
Guido van Rossum [Sat, 4 Oct 1997 04:35:24 +0000 (04:35 +0000)]
Install install-sh with the other config files.
Could be useful for an install target in Misc/Makefile.pre.in.

27 years agoNew version of PyErr_NewException() that is compatible with -X option.
Guido van Rossum [Fri, 3 Oct 1997 19:50:55 +0000 (19:50 +0000)]
New version of PyErr_NewException() that is compatible with -X option.

27 years agoInitialize Py_UseClassExceptionsFlag to 1.
Guido van Rossum [Fri, 3 Oct 1997 19:46:02 +0000 (19:46 +0000)]
Initialize Py_UseClassExceptionsFlag to 1.

27 years agoRemove unreachable "return 1" at end of ensure_fromlist().
Guido van Rossum [Fri, 3 Oct 1997 15:33:32 +0000 (15:33 +0000)]
Remove unreachable "return 1" at end of ensure_fromlist().

27 years agoFix small omission: with all the new code, sys.exit(None) would print
Guido van Rossum [Fri, 3 Oct 1997 13:53:28 +0000 (13:53 +0000)]
Fix small omission: with all the new code, sys.exit(None) would print
"None"; this should be equivalent to sys.exit(0).

27 years agoArgh; do the same for the "Release" version of the config.
Fred Drake [Thu, 2 Oct 1997 20:36:45 +0000 (20:36 +0000)]
Argh; do the same for the "Release" version of the config.