Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update references specifying "Macintosh" to mean OS X semantics and not Mac OS | Brett Cannon | 2005-02-13 | 17 | -622/+191 |
| | | | | | | 9. Applies patch #1095802. Thanks Jack Jansen. | ||||
* | fix decoding in _stringify to not depend on the default encoding | Fred Drake | 2005-02-11 | 2 | -1/+43 |
| | | | | (closes SF bug #1115989) | ||||
* | Modified test for tzset to not rely on tm->tm_zone's existence. Also added | Brett Cannon | 2005-02-10 | 4 | -220/+677 |
| | | | | | | sanity checks on tzname if HAVE_TZNAME defined. Closes bug #1096244. Thanks Gregory Bond. | ||||
* | Remove set conversion optimization test (backed out of Python/compile.c in rev. | Brett Cannon | 2005-02-10 | 1 | -11/+0 |
| | | | | 2.344). | ||||
* | accept datetime.datetime instances when marshalling; | Fred Drake | 2005-02-10 | 2 | -1/+33 |
| | | | | dateTime.iso8601 elements still unmarshal into xmlrpclib.DateTime objects | ||||
* | Fix typo | Andrew M. Kuchling | 2005-02-10 | 2 | -2/+2 |
| | |||||
* | Patch from Leandro Lucarella: replaced: | Peter Astrand | 2005-02-10 | 1 | -29/+29 |
| | | | | | | | | | | | | var == None and var != None with var is None and var is not None and type(var) == int with instanceof(var, int) ...as recomended in PEP 8 [1]. | ||||
* | Remove the set conversion which didn't work with: [] in (0,) | Raymond Hettinger | 2005-02-10 | 1 | -53/+1 |
| | |||||
* | SF bug #1119700: list extend() accepts args besides lists | Raymond Hettinger | 2005-02-09 | 1 | -1/+1 |
| | |||||
* | Have set conversion replace existing constant if not used elsewhere. | Raymond Hettinger | 2005-02-09 | 1 | -1/+7 |
| | |||||
* | Update PSF copyright year to 2005. | Trent Mick | 2005-02-09 | 1 | -1/+1 |
| | |||||
* | Convert splitlines to for-loop (handles case where input does not have a ↵ | Raymond Hettinger | 2005-02-08 | 1 | -4/+4 |
| | | | | trailing newline). | ||||
* | 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 | ||||
* | add 2.3.5, 2.4 to the history and licensing info | Fred Drake | 2005-02-08 | 1 | -0/+2 |
| | |||||
* | Close the discussion in SF bug 1069160. | Guido van Rossum | 2005-02-08 | 1 | -1/+3 |
| | |||||
* | Adopt Skip's idea to optimize lists of constants in the context | Raymond Hettinger | 2005-02-07 | 2 | -8/+15 |
| | | | | 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 | 2 | -1/+58 |
| | | | | | 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 |
| | |||||
* | Code simplification -- eliminate lookup when value is known in advance. | Raymond Hettinger | 2005-02-05 | 1 | -2/+4 |
| | |||||
* | 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 | 3 | -4/+6 |
| | |||||
* | Add NEWS item about future parser bug. | Jeremy Hylton | 2005-02-04 | 1 | -0/+4 |
| | |||||
* | Fix bug that allowed future statements virtually anywhere in a module. | Jeremy Hylton | 2005-02-04 | 1 | -2/+1 |
| | | | | | | | If we exit via the break here, we need to set ff_last_lineno or FUTURE_POSSIBLE() will remain true. The bug affected statements containing a variety of expressions, but not all expressions. It has been present since Python 2.2. | ||||
* | 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 |
| | |||||
* | Running a bdist_wininst installer, built with Python 2.3, installing | Thomas Heller | 2005-02-03 | 1 | -8/+25 |
| | | | | | | | | | | | | | for Python 2.4 caused a segfault when post_install_script was used. The reason was that the file handle passed to PyRun_SimpleFile() was created with MSVCRT.DLL, but Python 2.4 uses MSVCR71.DLL. So, I replaced PyRun_SimpleFile() with PyRun_SimpleString(). The segfault is gone, but the output of the postinstall script doesn't show up, because still freopen() from MSVCRT is used. Already backported. | ||||
* | Set PYTHONHOME before loading Python, so that sys.path will be set correctly. | Thomas Heller | 2005-02-03 | 1 | -1/+7 |
| | | | | Already backported. | ||||
* | 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 | 3 | -7/+50 |
| | |||||
* | 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 |
| | |||||
* | More bug #1077106 stuff, sorry -- modem induced impatiece! | Michael W. Hudson | 2005-01-31 | 2 | -0/+3 |
| | | | | This should go on whatever bugfix branches the other fetches up on. | ||||
* | Fix | Michael W. Hudson | 2005-01-31 | 1 | -0/+4 |
| | | | | | | | [ 1077106 ] Negative numbers to os.read() cause segfault Sorry for sitting on this for so long! Is there a chance it could make 2.3.5? | ||||
* | 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 | ||||
* | Bug #1108490: fix broken link. | Johannes Gijsbers | 2005-01-29 | 1 | -1/+1 |
| | |||||
* | Revert os.py 1.75, and directly implement update. | Martin v. Löwis | 2005-01-29 | 3 | -0/+31 |
| | | | | 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. | ||||
* | Partially revert #1074011; don't try to fflush stdin. | Martin v. Löwis | 2005-01-27 | 2 | -2/+11 |
| | | | | Backported to 2.3 and 2.4. | ||||
* | SF bug #1108303: fix .split() maxsplit doc | Raymond Hettinger | 2005-01-26 | 1 | -1/+1 |
| | | | | Docs incorrectly stated that maxsplit=0 would cause unlimited splitting. | ||||
* | Do not fold a constant if a large sequence will result. | Raymond Hettinger | 2005-01-26 | 2 | -5/+19 |
| | | | | Saves space in the presence of code like: (None,)*10000 | ||||
* | happy new year! (on the trunk) | Anthony Baxter | 2005-01-25 | 2 | -3/+3 |
| | |||||
* | SF bug #1105286: Undocumented implicit strip() in split(None) string method | Raymond Hettinger | 2005-01-25 | 1 | -6/+10 |
| | | | | Clarify the behavior when a string begins or ends with whitespace. | ||||
* | Put docstring for getspall into same #ifdef block as function definition | Neal Norwitz | 2005-01-24 | 1 | -6/+4 |
| | | | | Remove C++ (C99) style comments | ||||
* | include each row in the package table, even if there are no packages for | Fred Drake | 2005-01-23 | 1 | -8/+11 |
| | | | | | that row; the row is commented out in that case (this makes it easier to modify the table after generation) | ||||
* | add missing word | Fred Drake | 2005-01-23 | 1 | -1/+2 |
| | |||||
* | 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. |