Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix stupid typo: Don't read from a writer. | Walter Dörwald | 2005-02-08 | 1 | -2/+2 |
| | |||||
* | Wholistic code cleanup / modernization: | Raymond Hettinger | 2005-02-08 | 1 | -75/+63 |
| | | | | | | | | * Use += * Replace loop logic with str.splitlines equivalent * Don't use variable names that shadow tuple, list, and str * Use dict.get instead of equivalent try/except * Minor loop logic simplications | ||||
* | Adopt Skip's idea to optimize lists of constants in the context | Raymond Hettinger | 2005-02-07 | 1 | -1/+2 |
| | | | | of a "in" or "not in" test. | ||||
* | Revert previous checkin. | Raymond Hettinger | 2005-02-07 | 2 | -34/+34 |
| | |||||
* | Reduce the usage of the types module. | Raymond Hettinger | 2005-02-07 | 8 | -68/+64 |
| | |||||
* | Transform "x in (1,2,3)" to "x in frozenset([1,2,3])". | Raymond Hettinger | 2005-02-06 | 1 | -0/+10 |
| | | | | | Inspired by Skip's idea to recognize the throw-away nature of sequences in this context and to transform their type to one with better performance. | ||||
* | Replace list of constants with tuples of constants. | Raymond Hettinger | 2005-02-06 | 11 | -29/+29 |
| | |||||
* | SF patch #1028908 | Raymond Hettinger | 2005-02-05 | 1 | -3/+6 |
| | | | | | | (John J Lee) Minor code clarification and simplification. | ||||
* | SF patch #1116583: NameError in cookielib domain check | Raymond Hettinger | 2005-02-05 | 1 | -4/+3 |
| | |||||
* | Add a test for UTF-16 reading where the byte sequence doesn't start with | Walter Dörwald | 2005-02-04 | 1 | -0/+9 |
| | | | | a BOM. | ||||
* | Recompiled after source changes. | Thomas Heller | 2005-02-03 | 2 | -0/+0 |
| | |||||
* | fix XMLFilterBase.resolveEntity() so the caller gets the result | Fred Drake | 2005-02-03 | 1 | -1/+1 |
| | | | | (PyXML bug #1112052) | ||||
* | Security fix PSF-2005-001 for SimpleXMLRPCServer.py. | Guido van Rossum | 2005-02-03 | 1 | -5/+29 |
| | |||||
* | Add config-main.def option to make the 'history' feature non-cyclic. | Kurt B. Kaiser | 2005-02-03 | 3 | -7/+23 |
| | | | | | | | | Default remains cyclic. Python Patch 914546 Noam Raphael. M IdleHistory.py M NEWS.txt M config-main.def | ||||
* | Simplify string comparison using startswith() | Steve Holden | 2005-02-02 | 1 | -1/+1 |
| | |||||
* | Removed ability to configure tabs indent from Options dialog. This 'feature' | Kurt B. Kaiser | 2005-01-31 | 3 | -90/+41 |
| | | | | | | | | | | | | | | | | | has never worked and no one has complained. It is still possible to set a default tabs (v. spaces) indent 'manually' via config-main.def (or to turn on tabs for the current EditorWindow via the Format menu) but IDLE will encourage indentation via spaces. Enable setting the indentation width using the Options dialog. Bug # 783877 Remove some commented out old code from configDialog.py (related to old methods for invoking the HelpBrowser). M EditorWindow.py M NEWS.txt M configHandler.py | ||||
* | Revert os.py 1.75, and directly implement update. | Martin v. Löwis | 2005-01-29 | 2 | -0/+29 |
| | | | | Fixes #1110478 and #1100235. | ||||
* | Add keybindings for del-word-left and del-word-right. | Kurt B. Kaiser | 2005-01-28 | 4 | -2/+27 |
| | | | | | | | M EditorWindow.py M NEWS.txt M config-keys.def M configHandler.py | ||||
* | Fixed typo in verbose output. | Brett Cannon | 2005-01-27 | 1 | -1/+1 |
| | | | | Closes bug #1110998. Thanks Matthew Bogosian. | ||||
* | Do not fold a constant if a large sequence will result. | Raymond Hettinger | 2005-01-26 | 1 | -0/+4 |
| | | | | Saves space in the presence of code like: (None,)*10000 | ||||
* | shutil.copytree: move copystat call for the directory after the loop | Johannes Gijsbers | 2005-01-23 | 1 | -1/+1 |
| | | | | | copying files inside the directory, as that loop changes the atime and mtime. | ||||
* | Truncate st_?time before comparing it with ST_?TIME in the tests. | Martin v. Löwis | 2005-01-23 | 1 | -1/+5 |
| | |||||
* | Add a slice test with high < low. | Walter Dörwald | 2005-01-21 | 1 | -0/+5 |
| | |||||
* | Fix [ 1103844 ] fix distutils.install.dump_dirs() with negated options. | Thomas Heller | 2005-01-20 | 1 | -2/+7 |
| | | | | Will backport myself. | ||||
* | 1. Polish tabbing code. | Kurt B. Kaiser | 2005-01-19 | 4 | -62/+71 |
| | | | | | | | | | | | | | | | | | 2. Restore use of set_indentation_params(), was dead code since Autoindent.py was merged into EditorWindow.py. 3. Make usetabs, indentwidth, tabwidth, context_use_ps1 instance vars and set in EditorWindow.__init__() 4. In PyShell.__init__() set usetabs, indentwidth and context_use_ps1 explicitly (config() is eliminated). 5. Add Tabnanny check when Module is Run/F5, not just when Checked. 6. Discourage using an indent width other than 8 when using tabs to indent Python code. M EditorWindow.py M NEWS.txt M PyShell.py M ScriptBinding.py | ||||
* | If an extension can't be loaded, print warning and skip it instead of | Kurt B. Kaiser | 2005-01-18 | 2 | -3/+9 |
| | | | | erroring out. | ||||
* | allow triple-quoted string output from reconvert.quote() | Skip Montanaro | 2005-01-16 | 1 | -1/+1 |
| | |||||
* | Patch #1100140: improved smtp connect debugging | Johannes Gijsbers | 2005-01-16 | 1 | -2/+2 |
| | | | | | Don't print the same (host, port) tuple thrice when debugging, but first print (host, port), then (ip, port) and then the error message. | ||||
* | Added SEEK_* constants. Fixes #711830. | Martin v. Löwis | 2005-01-16 | 1 | -1/+8 |
| | |||||
* | Use descriptors. | Guido van Rossum | 2005-01-16 | 5 | -11/+9 |
| | |||||
* | Use decorators. | Guido van Rossum | 2005-01-16 | 1 | -3/+4 |
| | |||||
* | Use decorators. | Guido van Rossum | 2005-01-16 | 2 | -11/+6 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2005-01-13 | 2 | -8/+8 |
| | |||||
* | Improved SysLogHandler error recovery (patch by Erik Forsberg) | Vinay Sajip | 2005-01-13 | 1 | -9/+16 |
| | |||||
* | Add strptime() constructor to datetime class. Thanks to Josh Spoerri for | Skip Montanaro | 2005-01-13 | 1 | -0/+9 |
| | | | | the changes. | ||||
* | Add counting of source iterator lines to the reader object - handy for | Andrew McNamara | 2005-01-12 | 1 | -1/+13 |
| | | | | | user error messages (otherwise difficult to do without instrumenting the source). | ||||
* | When quoting=QUOTE_NONNUMERIC, the reader now casts unquoted fields | Andrew McNamara | 2005-01-12 | 1 | -0/+6 |
| | | | | to floats. | ||||
* | Fix logic problem in quoting=csv.QUOTE_ALL, quotechar=None check, add test. | Andrew McNamara | 2005-01-12 | 1 | -0/+2 |
| | |||||
* | When using QUOTE_NONNUMERIC, we now test for "numericness" with | Andrew McNamara | 2005-01-12 | 1 | -10/+20 |
| | | | | | | | | PyNumber_Check, rather than trying to convert to a float. Reimplemented writer - now raises exceptions when it sees a quotechar but neither doublequote or escapechar are set. Doublequote results are now more consistent (eg, single quote should generate """", rather than "", which is ambiguous). | ||||
* | Rename csv.set_field_limit to csv.field_size_limit (since it both sets and | Andrew McNamara | 2005-01-12 | 2 | -8/+8 |
| | | | | gets). | ||||
* | Improve test coverage fractionally. | Andrew McNamara | 2005-01-12 | 1 | -9/+23 |
| | |||||
* | Improve error handling when .idlerc can't be created. | Kurt B. Kaiser | 2005-01-11 | 1 | -14/+16 |
| | |||||
* | SF bug #1099516: tempfile files not types.FileType | Raymond Hettinger | 2005-01-11 | 1 | -5/+5 |
| | | | | Clarified that the returned object is file-like rather than an actual file. | ||||
* | Set an upper limit on the size of the field buffer, raise an exception | Andrew McNamara | 2005-01-11 | 2 | -2/+10 |
| | | | | | | | when this limit is reached. Limit defaults to 128k, and is changed by module set_field_limit() method. Previously, an unmatched quote character could result in the entire file being read into the field buffer, potentially exhausting virtual memory. | ||||
* | SF 1098985: set objects cannot be marshalled | Raymond Hettinger | 2005-01-11 | 1 | -0/+12 |
| | |||||
* | Replace python-coded validation of csv dialect with a call to the C | Andrew McNamara | 2005-01-11 | 2 | -44/+7 |
| | | | | dialect type (which has a better idea of what is and isn't valid). | ||||
* | No longer attempt to instantiate python classes describing dialects. This | Andrew McNamara | 2005-01-11 | 1 | -18/+0 |
| | | | | | | was done because we were previously performing validation of the dialect from python, but this is now down within the C module. Also, the method we were using to detect classes did not work with new-style classes. | ||||
* | Allow dialect-describing keywords to be supplied to register_dialect, | Andrew McNamara | 2005-01-11 | 1 | -1/+10 |
| | | | | | record objects of internal dialect type, rather than instances of python objects. | ||||
* | Whitespace normalization. | Tim Peters | 2005-01-10 | 1 | -3/+3 |
| | |||||
* | Fix and test for SF bug #1098990: codec readline() splits lines apart. | Walter Dörwald | 2005-01-10 | 2 | -2/+32 |
| |