Commit graph

24508 commits

Author SHA1 Message Date
Chui Tey
993e81a8a5 619127: Recent File Menu Not Updating 2002-11-04 03:11:10 +00:00
Martin v. Löwis
f0a4668e6f Add getpreferredencoding. Support @euro modifiers. Fixes #554676.
The @euro part is backported to 2.2.3.
2002-11-03 17:20:12 +00:00
Neal Norwitz
cf57e50989 Fix SF #632864, Typo string instead of sting in LibDoc. Will backport. 2002-11-03 13:13:20 +00:00
Neal Norwitz
1aca2d0cb3 Fix SF # 518775, buffer object API description truncated 2002-11-03 02:56:27 +00:00
Neal Norwitz
26a1eefd0f Fix SF # 631066, running regrtest in user mode fails
Try to write to TESTFN, if that fails, try TESTFN in /tmp
If that fails, print a warning and go on.
Will backport.
2002-11-03 00:35:53 +00:00
Neal Norwitz
034c749ff4 Fix SF #618146, overflow error in calendar module
Will backport.
2002-11-03 00:13:42 +00:00
Guido van Rossum
065627e15c Add "select all" by clicking on (0,0) cell.
Redo setting the selection and setting the beacon to deal better
with rows or columns -- these are now expressed by range (1, sys.maxint).
2002-11-02 22:18:46 +00:00
Neal Norwitz
40cac739c2 Fix SF # 551504, python -v sometimes fails to find init (HPUX)
Joseph Winston recommends removing DYNAMIC_PATH, since it can
cause some dynamic libraries to not load on HP-UX 11.
2002-11-02 20:58:05 +00:00
Neal Norwitz
e08e1bc80a Fix compiler warning on HP-UX.
Cast param to isalnum() to int.
2002-11-02 20:43:25 +00:00
Neal Norwitz
39d22e5693 Use O_NONBLOCK rather than O_NDELAY, so we get POSIX non-blocking I/O.
On HPUX, Solaris, Tru64 (Dec UNIX), and IRIX (I think),
O_NONBLOCK is the POSIX version of non-blocking I/O
which is what we want.

On Linux and FreeBSD (at least), O_NONBLOCK and O_NDELAY are the same.
So this change should have no negative effect on those platforms.

Tested on Linux, Solaris, HPUX.

Thanks to Anders Qvist for diagnosing this problem.
2002-11-02 19:55:21 +00:00
Neal Norwitz
e7629c85bc Skip test_dbm if we can't write to the file
Cleanup (remove) the file(s) after we are done with the test.
(Fixes problem on snake farm)
2002-11-02 18:25:08 +00:00
Neal Norwitz
94a83fdc15 Fix SF #632624, test_resource failure on alpha/64bit
Return PyLongs instead ot PyInts.
On alphas, 9223372036854775807 became -1.
2002-11-02 17:46:24 +00:00
Martin v. Löwis
d631ebe20b Remove extra argument in mknod. Fixes #632628. 2002-11-02 17:42:33 +00:00
Neal Norwitz
a978ab0d8c Need to quote test for posix_threads on HPUX11 2002-11-02 16:58:05 +00:00
Walter Dörwald
1a7a894d90 Move introductory sentence to where it belongs. 2002-11-02 13:32:07 +00:00
Guido van Rossum
bfcd6533e4 Add ESC key binding -- undo current cell editing. 2002-11-02 06:50:05 +00:00
Guido van Rossum
3669242ac9 Major breakthrough in selection -- drag-select multiple cells now
works.  Also row and column selection works (sort of).  The DEL
key deletes the selected rectangle.  sys.argv[1] used by test_gui().
2002-11-02 06:25:51 +00:00
Raymond Hettinger
4f759d8504 Correct erroneous parenthesis placement in the delta from 1.63 to 1.64. 2002-11-02 02:02:46 +00:00
Fred Drake
9482d2591a Update example for the type() function to use the currently accepted
preference of using "is" instead of "==" to compare types, use
built-in names where available, and point to the isinstance()
function.
Closes SF bug #632196.
2002-11-01 21:33:44 +00:00
Finn Bock
57bc5fa60a Patch #631972: Adds an is_jython flag. 2002-11-01 18:02:03 +00:00
Fredrik Lundh
768c98bb0b patch #624180 (part 2 of 2):
use unquote on authentication strings, to allow users to embed
@ and : in user names and passwords (from Phillip Eby)
2002-11-01 17:14:16 +00:00
Finn Bock
218c5f9691 [SF bug 631713] use the import exeption message in the TestFailed
exception.
2002-11-01 11:33:00 +00:00
Fred Drake
ff031cfdf4 Define abstract way to get the normal and smaller font sizes that work
even in the footnote context.
2002-10-31 21:04:34 +00:00
Fred Drake
8612a431b9 Add a missing % to a Windows-style environment variable expression.
Minor style guide compliance fix.
Several markup fixes.
2002-10-31 20:46:20 +00:00
Greg Ward
d1a72a0d5e Ad test_funky_hyphens() to test some screwy edge cases reported in SF
bug #596434.  (Alas, I don't think this completely covers that bug.)

Remove 'wrapper' argument from BaseTestCase.check_split() -- it's not
actually needed.
2002-10-31 16:11:18 +00:00
Thomas Heller
05c9335659 Fixes SF bug#614051: win32 build_ext problem. 2002-10-31 14:26:37 +00:00
Andrew M. Kuchling
ccf4e421b8 Catch only ImportError 2002-10-31 13:39:33 +00:00
Walter Dörwald
0ae2981dec Add docstrings to register, lookup, register_error
and lookup_error. This closes SF patch #630622.
2002-10-31 13:36:29 +00:00
Andrew M. Kuchling
ff4ad9a1ce Make the Distribution() constructor forgiving of unknown keyword
arguments, triggering a warning instead of raising an exception.  (In
1.5.2/2.0, it will print to stderr.)

Bugfix candidate for all previous versions.  This changes behaviour,
but the old behaviour wasn't very useful.  If Distutils version X+1
adds a new keyword argument, using the new keyword means your setup.py
file won't work with Distutils version X any more.
2002-10-31 13:22:41 +00:00
Fred Drake
699799e6f3 Add a couple of comments about the use of \normalsize and
\footnotesize.
2002-10-30 22:20:27 +00:00
Fred Drake
2394900a55 Still more magical <link> elements. 2002-10-30 21:51:18 +00:00
Fred Drake
dbb2b9d77e Hackish way to generate an up-<link> for the title page if we have
one.

Added misc. comments.
2002-10-30 21:38:32 +00:00
Fred Drake
4a4734927d More <link> support for generated pages. 2002-10-30 21:32:40 +00:00
Fred Drake
8687609a39 Two more <link> elements. 2002-10-30 21:29:50 +00:00
Fred Drake
942bd502e7 Add some relevant <link> elements. 2002-10-30 21:17:10 +00:00
Andrew M. Kuchling
3adefccdcb Use personal e-mail address 2002-10-30 21:08:34 +00:00
Fred Drake
0e2e687ba0 Minor rearranging. 2002-10-30 19:55:23 +00:00
Fred Drake
4e303aad05 Add notes to the asctime() and ctime() descriptions to make it
explicit that locale information is not used.  There wasn't anything
that implied it was, but this has confused users.
2002-10-30 18:17:03 +00:00
Fred Drake
b1510d5060 Sprinkle with --favicon options. 2002-10-30 17:07:02 +00:00
Fred Drake
b07216b43a Added support for --favicon.
Fix support for the Aesop Meta Type.
2002-10-30 17:05:03 +00:00
Fred Drake
56c8c27b27 Added support for --favicon. 2002-10-30 17:02:21 +00:00
Fred Drake
dd3d6a03c0 Add support for using a "favicon".
make_head_and_body():  Re-arranged to do (slightly) less work for each page.
2002-10-30 17:00:58 +00:00
Fred Drake
11eb3d090f Make use of the new "favicon" image. 2002-10-30 16:54:54 +00:00
Fred Drake
45be2fe230 Added "favicon" image. 2002-10-30 16:54:12 +00:00
Raymond Hettinger
d8ea2e080f Added missing class to __all__. 2002-10-30 06:20:37 +00:00
Raymond Hettinger
a853cc6647 Added __all__. 2002-10-30 06:15:53 +00:00
Raymond Hettinger
39f02f98f5 Added missing names to __all__. 2002-10-30 06:09:58 +00:00
Raymond Hettinger
2b9bfb33ff Added new move() function to __all__. 2002-10-30 05:44:50 +00:00
Tim Peters
fb05c4e5bb SF bug 630824: pydoc Helper keywords missing 'yield'
Wow, what a brittle subsystem!  Fixed, maybe, provided Fred doesn't
shuffle the docs around.

Bugfix candidate.
2002-10-30 05:21:00 +00:00
Raymond Hettinger
edc853e2f4 Patrick K. O'Brien notices that kwlist was missing from __all__.
Added because it is part of the documented interface.
2002-10-30 05:17:22 +00:00