Martin v. Löwis
d02879d620
Revert 1.25, as overloaded __repr__ is not considered.
2003-06-07 20:47:37 +00:00
Martin v. Löwis
e57000338f
Patch #750542 : Use issubclass instead of type identity.
2003-06-07 20:17:11 +00:00
Martin v. Löwis
502ba46303
Patch #750595 : Refer to type complex using builtin. Fixes #595837 .
...
Backported to 2.2.
2003-06-07 20:10:54 +00:00
Martin v. Löwis
56f88113b7
Patch #746801 : FreeBSD 4 expected failures, by Charles Swiger.
2003-06-07 20:01:37 +00:00
Martin v. Löwis
0f9e525bdf
Patch #749191 : Delete commands in after_cancel. Will backport to 2.2.
2003-06-07 19:52:38 +00:00
Gustavo Niemeyer
9556fba685
- urllib2.py now knows how to order proxy classes, so the user doesn't
...
have to insert it in front of other classes, nor do dirty tricks like
inserting a "dummy" HTTPHandler after a ProxyHandler when building an
opener with proxy support.
2003-06-07 17:53:08 +00:00
Kurt B. Kaiser
ef58adf8d6
1. Find in Files Dialog shows text selection if there is one
...
2. Remove obsolete comment associated with Window menu updating
M EditorWindow.py
M GrepDialog.py
2003-06-07 03:21:17 +00:00
Kurt B. Kaiser
260cb9034c
1. Update WindowList registry when filename changes so that
...
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
2003-06-06 21:58:38 +00:00
Kurt B. Kaiser
24d7e0cbb8
Avoid problem resolving 'localhost'
...
M PyShell.py
M rpc.py
M run.py
2003-06-05 23:51:29 +00:00
Guido van Rossum
852f35bbeb
Change to <<open-module>>: always pop up the dialog, using the current
...
selection as the default value. This is easier to use habitually.
2003-06-05 11:36:55 +00:00
Kurt B. Kaiser
3f8ace9a0f
SF 747667 Error Doesn't Decolorize
...
Also improved error notification if Tabnanny detects a TokenError.
M ScriptBinding
2003-06-05 02:38:32 +00:00
Kurt B. Kaiser
d2f4861a0b
SF 748973 Guido van Rossum patch
...
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
2003-06-05 02:34:04 +00:00
Jack Jansen
470b0c0e1f
In an OSX framework build Python could fail if HOME wasn't set, fixed.
...
Fixes #747954 .
2003-06-03 10:55:35 +00:00
Greg Ward
8a709b3049
Factor endian-ness check out of play_sound_file(), and fix
...
test_setparameters() to use it -- don't assume AFMT_S16_NE is always
defined!
2003-06-03 00:32:44 +00:00
Guido van Rossum
3800ef7ae2
When a previous call to poll() has already seen the process status,
...
wait() should not call waitpid() again.
Should be backported to 2.2.4.
2003-06-02 19:12:01 +00:00
Raymond Hettinger
bf68c78a6f
Fix SF bug #747348 docstring mistake in BaseHTTPServer.py. \n\nBackport Candidate
2003-06-02 14:25:43 +00:00
Kurt B. Kaiser
01e3273164
Eliminate the Revert to Default Settings submenu of Option menu.
...
Not implemented and not needed.
2003-06-02 01:51:38 +00:00
Kurt B. Kaiser
9f36609720
Modify the remote stack viewer to work in the threaded subprocess.
...
M PyShell.py
M run.py
2003-06-02 01:50:19 +00:00
Jack Jansen
5da131b2df
Added two keys to database format: User-install-skips is an array of pathname
...
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.
2003-06-01 20:57:12 +00:00
Jack Jansen
2a97dcce09
Use splitlines() in stead of split() to split lines, and added a method
...
shortdescription() so the code to split off the first line of the
description isn't all over the place.
2003-06-01 20:03:43 +00:00
Jack Jansen
19c0d943e9
Fixed indentation error. Closes bug #746953 .
2003-06-01 19:27:40 +00:00
Kurt B. Kaiser
5ddef75fcf
Update for release
...
Modified Files:
NEWS.txt README.txt TODO.txt
2003-06-01 01:11:14 +00:00
Kurt B. Kaiser
6c8579ed4d
Set the default for delete-exitfunc in config-main.def to True to handle
...
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.
2003-06-01 01:08:32 +00:00
Kurt B. Kaiser
ce5b6d55b8
SF 745525
...
Excecution environment and residual shell has cwd set to the directory of
the module being run.
M ScriptBinding.py
2003-05-31 23:44:18 +00:00
Martin v. Löwis
b71bcb6322
Patch #740301 : Add +s when linking shared libraries on HP-UX, use -L
...
for the library path.
2003-05-31 08:09:21 +00:00
Martin v. Löwis
3c120debef
Patch #744041 : Use only first two elements of address to support IPv6.
2003-05-31 07:55:43 +00:00
Raymond Hettinger
40174c358f
SF bug #733667 : kwargs handled incorrectly
...
The fast_function() inlining optimization only
applies when there are zero keyword arguments.
2003-05-31 07:04:16 +00:00
Kurt B. Kaiser
e394ef8b4a
Update for release
...
Modified Files:
CREDITS.txt INSTALL.txt LICENSE.txt aboutDialog.py setup.py
2003-05-30 02:42:02 +00:00
Jack Jansen
9f0c5754a6
- Get the database from a different place.
...
- Added support for multi-line descriptions. Doesn't look nice
yet in Package Manager.
2003-05-29 22:07:27 +00:00
Barry Warsaw
db6888b7df
_make_boundary(): Fix for SF bug #745478 , broken boundary calculation
...
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
2003-05-29 19:39:33 +00:00
Guido van Rossum
65f8cedd4a
I saw errors from _fileobject.__del__ about missing self._sock. This
...
can happen if __init__ doesn't complete. Fix it by adding a
try/except to __del__.
2003-05-29 14:36:57 +00:00
Guido van Rossum
bb1861a996
Remove debug code from weakref_segfault().
2003-05-29 14:30:49 +00:00
Guido van Rossum
aabe0b3e34
Add testcase for SF 742911.
2003-05-29 14:26:57 +00:00
Raymond Hettinger
b25a52aac0
Fix typo so that the test actually calls the tested function.
2003-05-29 07:20:29 +00:00
Raymond Hettinger
f0fa1c03a0
Test ability to handle various type of iterators.
2003-05-29 07:18:57 +00:00
Greg Ward
29a1deff3a
Test script changed.
2003-05-29 01:29:28 +00:00
Greg Ward
4f12d4652d
Renamed test_errors() to test_setparameters() and completely rewrote it
...
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).
2003-05-29 01:27:39 +00:00
Greg Ward
080c110172
Order and number of arguments to setparameters() has changed.
...
Rename 'a' (the audio device) to 'dsp' everywhere.
2003-05-29 00:23:17 +00:00
Jack Jansen
b789a060ee
- Added a scheme whereby pimp can update itself, by importing a module
...
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.
2003-05-28 18:56:30 +00:00
Raymond Hettinger
e8b0f0461b
* Beefed-up tests
...
* Allow tuple re-use
* Call tp_iternext directly
2003-05-28 14:05:34 +00:00
Gregory P. Smith
bc6e94a0fa
Wrap the cursor functions with dbutils.DeadlockWrap to deal with the
...
expected DBLockDeadLockErrors.
2003-05-28 08:26:43 +00:00
Kurt B. Kaiser
62df044885
Added a config-main General option to delete sys.exitfunc. The default
...
is not to do that. VPython and student environment support.
M PyShell.py
M config-main.def
M run.py
2003-05-28 01:47:46 +00:00
Jeremy Hylton
893801efb6
Add more tests from RFC 2202.
2003-05-27 16:16:41 +00:00
Raymond Hettinger
68dcd34c0a
Fixup bare try/except.
2003-05-27 06:30:52 +00:00
Kurt B. Kaiser
8d1f11b0ef
Whitespace Normalization
...
Modified Files: PyShell.py ScriptBinding.py buildapp.py
2003-05-26 22:20:34 +00:00
Kurt B. Kaiser
053916959a
1. SF Bug 661676
...
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
2003-05-26 20:35:53 +00:00
Neal Norwitz
54f871e193
Fix SF bug #735694 , Pydoc.py fixes links
...
Modified the patch some. Fixed invalid link in UNICODE (to STRING).
Also updates some references.
2003-05-26 13:49:54 +00:00
Kurt B. Kaiser
6c638b6755
Bruce Sherwood RFE/Patch
...
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
2003-05-26 06:23:10 +00:00
Jack Jansen
8ba0e80117
Added a --python option, which sets the python to be used in the #! line
...
in the bootstrap script of the applet.
2003-05-25 22:00:17 +00:00
Tim Peters
50d8b8b6ae
Fleshed out WeakKeyDictionary.__delitem__ NEWS to cover issues raised on
...
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.
2003-05-25 17:44:31 +00:00