Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement a safer and more predictable interpolation approach. | Fred Drake | 2002-10-25 | 2 | -1/+64 |
| | | | | Closes SF bug #511737. | ||||
* | Add tests for both raw and non-raw versions of the items() methods. | Fred Drake | 2002-10-25 | 1 | -0/+26 |
| | |||||
* | According to the docs, __name__ is not exposed via the API except | Fred Drake | 2002-10-25 | 1 | -2/+8 |
| | | | | | | | | indirectly via %(__name__)s. Not sure why, but maintain the documented behavior for the new items() method. Be a little more efficient about how we compute the list of options in the ConfigParser.items() method. | ||||
* | Remove useless output file. | Fred Drake | 2002-10-25 | 1 | -9/+0 |
| | |||||
* | Convert to PyUnit. | Fred Drake | 2002-10-25 | 1 | -293/+263 |
| | |||||
* | Added (very) minimal tests of the RawConfigParser class. | Fred Drake | 2002-10-25 | 1 | -16/+35 |
| | | | | | Moved the write() test to near the end of the file since it screws up font-lock. ;-( | ||||
* | Re-factor: Use a RawConfigParser base class and make ConfigParser a | Fred Drake | 2002-10-25 | 1 | -103/+133 |
| | | | | | derived class that adds the ugly string interpolation code. In the process, changed all "__" methods and instance variables to "_". | ||||
* | Fix for bug #626172: crash using unicode latin1 single char | Marc-André Lemburg | 2002-10-23 | 1 | -0/+6 |
| | | | | Python 2.2.3 candidate. | ||||
* | Implement Restoring Breakpoints in Subprocess Debugger | Kurt B. Kaiser | 2002-10-23 | 3 | -74/+110 |
| | | | | | | | | | | | | | | | | | | | | M Debugger.py M EditorWindow.py M PyShell.py 0. Polish PyShell.linecache_checkcache() 1. Move break clearing code to PyShell.PyShellEditorWindow from EditorWindow. 2. Add PyShellEditorWindow.breakpoints attribute to __init__, a list of line numbers which are breakpoints for that edit window. 3. Remove the code in Debugger which removes all module breakpoints when debugger is closed. Want to be able to reload into debugger when restarted. 4. Moved the code which sets EditorWindow.text breakpoints from Debugger to PyShell.PyShellEditorWindow and refactored. 5. Implement reloading subprocess debugger with breakpoints from all open PyShellEditorWindows when debugger is opened or subprocess restarted. 6. Eliminate the break_set attribute, use the breakpoint list instead. | ||||
* | Add comment about inability to handle Unicode strings (hopefully a | Greg Ward | 2002-10-22 | 1 | -0/+3 |
| | | | | temporary condition). | ||||
* | add support for basic authentication, based on patch #624180 | Fredrik Lundh | 2002-10-22 | 1 | -12/+44 |
| | | | | by Phillip J. Eby | ||||
* | Patches #626105: | Raymond Hettinger | 2002-10-22 | 1 | -13/+6 |
| | | | | | | | | | Replaces the _center function in the calendar module with the center method for strings. For situations with uneven padding, the behavior is slightly different in that the center method puts the extra space on the right instead of the left. | ||||
* | test_body_encoding(): a new test for Charset.body_encode(), especially | Barry Warsaw | 2002-10-21 | 1 | -0/+14 |
| | | | | one that tests the obscure bug reported in SF # 625509. | ||||
* | test_body_encoding(): a new test | Barry Warsaw | 2002-10-21 | 1 | -0/+23 |
| | |||||
* | body_encode(): Fixed typo reported by Chris Lawrence, closing SF bug | Barry Warsaw | 2002-10-21 | 1 | -1/+1 |
| | | | | | | #625509. This isn't a huge problem because at the moment there are no built-in charsets for which header_encoding is QP but body_encoding is not. | ||||
* | Explicitly use floor division | Raymond Hettinger | 2002-10-21 | 1 | -1/+1 |
| | |||||
* | Eliminate unused instance variable | Raymond Hettinger | 2002-10-21 | 1 | -5/+5 |
| | |||||
* | point people to the Python bug tracker, rather than to a mail | Fredrik Lundh | 2002-10-19 | 2 | -20/+7 |
| | | | | account I hardly ever use... | ||||
* | Fix SF # 624982, Potential AV in slot_sq_item, by Greg Chapman | Neal Norwitz | 2002-10-18 | 1 | -0/+12 |
| | | | | Don't crash when getting value of a property raises an exception | ||||
* | Update to Unicode 3.2 database. | Martin v. Löwis | 2002-10-18 | 2 | -3/+3 |
| | |||||
* | Patch #624936: Implement __contains__. | Martin v. Löwis | 2002-10-18 | 1 | -1/+4 |
| | |||||
* | Add new encoding for Ukrainian Cyrillic | Neal Norwitz | 2002-10-17 | 1 | -0/+54 |
| | |||||
* | Continue to work even though the test can be named test.test_regex | Fred Drake | 2002-10-17 | 1 | -1/+1 |
| | | | | these days. | ||||
* | Don't call warnings.resetwarnings(); that does bad things that cause | Fred Drake | 2002-10-17 | 1 | -5/+4 |
| | | | | | | 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. | ||||
* | Remove spurious cruft from the output. | Fred Drake | 2002-10-17 | 1 | -1/+1 |
| | |||||
* | Must catch TypeError from int(length). | Guido van Rossum | 2002-10-17 | 1 | -1/+1 |
| | |||||
* | Added missing entries to __all__. | Fred Drake | 2002-10-16 | 1 | -1/+2 |
| | |||||
* | Make sure we test urlsplit() / urlunsplit() directly, rather than | Fred Drake | 2002-10-16 | 1 | -12/+40 |
| | | | | | | guessing that urlparse() / urlunparse() use them. Add tests of urldefrag(). | ||||
* | Recreated after source changes. | Thomas Heller | 2002-10-16 | 1 | -319/+319 |
| | |||||
* | 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 | 2 | -19/+106 |
| | |||||
* | 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 | 1 | -0/+11 |
| | | | | | | | | | | | | | | 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): ... | ||||
* | Allow Unicode strings as message and module name. | Martin v. Löwis | 2002-10-14 | 1 | -2/+2 |
| | |||||
* | 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. | ||||
* | 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. | ||||
* | 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. | ||||
* | 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 | 1 | -1/+33 |
| | |||||
* | Patch #621205: Tkinter updates for tk8.4. | Martin v. Löwis | 2002-10-13 | 1 | -26/+548 |
| | |||||
* | _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. | ||||
* | 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. |