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

28 years agoAdded libmailbox, obsolete libstdwin
Guido van Rossum [Mon, 2 Jun 1997 17:35:51 +0000 (17:35 +0000)]
Added libmailbox, obsolete libstdwin

28 years agoIncrease printable page size.
Guido van Rossum [Mon, 2 Jun 1997 17:35:01 +0000 (17:35 +0000)]
Increase printable page size.

28 years agoAdded SocketServer and mailbox modules.
Guido van Rossum [Mon, 2 Jun 1997 17:34:40 +0000 (17:34 +0000)]
Added SocketServer and mailbox modules.

28 years agoIt's now using mimetools instead of rfc822
Guido van Rossum [Mon, 2 Jun 1997 17:34:22 +0000 (17:34 +0000)]
It's now using mimetools instead of rfc822

28 years agostdwin is obsolete. Point to bsddb from dbhash.
Guido van Rossum [Mon, 2 Jun 1997 17:34:02 +0000 (17:34 +0000)]
stdwin is obsolete.  Point to bsddb from dbhash.

28 years agoAdditional info about sys.path, sys.version, sys.prefix, sys.exec_prefix.
Guido van Rossum [Mon, 2 Jun 1997 17:32:41 +0000 (17:32 +0000)]
Additional info about sys.path, sys.version, sys.prefix, sys.exec_prefix.
(AMK)

28 years agoGrammar (AMK).
Guido van Rossum [Mon, 2 Jun 1997 17:30:20 +0000 (17:30 +0000)]
Grammar (AMK).

28 years agoMention seekable parameter (AMK).
Guido van Rossum [Mon, 2 Jun 1997 17:30:03 +0000 (17:30 +0000)]
Mention seekable parameter (AMK).
Added pointer to mailbox module.

28 years agoMention use of profile.py to run a script (AMK).
Guido van Rossum [Mon, 2 Jun 1997 17:29:12 +0000 (17:29 +0000)]
Mention use of profile.py to run a script (AMK).

28 years agoAdded putenv, ftruncate (AMK).
Guido van Rossum [Mon, 2 Jun 1997 17:28:51 +0000 (17:28 +0000)]
Added putenv, ftruncate (AMK).

28 years agoMention use of pdb.py to run a script (AMK).
Guido van Rossum [Mon, 2 Jun 1997 17:28:16 +0000 (17:28 +0000)]
Mention use of pdb.py to run a script (AMK).

28 years agoAdded date, xgtitle, xover, xpath (AMK).
Guido van Rossum [Mon, 2 Jun 1997 17:27:50 +0000 (17:27 +0000)]
Added date, xgtitle, xover, xpath (AMK).

28 years agoIt's now using mimetools instead of rfc822
Guido van Rossum [Mon, 2 Jun 1997 17:26:30 +0000 (17:26 +0000)]
It's now using mimetools instead of rfc822

28 years agoFix a sentence which ends "...is 6, which." (AMK)
Guido van Rossum [Mon, 2 Jun 1997 17:22:06 +0000 (17:22 +0000)]
Fix a sentence which ends "...is 6, which." (AMK)

28 years agoMention abs(complex) -> magnitude (AMK).
Guido van Rossum [Mon, 2 Jun 1997 17:21:20 +0000 (17:21 +0000)]
Mention abs(complex) -> magnitude (AMK).
Documented list().
Mention [raw_]input()'s interface to GNU readline.

28 years agoAdded complex numbers (AMK).
Guido van Rossum [Mon, 2 Jun 1997 17:18:00 +0000 (17:18 +0000)]
Added complex numbers (AMK).
Clarify that sort() works in-place.
Renamed dict.absorb() to dict.update().

28 years agoRenamed dict.absorb() (too spungy) to dict.update().
Guido van Rossum [Mon, 2 Jun 1997 17:13:37 +0000 (17:13 +0000)]
Renamed dict.absorb() (too spungy) to dict.update().

28 years agoBugfix: last_changed would always print current time.
Guido van Rossum [Mon, 2 Jun 1997 15:51:51 +0000 (15:51 +0000)]
Bugfix: last_changed would always print current time.

28 years agoAmerican spelling in doc string.
Guido van Rossum [Mon, 2 Jun 1997 14:43:07 +0000 (14:43 +0000)]
American spelling in doc string.

28 years agoThe usual
Guido van Rossum [Fri, 30 May 1997 14:24:16 +0000 (14:24 +0000)]
The usual

28 years agoUse TRY_RUN, not TRY_COMPILE, to test for -Olimit (on Solaris,
Guido van Rossum [Fri, 30 May 1997 14:22:30 +0000 (14:22 +0000)]
Use TRY_RUN, not TRY_COMPILE, to test for -Olimit (on Solaris,
with Sun's cc, the compile succeeds, but the link fails).

Test for IRIX*/6* instead of for IRIX/6* -- on 64-bit IRIX systems,
uname returns IRIX64.

28 years agoAdded hint about permissions.
Guido van Rossum [Fri, 30 May 1997 12:01:24 +0000 (12:01 +0000)]
Added hint about permissions.

28 years agoProtect roulette against empty FAQ.
Guido van Rossum [Fri, 30 May 1997 11:58:21 +0000 (11:58 +0000)]
Protect roulette against empty FAQ.

28 years agoInclide the imports and chdir in the try/except.
Guido van Rossum [Fri, 30 May 1997 11:50:36 +0000 (11:50 +0000)]
Inclide the imports and chdir in the try/except.

28 years agoPacker.pack_uhyper(): Fixes needed to properly pack unsigned 64 bit
Barry Warsaw [Thu, 29 May 1997 21:01:35 +0000 (21:01 +0000)]
Packer.pack_uhyper(): Fixes needed to properly pack unsigned 64 bit
longs where the top bit is set.  First, change the masks so that they
are `L' longs, otherwise the sign bits will get propagated to the
result.  Next, do not coerce to int before sending to pack_uint()
otherwise Python will generate an OverflowError.  Here is a test
program that fails without the patch, but now succeeds:

import xdrlib

addr = (132, 151, 1, 71)
uint = 0L
for a in addr:
    uint = (uint << 8) | a

ulong64 = uint << 32

p = xdrlib.Packer()
p.pack_uhyper(ulong64)
buf = p.get_buffer()
u = xdrlib.Unpacker(buf)
ulong64prime = u.unpack_uhyper()

if ulong64 == ulong64prime:
    print 'okay'
else:
    print 'bogus'

print ulong64, ulong64prime

28 years agoDocumented (slightly) the USE_CACHE_ALIGNED define, for the standalone
Jack Jansen [Thu, 29 May 1997 14:57:45 +0000 (14:57 +0000)]
Documented (slightly) the USE_CACHE_ALIGNED define, for the standalone
distribution

28 years agoUpdated for 1.5a2 distribution
Jack Jansen [Thu, 29 May 1997 14:57:07 +0000 (14:57 +0000)]
Updated for 1.5a2 distribution

28 years agoProjects for 1.5a2 distritbuion
Jack Jansen [Thu, 29 May 1997 14:57:04 +0000 (14:57 +0000)]
Projects for 1.5a2 distritbuion

28 years agoVersion number and such for 1.5a2 distribution
Jack Jansen [Thu, 29 May 1997 14:56:25 +0000 (14:56 +0000)]
Version number and such for 1.5a2 distribution

28 years agoAdded copy() and absorb().
Guido van Rossum [Wed, 28 May 1997 19:32:11 +0000 (19:32 +0000)]
Added copy() and absorb().

28 years agoRemove '(' in column 0 of doc strings.
Guido van Rossum [Wed, 28 May 1997 19:31:14 +0000 (19:31 +0000)]
Remove '(' in column 0 of doc strings.
Add dependency on dict.copy().

28 years agoAdded dict.absorb() and dict.copy().
Guido van Rossum [Wed, 28 May 1997 19:15:28 +0000 (19:15 +0000)]
Added dict.absorb() and dict.copy().

28 years agoHide .fdc files here.
Guido van Rossum [Wed, 28 May 1997 16:14:48 +0000 (16:14 +0000)]
Hide .fdc files here.

28 years agoChecking in zlib demo.
Guido van Rossum [Wed, 28 May 1997 16:13:21 +0000 (16:13 +0000)]
Checking in zlib demo.

28 years agoTiny script to play with it on a Mac.
Guido van Rossum [Wed, 28 May 1997 16:09:02 +0000 (16:09 +0000)]
Tiny script to play with it on a Mac.

28 years agoTweak default source of query a bit so it is possible to invoke
Guido van Rossum [Wed, 28 May 1997 15:39:15 +0000 (15:39 +0000)]
Tweak default source of query a bit so it is possible to invoke
a CGI script from the command line with not environment variables.

28 years agolowercase proxies env variables, for Windows.
Guido van Rossum [Wed, 28 May 1997 15:37:19 +0000 (15:37 +0000)]
lowercase proxies env variables, for Windows.

28 years agoReworded the doc string to remove the need for The Emacs font-lock kludge.
Guido van Rossum [Wed, 28 May 1997 15:11:01 +0000 (15:11 +0000)]
Reworded the doc string to remove the need for The Emacs font-lock kludge.
This required (re)moving all occurrences of '(' in column 0, as well
as changing "#!" to #!.

28 years agoChanged release note structure:
Jack Jansen [Wed, 28 May 1997 12:01:14 +0000 (12:01 +0000)]
Changed release note structure:
- Relnotes contains current release notes
- HISTORY contains all old release notes

28 years agoAdded a range of resource numbers reserved for Bruce
Jack Jansen [Wed, 28 May 1997 11:54:43 +0000 (11:54 +0000)]
Added a range of resource numbers reserved for Bruce

28 years agoWidget._setup(): Support name=None in a similar way to the handling of other
Fred Drake [Tue, 27 May 1997 22:45:10 +0000 (22:45 +0000)]
Widget._setup():  Support name=None in a similar way to the handling of other
Tkinter keyword parameters.

28 years agoSet version to 0.4; get rid of '(' in column 1 in triple-queted string.
Guido van Rossum [Mon, 26 May 1997 20:15:44 +0000 (20:15 +0000)]
Set version to 0.4; get rid of '(' in column 1 in triple-queted string.

28 years agoInitial revision
Guido van Rossum [Mon, 26 May 1997 20:15:09 +0000 (20:15 +0000)]
Initial revision

28 years agoAdded marks for very recently (24 hours) and recently (7 days)
Guido van Rossum [Mon, 26 May 1997 19:46:56 +0000 (19:46 +0000)]
Added marks for very recently (24 hours) and recently (7 days)
modified files.  Added and used global now, entry.getmtime(), and
entry.emit_marks().

28 years agoAdded marks for very recently (24 hours) and recently (7 days)
Guido van Rossum [Mon, 26 May 1997 19:46:18 +0000 (19:46 +0000)]
Added marks for very recently (24 hours) and recently (7 days)
modified files.  Throw things around a bit.

28 years agoSupport for more general diffing and retrieving any old revision.
Guido van Rossum [Mon, 26 May 1997 19:10:37 +0000 (19:10 +0000)]
Support for more general diffing and retrieving any old revision.
Support for index formatting with local refs.

28 years agoAdded keyword searching.
Guido van Rossum [Mon, 26 May 1997 16:35:46 +0000 (16:35 +0000)]
Added keyword searching.

28 years agoAdded keyword searching radio buttons.
Guido van Rossum [Mon, 26 May 1997 16:35:27 +0000 (16:35 +0000)]
Added keyword searching radio buttons.

28 years agoDon't need <BR> at end of <LI>.
Guido van Rossum [Mon, 26 May 1997 16:02:56 +0000 (16:02 +0000)]
Don't need <BR> at end of <LI>.

28 years agoBugfix -- should pass headers=0 when formatting query results.
Guido van Rossum [Mon, 26 May 1997 16:02:00 +0000 (16:02 +0000)]
Bugfix -- should pass headers=0 when formatting query results.

28 years agoAdd optional section titles to format_all.
Guido van Rossum [Mon, 26 May 1997 06:28:40 +0000 (06:28 +0000)]
Add optional section titles to format_all.
Allow for missing section titles in format_all and format_index.