]> granicus.if.org Git - python/log
python
27 years agoJeffrey's latest -- almost there.
Guido van Rossum [Tue, 15 Jul 1997 15:38:20 +0000 (15:38 +0000)]
Jeffrey's latest -- almost there.

27 years agoJeffrey's newest
Guido van Rossum [Tue, 15 Jul 1997 14:38:13 +0000 (14:38 +0000)]
Jeffrey's newest

27 years agoThree fewer incorrect failures
Guido van Rossum [Tue, 15 Jul 1997 02:49:15 +0000 (02:49 +0000)]
Three fewer incorrect failures

27 years agoReformatted.
Guido van Rossum [Tue, 15 Jul 1997 01:47:08 +0000 (01:47 +0000)]
Reformatted.
Fixed some problem with uninitialized syntax tables.
Jeffrey.

27 years agoAfter some discussion with Jeremy and Fred, decided to limit the
Guido van Rossum [Mon, 14 Jul 1997 19:08:15 +0000 (19:08 +0000)]
After some discussion with Jeremy and Fred, decided to limit the
default urlparse cache size to 20 instead of 2000.  The main use of
the cache seems to be to gain some speed in Grail, which is calling
urljoin with the same base for each anchor.  2000 is a bit too big for
Jeremy, who doesn't need the cache at all.  20 should keep at least
95% of the Grail speedup while wasting an insignificant amount of
memory in Jeremy's application.

28 years agoReordered list of methods to hopefully put the most frequently used
Guido van Rossum [Sun, 13 Jul 1997 03:58:01 +0000 (03:58 +0000)]
Reordered list of methods to hopefully put the most frequently used
ones near the front.

28 years agoReordered list of methods to hopefully put the most frequently used
Guido van Rossum [Sun, 13 Jul 1997 03:56:50 +0000 (03:56 +0000)]
Reordered list of methods to hopefully put the most frequently used
ones near the front.

Also added a missing "return -1" to PyFile_WriteString.

28 years agoUpped version to 0.6.
Guido van Rossum [Sun, 13 Jul 1997 03:36:53 +0000 (03:36 +0000)]
Upped version to 0.6.

28 years agoNew PythonPowered logo image.
Guido van Rossum [Sun, 13 Jul 1997 03:32:28 +0000 (03:32 +0000)]
New PythonPowered logo image.

28 years agoRemoved the traceback output in non-verbose mode
Guido van Rossum [Fri, 11 Jul 1997 21:14:53 +0000 (21:14 +0000)]
Removed the traceback output in non-verbose mode

28 years agoNew from Jeffrey; small nits.
Guido van Rossum [Fri, 11 Jul 1997 21:10:17 +0000 (21:10 +0000)]
New from Jeffrey; small nits.

28 years agoJeffrey's latest.
Guido van Rossum [Fri, 11 Jul 1997 20:48:25 +0000 (20:48 +0000)]
Jeffrey's latest.

28 years agoSome small nits.
Guido van Rossum [Fri, 11 Jul 1997 20:47:58 +0000 (20:47 +0000)]
Some small nits.

28 years agoTest urlparse cache with try/except instead of has_key.
Guido van Rossum [Fri, 11 Jul 1997 20:13:10 +0000 (20:13 +0000)]
Test urlparse cache with try/except instead of has_key.
This makes it thread-safe again.

28 years agoThis is pretty pathetic and full of errors,
Guido van Rossum [Fri, 11 Jul 1997 19:43:46 +0000 (19:43 +0000)]
This is pretty pathetic and full of errors,
but it makes the regression test not complain about test_re.

28 years agotest suite for re.py
Guido van Rossum [Fri, 11 Jul 1997 19:34:44 +0000 (19:34 +0000)]
test suite for re.py

28 years agoAdded reop (moved reop and regex to non-shared section).
Guido van Rossum [Fri, 11 Jul 1997 18:40:46 +0000 (18:40 +0000)]
Added reop (moved reop and regex to non-shared section).
Added -I$(DBPORT) for bsddb compilation line.

28 years agoAdded /usr/bin/env python and made executable.
Guido van Rossum [Fri, 11 Jul 1997 18:39:03 +0000 (18:39 +0000)]
Added /usr/bin/env python and made executable.

28 years agoAllow '@' character as end of line padding in uuencode format.
Guido van Rossum [Fri, 11 Jul 1997 18:36:28 +0000 (18:36 +0000)]
Allow '@' character as end of line padding in uuencode format.
Not sure why this is generated, but this fixes a problem with a
particular file that was received with the following final line:

F-WE<-*A5]AY]%7>8'&!!(_Y<F*55_"*%46"<OFG=>_5(F/\'``!@

28 years agoUse the modules base64, quopri, and uu, instead of external programs
Guido van Rossum [Fri, 11 Jul 1997 16:33:26 +0000 (16:33 +0000)]
Use the modules base64, quopri, and uu, instead of external programs
to decode/encode the standard transfer encodings.

28 years agoOops, some clarifications to conditional breaks.
Guido van Rossum [Fri, 11 Jul 1997 13:57:28 +0000 (13:57 +0000)]
Oops, some clarifications to conditional breaks.

28 years agoAdded (minimal) doc for conditional breakpoints.
Guido van Rossum [Fri, 11 Jul 1997 13:51:17 +0000 (13:51 +0000)]
Added (minimal) doc for conditional breakpoints.

(Lie about the syntax (and the syntax for "list") because latex2html
doesn't seem to handle doubly nested [] pairs.)

28 years agoSupport for conditional breakpoints (Jim Fulton, with some changes).
Guido van Rossum [Fri, 11 Jul 1997 13:43:53 +0000 (13:43 +0000)]
Support for conditional breakpoints (Jim Fulton, with some changes).

28 years agoNormalize whitespace.
Guido van Rossum [Fri, 11 Jul 1997 13:43:31 +0000 (13:43 +0000)]
Normalize whitespace.

28 years agoSupport for conditional breakpoints (Jim Fulton).
Guido van Rossum [Fri, 11 Jul 1997 13:42:50 +0000 (13:42 +0000)]
Support for conditional breakpoints (Jim Fulton).

28 years agoRemoved debug print in set construction.
Guido van Rossum [Fri, 11 Jul 1997 11:10:44 +0000 (11:10 +0000)]
Removed debug print in set construction.
Changed some '==' to 'in' (Tim Peters).

28 years agoNew version from Jeffrey after I complained about some glaring bugs.
Guido van Rossum [Fri, 11 Jul 1997 11:08:38 +0000 (11:08 +0000)]
New version from Jeffrey after I complained about some glaring bugs.

28 years agoAdd MALLOC_ZERO_RETURNS_NULL symbol.
Guido van Rossum [Thu, 10 Jul 1997 22:43:05 +0000 (22:43 +0000)]
Add MALLOC_ZERO_RETURNS_NULL symbol.

28 years agoAdded check whether malloc(0) returns NULL or not.
Guido van Rossum [Thu, 10 Jul 1997 22:42:38 +0000 (22:42 +0000)]
Added check whether malloc(0) returns NULL or not.

28 years agoOnly add 1 byte to all malloc calls when it is known that malloc(0) or
Guido van Rossum [Thu, 10 Jul 1997 22:40:54 +0000 (22:40 +0000)]
Only add 1 byte to all malloc calls when it is known that malloc(0) or
realloc(p, 0) returns NULL.  See changes to configure script to be
checked in later.

28 years agoStraight from Jeffrey Ollie's web page.
Guido van Rossum [Thu, 10 Jul 1997 21:00:31 +0000 (21:00 +0000)]
Straight from Jeffrey Ollie's web page.

28 years agoFix problem discovered by Greg McFarlane: when an imported module
Guido van Rossum [Thu, 10 Jul 1997 18:00:45 +0000 (18:00 +0000)]
Fix problem discovered by Greg McFarlane: when an imported module
replaces its own entry in sys.module, reference count errors ensue;
even if there is no reference count problem, it would be preferable
for the import to yield the new thing in sys.modules anyway (if only
because that's what later imports will yield).  This opens the road to
an official hack to implement a __getattr__ like feature for modules:
stick an instance in sys.modules[__name__].

28 years ago(py-shell): Remove support for Emacs 18, implicitly add support for
Barry Warsaw [Thu, 10 Jul 1997 15:58:36 +0000 (15:58 +0000)]
(py-shell): Remove support for Emacs 18, implicitly add support for
Emacs 20, and bind TAB key to self-insert-command in *Python* process.

28 years agoTwo improvements suggested by Tim Peters: speed up random() since we
Guido van Rossum [Thu, 10 Jul 1997 15:14:50 +0000 (15:14 +0000)]
Two improvements suggested by Tim Peters: speed up random() since we
know Python integers are at least 32 bits long; and avoid zeros in
initial seed value.

28 years agoNew versions straight from Jeffrey Ollie's web site
Guido van Rossum [Thu, 10 Jul 1997 14:31:32 +0000 (14:31 +0000)]
New versions straight from Jeffrey Ollie's web site

28 years agoFix bug reported by Just: anonymous arguments used for tuples should
Guido van Rossum [Thu, 10 Jul 1997 01:06:53 +0000 (01:06 +0000)]
Fix bug reported by Just: anonymous arguments used for tuples should
have a unique name, otherwise they get squished by locals2fast (or
fast2locals, I dunno) when the debugger is invoked before they have
been transferred to real locals.

28 years agoWrapped up the ~/.netrc support. This is basically just the changes Guido &
Fred Drake [Tue, 24 Jun 1997 22:02:54 +0000 (22:02 +0000)]
Wrapped up the ~/.netrc support.  This is basically just the changes Guido &
I discussed to the original version way-back-when.

28 years agofixed typo, "header" ==> "headers"
Fred Drake [Fri, 20 Jun 1997 16:55:08 +0000 (16:55 +0000)]
fixed typo, "header" ==> "headers"

28 years agoMods for user mainloop event handling
Jack Jansen [Fri, 20 Jun 1997 16:25:00 +0000 (16:25 +0000)]
Mods for user mainloop event handling

28 years agoAdded dopendingevents call
Jack Jansen [Fri, 20 Jun 1997 16:24:24 +0000 (16:24 +0000)]
Added dopendingevents call
Added asyncevents call to enable asynchronous event handling

28 years agoAllow specifying own resources for all dialogs
Jack Jansen [Fri, 20 Jun 1997 16:23:37 +0000 (16:23 +0000)]
Allow specifying own resources for all dialogs
Allow changing labels on yesnocancel dialog

28 years agoModule to buffer stdout/stderr until stdin is read. Useful for
Jack Jansen [Fri, 20 Jun 1997 16:22:07 +0000 (16:22 +0000)]
Module to buffer stdout/stderr until stdin is read. Useful for
windowing programs, together with option to keep console window closed
until needed.

28 years agoRegenerated
Jack Jansen [Fri, 20 Jun 1997 16:20:03 +0000 (16:20 +0000)]
Regenerated

28 years agoadded SetEventHandler
Jack Jansen [Fri, 20 Jun 1997 16:19:38 +0000 (16:19 +0000)]
added SetEventHandler

28 years agoAdapted to new event handling. It is now also possible to abort out of
Jack Jansen [Fri, 20 Jun 1997 16:19:14 +0000 (16:19 +0000)]
Adapted to new event handling. It is now also possible to abort out of
an AESend with command-. (unless specifically disabled, of course).

28 years agoAdded PyMac_SetEventHandler which allows you to replace complete event
Jack Jansen [Fri, 20 Jun 1997 16:18:15 +0000 (16:18 +0000)]
Added PyMac_SetEventHandler which allows you to replace complete event
handling in inner loop with python code. Also move (previously
machine independent) PyErr_CheckSignals here, so we can propagate
exceptions in event handling code.

28 years agoAdded NewAliasMinimalFromFullPath(), and allow alias.Resolve() to return
Jack Jansen [Mon, 16 Jun 1997 14:31:38 +0000 (14:31 +0000)]
Added NewAliasMinimalFromFullPath(), and allow alias.Resolve() to return
an FSSpec to a non-existing file.

28 years agoMACDEPPATH: Remove `sharedmodules' from default value of this variable
Barry Warsaw [Fri, 13 Jun 1997 22:03:23 +0000 (22:03 +0000)]
MACDEPPATH: Remove `sharedmodules' from default value of this variable
since calculate_path() in getpath.c will automatically add this.
Including this here will put the sharedmodules directory on sys.path
twice.

28 years agoAdded docstrings by Sue Williams, re-indented to 4 spaces / level.
Fred Drake [Thu, 12 Jun 1997 16:17:00 +0000 (16:17 +0000)]
Added docstrings by Sue Williams, re-indented to 4 spaces / level.

28 years agoFix LaTeX bug found by examining the docstrings added to commands.py.
Fred Drake [Thu, 12 Jun 1997 16:14:07 +0000 (16:14 +0000)]
Fix LaTeX bug found by examining the docstrings added to commands.py.

28 years agoAdded libcommands.tex to list of library reference dependencies.
Fred Drake [Thu, 12 Jun 1997 16:06:19 +0000 (16:06 +0000)]
Added libcommands.tex to list of library reference dependencies.

28 years agoDocumentation for Lib/commands.py, from Sue Williams.
Fred Drake [Thu, 12 Jun 1997 16:05:46 +0000 (16:05 +0000)]
Documentation for Lib/commands.py, from Sue Williams.

28 years agoMake imports faster on the Mac, by
Jack Jansen [Thu, 12 Jun 1997 15:29:46 +0000 (15:29 +0000)]
Make imports faster on the Mac, by
- Remembering whether sys.path components refer to files or folders,
- Using mac-specific code to check for file existence, in stead of trying
  to fopen() each possible file.

These mods need an accompanying mod to import.c.

28 years agoAdded prototype for PyMac_RestoreMenuBar
Jack Jansen [Thu, 12 Jun 1997 10:51:39 +0000 (10:51 +0000)]
Added prototype for PyMac_RestoreMenuBar

28 years agoReplaced MacOS.EnableAppSwitch with MacOS.SchedParams
Jack Jansen [Thu, 12 Jun 1997 10:51:18 +0000 (10:51 +0000)]
Replaced MacOS.EnableAppSwitch with MacOS.SchedParams

28 years agoAdded optional preload arg to some routines (which creates reloaded
Jack Jansen [Thu, 12 Jun 1997 10:50:47 +0000 (10:50 +0000)]
Added optional preload arg to some routines (which creates reloaded
resources when set)

28 years agoReplaced MacOS.EnableAppswitch by MacOS.SchedParams
Jack Jansen [Thu, 12 Jun 1997 10:49:56 +0000 (10:49 +0000)]
Replaced MacOS.EnableAppswitch by MacOS.SchedParams

28 years ago- Restore SIOUX menubar just before exiting, if the console window is kept
Jack Jansen [Thu, 12 Jun 1997 10:49:13 +0000 (10:49 +0000)]
- Restore SIOUX menubar just before exiting, if the console window is kept
  open (so the user can quit with cmd-Q, print, etc)
- Removed a few unused routines

28 years agoReally nitty-gritty change to prevent latex2html from using a LaTeX-generated
Fred Drake [Fri, 6 Jun 1997 21:57:35 +0000 (21:57 +0000)]
Really nitty-gritty change to prevent latex2html from using a LaTeX-generated
image of the argument list....

28 years agoAdd sys/types.h include for pid_t when threading.
Guido van Rossum [Fri, 6 Jun 1997 21:16:41 +0000 (21:16 +0000)]
Add sys/types.h include for pid_t when threading.

28 years agoAllow oct() result for 64-bit machines.
Guido van Rossum [Fri, 6 Jun 1997 21:14:14 +0000 (21:14 +0000)]
Allow oct() result for 64-bit machines.

28 years agoUse cPickle and cStringIO when available.
Guido van Rossum [Fri, 6 Jun 1997 21:12:45 +0000 (21:12 +0000)]
Use cPickle and cStringIO when available.

28 years agoClear the ftp cache when it contains more than 10 entries.
Guido van Rossum [Fri, 6 Jun 1997 21:11:11 +0000 (21:11 +0000)]
Clear the ftp cache when it contains more than 10 entries.

28 years agoCatch *all* errors that ftplib can raise (ftplib.all_errors) rather
Guido van Rossum [Fri, 6 Jun 1997 17:44:07 +0000 (17:44 +0000)]
Catch *all* errors that ftplib can raise (ftplib.all_errors) rather
than just the four.

Also folded some long lines.

28 years agoMoved the definition of posix_times__doc__ to outside of #ifdef HAVE_TIMES
Roger E. Masse [Thu, 5 Jun 1997 22:07:58 +0000 (22:07 +0000)]
Moved the definition of posix_times__doc__ to outside of #ifdef HAVE_TIMES
so that MSVC 4.2 doesn't complain under NT.

28 years agoChanged the reference of 'mappingobject.c' to 'dictobject.c'
Roger E. Masse [Thu, 5 Jun 1997 22:03:26 +0000 (22:03 +0000)]
Changed the reference of 'mappingobject.c' to 'dictobject.c'

28 years agoSmall changes (casts etc.) by Jack, for Mac compilation.
Guido van Rossum [Tue, 3 Jun 1997 22:21:47 +0000 (22:21 +0000)]
Small changes (casts etc.) by Jack, for Mac compilation.

28 years agoDoc strings (AMK).
Guido van Rossum [Tue, 3 Jun 1997 22:21:03 +0000 (22:21 +0000)]
Doc strings (AMK).

28 years agoCorrect typo in last line (test program invocation).
Guido van Rossum [Tue, 3 Jun 1997 22:05:15 +0000 (22:05 +0000)]
Correct typo in last line (test program invocation).

28 years agoAdded a variant of the epilogue that has the PythonPowered logo.
Guido van Rossum [Tue, 3 Jun 1997 22:04:10 +0000 (22:04 +0000)]
Added a variant of the epilogue that has the PythonPowered logo.

28 years agoMove the second import of faqcust to the very end.
Guido van Rossum [Tue, 3 Jun 1997 22:03:22 +0000 (22:03 +0000)]
Move the second import of faqcust to the very end.

28 years agoAMK's regex test suite
Guido van Rossum [Tue, 3 Jun 1997 18:07:49 +0000 (18:07 +0000)]
AMK's regex test suite

28 years agoUse #include "mymath.h" instead of declaring fabs() explicitly.
Guido van Rossum [Tue, 3 Jun 1997 18:03:18 +0000 (18:03 +0000)]
Use #include "mymath.h" instead of declaring fabs() explicitly.
This should solve a weird problem on the Mac for Jack.

28 years agosocket_type --> SocketType
Fred Drake [Tue, 3 Jun 1997 17:58:31 +0000 (17:58 +0000)]
socket_type --> SocketType

28 years agoAdded zlib
Jack Jansen [Tue, 3 Jun 1997 15:30:39 +0000 (15:30 +0000)]
Added zlib

28 years agoAdded USE_ZLIB to nonshared config files
Jack Jansen [Tue, 3 Jun 1997 15:30:12 +0000 (15:30 +0000)]
Added USE_ZLIB to nonshared config files

28 years agoRemoved SetScheduleTimes
Jack Jansen [Tue, 3 Jun 1997 15:29:41 +0000 (15:29 +0000)]
Removed SetScheduleTimes
Added SchedParams
Added docstrings for most routines

28 years agoAdded zlib (optional on USE_ZLIB)
Jack Jansen [Tue, 3 Jun 1997 15:28:52 +0000 (15:28 +0000)]
Added zlib (optional on USE_ZLIB)

28 years agoRemoved old scheduler parameterizing calls and replaced with something
Jack Jansen [Tue, 3 Jun 1997 15:28:29 +0000 (15:28 +0000)]
Removed old scheduler parameterizing calls and replaced with something
a bit easier to use and understand

28 years agoRemoved SetScheduleTimes and PyMac_DoYieldEnabled
Jack Jansen [Tue, 3 Jun 1997 15:27:31 +0000 (15:27 +0000)]
Removed SetScheduleTimes and PyMac_DoYieldEnabled
Added [GS]etSchedParams
Added parameter to PyMac_HandleEvent (safe to run python code at this point)
Removed various cruft

28 years agoAdd Host: header to URL request.
Guido van Rossum [Tue, 3 Jun 1997 14:34:19 +0000 (14:34 +0000)]
Add Host: header to URL request.

28 years agoFix bug in copy() by using copy.copy() instead of making assumptions
Guido van Rossum [Tue, 3 Jun 1997 14:10:01 +0000 (14:10 +0000)]
Fix bug in copy() by using copy.copy() instead of making assumptions
(it so happens that copy.copy() works fine for the base UserDict
type).  Also reindented the entire module to have 4-space indents.

28 years agoAdded the new dictionary methods to the wrapper class.
Fred Drake [Tue, 3 Jun 1997 13:07:59 +0000 (13:07 +0000)]
Added the new dictionary methods to the wrapper class.

28 years agoDon't stop if the tests fail the first time around.
Guido van Rossum [Mon, 2 Jun 1997 23:15:09 +0000 (23:15 +0000)]
Don't stop if the tests fail the first time around.

28 years agoThe usual
Guido van Rossum [Mon, 2 Jun 1997 23:14:37 +0000 (23:14 +0000)]
The usual

28 years agoAdded tests for dict.clear(), dict.update(), dict.copy().
Guido van Rossum [Mon, 2 Jun 1997 23:14:00 +0000 (23:14 +0000)]
Added tests for dict.clear(), dict.update(), dict.copy().

28 years agoSupport $HOME in expanduser().
Guido van Rossum [Mon, 2 Jun 1997 23:11:57 +0000 (23:11 +0000)]
Support $HOME in expanduser().
(Who'd thought that *anyone* would be interested in writing ~/foo on NT :-)

28 years agoExpanded the setup instructions.
Guido van Rossum [Mon, 2 Jun 1997 23:10:06 +0000 (23:10 +0000)]
Expanded the setup instructions.

28 years agoMove the roulette() functionality out of the FaqDir class into the
Guido van Rossum [Mon, 2 Jun 1997 22:52:37 +0000 (22:52 +0000)]
Move the roulette() functionality out of the FaqDir class into the
FaqWizard class.

28 years agoAdd default case (standard conformance) to avoid piling up
Guido van Rossum [Mon, 2 Jun 1997 22:25:45 +0000 (22:25 +0000)]
Add default case (standard conformance) to avoid piling up
system specific #ifdefs.

28 years agoAdded doc strings (Neil Schemenauer).
Guido van Rossum [Mon, 2 Jun 1997 22:20:51 +0000 (22:20 +0000)]
Added doc strings (Neil Schemenauer).

28 years agoUse string.h, not strings.h
Guido van Rossum [Mon, 2 Jun 1997 22:18:31 +0000 (22:18 +0000)]
Use string.h, not strings.h

28 years agosocket_type -> SocketType
Guido van Rossum [Mon, 2 Jun 1997 22:18:09 +0000 (22:18 +0000)]
socket_type -> SocketType

28 years agoarray_type -> ArrayType
Guido van Rossum [Mon, 2 Jun 1997 22:17:49 +0000 (22:17 +0000)]
array_type -> ArrayType

28 years agoMac hack to make select() work again...
Guido van Rossum [Mon, 2 Jun 1997 22:16:43 +0000 (22:16 +0000)]
Mac hack to make select() work again...

28 years agoVersion upped.
Guido van Rossum [Mon, 2 Jun 1997 21:40:18 +0000 (21:40 +0000)]
Version upped.

28 years agoStupid typos -- ImporError.
Guido van Rossum [Mon, 2 Jun 1997 21:39:15 +0000 (21:39 +0000)]
Stupid typos -- ImporError.

28 years agoDoc for mailbox.tex (Jack)
Guido van Rossum [Mon, 2 Jun 1997 21:04:41 +0000 (21:04 +0000)]
Doc for mailbox.tex (Jack)

28 years agoA nicety (author lost).
Guido van Rossum [Mon, 2 Jun 1997 17:57:10 +0000 (17:57 +0000)]
A nicety (author lost).

28 years agoadd libmailbox
Guido van Rossum [Mon, 2 Jun 1997 17:36:12 +0000 (17:36 +0000)]
add libmailbox