Raymond Hettinger
80b3f685b4
SF bug: 751941 Invisible HTML tag
...
Added missing jump target labels.
2003-06-10 21:41:22 +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
e07b83591f
Document context_diff() and unified_diff()
2003-06-09 21:44:59 +00:00
Neil Schemenauer
4e3363e884
Warn about creating global variables by __setattr__ that shadow builtin
...
names. Unfortunately, this is not bulletproof since the module
dictionary can be modified directly.
2003-06-09 18:42:19 +00:00
Raymond Hettinger
c4370d94e1
Add the IDLEFORK team.
2003-06-09 08:55:14 +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
Andrew MacIntyre
1a44448b24
Changes to sre.c after the application of patch #726869 have increased
...
stack usage on FreeBSD, requiring the recursion limit to be lowered
further. Building with gcc 2.95 (the standard compiler on FreeBSD 4.x)
is now also affected.
The underlying issue is that FreeBSD's pthreads implementation has a
hard-coded 1MB stack size for the initial (or "primary") thread, which
can not be changed without rebuilding libc_r. Exhausting this stack
results in a bus error.
Building without pthreads (configure --without-threads), or linking
with the port of the Linux pthreads library (aka Linuxthreads) instead
of libc_r, avoids this limitation.
On OS/2, only gcc 3.2 is affected and the stack size is controllable,
so the special handling has been removed.
2003-06-09 08:22:11 +00:00
Andrew MacIntyre
0dda40035f
add support for os.tmpfile()
2003-06-09 08:16:59 +00:00
Andrew MacIntyre
58f22ccc01
reorganise modules, so that most standard extensions are built into
...
the Python DLL. this slightly improves performance; reduces
fragmentation of address spaces and slightly reduces memory footprint.
2003-06-09 08:16:02 +00:00
Andrew MacIntyre
fae8953a59
various updates
2003-06-09 08:15:14 +00:00
Andrew MacIntyre
23ec1dcf78
bump stack size to cater for _sre recursion.
...
reorganise modules, so that most standard extensions are built into
the Python DLL. this slightly improves performance; reduces
fragmentation of address spaces and slightly reduces memory footprint.
2003-06-09 08:14:03 +00:00
Andrew McNamara
dcfb38c21b
Fix potential leaks identified by Neal Norwitz.
2003-06-09 05:59:23 +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
2f3c74a538
Added a command line interface for difflib.py
2003-06-08 23:10:15 +00:00
Raymond Hettinger
a33d177589
Added a command line interface for difflib.py
2003-06-08 23:04:17 +00:00
Raymond Hettinger
c24d767809
Announce difflib.context_diff() and difflib.unified_diff().
2003-06-08 19:42:33 +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
305908cffd
SF #735051 , add time.tzset documentation
2003-06-08 13:57:19 +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
Neal Norwitz
f177bf22f9
The fix to use . was incorporated
2003-06-08 02:25:17 +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
Martin v. Löwis
7890c26508
Patch #748846 : Let Demo/classes/Date.py mention DateTime module.
2003-06-07 19:39:56 +00:00
Martin v. Löwis
bb640c15a1
Patch #748849 : Update to current tools and demos.
2003-06-07 18:46:34 +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
Raymond Hettinger
b268f03459
SF bug #749759 : comparisons yield bool not int
...
Minor documentation fix.
2003-06-06 02:52:14 +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
Skip Montanaro
a1045567e0
QUOTE_ALWAYS -> QUOTE_ALL
2003-06-04 15:30:13 +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
Guido van Rossum
0741f801ba
Whitespace normalization; break a long line.
2003-06-02 14:15:34 +00:00
Guido van Rossum
f39dafb10a
Fix a subtle decref bug that caused a GC assertion to fail in a debug
...
build (assert(gc->gc.gc_refs != 0) in visit_decref()).
Because OSSAudioError is a global, we must compensate (twice!) for
PyModule_AddObject()'s "helpful" decref of the object it adds.
2003-06-02 14:11:45 +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
Neil Schemenauer
c4b570f218
Use fast_next_opcode shortcut for forward jump opcodes (it's safe and
...
gives a small speedup).
2003-06-01 19:21:12 +00:00