Commit Graph

32 Commits

Author SHA1 Message Date
Guido van Rossum b940e113bf SF patch 1631942 by Collin Winter:
(a) "except E, V" -> "except E as V"
(b) V is now limited to a simple name (local variable)
(c) V is now deleted at the end of the except block
2007-01-10 16:19:56 +00:00
Michael W. Hudson e6e77e5fe7 Fix
[ 777659 ] Uninitialized variable used in Tools/faqwiz/faqwiz.py

with help from jlgijsbers on #python-dev IRC.
2004-08-07 21:13:46 +00:00
Tim Peters 182b5aca27 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
Walter Dörwald 70a6b49821 Replace backticks with repr() or "%r"
From SF patch #852334.
2004-02-12 17:35:32 +00:00
Walter Dörwald aaab30e00c Apply diff2.txt from SF patch http://www.python.org/sf/572113
(with one small bugfix in bgen/bgen/scantools.py)

This replaces string module functions with string methods
for the stuff in the Tools directory. Several uses of
string.letters etc. are still remaining.
2002-09-11 20:36:02 +00:00
Guido van Rossum 3b0a3293c3 Massive changes from SF 589982 (tempfile.py rewrite, by Zack
Weinberg).  This changes all uses of deprecated tempfile functions to
the recommended ones.
2002-08-09 16:38:32 +00:00
Guido van Rossum 2b6004a07f New version 1.0.4. I'm sure someone mailed me these patches but I
can't remember who. :-)  Changes:

- Support for Windows NT (different locking behavior)
- Added a logging mechanism
2000-03-31 00:58:00 +00:00
Guido van Rossum 2d3b0d725a Provide more detail when the commit button is not shown. 1998-12-23 21:33:09 +00:00
Guido van Rossum 2053aa6cc0 Use SCRIPT_NAME (if defined) instead of hardcoding /cgi-bin/ when
sending the cookie.  (Suggestion by AMK.)
1998-09-04 21:19:55 +00:00
Guido van Rossum 0922a56965 Don't add <...> around mail addresses; they may already be there. 1998-07-07 22:39:21 +00:00
Guido van Rossum 55b40b06d2 Fix a dumb typo in the revparse() regular exception: {1-4} should be {1,4}.
Now you can click on revisions and diffs again!
1998-05-22 19:43:21 +00:00
Guido van Rossum 6c3a2cbc52 whrandom -> random 1998-05-20 17:13:01 +00:00
Guido van Rossum 72dc60ca92 Untabified, for tabnanny. 1998-04-06 14:24:36 +00:00
Guido van Rossum 48b1cdea45 Fix typo in format for strftime() used by cookie code. 1998-02-02 03:19:06 +00:00
Guido van Rossum 80e57fb21b Converted to use re instead of regex; version 0.9.0. 1997-12-21 07:05:32 +00:00
Guido van Rossum 0721358969 Fix a bug in translate(): the pointer was incremented by the length of
the *escaped* url.  Also added new special characters that are not
part of the url when found at the end: ( < > .
1997-12-16 21:12:47 +00:00
Guido van Rossum b1823ad83f v 0.8.3 -- add an option to suppress URL processing inside <PRE>,
by Scott <scott@chronis.icgroup.com>
1997-12-09 16:04:46 +00:00
Guido van Rossum ca2f69cb96 As Mark Hammond found out, it was a bad idea to add "set -e" to the
check in command -- this fails for new files!
1997-11-11 17:17:55 +00:00
Guido van Rossum b6fd5a50b0 Add "set -e" to lock command. 1997-10-07 14:55:39 +00:00
Guido van Rossum f1ead1a63c New installation instructions show how to maintain multiple FAQs.
Removed bootstrap script from end of faqwiz.py module.
Added instructions to bootstrap script, too.
Version bumped to 0.8.
Added <html>...</html> feature suggested by Skip Montanaro.
Added leading text for Roulette, default to 'Hit Reload ...'.
Fix typo in default SRCDIR.
1997-08-28 02:38:01 +00:00
Guido van Rossum 92c90329d1 Recognize https:// as URL as well. 1997-08-18 13:59:41 +00:00
Guido van Rossum 1dccdc221c Add missing semicolon to '&gt;'. 1997-08-14 20:17:20 +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 c22eb01bfe Bugfix: last_changed would always print current time. 1997-06-02 15:51:51 +00:00
Guido van Rossum 72a342fd4f Protect roulette against empty FAQ. 1997-05-30 11:58:21 +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 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 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 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