Barry Warsaw
d9e0e1f422
Some fixes based on feedback from Hans Petter Langtangen.
...
build(): Fix the logic here for calculating fallbacks if the dbfile
isn't parseable.
main(): Fix the semantics for -d/--database; this should override any
database value found in the .pynche file.
Update some comments, and author contact info.
Bump to v1.4
Whitespace normalization.
2002-10-21 14:23:48 +00:00
Barry Warsaw
531e3932bf
Fix a typo, update (only one) style improvement, whitespace
...
normalization.
2002-10-21 14:20:37 +00:00
Barry Warsaw
4111804548
test_body_encoding(): a new test for Charset.body_encode(), especially
...
one that tests the obscure bug reported in SF # 625509.
2002-10-21 05:43:58 +00:00
Barry Warsaw
34aa44538d
test_body_encoding(): a new test
2002-10-21 05:31:08 +00:00
Barry Warsaw
3d57589f0f
body_encode(): Fixed typo reported by Chris Lawrence, closing SF bug
...
#625509 . This isn't a huge problem because at the moment there are no
built-in charsets for which header_encoding is QP but body_encoding is
not.
2002-10-21 05:29:53 +00:00
Raymond Hettinger
fca3bb6a29
Explicitly use floor division
2002-10-21 04:44:11 +00:00
Raymond Hettinger
d058f08e03
Eliminate unused instance variable
2002-10-21 03:08:20 +00:00
Just van Rossum
7aa7f2eb0d
cd to users home dir if no current dir has been set. Fixes bug #625734
2002-10-20 17:14:28 +00:00
Jack Jansen
8fce2ef84c
Made MacOS.Error a class style exception (at last!).
2002-10-19 22:02:21 +00:00
Jack Jansen
d22eb59535
Added a paragraph to explain that SchedParams(0, 0) is usually what
...
you want.
2002-10-19 21:36:56 +00:00
Fredrik Lundh
e7c38d48ff
fixed the mail address in the documentation, too...
2002-10-19 20:22:56 +00:00
Fredrik Lundh
37a0982278
point people to the Python bug tracker, rather than to a mail
...
account I hardly ever use...
2002-10-19 20:19:10 +00:00
Guido van Rossum
eeb7827cad
Remove reference to deleted 'www' directory.
2002-10-18 18:54:22 +00:00
Guido van Rossum
b50e1dee86
Note lack of speedup. Remove Irix reference. Remove silly extra
...
'/tmp' arg. Change predicate to look for world-writable non-symlink
files.
2002-10-18 18:20:33 +00:00
Fred Drake
5e31c3f768
Fix markup for tilde in URL.
2002-10-18 18:16:19 +00:00
Martin v. Löwis
99ac3283e7
Verify that lower-higher case delta are 16-bit.
2002-10-18 17:34:18 +00:00
Fred Drake
d8eeeae4a6
Fix reference to the Fetchmail FAQ:
...
- URL was missing an "m"
- markup for tilde was wrong
- URL was marked as the title
- actual title was omitted
"make webcheck" didn't catch this; not sure why.
Removed some spurious end-of-line whitespace.
2002-10-18 16:50:17 +00:00
Martin v. Löwis
edf368c351
Make lower/upper/title work for non-BMP characters.
2002-10-18 16:40:36 +00:00
Fred Drake
ddc369a7d2
Fix markup for tilde in URL.
2002-10-18 16:33:30 +00:00
Neal Norwitz
673cd824ba
Fix SF # 624982, Potential AV in slot_sq_item, by Greg Chapman
...
Don't crash when getting value of a property raises an exception
2002-10-18 16:33:13 +00:00
Martin v. Löwis
9def6a3a77
Update to Unicode 3.2 database.
2002-10-18 16:11:54 +00:00
Guido van Rossum
ecbb0eaa43
Update docs. Remove old classes.doc.
2002-10-18 15:40:13 +00:00
Guido van Rossum
989ea8d4eb
Add description of the cgi directory.
2002-10-18 15:36:31 +00:00
Guido van Rossum
cc44ccccb2
Add description of what's here.
2002-10-18 15:35:42 +00:00
Fred Drake
78eb200758
Added cross-references to related material on exceptions.
...
Closes SF bug #217195 .
Make sure section numbers wrap together with the preceeding word
("section").
2002-10-18 15:20:32 +00:00
Fred Drake
e7097e0b1c
Added cross-references to related material on exceptions.
...
Closes SF bug #217195 .
2002-10-18 15:18:18 +00:00
Fred Drake
30be5768d2
Make sure section numbers wrap together with the preceeding word
...
("section").
2002-10-18 15:03:42 +00:00
Guido van Rossum
617080b6cf
Fix (real! :-) memory leaks in half_cmp and half_binop.
...
Perhaps found by NealN and valgrind. Will forward port.
2002-10-18 14:15:33 +00:00
Guido van Rossum
3930bc35d0
Sigh. That wasn't a memory leak, that was Guido committing before
...
running tests. Withdraw 2.183 and its backport.
2002-10-18 13:51:49 +00:00
Guido van Rossum
72297bb71e
Fix memory leak in add_subclass() found by NealN with valgrind.
...
Will backport.
2002-10-18 13:41:47 +00:00
Martin v. Löwis
e4913c9987
Patch #624936 : Implement __contains__.
2002-10-18 08:58:14 +00:00
Neal Norwitz
d7bc0fec38
Try to fix the broken links caused by multiple \ref on the same line.
...
SF bug #217195 .
Not sure if chomp() is correct, but chop() definitely has problems.
This change seems to have no ill effects.
Backport candidate if Fred agrees.
2002-10-18 02:05:47 +00:00
Neal Norwitz
d8407a7031
Add new encoding for Ukrainian Cyrillic
2002-10-17 22:15:33 +00:00
Fred Drake
1e146e7876
Continue to work even though the test can be named test.test_regex
...
these days.
2002-10-17 22:13:28 +00:00
Fred Drake
7633d2393f
Don't call warnings.resetwarnings(); that does bad things that cause
...
other tests to generate warning when they didn't before. In
particular, this cancels not only filters set by -W, but also from
test.regrtest.
2002-10-17 22:09:03 +00:00
Guido van Rossum
154c08894b
Refactor cmd_view(): move line formatting to a helper method.
2002-10-17 21:43:47 +00:00
Guido van Rossum
9c3848b39b
In cmd_create(), use a redirect directive instead of viewing the page;
...
this avoids resubmitting POST data.
Remove redundant 'Page' from label passed from cmd_new().
2002-10-17 21:41:42 +00:00
Fred Drake
8ed0204bc9
If we have a filename and __main__.__file__ hasn't already been set,
...
set it.
Closes SF issue #624729 .
2002-10-17 21:24:58 +00:00
Fred Drake
5134a54df9
Fix minor whitespace nit, for consistency with Python's C style rules.
2002-10-17 20:37:50 +00:00
Fred Drake
de4742b87f
Remove spurious cruft from the output.
2002-10-17 20:36:08 +00:00
Fred Drake
330f72c6df
Clean up some whitespace to be consistent with Python's C style.
2002-10-17 19:48:27 +00:00
Guido van Rossum
3296dcc65d
Remove redundant load() call.
2002-10-17 19:30:39 +00:00
Fred Drake
5f2c1d27b9
Typo(!): "normal" -> "number"
2002-10-17 19:23:43 +00:00
Guido van Rossum
a55dda6773
Grammar repair in comment.
2002-10-17 16:33:40 +00:00
Guido van Rossum
c9776bd8dd
Use tempfile.gettempdir() to get the temp directory rather than
...
hardcoding "/tmp".
2002-10-17 16:26:45 +00:00
Guido van Rossum
b390315872
Must catch TypeError from int(length).
2002-10-17 16:21:35 +00:00
Guido van Rossum
f66cccf506
Restructure: move all wiki code into a separate module.
2002-10-17 15:53:02 +00:00
Guido van Rossum
26a1ac462c
Add trailing newline when saving.
2002-10-17 13:34:01 +00:00
Guido van Rossum
48123b266c
Security fixes: reject non-wiki-word page names; set homedir to /tmp.
...
Show errors returned by store().
A few nits.
2002-10-17 11:45:54 +00:00
Fred Drake
f606e8d705
Added missing entries to __all__.
2002-10-16 21:21:39 +00:00