- 15 Oct, 2002 4 commits
-
-
Thomas Heller authored
-
Martin v. Löwis authored
-
Thomas Heller authored
-
Guido van Rossum authored
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): ...
-
- 14 Oct, 2002 18 commits
-
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Guido van Rossum authored
In build_extensions(), don't proceed if srcdir is None. Probably somebody who tried this on Windows. :-)
-
Martin v. Löwis authored
-
Guido van Rossum authored
Will add test and backport.
-
Barry Warsaw authored
uses bash and so does my 10.2 system. "limit stacksize 2048" is the right invocation for tcsh/csh.
-
Barry Warsaw authored
There's no limit command near as I can tell. Should be the bash builtin ulimit command.
-
Barry Warsaw authored
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 authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
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 authored
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 authored
which we know nothing else.
-
Fred Drake authored
-
Tim Peters authored
-
Guido van Rossum authored
SF bug 585882. Will forward-port.
-
- 13 Oct, 2002 6 commits
-
-
Greg Ward authored
(rev. 1.4 of distutils/fancy_getopt.py).
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Barry Warsaw authored
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 authored
Korean, and Chinese codecs.
-
- 12 Oct, 2002 1 commit
-
-
Fred Drake authored
-
- 11 Oct, 2002 11 commits
-
-
Guido van Rossum authored
-
Neal Norwitz authored
-
Neal Norwitz authored
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 authored
-
Raymond Hettinger authored
and divmod() function for complex numbers. Closes SF Bug 621708: Unclear deprecation.
-
Guido van Rossum authored
Will backport.
-
Guido van Rossum authored
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 authored
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 authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
If the request object has a header, it should override the default header provided by the OpenerDirector.
-