summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update PSF copyright year to 2005.Trent Mick2005-02-091-1/+1
|
* Convert splitlines to for-loop (handles case where input does not have a ↵Raymond Hettinger2005-02-081-4/+4
| | | | trailing newline).
* Fix stupid typo: Don't read from a writer.Walter Dörwald2005-02-081-2/+2
|
* Wholistic code cleanup / modernization:Raymond Hettinger2005-02-081-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 infoFred Drake2005-02-081-0/+2
|
* Close the discussion in SF bug 1069160.Guido van Rossum2005-02-081-1/+3
|
* Adopt Skip's idea to optimize lists of constants in the contextRaymond Hettinger2005-02-072-8/+15
| | | | of a "in" or "not in" test.
* Revert previous checkin.Raymond Hettinger2005-02-072-34/+34
|
* Reduce the usage of the types module.Raymond Hettinger2005-02-078-68/+64
|
* Transform "x in (1,2,3)" to "x in frozenset([1,2,3])".Raymond Hettinger2005-02-062-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 Hettinger2005-02-0611-29/+29
|
* Code simplification -- eliminate lookup when value is known in advance.Raymond Hettinger2005-02-051-2/+4
|
* SF patch #1028908Raymond Hettinger2005-02-051-3/+6
| | | | | | (John J Lee) Minor code clarification and simplification.
* SF patch #1116583: NameError in cookielib domain checkRaymond Hettinger2005-02-053-4/+6
|
* Add NEWS item about future parser bug.Jeremy Hylton2005-02-041-0/+4
|
* Fix bug that allowed future statements virtually anywhere in a module.Jeremy Hylton2005-02-041-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 withWalter Dörwald2005-02-041-0/+9
| | | | a BOM.
* Recompiled after source changes.Thomas Heller2005-02-032-0/+0
|
* Running a bdist_wininst installer, built with Python 2.3, installingThomas Heller2005-02-031-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 Heller2005-02-031-1/+7
| | | | Already backported.
* fix XMLFilterBase.resolveEntity() so the caller gets the resultFred Drake2005-02-031-1/+1
| | | | (PyXML bug #1112052)
* Security fix PSF-2005-001 for SimpleXMLRPCServer.py.Guido van Rossum2005-02-033-7/+50
|
* Add config-main.def option to make the 'history' feature non-cyclic.Kurt B. Kaiser2005-02-033-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 Holden2005-02-021-1/+1
|
* More bug #1077106 stuff, sorry -- modem induced impatiece!Michael W. Hudson2005-01-312-0/+3
| | | | This should go on whatever bugfix branches the other fetches up on.
* FixMichael W. Hudson2005-01-311-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. Kaiser2005-01-313-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 Gijsbers2005-01-291-1/+1
|
* Revert os.py 1.75, and directly implement update.Martin v. Löwis2005-01-293-0/+31
| | | | Fixes #1110478 and #1100235.
* Add keybindings for del-word-left and del-word-right.Kurt B. Kaiser2005-01-284-2/+27
| | | | | | | M EditorWindow.py M NEWS.txt M config-keys.def M configHandler.py
* Fixed typo in verbose output.Brett Cannon2005-01-271-1/+1
| | | | Closes bug #1110998. Thanks Matthew Bogosian.
* Partially revert #1074011; don't try to fflush stdin.Martin v. Löwis2005-01-272-2/+11
| | | | Backported to 2.3 and 2.4.
* SF bug #1108303: fix .split() maxsplit docRaymond Hettinger2005-01-261-1/+1
| | | | Docs incorrectly stated that maxsplit=0 would cause unlimited splitting.
* Do not fold a constant if a large sequence will result.Raymond Hettinger2005-01-262-5/+19
| | | | Saves space in the presence of code like: (None,)*10000
* happy new year! (on the trunk)Anthony Baxter2005-01-252-3/+3
|
* SF bug #1105286: Undocumented implicit strip() in split(None) string methodRaymond Hettinger2005-01-251-6/+10
| | | | Clarify the behavior when a string begins or ends with whitespace.
* Put docstring for getspall into same #ifdef block as function definitionNeal Norwitz2005-01-241-6/+4
| | | | Remove C++ (C99) style comments
* include each row in the package table, even if there are no packages forFred Drake2005-01-231-8/+11
| | | | | that row; the row is commented out in that case (this makes it easier to modify the table after generation)
* add missing wordFred Drake2005-01-231-1/+2
|
* shutil.copytree: move copystat call for the directory after the loopJohannes Gijsbers2005-01-231-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öwis2005-01-232-3/+13
| | | | Will backport to 2.4 and 2.3.
* Patch #579435: Shadow Password Support ModuleMartin v. Löwis2005-01-2311-429/+466
|
* Truncate st_?time before comparing it with ST_?TIME in the tests.Martin v. Löwis2005-01-233-1/+9
|
* Add a slice test with high < low.Walter Dörwald2005-01-211-0/+5
|
* distutils/command/install.py change.Thomas Heller2005-01-201-0/+2
|
* Fix [ 1103844 ] fix distutils.install.dump_dirs() with negated options.Thomas Heller2005-01-201-2/+7
| | | | Will backport myself.
* fix typeset of vertical bar for PDF formatFred Drake2005-01-191-2/+2
| | | | (closes SF bug #1008998)
* install distutils.tests on Unix (contributed patch)Fred Drake2005-01-191-1/+2
| | | | (closes SF bug #1093173)
* documentation for the zipimport module using contributed patchFred Drake2005-01-193-0/+135
| | | | (closes SF bug #853800; markup adjusted)
* Description of args to IMAP4.store() in imaplibFred Drake2005-01-191-1/+20
| | | | (closes SF patch #1084092; modified per comments in SF)