]>
granicus.if.org Git - python/log
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.
Fred Drake [Wed, 16 Oct 2002 14:59:02 +0000 (14:59 +0000)]
Use string methods; minor code cleanup.
Thomas Heller [Tue, 15 Oct 2002 19:45:25 +0000 (19:45 +0000)]
Recreated after source changes.
Martin v. Löwis [Tue, 15 Oct 2002 15:11:13 +0000 (15:11 +0000)]
Patch #572628: Optional timeouts for put and get.
Thomas Heller [Tue, 15 Oct 2002 14:51:58 +0000 (14:51 +0000)]
Revert the previous checkin - it didn't work anyway.
Guido van Rossum [Tue, 15 Oct 2002 01:01:53 +0000 (01:01 +0000)]
For some reason (probably cut and paste), __ipow__ for new-style
classes was called with three arguments. This makes no sense, there's
no way to pass in the "modulo" 3rd argument as for __pow__, and
classic classes don't do this. [SF bug 620179]
I don't want to backport this to 2.2.2, because it could break
existing code that has developed a work-around. Code in 2.2.2 that
wants to use __ipow__ and wants to be forward compatible with 2.3
should be written like this:
def __ipow__(self, exponent, modulo=None):
...
Martin v. Löwis [Mon, 14 Oct 2002 21:11:34 +0000 (21:11 +0000)]
Don't drop old slots if _unicode_to_string did not change anything.
Martin v. Löwis [Mon, 14 Oct 2002 21:07:28 +0000 (21:07 +0000)]
Allow Unicode strings in __slots__, converting them to byte strings.
Martin v. Löwis [Mon, 14 Oct 2002 21:06:02 +0000 (21:06 +0000)]
Allow Unicode strings as message and module name.
Guido van Rossum [Mon, 14 Oct 2002 20:48:09 +0000 (20:48 +0000)]
[SF bug 620364]
In build_extensions(), don't proceed if srcdir is None. Probably
somebody who tried this on Windows. :-)
Martin v. Löwis [Mon, 14 Oct 2002 20:03:40 +0000 (20:03 +0000)]
Convert empty string literal to string. Speed up creation of idmap.
Guido van Rossum [Mon, 14 Oct 2002 19:59:54 +0000 (19:59 +0000)]
Fix for 1.33: urlsplit() should only add '//' if scheme != ''.
Will add test and backport.
Barry Warsaw [Mon, 14 Oct 2002 18:15:35 +0000 (18:15 +0000)]
I'd forgotten that tcsh was the default for 10.1, but SF's 10.1 system
uses bash and so does my 10.2 system. "limit stacksize 2048" is the
right invocation for tcsh/csh.
Barry Warsaw [Mon, 14 Oct 2002 18:04:39 +0000 (18:04 +0000)]
There was a typo in the MacOSX section regarding the stacksize issue.
There's no limit command near as I can tell. Should be the bash
builtin ulimit command.
Barry Warsaw [Mon, 14 Oct 2002 16:52:41 +0000 (16:52 +0000)]
append(): Fixing the test for convertability after consultation with
Ben. If s is a byte string, make sure it can be converted to unicode
with the input codec, and from unicode with the output codec, or raise
a UnicodeError exception early. Skip this test (and the unicode->byte
string conversion) when the charset is our faux 8bit raw charset.
Fred Drake [Mon, 14 Oct 2002 15:45:11 +0000 (15:45 +0000)]
Use the same shade of blue as the site navigation areas.
Barry Warsaw [Mon, 14 Oct 2002 15:26:17 +0000 (15:26 +0000)]
Two new tests for splitting (or not splitting) 8-bit header data.
Barry Warsaw [Mon, 14 Oct 2002 15:24:18 +0000 (15:24 +0000)]
Bump the __version__
Barry Warsaw [Mon, 14 Oct 2002 15:13:17 +0000 (15:13 +0000)]
__init__(): Fix an invariant, that the charset item in a chunk tuple
must be a Charset instance, not a string. The bug here was that
self._charset wasn't being converted to a Charset instance so later
.append() calls which used the default charset would break.
_split(): If the charset of the chunk is '8bit', return the chunk
unchanged. We can't safely split it, so this is the avenue of least
harm.
Barry Warsaw [Mon, 14 Oct 2002 15:09:30 +0000 (15:09 +0000)]
_split_header(): If we have a header which is a byte string containing
8-bit data, we cannot split it safely, so return the original string
unchanged.
_is8bitstring(): Helper function which returns True when we have a
byte string that contains non-ascii characters (i.e. mysterious 8-bit
data).
Barry Warsaw [Mon, 14 Oct 2002 15:06:55 +0000 (15:06 +0000)]
CHARSETS: Add faux '8bit' encoding for representing raw 8-bit data for
which we know nothing else.
Fred Drake [Mon, 14 Oct 2002 15:04:33 +0000 (15:04 +0000)]
Minor refactoring to avoid code duplication.
Tim Peters [Mon, 14 Oct 2002 15:01:44 +0000 (15:01 +0000)]
Update list of Windows buildnos for 2.2.2 final.
Guido van Rossum [Mon, 14 Oct 2002 12:22:17 +0000 (12:22 +0000)]
Add finditer to __all__ (when defining it at all).
SF bug 585882. Will forward-port.
Greg Ward [Sun, 13 Oct 2002 19:23:18 +0000 (19:23 +0000)]
Fix copyright date: the core of this code actually dates back to 1999
(rev. 1.4 of distutils/fancy_getopt.py).
Martin v. Löwis [Sun, 13 Oct 2002 13:54:50 +0000 (13:54 +0000)]
Patch #611760: read archives with comments.
Martin v. Löwis [Sun, 13 Oct 2002 10:28:04 +0000 (10:28 +0000)]
Patch #621891: Add askopenfile{name}s.
Martin v. Löwis [Sun, 13 Oct 2002 10:22:08 +0000 (10:22 +0000)]
Patch #621205: Tkinter updates for tk8.4.
Barry Warsaw [Sun, 13 Oct 2002 04:06:28 +0000 (04:06 +0000)]
_encode_chunks(), encode(): Don't modify self._chunks. As Ben says:
Also, it fixes a really egregious error in Header.encode() (really
in Header._encode_chunks()) that could cause a header to grow and
grow each time encode() was called if output_codec was different
from input_codec.
Also, fix a typo.
Barry Warsaw [Sun, 13 Oct 2002 04:00:45 +0000 (04:00 +0000)]
Update the urls and other information about the add-on Japanese,
Korean, and Chinese codecs.
Fred Drake [Sat, 12 Oct 2002 15:02:46 +0000 (15:02 +0000)]
Fix tildes in URLs. Closes SF bug #614821.
Guido van Rossum [Fri, 11 Oct 2002 23:39:35 +0000 (23:39 +0000)]
Darn! Don't divide by zero. Bad fix. :-)
Neal Norwitz [Fri, 11 Oct 2002 22:19:42 +0000 (22:19 +0000)]
Fix a few docstrings, remove extra commas
Neal Norwitz [Fri, 11 Oct 2002 22:04:22 +0000 (22:04 +0000)]
SF # 539360, webbrowser.py and konqueror, by Andy McKay
Fix Konqueror so it can start when calling open().
The assert needed to be on the raw URL, not openURL 'url...'
Will backport.
Neal Norwitz [Fri, 11 Oct 2002 21:53:01 +0000 (21:53 +0000)]
SF #621948, update docstring for md5 by David M. Cooke. Will backport.
Raymond Hettinger [Fri, 11 Oct 2002 21:08:02 +0000 (21:08 +0000)]
Clarify deprecation of the floor div operator, modulo operator,
and divmod() function for complex numbers.
Closes SF Bug 621708: Unclear deprecation.
Guido van Rossum [Fri, 11 Oct 2002 21:05:56 +0000 (21:05 +0000)]
Add checks for size overflow on list*n, list+list, tuple+tuple.
Will backport.
Guido van Rossum [Fri, 11 Oct 2002 20:37:24 +0000 (20:37 +0000)]
PyObject_Init[Var] is almost always called from the PyObject_NEW[_VAR]
macros. The 'op' argument is then the result from PyObject_MALLOC,
and that can of course be NULL. In that case, PyObject_Init[Var]
would raise a SystemError with "NULL object passed to
PyObject_Init[Var]". But there's nothing the caller of the macro can
do about this. So PyObject_Init[Var] should call just PyErr_NoMemory.
Will backport.
Tim Peters [Fri, 11 Oct 2002 18:25:52 +0000 (18:25 +0000)]
The MS resource compiler simply cannot be convinced to do arithmetic
correctly. So field3.py is a Python program that can. This injects
another manual step into the Python release process for Windows; so
it goes.
Tim Peters [Fri, 11 Oct 2002 17:51:44 +0000 (17:51 +0000)]
Repair the DLL name -- this has to match the major.minor version numbers.
Jeremy Hylton [Fri, 11 Oct 2002 17:27:55 +0000 (17:27 +0000)]
Typo in docstring
Jeremy Hylton [Fri, 11 Oct 2002 17:26:46 +0000 (17:26 +0000)]
Fix for SF bug #599836: Don't duplicate headers.
If the request object has a header, it should override the default
header provided by the OpenerDirector.
Fred Drake [Fri, 11 Oct 2002 16:20:45 +0000 (16:20 +0000)]
Allow restricted code to get byteorder, getdefaultencoding(),
getrefcount(), maxunicode, and version_info.
Jeremy Hylton [Fri, 11 Oct 2002 16:05:07 +0000 (16:05 +0000)]
Trying alphabet again
Jeremy Hylton [Fri, 11 Oct 2002 15:55:17 +0000 (15:55 +0000)]
Sort names alphabetically.