Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Only reset _is_empty if needed. | Fred Drake | 2002-10-16 | 1 | -1/+1 |
| | |||||
* | Modernization: Use string methods, use str instead of | Fred Drake | 2002-10-16 | 1 | -17/+14 |
| | | | | | types.StringType, inherit from list instead of UserList. | ||||
* | Use string methods. | Fred Drake | 2002-10-16 | 7 | -23/+18 |
| | |||||
* | Use string methods. Organize the imports in Python Normal Form. | Fred Drake | 2002-10-16 | 1 | -5/+5 |
| | |||||
* | Use string methods; minor code cleanup. | Fred Drake | 2002-10-16 | 1 | -21/+26 |
| | |||||
* | Recreated after source changes. | Thomas Heller | 2002-10-15 | 1 | -315/+315 |
| | |||||
* | Patch #572628: Optional timeouts for put and get. | Martin v. Löwis | 2002-10-15 | 4 | -36/+137 |
| | |||||
* | Revert the previous checkin - it didn't work anyway. | Thomas Heller | 2002-10-15 | 1 | -4/+3 |
| | |||||
* | For some reason (probably cut and paste), __ipow__ for new-style | Guido van Rossum | 2002-10-15 | 2 | -2/+13 |
| | | | | | | | | | | | | | | 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): ... | ||||
* | Don't drop old slots if _unicode_to_string did not change anything. | Martin v. Löwis | 2002-10-14 | 1 | -2/+4 |
| | |||||
* | Allow Unicode strings in __slots__, converting them to byte strings. | Martin v. Löwis | 2002-10-14 | 1 | -0/+39 |
| | |||||
* | Allow Unicode strings as message and module name. | Martin v. Löwis | 2002-10-14 | 1 | -2/+2 |
| | |||||
* | [SF bug 620364] | Guido van Rossum | 2002-10-14 | 1 | -0/+3 |
| | | | | | In build_extensions(), don't proceed if srcdir is None. Probably somebody who tried this on Windows. :-) | ||||
* | Convert empty string literal to string. Speed up creation of idmap. | Martin v. Löwis | 2002-10-14 | 1 | -3/+4 |
| | |||||
* | Fix for 1.33: urlsplit() should only add '//' if scheme != ''. | Guido van Rossum | 2002-10-14 | 2 | -2/+7 |
| | | | | Will add test and backport. | ||||
* | I'd forgotten that tcsh was the default for 10.1, but SF's 10.1 system | Barry Warsaw | 2002-10-14 | 1 | -4/+5 |
| | | | | | uses bash and so does my 10.2 system. "limit stacksize 2048" is the right invocation for tcsh/csh. | ||||
* | There was a typo in the MacOSX section regarding the stacksize issue. | Barry Warsaw | 2002-10-14 | 1 | -4/+5 |
| | | | | | There's no limit command near as I can tell. Should be the bash builtin ulimit command. | ||||
* | append(): Fixing the test for convertability after consultation with | Barry Warsaw | 2002-10-14 | 1 | -14/+28 |
| | | | | | | | 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. | ||||
* | Use the same shade of blue as the site navigation areas. | Fred Drake | 2002-10-14 | 1 | -2/+2 |
| | |||||
* | Two new tests for splitting (or not splitting) 8-bit header data. | Barry Warsaw | 2002-10-14 | 1 | -0/+21 |
| | |||||
* | Bump the __version__ | Barry Warsaw | 2002-10-14 | 1 | -1/+1 |
| | |||||
* | __init__(): Fix an invariant, that the charset item in a chunk tuple | Barry Warsaw | 2002-10-14 | 1 | -2/+11 |
| | | | | | | | | | | 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. | ||||
* | _split_header(): If we have a header which is a byte string containing | Barry Warsaw | 2002-10-14 | 1 | -1/+17 |
| | | | | | | | | | 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). | ||||
* | CHARSETS: Add faux '8bit' encoding for representing raw 8-bit data for | Barry Warsaw | 2002-10-14 | 1 | -0/+2 |
| | | | | which we know nothing else. | ||||
* | Minor refactoring to avoid code duplication. | Fred Drake | 2002-10-14 | 1 | -17/+10 |
| | |||||
* | Update list of Windows buildnos for 2.2.2 final. | Tim Peters | 2002-10-14 | 1 | -0/+2 |
| | |||||
* | Add finditer to __all__ (when defining it at all). | Guido van Rossum | 2002-10-14 | 1 | -0/+1 |
| | | | | SF bug 585882. Will forward-port. | ||||
* | Fix copyright date: the core of this code actually dates back to 1999 | Greg Ward | 2002-10-13 | 1 | -2/+2 |
| | | | | (rev. 1.4 of distutils/fancy_getopt.py). | ||||
* | Patch #611760: read archives with comments. | Martin v. Löwis | 2002-10-13 | 1 | -23/+48 |
| | |||||
* | Patch #621891: Add askopenfile{name}s. | Martin v. Löwis | 2002-10-13 | 2 | -5/+38 |
| | |||||
* | Patch #621205: Tkinter updates for tk8.4. | Martin v. Löwis | 2002-10-13 | 3 | -26/+551 |
| | |||||
* | _encode_chunks(), encode(): Don't modify self._chunks. As Ben says: | Barry Warsaw | 2002-10-13 | 1 | -23/+22 |
| | | | | | | | | | 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. | ||||
* | Update the urls and other information about the add-on Japanese, | Barry Warsaw | 2002-10-13 | 1 | -13/+8 |
| | | | | Korean, and Chinese codecs. | ||||
* | Fix tildes in URLs. Closes SF bug #614821. | Fred Drake | 2002-10-12 | 1 | -3/+4 |
| | |||||
* | Darn! Don't divide by zero. Bad fix. :-) | Guido van Rossum | 2002-10-11 | 1 | -1/+1 |
| | |||||
* | Fix a few docstrings, remove extra commas | Neal Norwitz | 2002-10-11 | 1 | -3/+3 |
| | |||||
* | SF # 539360, webbrowser.py and konqueror, by Andy McKay | Neal Norwitz | 2002-10-11 | 1 | -2/+2 |
| | | | | | | | Fix Konqueror so it can start when calling open(). The assert needed to be on the raw URL, not openURL 'url...' Will backport. | ||||
* | SF #621948, update docstring for md5 by David M. Cooke. Will backport. | Neal Norwitz | 2002-10-11 | 1 | -0/+1 |
| | |||||
* | Clarify deprecation of the floor div operator, modulo operator, | Raymond Hettinger | 2002-10-11 | 1 | -5/+4 |
| | | | | | | and divmod() function for complex numbers. Closes SF Bug 621708: Unclear deprecation. | ||||
* | Add checks for size overflow on list*n, list+list, tuple+tuple. | Guido van Rossum | 2002-10-11 | 2 | -0/+6 |
| | | | | Will backport. | ||||
* | PyObject_Init[Var] is almost always called from the PyObject_NEW[_VAR] | Guido van Rossum | 2002-10-11 | 1 | -10/+4 |
| | | | | | | | | | | 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. | ||||
* | The MS resource compiler simply cannot be convinced to do arithmetic | Tim Peters | 2002-10-11 | 2 | -2/+56 |
| | | | | | | 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. | ||||
* | Repair the DLL name -- this has to match the major.minor version numbers. | Tim Peters | 2002-10-11 | 1 | -1/+1 |
| | |||||
* | Typo in docstring | Jeremy Hylton | 2002-10-11 | 1 | -1/+1 |
| | |||||
* | Fix for SF bug #599836: Don't duplicate headers. | Jeremy Hylton | 2002-10-11 | 1 | -2/+3 |
| | | | | | If the request object has a header, it should override the default header provided by the OpenerDirector. | ||||
* | Allow restricted code to get byteorder, getdefaultencoding(), | Fred Drake | 2002-10-11 | 1 | -2/+3 |
| | | | | getrefcount(), maxunicode, and version_info. | ||||
* | Trying alphabet again | Jeremy Hylton | 2002-10-11 | 1 | -2/+2 |
| | |||||
* | Sort names alphabetically. | Jeremy Hylton | 2002-10-11 | 1 | -2/+2 |
| | |||||
* | Add hexversion to list of safe sys names (SF bug 621447). | Jeremy Hylton | 2002-10-11 | 1 | -1/+1 |
| | | | | Bug fix candidate. | ||||
* | Use fdopen() to create file from fd. | Jeremy Hylton | 2002-10-11 | 1 | -1/+1 |
| |