Commit Graph

5714 Commits

Author SHA1 Message Date
Jack Jansen 120a105823 Removed SetScheduleTimes
Added SchedParams
Added docstrings for most routines
1997-06-03 15:29:41 +00:00
Jack Jansen e68a61c95b Added zlib (optional on USE_ZLIB) 1997-06-03 15:28:52 +00:00
Jack Jansen e3ae0dfeb7 Removed old scheduler parameterizing calls and replaced with something
a bit easier to use and understand
1997-06-03 15:28:29 +00:00
Jack Jansen 4a79a4b0a9 Removed SetScheduleTimes and PyMac_DoYieldEnabled
Added [GS]etSchedParams
Added parameter to PyMac_HandleEvent (safe to run python code at this point)
Removed various cruft
1997-06-03 15:27:31 +00:00
Guido van Rossum c24751b57a Add Host: header to URL request. 1997-06-03 14:34:19 +00:00
Guido van Rossum b94cd96977 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.
1997-06-03 14:10:01 +00:00
Fred Drake bd40d7e69f Added the new dictionary methods to the wrapper class. 1997-06-03 13:07:59 +00:00
Guido van Rossum 36bab7dbaf Don't stop if the tests fail the first time around. 1997-06-02 23:15:09 +00:00
Guido van Rossum 2d3aac2377 The usual 1997-06-02 23:14:37 +00:00
Guido van Rossum ce1fa263e6 Added tests for dict.clear(), dict.update(), dict.copy(). 1997-06-02 23:14:00 +00:00
Guido van Rossum 77e1db3b34 Support $HOME in expanduser().
(Who'd thought that *anyone* would be interested in writing ~/foo on NT :-)
1997-06-02 23:11:57 +00:00
Guido van Rossum dafce6db7b Expanded the setup instructions. 1997-06-02 23:10:06 +00:00
Guido van Rossum 525d52f8a4 Move the roulette() functionality out of the FaqDir class into the
FaqWizard class.
1997-06-02 22:52:37 +00:00
Guido van Rossum 46ff1903a3 Add default case (standard conformance) to avoid piling up
system specific #ifdefs.
1997-06-02 22:25:45 +00:00
Guido van Rossum ec4f4ac8c0 Added doc strings (Neil Schemenauer). 1997-06-02 22:20:51 +00:00
Guido van Rossum 21f8497a46 Use string.h, not strings.h 1997-06-02 22:18:31 +00:00
Guido van Rossum 91ba64ddd9 socket_type -> SocketType 1997-06-02 22:18:09 +00:00
Guido van Rossum 24995b99e1 array_type -> ArrayType 1997-06-02 22:17:49 +00:00
Guido van Rossum 290283bb39 Mac hack to make select() work again... 1997-06-02 22:16:43 +00:00
Guido van Rossum 4f074044be Version upped. 1997-06-02 21:40:18 +00:00
Guido van Rossum 178f58a17e Stupid typos -- ImporError. 1997-06-02 21:39:15 +00:00
Guido van Rossum 39a23cc1e3 Doc for mailbox.tex (Jack) 1997-06-02 21:04:41 +00:00
Guido van Rossum 6cb2ac226e A nicety (author lost). 1997-06-02 17:57:10 +00:00
Guido van Rossum 41c302fc68 add libmailbox 1997-06-02 17:36:12 +00:00
Guido van Rossum e5bb790027 Added libmailbox, obsolete libstdwin 1997-06-02 17:35:51 +00:00
Guido van Rossum daff175611 Increase printable page size. 1997-06-02 17:35:01 +00:00
Guido van Rossum b40f2a7446 Added SocketServer and mailbox modules. 1997-06-02 17:34:40 +00:00
Guido van Rossum 98b43eb012 It's now using mimetools instead of rfc822 1997-06-02 17:34:22 +00:00
Guido van Rossum b9ee9c2298 stdwin is obsolete. Point to bsddb from dbhash. 1997-06-02 17:34:02 +00:00
Guido van Rossum 0a3c7532f3 Additional info about sys.path, sys.version, sys.prefix, sys.exec_prefix.
(AMK)
1997-06-02 17:32:41 +00:00
Guido van Rossum 0fa066b72e Grammar (AMK). 1997-06-02 17:30:20 +00:00
Guido van Rossum 067a2acdf6 Mention seekable parameter (AMK).
Added pointer to mailbox module.
1997-06-02 17:30:03 +00:00
Guido van Rossum bac80022e4 Mention use of profile.py to run a script (AMK). 1997-06-02 17:29:12 +00:00
Guido van Rossum f967bf63f8 Added putenv, ftruncate (AMK). 1997-06-02 17:28:51 +00:00
Guido van Rossum 809408eb90 Mention use of pdb.py to run a script (AMK). 1997-06-02 17:28:16 +00:00
Guido van Rossum 94adab5e17 Added date, xgtitle, xover, xpath (AMK). 1997-06-02 17:27:50 +00:00
Guido van Rossum a3f53cde37 It's now using mimetools instead of rfc822 1997-06-02 17:26:30 +00:00
Guido van Rossum 2525bedfc0 Fix a sentence which ends "...is 6, which." (AMK) 1997-06-02 17:22:06 +00:00
Guido van Rossum 921f32ce4c Mention abs(complex) -> magnitude (AMK).
Documented list().
Mention [raw_]input()'s interface to GNU readline.
1997-06-02 17:21:20 +00:00
Guido van Rossum 3a0d850160 Added complex numbers (AMK).
Clarify that sort() works in-place.
Renamed dict.absorb() to dict.update().
1997-06-02 17:18:00 +00:00
Guido van Rossum a8d5131d57 Renamed dict.absorb() (too spungy) to dict.update(). 1997-06-02 17:13:37 +00:00
Guido van Rossum c22eb01bfe Bugfix: last_changed would always print current time. 1997-06-02 15:51:51 +00:00
Guido van Rossum 80c2a1674e American spelling in doc string. 1997-06-02 14:43:07 +00:00
Guido van Rossum db7098cad5 The usual 1997-05-30 14:24:16 +00:00
Guido van Rossum 7f059ad41a 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.
1997-05-30 14:22:30 +00:00
Guido van Rossum d7918fb758 Added hint about permissions. 1997-05-30 12:01:24 +00:00
Guido van Rossum 72a342fd4f Protect roulette against empty FAQ. 1997-05-30 11:58:21 +00:00
Guido van Rossum 00494bfa15 Inclide the imports and chdir in the try/except. 1997-05-30 11:50:36 +00:00
Barry Warsaw 1d0fe31d7e 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
1997-05-29 21:01:35 +00:00
Jack Jansen 8d1ac0225c Documented (slightly) the USE_CACHE_ALIGNED define, for the standalone
distribution
1997-05-29 14:57:45 +00:00