summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 1. Update WindowList registry when filename changes so thatKurt B. Kaiser2003-06-063-7/+4
| | | | | | | | | | Window menu updates. 2. Display Python Shell window in Window menu 3. Remove some dead code in FileList.py M EditorWindow.py M FileList.py M WindowList.py
* Avoid problem resolving 'localhost'Kurt B. Kaiser2003-06-053-4/+8
| | | | | | M PyShell.py M rpc.py M run.py
* Change to <<open-module>>: always pop up the dialog, using the currentGuido van Rossum2003-06-051-8/+7
| | | | selection as the default value. This is easier to use habitually.
* SF 747667 Error Doesn't DecolorizeKurt B. Kaiser2003-06-051-1/+6
| | | | | | Also improved error notification if Tabnanny detects a TokenError. M ScriptBinding
* SF 748973 Guido van Rossum patchKurt B. Kaiser2003-06-053-8/+21
| | | | | | | | | New Window should save in the directory of the Editor Window from which it was selected. M EditorWindow.py M FileList.py M IOBinding.py
* In an OSX framework build Python could fail if HOME wasn't set, fixed.Jack Jansen2003-06-031-1/+1
| | | | Fixes #747954.
* Factor endian-ness check out of play_sound_file(), and fixGreg Ward2003-06-031-7/+12
| | | | | test_setparameters() to use it -- don't assume AFMT_S16_NE is always defined!
* When a previous call to poll() has already seen the process status,Guido van Rossum2003-06-021-4/+5
| | | | | | wait() should not call waitpid() again. Should be backported to 2.2.4.
* Fix SF bug #747348 docstring mistake in BaseHTTPServer.py. \n\nBackport ↵Raymond Hettinger2003-06-021-1/+1
| | | | Candidate
* Eliminate the Revert to Default Settings submenu of Option menu.Kurt B. Kaiser2003-06-021-2/+2
| | | | Not implemented and not needed.
* Modify the remote stack viewer to work in the threaded subprocess.Kurt B. Kaiser2003-06-022-3/+26
| | | | | M PyShell.py M run.py
* Added two keys to database format: User-install-skips is an array of pathnameJack Jansen2003-06-011-6/+34
| | | | | | prefixes, any file that is skipped during a per-user install that matches this set is *not* an error; Systemwide-only is a boolean that says the package cannot be installer per-user.
* Use splitlines() in stead of split() to split lines, and added a methodJack Jansen2003-06-011-3/+4
| | | | | shortdescription() so the code to split off the first line of the description isn't all over the place.
* Fixed indentation error. Closes bug #746953.Jack Jansen2003-06-011-2/+2
|
* Update for releaseKurt B. Kaiser2003-06-013-31/+52
| | | | | Modified Files: NEWS.txt README.txt TODO.txt
* Set the default for delete-exitfunc in config-main.def to True to handleKurt B. Kaiser2003-06-011-1/+1
| | | | | | abnormal exit situations cleanly, especially stuck user threads. Future plan is to intercept the user's atexit functions and run them under IDLE's control.
* SF 745525Kurt B. Kaiser2003-05-311-3/+14
| | | | | | | Excecution environment and residual shell has cwd set to the directory of the module being run. M ScriptBinding.py
* Patch #740301: Add +s when linking shared libraries on HP-UX, use -LMartin v. Löwis2003-05-311-2/+4
| | | | for the library path.
* Patch #744041: Use only first two elements of address to support IPv6.Martin v. Löwis2003-05-311-2/+2
|
* SF bug #733667: kwargs handled incorrectlyRaymond Hettinger2003-05-311-0/+11
| | | | | The fast_function() inlining optimization only applies when there are zero keyword arguments.
* Update for releaseKurt B. Kaiser2003-05-305-45/+78
| | | | | Modified Files: CREDITS.txt INSTALL.txt LICENSE.txt aboutDialog.py setup.py
* - Get the database from a different place.Jack Jansen2003-05-291-4/+7
| | | | | - Added support for multi-line descriptions. Doesn't look nice yet in Package Manager.
* _make_boundary(): Fix for SF bug #745478, broken boundary calculationBarry Warsaw2003-05-292-3/+7
| | | | | | | | | in some locales. This code simplifies the boundary algorithm to use randint() which is what we wanted anyway. Bump package version to 2.5.3. Backport candidate for Python 2.2.3
* I saw errors from _fileobject.__del__ about missing self._sock. ThisGuido van Rossum2003-05-291-1/+5
| | | | | can happen if __init__ doesn't complete. Fix it by adding a try/except to __del__.
* Remove debug code from weakref_segfault().Guido van Rossum2003-05-291-2/+0
|
* Add testcase for SF 742911.Guido van Rossum2003-05-291-0/+24
|
* Fix typo so that the test actually calls the tested function.Raymond Hettinger2003-05-291-1/+1
|
* Test ability to handle various type of iterators.Raymond Hettinger2003-05-291-4/+188
|
* Test script changed.Greg Ward2003-05-291-6/+5
|
* Renamed test_errors() to test_setparameters() and completely rewrote itGreg Ward2003-05-291-30/+54
| | | | | | | to test the new setparameters() interface. Modified play_sound_file() to print the elapsed time taken to play the test sample (to the nearest 0.1 sec).
* Order and number of arguments to setparameters() has changed.Greg Ward2003-05-291-24/+23
| | | | Rename 'a' (the audio device) to 'dsp' everywhere.
* - Added a scheme whereby pimp can update itself, by importing a moduleJack Jansen2003-05-281-11/+49
| | | | | | | pimp_update if it exists. Upped the version number to indicate this. Fixes #731626. - Added -V (print version) and -u (specify database URL) options when run as a command line tool.
* * Beefed-up testsRaymond Hettinger2003-05-281-14/+45
| | | | | * Allow tuple re-use * Call tp_iternext directly
* Wrap the cursor functions with dbutils.DeadlockWrap to deal with theGregory P. Smith2003-05-281-2/+2
| | | | expected DBLockDeadLockErrors.
* Added a config-main General option to delete sys.exitfunc. The defaultKurt B. Kaiser2003-05-283-8/+24
| | | | | | | | is not to do that. VPython and student environment support. M PyShell.py M config-main.def M run.py
* Add more tests from RFC 2202.Jeremy Hylton2003-05-271-2/+55
|
* Fixup bare try/except.Raymond Hettinger2003-05-271-1/+1
|
* Whitespace NormalizationKurt B. Kaiser2003-05-263-7/+7
| | | | Modified Files: PyShell.py ScriptBinding.py buildapp.py
* 1. SF Bug 661676Kurt B. Kaiser2003-05-262-8/+11
| | | | | | | | | | | The default font is not highlighted in the Options dialog when IDLEfork is first installed. 2. Reduce default font to 10 pt and increase default window height to give a better initial impression on Windows. M config-main.def M configDialog.py
* Fix SF bug #735694, Pydoc.py fixes linksNeal Norwitz2003-05-261-5/+6
| | | | | Modified the patch some. Fixed invalid link in UNICODE (to STRING). Also updates some references.
* Bruce Sherwood RFE/PatchKurt B. Kaiser2003-05-263-23/+60
| | | | | | | | | | | | | | SF 661318 Adds autosave capability to IDLE and IDLE configuration dialog. User can Run/F5 without explicit save dialog. The default is to require the user to confirm the save. M ScriptBinding.py M config-main.def M configDialog.py
* Added a --python option, which sets the python to be used in the #! lineJack Jansen2003-05-251-1/+9
| | | | in the bootstrap script of the applet.
* Fleshed out WeakKeyDictionary.__delitem__ NEWS to cover issues raised onTim Peters2003-05-251-2/+10
| | | | | | | | | Python-Dev. Fixed typos in test comments. Added some trivial new test guts to show the parallelism (now) among __delitem__, __setitem__ and __getitem__ wrt error conditions. Still a bugfix candidate for 2.2.3 final, but waiting for Fred to get a chance to chime in.
* SF 742860: WeakKeyDictionary __delitem__ uses iterkeysTim Peters2003-05-252-5/+52
| | | | | | | | | | | | | | | | | Someone review this, please! Final releases are getting close, Fred (the weakref guy) won't be around until Tuesday, and the pre-patch code can indeed raise spurious RuntimeErrors in the presence of threads or mutating comparison functions. See the bug report for my confusions: I can't see any reason for why __delitem__ iterated over the keys. The new one-liner implementation is much faster, can't raise RuntimeError, and should be better-behaved in all respects wrt threads. New tests test_weak_keyed_bad_delitem and test_weak_keyed_cascading_deletes fail before this patch. Bugfix candidate for 2.2.3 too, if someone else agrees with this patch.
* Improved the RESTART annotation in the shell window when the userKurt B. Kaiser2003-05-241-0/+9
| | | | | restarts the shell while it is generating output. Also improved annotation when user repeatedly hammers the Ctrl-F6 restart.
* Fix a bug in Rev 1.10 - Windows can't handle a leading ':' if theKurt B. Kaiser2003-05-243-3/+12
| | | | | | user's PYTHONPATH is empty (though Linux can). Modified Files: idle idle.py idle.pyw
* 1. Stake Freddy.Kurt B. Kaiser2003-05-244-64/+57
| | | | | | | | | | | | | e.g. further improve subprocess interrupt, exceptions, and termination. 2. Remove the workarounds in PyShell.py and ScriptBinding.py involving interrupting the subprocess prior to killing it, not necessary anymore. 3. Fix a bug introduced at PyShell Rev 1.66: was getting extra shell menu every time the shell window was recreated. M PyShell.py M ScriptBinding.py M rpc.py M run.py
* SF bug 705231: Assertion failed, python aborts.Tim Peters2003-05-241-0/+17
| | | | | | | float_pow(): Don't let the platform pow() raise -1.0 to an integer power anymore; at least glibc gets it wrong in some cases. Note that math.pow() will continue to deliver wrong (but platform-native) results in such cases.
* 'sum' is no longer a good variable name. Use 'total' instead.Raymond Hettinger2003-05-241-3/+3
|
* Convert tcl_version to str before comparing. Fixes #729317.Martin v. Löwis2003-05-241-1/+2
|