Fred Drake
fce6557c6b
Re-factor: Use a RawConfigParser base class and make ConfigParser a
...
derived class that adds the ugly string interpolation code. In the
process, changed all "__" methods and instance variables to "_".
2002-10-25 18:08:18 +00:00
Fred Drake
f596826673
- The "-" format flag overrides the "0" flag, not the "-" flag.
...
- Documented the alternate forms, which were claimed to be documented
but were not.
2002-10-25 16:55:51 +00:00
Fred Drake
5e96f1ff1d
Correct the description of PyErr_Restore().
...
Closes SF bug #577000 .
2002-10-24 20:54:18 +00:00
Just van Rossum
7b0255153f
'Replace all' in the find dialog didn't properly update the text view (it used to, though...). Fixed.
2002-10-24 20:03:29 +00:00
Fred Drake
79713fd9c6
Relocate an index entry so named anchors are not generated in a section head.
...
Closes SF bug #546579 .
2002-10-24 19:57:37 +00:00
Fred Drake
50276abd9b
Update an example to use the DOM implementation object. Explain that
...
the parse() and parseString() functions use a separate parser, not
actually implement a parser. (This is a common question.)
2002-10-24 19:36:04 +00:00
Fred Drake
73c5b6602d
Clean up some really minor Perl warnings.
2002-10-24 16:36:05 +00:00
Fred Drake
ff287cfb4c
Point to the PyXML package as an extended version of the "xml" package
...
that can provide this fuctionality.
Note that the docs for the xml.dom and xml.sax packages are the
definitiona of the Python bindings for the DOM and SAX interfaces.
2002-10-23 20:58:32 +00:00
Marc-André Lemburg
9cd87aaa54
Fix for bug #626172 : crash using unicode latin1 single char
...
Python 2.2.3 candidate.
2002-10-23 09:02:46 +00:00
Kurt B. Kaiser
45186c4ce0
Implement Restoring Breakpoints in Subprocess Debugger
...
M Debugger.py
M EditorWindow.py
M PyShell.py
0. Polish PyShell.linecache_checkcache()
1. Move break clearing code to PyShell.PyShellEditorWindow from
EditorWindow.
2. Add PyShellEditorWindow.breakpoints attribute to __init__, a list of
line numbers which are breakpoints for that edit window.
3. Remove the code in Debugger which removes all module breakpoints when
debugger is closed. Want to be able to reload into debugger when
restarted.
4. Moved the code which sets EditorWindow.text breakpoints from Debugger
to PyShell.PyShellEditorWindow and refactored.
5. Implement reloading subprocess debugger with breakpoints from all open
PyShellEditorWindows when debugger is opened or subprocess restarted.
6. Eliminate the break_set attribute, use the breakpoint list instead.
2002-10-23 04:48:08 +00:00
Fred Drake
88f015dc88
Moved description of _urlopener adjacent to the related functions.
...
Added missing import to example code.
Added documentation for pathname2url(), url2pathname().
Closes SF bug #623196 .
2002-10-22 21:58:06 +00:00
Fred Drake
55803bca98
Describe __path__ along with the rest of the package description.
...
Closes SF bug #626554 .
2002-10-22 21:00:44 +00:00
Fred Drake
d6cf8bea0a
Modify example to use string methods instead of the string module.
2002-10-22 20:31:22 +00:00
Fred Drake
4b2472647a
Clarified the error cases and Unicode handling of PyString_AsString(),
...
PyString_AsStringAndSize(), and PyString_AS_STRING().
Closes SF bug #606463 .
2002-10-22 20:20:20 +00:00
Greg Ward
4c486bc0c0
Add comment about inability to handle Unicode strings (hopefully a
...
temporary condition).
2002-10-22 18:31:50 +00:00
Fredrik Lundh
019bd4a6c1
terminology
2002-10-22 18:26:28 +00:00
Fredrik Lundh
1303c7cb16
add support for basic authentication, based on patch #624180
...
by Phillip J. Eby
2002-10-22 18:23:00 +00:00
Fred Drake
7d428ecc57
Clarify what versions of Windows are supported, and add Linux
...
specifically.
2002-10-22 15:06:49 +00:00
Raymond Hettinger
9ecf9ce161
Patches #626105 :
...
Replaces the _center function in the calendar
module with the center method for strings.
For situations with uneven padding, the behavior is
slightly different in that the center method puts the
extra space on the right instead of the left.
2002-10-22 05:15:17 +00:00
Barry Warsaw
644991fa35
(py-parse-state-re): Remove the "if" from the regular expression.
...
This fixes an indentation bug reported by Jeremy when seeing multiple
list comprehensions like so:
[x for x in seq
if blah(x)]
# ...
[y for y in seq
if blah(y)]
The reason this broke is because this regexp caused the "find a safe
parsing start location higher up in the file" test to erroneously find
the if in the listcomp. I think the other keywords in this regexp are
fine and good enough.
After a weekend of testing, I can't find any adverse effects.
2002-10-21 15:58:29 +00:00
Barry Warsaw
5c458052f0
FILETYPES: Newer XFree86 rgb.txt files use the key Xorg instead of
...
XConsortium. Now we can recognize these files!
2002-10-21 14:25:24 +00:00
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