Commit Graph

5818 Commits

Author SHA1 Message Date
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
Jack Jansen e66b8c8543 Updated for 1.5a2 distribution 1997-05-29 14:57:07 +00:00
Jack Jansen 219e2e2bb3 Projects for 1.5a2 distritbuion 1997-05-29 14:57:04 +00:00
Jack Jansen baa6d551ed Version number and such for 1.5a2 distribution 1997-05-29 14:56:25 +00:00
Guido van Rossum 6102b51f2b Added copy() and absorb(). 1997-05-28 19:32:11 +00:00
Guido van Rossum f7cea10f80 Remove '(' in column 0 of doc strings.
Add dependency on dict.copy().
1997-05-28 19:31:14 +00:00
Guido van Rossum e3f5b9c8d1 Added dict.absorb() and dict.copy(). 1997-05-28 19:15:28 +00:00
Guido van Rossum fe97656631 Hide .fdc files here. 1997-05-28 16:14:48 +00:00
Guido van Rossum 5416a0d97c Checking in zlib demo. 1997-05-28 16:13:21 +00:00
Guido van Rossum 68bdad1015 Tiny script to play with it on a Mac. 1997-05-28 16:09:02 +00:00
Guido van Rossum d7c9d96d3e Tweak default source of query a bit so it is possible to invoke
a CGI script from the command line with not environment variables.
1997-05-28 15:39:15 +00:00
Guido van Rossum 1aec3f087e lowercase proxies env variables, for Windows. 1997-05-28 15:37:19 +00:00
Guido van Rossum 4305542517 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 #!.
1997-05-28 15:11:01 +00:00
Jack Jansen 7701fd9af2 Changed release note structure:
- Relnotes contains current release notes
- HISTORY contains all old release notes
1997-05-28 12:01:14 +00:00
Jack Jansen 001aa86d34 Added a range of resource numbers reserved for Bruce 1997-05-28 11:54:43 +00:00
Fred Drake c8296db67d Widget._setup(): Support name=None in a similar way to the handling of other
Tkinter keyword parameters.
1997-05-27 22:45:10 +00:00
Guido van Rossum d812c07e0e Set version to 0.4; get rid of '(' in column 1 in triple-queted string. 1997-05-26 20:15:44 +00:00
Guido van Rossum 132e1892e1 Initial revision 1997-05-26 20:15:09 +00:00
Guido van Rossum 7a241071d4 Added marks for very recently (24 hours) and recently (7 days)
modified files.  Added and used global now, entry.getmtime(), and
entry.emit_marks().
1997-05-26 19:46:56 +00:00
Guido van Rossum fd67f738dd Added marks for very recently (24 hours) and recently (7 days)
modified files.  Throw things around a bit.
1997-05-26 19:46:18 +00:00
Guido van Rossum 8bc49c8ad1 Support for more general diffing and retrieving any old revision.
Support for index formatting with local refs.
1997-05-26 19:10:37 +00:00
Guido van Rossum 8cde0b47b8 Added keyword searching. 1997-05-26 16:35:46 +00:00
Guido van Rossum d993695b0f Added keyword searching radio buttons. 1997-05-26 16:35:27 +00:00
Guido van Rossum 030144d9f6 Don't need <BR> at end of <LI>. 1997-05-26 16:02:56 +00:00
Guido van Rossum 1f04772347 Bugfix -- should pass headers=0 when formatting query results. 1997-05-26 16:02:00 +00:00
Guido van Rossum 21c4b5f66a Add optional section titles to format_all.
Allow for missing section titles in format_all and format_index.
1997-05-26 06:28:40 +00:00
Guido van Rossum b1d8a259e3 Oops, checked in the wrong SHORTNAME value. 1997-05-26 06:14:02 +00:00
Guido van Rossum 2305231acd Added a local customization feature: load some parameters from faqcust. 1997-05-26 06:12:50 +00:00
Guido van Rossum 46a160f6de Initial revision 1997-05-26 06:11:35 +00:00
Guido van Rossum 72fdef07d3 Initial revision 1997-05-26 05:43:37 +00:00
Guido van Rossum ea31ea2859 I'm happy with this. 1997-05-26 05:43:29 +00:00
Guido van Rossum 1677e5b5dd Initial revision 1997-05-26 00:07:18 +00:00
Guido van Rossum efe640c00f Final touch -- bottom link points to FAQ Wizard home. 1997-05-23 23:07:44 +00:00
Guido van Rossum eae7d0ecf3 Forgot to remove debug stmt. 1997-05-23 22:46:16 +00:00
Guido van Rossum 9c6cedaa08 The official name of the whole thing is now "Python FAQ Wizard";
and it's in beta testing now.

Renamed the cookie id to Python-FAQ-Wizard and fixed some bugs
related to cookie processing.
1997-05-23 22:44:01 +00:00
Guido van Rossum a78a3c30dd Implemented a simple Password scheme.
Added a Help link to the FAQ Edit Wizard.
1997-05-23 22:29:24 +00:00
Guido van Rossum f8f0fb7069 Added last mtime on whole faq.
Added more elaborate explanation of version conflict.
Set fake header on commit so show() shows the new mtime.
Reorder name/email fields to be after the log message.
1997-05-23 21:21:43 +00:00
Guido van Rossum 1d57981015 Nits.
Use TARGET=rlog instead of _blank for rlog output.
Add missing mailto: to author's email address in Last changed link.
Forget about the domainname in the cookie; the default is just fine.
1997-05-23 19:18:35 +00:00
Guido van Rossum 1dcc24404b Reorg TO DO list.
Run rlog commands as pipe so we can cgi.escape(output).
Added self.escape(), like cgi.escape() but also escapes " -- for use
as double-quoted attribute values inside HTML tags.
Fix complains from Mark Lutz: HTTP_HOST is not always set.
1997-05-23 18:53:06 +00:00
Guido van Rossum a0e9a6d332 Small nits for Grail; don't forget to cgi.translate & and <. 1997-05-23 18:13:58 +00:00
Guido van Rossum d1c1ec8a77 - Suppress the visible text in the epilogue when "edit=no" is specified.
- Add translation of *foobar* into <I>foobar</I> (but not inside <PRE>).
- Optimization for the translation: only translate when @ or / or * seen.
- Add some layout to front page lay-out.
1997-05-23 17:45:04 +00:00
Guido van Rossum 4888c7ece5 Added section titles (for now, hardcoded in the file). 1997-05-23 15:55:19 +00:00
Jack Jansen 549e0ff752 Removed references to StdClib and PLStringFuncs, rebuilt everything 1997-05-23 15:41:54 +00:00
Jack Jansen 6f69c504f1 Nothing important 1997-05-23 15:41:15 +00:00
Jack Jansen 525819017e Changed version string and preferences filename to 1.5a2. 1997-05-23 15:37:54 +00:00
Jack Jansen a07dd0fdd1 Renamed 1997-05-23 15:36:53 +00:00
Jack Jansen e8b9b9f15b Added keys() and mapping interface to shared-library objects, allowing
iteration over all symbols exported
1997-05-23 15:36:13 +00:00