]>
granicus.if.org Git - python/log
Martin v. Löwis [Sat, 26 Oct 2002 14:43:07 +0000 (14:43 +0000)]
Add Daniel Stutzbach, for #512981.
Martin v. Löwis [Sat, 26 Oct 2002 14:42:02 +0000 (14:42 +0000)]
Document patch #512981.
Martin v. Löwis [Sat, 26 Oct 2002 14:39:10 +0000 (14:39 +0000)]
Patch #512981: Update readline input stream on sys.stdin/out change.
Martin v. Löwis [Sat, 26 Oct 2002 13:47:44 +0000 (13:47 +0000)]
Patch #623771: Properly use autoconf 2.5x macros.
Martin v. Löwis [Sat, 26 Oct 2002 13:36:13 +0000 (13:36 +0000)]
Remove duplicate definitions of _XOPEN_SOURCE_EXTENDED.
Martin v. Löwis [Sat, 26 Oct 2002 13:33:00 +0000 (13:33 +0000)]
Patch #628898: Define _XOPEN_SOURCE_EXTENDED and _POSIX_C_SOURCE.
Raymond Hettinger [Sat, 26 Oct 2002 03:13:57 +0000 (03:13 +0000)]
Clarify packages in tutorial. Closes SF bug #616211.
Fred Drake [Fri, 25 Oct 2002 21:52:00 +0000 (21:52 +0000)]
Implement a safer and more predictable interpolation approach.
Closes SF bug #511737.
Fred Drake [Fri, 25 Oct 2002 20:42:44 +0000 (20:42 +0000)]
Add tests for both raw and non-raw versions of the items() methods.
Fred Drake [Fri, 25 Oct 2002 20:41:30 +0000 (20:41 +0000)]
According to the docs, __name__ is not exposed via the API except
indirectly via %(__name__)s. Not sure why, but maintain the
documented behavior for the new items() method.
Be a little more efficient about how we compute the list of options in
the ConfigParser.items() method.
Fred Drake [Fri, 25 Oct 2002 20:20:58 +0000 (20:20 +0000)]
Update to reflect the refactoring into the RawConfigParser and
ConfigParser classes.
Jack Jansen [Fri, 25 Oct 2002 20:06:29 +0000 (20:06 +0000)]
Under Jaguar it seems that 'errn' return value keyword parameters don't
(or don't always?) show up with missed(). I think this is a bug in
Jaguar, but as it is a potential dangerous problem (the OSA event has
failed, but the Python code isn't told about this and happily continues)
this is a quick workaround.
Bugfix candidate, I'll add it to 2.2.2 as a last second fix.
Fred Drake [Fri, 25 Oct 2002 19:41:26 +0000 (19:41 +0000)]
Remove useless output file.
Fred Drake [Fri, 25 Oct 2002 19:40:49 +0000 (19:40 +0000)]
Convert to PyUnit.
Fred Drake [Fri, 25 Oct 2002 18:09:24 +0000 (18:09 +0000)]
Added (very) minimal tests of the RawConfigParser class.
Moved the write() test to near the end of the file since it screws up
font-lock. ;-(
Fred Drake [Fri, 25 Oct 2002 18:08:18 +0000 (18:08 +0000)]
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 "_".
Fred Drake [Fri, 25 Oct 2002 16:55:51 +0000 (16:55 +0000)]
- The "-" format flag overrides the "0" flag, not the "-" flag.
- Documented the alternate forms, which were claimed to be documented
but were not.
Fred Drake [Thu, 24 Oct 2002 20:54:18 +0000 (20:54 +0000)]
Correct the description of PyErr_Restore().
Closes SF bug #577000.
Just van Rossum [Thu, 24 Oct 2002 20:03:29 +0000 (20:03 +0000)]
'Replace all' in the find dialog didn't properly update the text view (it used to, though...). Fixed.
Fred Drake [Thu, 24 Oct 2002 19:57:37 +0000 (19:57 +0000)]
Relocate an index entry so named anchors are not generated in a section head.
Closes SF bug #546579.
Fred Drake [Thu, 24 Oct 2002 19:36:04 +0000 (19:36 +0000)]
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.)
Fred Drake [Thu, 24 Oct 2002 16:36:05 +0000 (16:36 +0000)]
Clean up some really minor Perl warnings.
Fred Drake [Wed, 23 Oct 2002 20:58:32 +0000 (20:58 +0000)]
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.
Marc-André Lemburg [Wed, 23 Oct 2002 09:02:46 +0000 (09:02 +0000)]
Fix for bug #626172: crash using unicode latin1 single char
Python 2.2.3 candidate.
Kurt B. Kaiser [Wed, 23 Oct 2002 04:48:08 +0000 (04:48 +0000)]
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.
Fred Drake [Tue, 22 Oct 2002 21:58:06 +0000 (21:58 +0000)]
Moved description of _urlopener adjacent to the related functions.
Added missing import to example code.
Added documentation for pathname2url(), url2pathname().
Closes SF bug #623196.
Fred Drake [Tue, 22 Oct 2002 21:00:44 +0000 (21:00 +0000)]
Describe __path__ along with the rest of the package description.
Closes SF bug #626554.
Fred Drake [Tue, 22 Oct 2002 20:31:22 +0000 (20:31 +0000)]
Modify example to use string methods instead of the string module.
Fred Drake [Tue, 22 Oct 2002 20:20:20 +0000 (20:20 +0000)]
Clarified the error cases and Unicode handling of PyString_AsString(),
PyString_AsStringAndSize(), and PyString_AS_STRING().
Closes SF bug #606463.
Greg Ward [Tue, 22 Oct 2002 18:31:50 +0000 (18:31 +0000)]
Add comment about inability to handle Unicode strings (hopefully a
temporary condition).
Fredrik Lundh [Tue, 22 Oct 2002 18:26:28 +0000 (18:26 +0000)]
terminology
Fredrik Lundh [Tue, 22 Oct 2002 18:23:00 +0000 (18:23 +0000)]
add support for basic authentication, based on patch #624180
by Phillip J. Eby
Fred Drake [Tue, 22 Oct 2002 15:06:49 +0000 (15:06 +0000)]
Clarify what versions of Windows are supported, and add Linux
specifically.
Raymond Hettinger [Tue, 22 Oct 2002 05:15:17 +0000 (05:15 +0000)]
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.
Barry Warsaw [Mon, 21 Oct 2002 15:58:29 +0000 (15:58 +0000)]
(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.
Barry Warsaw [Mon, 21 Oct 2002 14:25:24 +0000 (14:25 +0000)]
FILETYPES: Newer XFree86 rgb.txt files use the key Xorg instead of
XConsortium. Now we can recognize these files!
Barry Warsaw [Mon, 21 Oct 2002 14:23:48 +0000 (14:23 +0000)]
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.
Barry Warsaw [Mon, 21 Oct 2002 14:20:37 +0000 (14:20 +0000)]
Fix a typo, update (only one) style improvement, whitespace
normalization.
Barry Warsaw [Mon, 21 Oct 2002 05:43:58 +0000 (05:43 +0000)]
test_body_encoding(): a new test for Charset.body_encode(), especially
one that tests the obscure bug reported in SF # 625509.
Barry Warsaw [Mon, 21 Oct 2002 05:31:08 +0000 (05:31 +0000)]
test_body_encoding(): a new test
Barry Warsaw [Mon, 21 Oct 2002 05:29:53 +0000 (05:29 +0000)]
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.
Raymond Hettinger [Mon, 21 Oct 2002 04:44:11 +0000 (04:44 +0000)]
Explicitly use floor division
Raymond Hettinger [Mon, 21 Oct 2002 03:08:20 +0000 (03:08 +0000)]
Eliminate unused instance variable
Just van Rossum [Sun, 20 Oct 2002 17:14:28 +0000 (17:14 +0000)]
cd to users home dir if no current dir has been set. Fixes bug #625734
Jack Jansen [Sat, 19 Oct 2002 22:02:21 +0000 (22:02 +0000)]
Made MacOS.Error a class style exception (at last!).
Jack Jansen [Sat, 19 Oct 2002 21:36:56 +0000 (21:36 +0000)]
Added a paragraph to explain that SchedParams(0, 0) is usually what
you want.
Fredrik Lundh [Sat, 19 Oct 2002 20:22:56 +0000 (20:22 +0000)]
fixed the mail address in the documentation, too...
Fredrik Lundh [Sat, 19 Oct 2002 20:19:10 +0000 (20:19 +0000)]
point people to the Python bug tracker, rather than to a mail
account I hardly ever use...
Guido van Rossum [Fri, 18 Oct 2002 18:54:22 +0000 (18:54 +0000)]
Remove reference to deleted 'www' directory.
Guido van Rossum [Fri, 18 Oct 2002 18:20:33 +0000 (18:20 +0000)]
Note lack of speedup. Remove Irix reference. Remove silly extra
'/tmp' arg. Change predicate to look for world-writable non-symlink
files.
Fred Drake [Fri, 18 Oct 2002 18:16:19 +0000 (18:16 +0000)]
Fix markup for tilde in URL.
Martin v. Löwis [Fri, 18 Oct 2002 17:34:18 +0000 (17:34 +0000)]
Verify that lower-higher case delta are 16-bit.
Fred Drake [Fri, 18 Oct 2002 16:50:17 +0000 (16:50 +0000)]
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.
Martin v. Löwis [Fri, 18 Oct 2002 16:40:36 +0000 (16:40 +0000)]
Make lower/upper/title work for non-BMP characters.
Fred Drake [Fri, 18 Oct 2002 16:33:30 +0000 (16:33 +0000)]
Fix markup for tilde in URL.
Neal Norwitz [Fri, 18 Oct 2002 16:33:13 +0000 (16:33 +0000)]
Fix SF # 624982, Potential AV in slot_sq_item, by Greg Chapman
Don't crash when getting value of a property raises an exception
Martin v. Löwis [Fri, 18 Oct 2002 16:11:54 +0000 (16:11 +0000)]
Update to Unicode 3.2 database.
Guido van Rossum [Fri, 18 Oct 2002 15:40:13 +0000 (15:40 +0000)]
Update docs. Remove old classes.doc.
Guido van Rossum [Fri, 18 Oct 2002 15:36:31 +0000 (15:36 +0000)]
Add description of the cgi directory.
Guido van Rossum [Fri, 18 Oct 2002 15:35:42 +0000 (15:35 +0000)]
Add description of what's here.
Fred Drake [Fri, 18 Oct 2002 15:20:32 +0000 (15:20 +0000)]
Added cross-references to related material on exceptions.
Closes SF bug #217195.
Make sure section numbers wrap together with the preceeding word
("section").
Fred Drake [Fri, 18 Oct 2002 15:18:18 +0000 (15:18 +0000)]
Added cross-references to related material on exceptions.
Closes SF bug #217195.
Fred Drake [Fri, 18 Oct 2002 15:03:42 +0000 (15:03 +0000)]
Make sure section numbers wrap together with the preceeding word
("section").
Guido van Rossum [Fri, 18 Oct 2002 14:15:33 +0000 (14:15 +0000)]
Fix (real! :-) memory leaks in half_cmp and half_binop.
Perhaps found by NealN and valgrind. Will forward port.
Guido van Rossum [Fri, 18 Oct 2002 13:51:49 +0000 (13:51 +0000)]
Sigh. That wasn't a memory leak, that was Guido committing before
running tests. Withdraw 2.183 and its backport.
Guido van Rossum [Fri, 18 Oct 2002 13:41:47 +0000 (13:41 +0000)]
Fix memory leak in add_subclass() found by NealN with valgrind.
Will backport.
Martin v. Löwis [Fri, 18 Oct 2002 08:58:14 +0000 (08:58 +0000)]
Patch #624936: Implement __contains__.
Neal Norwitz [Fri, 18 Oct 2002 02:05:47 +0000 (02:05 +0000)]
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.
Neal Norwitz [Thu, 17 Oct 2002 22:15:33 +0000 (22:15 +0000)]
Add new encoding for Ukrainian Cyrillic
Fred Drake [Thu, 17 Oct 2002 22:13:28 +0000 (22:13 +0000)]
Continue to work even though the test can be named test.test_regex
these days.
Fred Drake [Thu, 17 Oct 2002 22:09:03 +0000 (22:09 +0000)]
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.
Guido van Rossum [Thu, 17 Oct 2002 21:43:47 +0000 (21:43 +0000)]
Refactor cmd_view(): move line formatting to a helper method.
Guido van Rossum [Thu, 17 Oct 2002 21:41:42 +0000 (21:41 +0000)]
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().
Fred Drake [Thu, 17 Oct 2002 21:24:58 +0000 (21:24 +0000)]
If we have a filename and __main__.__file__ hasn't already been set,
set it.
Closes SF issue #624729.
Fred Drake [Thu, 17 Oct 2002 20:37:50 +0000 (20:37 +0000)]
Fix minor whitespace nit, for consistency with Python's C style rules.
Fred Drake [Thu, 17 Oct 2002 20:36:08 +0000 (20:36 +0000)]
Remove spurious cruft from the output.
Fred Drake [Thu, 17 Oct 2002 19:48:27 +0000 (19:48 +0000)]
Clean up some whitespace to be consistent with Python's C style.
Guido van Rossum [Thu, 17 Oct 2002 19:30:39 +0000 (19:30 +0000)]
Remove redundant load() call.
Fred Drake [Thu, 17 Oct 2002 19:23:43 +0000 (19:23 +0000)]
Typo(!): "normal" -> "number"
Guido van Rossum [Thu, 17 Oct 2002 16:33:40 +0000 (16:33 +0000)]
Grammar repair in comment.
Guido van Rossum [Thu, 17 Oct 2002 16:26:45 +0000 (16:26 +0000)]
Use tempfile.gettempdir() to get the temp directory rather than
hardcoding "/tmp".
Guido van Rossum [Thu, 17 Oct 2002 16:21:35 +0000 (16:21 +0000)]
Must catch TypeError from int(length).
Guido van Rossum [Thu, 17 Oct 2002 15:53:02 +0000 (15:53 +0000)]
Restructure: move all wiki code into a separate module.
Guido van Rossum [Thu, 17 Oct 2002 13:34:01 +0000 (13:34 +0000)]
Add trailing newline when saving.
Guido van Rossum [Thu, 17 Oct 2002 11:45:54 +0000 (11:45 +0000)]
Security fixes: reject non-wiki-word page names; set homedir to /tmp.
Show errors returned by store().
A few nits.
Fred Drake [Wed, 16 Oct 2002 21:21:39 +0000 (21:21 +0000)]
Added missing entries to __all__.
Fred Drake [Wed, 16 Oct 2002 21:02:36 +0000 (21:02 +0000)]
Make sure we test urlsplit() / urlunsplit() directly, rather than
guessing that urlparse() / urlunparse() use them.
Add tests of urldefrag().
Guido van Rossum [Wed, 16 Oct 2002 21:01:27 +0000 (21:01 +0000)]
Some really simple cgi examples. cgi3 is a MiniWiki.
Martin v. Löwis [Wed, 16 Oct 2002 20:28:25 +0000 (20:28 +0000)]
Patch #623780: Replace obsolete struct macros.
Fred Drake [Wed, 16 Oct 2002 20:07:54 +0000 (20:07 +0000)]
Document urldefrag().
Martin v. Löwis [Wed, 16 Oct 2002 19:10:03 +0000 (19:10 +0000)]
Add n_unnamed_fields into the type.
Martin v. Löwis [Wed, 16 Oct 2002 18:28:36 +0000 (18:28 +0000)]
Correct stat_result float time stamps entry.
Martin v. Löwis [Wed, 16 Oct 2002 18:27:39 +0000 (18:27 +0000)]
Add PyStructSequence_UnnamedField. Add stat_float_times.
Use integers in stat tuple, optionally floats in named fields.
Thomas Heller [Wed, 16 Oct 2002 17:51:38 +0000 (17:51 +0000)]
Recreated after source changes.
Guido van Rossum [Wed, 16 Oct 2002 16:52:11 +0000 (16:52 +0000)]
posix_execve(): add missing argument for "et" format in PyArg_Parse()
call. This caused mysterious crashes (hard to debug because it was
happening in a child process).
Fred Drake [Wed, 16 Oct 2002 16:06:07 +0000 (16:06 +0000)]
Use string methods. Re-organize imports to Python Normal Form.
Fred Drake [Wed, 16 Oct 2002 16:02:08 +0000 (16:02 +0000)]
Only reset _is_empty if needed.
Fred Drake [Wed, 16 Oct 2002 16:00:42 +0000 (16:00 +0000)]
Modernization: Use string methods, use str instead of
types.StringType, inherit from list instead of
UserList.
Fred Drake [Wed, 16 Oct 2002 15:30:17 +0000 (15:30 +0000)]
Use string methods.
Fred Drake [Wed, 16 Oct 2002 15:29:07 +0000 (15:29 +0000)]
Use string methods. Organize the imports in Python Normal Form.