Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Flush std{in,out,err} before closing it. Fixes #1074011. | Martin v. Löwis | 2005-01-23 | 2 | -3/+13 |
| | | | | Will backport to 2.4 and 2.3. | ||||
* | Patch #579435: Shadow Password Support Module | Martin v. Löwis | 2005-01-23 | 11 | -429/+466 |
| | |||||
* | Truncate st_?time before comparing it with ST_?TIME in the tests. | Martin v. Löwis | 2005-01-23 | 3 | -1/+9 |
| | |||||
* | Add a slice test with high < low. | Walter Dörwald | 2005-01-21 | 1 | -0/+5 |
| | |||||
* | distutils/command/install.py change. | Thomas Heller | 2005-01-20 | 1 | -0/+2 |
| | |||||
* | Fix [ 1103844 ] fix distutils.install.dump_dirs() with negated options. | Thomas Heller | 2005-01-20 | 1 | -2/+7 |
| | | | | Will backport myself. | ||||
* | fix typeset of vertical bar for PDF format | Fred Drake | 2005-01-19 | 1 | -2/+2 |
| | | | | (closes SF bug #1008998) | ||||
* | install distutils.tests on Unix (contributed patch) | Fred Drake | 2005-01-19 | 1 | -1/+2 |
| | | | | (closes SF bug #1093173) | ||||
* | documentation for the zipimport module using contributed patch | Fred Drake | 2005-01-19 | 3 | -0/+135 |
| | | | | (closes SF bug #853800; markup adjusted) | ||||
* | Description of args to IMAP4.store() in imaplib | Fred Drake | 2005-01-19 | 1 | -1/+20 |
| | | | | (closes SF patch #1084092; modified per comments in SF) | ||||
* | Clean up discussion of new C thread idiom | Fred Drake | 2005-01-19 | 1 | -13/+11 |
| | | | | (closes SF patch #1031233; modified) | ||||
* | fix a bunch of spelling errors | Fred Drake | 2005-01-19 | 8 | -8/+8 |
| | | | | (closes SF patch #1104868) | ||||
* | remove spurious line from widget variables example | Fred Drake | 2005-01-19 | 1 | -1/+0 |
| | | | | (closes SF patch #1094815) | ||||
* | 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 | ||||
* | Change the name of the macro used by --with-tsc builds to the less | Michael W. Hudson | 2005-01-18 | 1 | -29/+32 |
| | | | | inscrutable READ_TIMESTAMP. | ||||
* | tweaks, small updates | Michael W. Hudson | 2005-01-18 | 1 | -9/+9 |
| | |||||
* | -X died some time ago; remove a tiny bit of associated cruft. | Michael W. Hudson | 2005-01-18 | 1 | -4/+0 |
| | |||||
* | 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. | ||||
* | make thread stack size compile-time tunable on OS/2, increase main stack | Andrew MacIntyre | 2005-01-17 | 1 | -1/+17 |
| |