Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | A test for the recent overflow-in-format-crash bug. | Michael W. Hudson | 2002-10-11 | 1 | -2/+14 |
| | | | | | Only runs when sys.maxint == 2**32 - 1; different things go wrong on a 64-bit box. | ||||
* | Back out news about SF patch 479898 -- it's withdrawn. | Guido van Rossum | 2002-10-11 | 1 | -6/+0 |
| | |||||
* | Back out #479898. | Martin v. Löwis | 2002-10-11 | 4 | -90/+24 |
| | |||||
* | Fix a nasty endcase reported by Armin Rigo in SF bug 618623: | Guido van Rossum | 2002-10-11 | 2 | -4/+12 |
| | | | | | | | | | | | | | '%2147483647d' % -123 segfaults. This was because an integer overflow in a comparison caused the string resize to be skipped. After fixing the overflow, this could call _PyString_Resize() with a negative size, so I (1) test for that and raise MemoryError instead; (2) also added a test for negative newsize to _PyString_Resize(), raising SystemError as for all bad arguments. An identical bug existed in unicodeobject.c, of course. Will backport to 2.2.2. | ||||
* | Add Greg Copeland for SF # 585913, Adds Galeon support to webbrowser.py | Neal Norwitz | 2002-10-10 | 1 | -0/+1 |
| | |||||
* | SF # 585913, Adds Galeon support to webbrowser.py | Neal Norwitz | 2002-10-10 | 1 | -1/+33 |
| | |||||
* | Remove mentionings of DOS. | Martin v. Löwis | 2002-10-10 | 7 | -13/+10 |
| | |||||
* | Remove more DOS support. | Martin v. Löwis | 2002-10-10 | 1 | -61/+0 |
| | |||||
* | Document when unittest was added to Python. | Fred Drake | 2002-10-10 | 1 | -0/+1 |
| |