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
Brett Cannon
10147f7d13
Fixed a comment.
2003-06-11 20:50:33 +00:00
Andrew MacIntyre
1a90117880
fix the curses module build failure on FreeBSD, reported in SF #740234 .
2003-06-11 12:26:08 +00:00
Raymond Hettinger
7e902b27e0
* Added missing documentation for object().
...
* Noted the Py2.3 in the optional arg for bool().
2003-06-11 09:15:26 +00:00
Raymond Hettinger
3985df2c99
SF bug #660022 : parameters for int(), str(), etc.
...
* Indicate that arguments are optional for most builtin type constructors.
* Replace e.g. in staticmethod() and classmethod() docs.
* Add \code{} markup to some in-line code examples.
2003-06-11 08:16:06 +00:00
Raymond Hettinger
132fa373d1
Add docs for get_grouped_opcodes().
2003-06-11 07:50:44 +00:00
Brett Cannon
807413d3b2
Clarify docstring for symlink.
2003-06-11 00:18:09 +00:00
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