- 16 Oct, 2002 11 commits
-
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
Use integers in stat tuple, optionally floats in named fields.
-
Thomas Heller authored
-
Guido van Rossum authored
call. This caused mysterious crashes (hard to debug because it was happening in a child process).
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
types.StringType, inherit from list instead of UserList.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
-
- 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
-