Guido van Rossum
be19ed77dd
Fix most trivially-findable print statements.
...
There's one major and one minor category still unfixed:
doctests are the major category (and I hope to be able to augment the
refactoring tool to refactor bona fide doctests soon);
other code generating print statements in strings is the minor category.
(Oh, and I don't know if the compiler package works.)
2007-02-09 05:37:30 +00:00
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
Fred Drake
583359ed2e
clean up the API a little; exceptions are defined by this module
...
(needs documentation)
2004-09-09 02:24:13 +00:00
Andrew M. Kuchling
0f10343410
Docstring fix: XHTML 1.0 entities are supported
2003-10-27 15:47:48 +00:00
Martin v. Löwis
cbe81f2a72
Patch #793021 : Implement htmllib.HTMLParser.reset. Fixes #711632 .
...
Backported to 2.3.
2003-09-12 16:38:00 +00:00
Raymond Hettinger
aef22fb9cd
Patch 560023 adding docstrings. 2.2 Candidate (after verifying modules were not updated after 2.2).
2002-05-29 16:18:42 +00:00
Fred Drake
1b7e079528
int() of a string is only expected to through ValueError, so do not use
...
a bare except clause.
2001-05-11 18:45:52 +00:00
Eric S. Raymond
373c55e510
String method conversion.
2001-02-09 08:25:29 +00:00
Skip Montanaro
2dd4276559
added a few more __all__ lists
...
fixed typo in ihooks docstring
2001-01-23 15:35:05 +00:00
Tim Peters
07e99cb774
Whitespace normalization.
2001-01-14 23:47:14 +00:00
Guido van Rossum
96d80f984a
No need to import sys. (Andrew Dalke & kjpylint)
1999-05-03 18:13:51 +00:00
Guido van Rossum
45e2fbc2e7
Mass check-in after untabifying all files that need it.
1998-03-26 21:13:24 +00:00
Guido van Rossum
57a68e08f9
Remove redundant import regsub.
1997-10-23 17:50:10 +00:00
Guido van Rossum
a98b0a1ff5
improved test()
1996-02-13 00:02:10 +00:00
Guido van Rossum
84175bacd1
strip <A> attribute values
1995-10-06 15:30:57 +00:00
Guido van Rossum
65126d5a3d
entity definitions from HTML 2.0 std
1995-09-27 16:22:17 +00:00
Guido van Rossum
453534a84d
added verbose option; added ismap/align/width/height to handle_image args
1995-09-22 00:55:50 +00:00
Guido van Rossum
fd504d9f09
took out forms support (in favor a Grail extension)
1995-09-01 20:33:32 +00:00
Guido van Rossum
aa7634476f
change blank line insertion at a few places and fix recursion bug for </var>
1995-08-09 02:31:00 +00:00
Guido van Rossum
f54d967fec
new formatter module; redid htmllib module to use it
1995-08-07 20:07:44 +00:00
Guido van Rossum
7ff5d7f7c7
major rewrite using different formatting paradigm
1995-08-04 04:23:30 +00:00
Guido van Rossum
2d95706f68
support <HTML>, remove <HEADER>
1995-06-22 18:46:12 +00:00
Guido van Rossum
1dba24eeca
remove redundant backslashes; some cosnetics
1995-03-04 22:28:49 +00:00
Guido van Rossum
7c750e1e09
added html parser and supporting cast
1995-02-27 13:16:55 +00:00