Kurt B. Kaiser
a8f22d711c
Update version.
2003-06-12 03:15:47 +00:00
Raymond Hettinger
39a5592001
SF Patch #744104 : Remove eval() from csv
...
Eliminates the eval() step in the csv module resulting in better
security, more clarity, and a little speed.
The idea is to make successive attempts to coerce the string to
a python type:
int(s), long(s), float(s), etc.
As a by-product, eliminates a bare 'except' statement.
2003-06-12 03:01:55 +00:00
Skip Montanaro
1546bc43fe
add a couple test cases which involve longs and floats in 'e' format.
2003-06-12 02:40:22 +00:00
Brett Cannon
28a4f0f965
Have pydoc try handling an object as "other" if the object does not act the way
...
it expects based on what inspect classifies it as.
Closes bug #729103 .
2003-06-11 23:38:55 +00:00
Barry Warsaw
6754d52521
get_payload(): Improve the TypeError message when the payload isn't of
...
the expected type. In response to SF #751451 .
2003-06-10 16:31:55 +00:00
Barry Warsaw
9caa0d1642
guess_all_extensions(): Return the empty list instead of None when
...
there are no matching types. Updated the docs and docstrings. Added
some unit tests.
2003-06-09 22:27:41 +00:00
Raymond Hettinger
af81c2e887
SF bug #685773 : 2 (more) bugs in turtle
...
The docs recommend filling by fill(1), drawing commands, fill(0).
However, the filling did not actually take place until the next
draw command. Fixed by issuing a null draw command at the end
of the fill method.
2003-06-09 08:50:57 +00:00
Kurt B. Kaiser
9067c8d85c
SF 748975 Printing unsaved shell fails
...
M IOBinding.py
2003-06-09 03:12:42 +00:00
Raymond Hettinger
7f2d302a16
For the context and unified diff functions:
...
* Simplified test for visible changes
* Improved variable names and line spacing
* Replaced dict(a=3) style with Py2.2 compatable {'a':3}
2003-06-08 19:38:42 +00:00
Neal Norwitz
e2fdc61004
Fix SF #749831 , copy raises SystemError when getstate raises exception
2003-06-08 13:19:58 +00:00
Raymond Hettinger
f0b1a1fca9
Added functions for creating context diffs and unified diffs.
...
Documentation update and NEWS item are forthcoming.
2003-06-08 11:07:08 +00:00
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