Thomas Heller [Tue, 5 Nov 2002 10:06:19 +0000 (10:06 +0000)]
Must now give the basename - not including directories - of the
install-script on the command line.
Recreated after recompilation of wininst.exe.
Raymond Hettinger [Tue, 5 Nov 2002 06:06:02 +0000 (06:06 +0000)]
SF 633560: tokenize.__all__ needs "generate_tokens"
Tim Peters [Tue, 5 Nov 2002 03:49:09 +0000 (03:49 +0000)]
This stopped working on Windows, due to a reference to the non-existent
_locale.getdefaultlocale. Guessing a leading underscore was intended,
but don't really understood this stuff (locale looks like Spanish for
the opposite of global to me <wink>).
Andrew M. Kuchling [Tue, 5 Nov 2002 00:26:33 +0000 (00:26 +0000)]
Use personal e-mail address; update date; various small edits; add a name to acks
Chui Tey [Mon, 4 Nov 2002 23:39:45 +0000 (23:39 +0000)]
Set breakpoints on remote debugger
Neal Norwitz [Mon, 4 Nov 2002 23:21:09 +0000 (23:21 +0000)]
SF #633013, Fix NIS causing interpreter core dump
Prevent the lengths passed to PyString_FromStringAndSize()
from being negative in some cases.
Chui Tey [Mon, 4 Nov 2002 23:07:51 +0000 (23:07 +0000)]
Tidied up widget placement
Chui Tey [Mon, 4 Nov 2002 22:14:54 +0000 (22:14 +0000)]
Recalls breakpoints set in a file
Fred Drake [Mon, 4 Nov 2002 20:49:45 +0000 (20:49 +0000)]
Update config.h to pyconfig.h.
Andrew M. Kuchling [Mon, 4 Nov 2002 20:17:24 +0000 (20:17 +0000)]
Bring back the patch/bug count paragraph.
Correct source of *strip() changes
Small rewrites.
Andrew M. Kuchling [Mon, 4 Nov 2002 20:05:10 +0000 (20:05 +0000)]
Mention distutil changes
Andrew M. Kuchling [Mon, 4 Nov 2002 19:53:24 +0000 (19:53 +0000)]
[Patch #588809] LDFLAGS support for build_ext.py, from Robert Weber
customize_compiler() now looks at various environment variables and uses
their values to override the configured C compiler/preprocessor/linker
binary and flags.
Tim Peters [Mon, 4 Nov 2002 19:50:11 +0000 (19:50 +0000)]
Related to SF patch 618135: gzip.py and files > 2G.
Fixed the signed/unsigned confusions when dealing with files >= 2GB.
4GB is still a hard limitation of the gzip file format, though.
Testing this was a bitch on Win98SE due to frequent system freezes. It
didn't freeze while running gzip, it kept freezing while trying to *create*
a > 2GB test file! This wasn't Python's doing. I don't know of a
reasonable way to test this functionality in regrtest.py, so I'm not
checking in a test case (a test case would necessarily require creating
a 2GB+ file first, using gzip to zip it, using gzip to unzip it again,
and then compare before-and-after; so >4GB free space would be required,
and a loooong time; I did all this "by hand" once).
Bugfix candidate, I guess.
Andrew M. Kuchling [Mon, 4 Nov 2002 19:50:03 +0000 (19:50 +0000)]
[Patch #588809] Remove check of environment variables; sysconfig.py will do that now
Martin v. Löwis [Mon, 4 Nov 2002 17:41:18 +0000 (17:41 +0000)]
Document symbolic constants for commands.
Martin v. Löwis [Mon, 4 Nov 2002 17:34:07 +0000 (17:34 +0000)]
Patch #625823: Add symbolic constants for more commands.
Fred Drake [Mon, 4 Nov 2002 16:29:31 +0000 (16:29 +0000)]
Thinking on comp.text.tex seems to be that it's better to override
\@makefntext than \@footnotetext, so we'll do that instead.
Andrew M. Kuchling [Mon, 4 Nov 2002 14:27:43 +0000 (14:27 +0000)]
[Bug #620630] Flush stdout after logging every message. Without it,
when output is redirected to a file, compiler error messages show
up before Distutils prints the command being invoked.
Andrew M. Kuchling [Mon, 4 Nov 2002 13:45:15 +0000 (13:45 +0000)]
Add get_distutil_options(); future setup.py files can use this to check
whether the Distutils being used supports a particularly capability.
(This idea was originally suggested by Juergen Hermann as a method
on the Distribution class. I think it makes more sense as a
function in core.py, and that's what this patch implements.)
Andrew M. Kuchling [Mon, 4 Nov 2002 13:33:07 +0000 (13:33 +0000)]
[Bug #570655] Fix misleading option text
Martin v. Löwis [Mon, 4 Nov 2002 09:56:00 +0000 (09:56 +0000)]
Patch #630829: Don't block on IAC, process suboptions.
Chui Tey [Mon, 4 Nov 2002 03:17:45 +0000 (03:17 +0000)]
[ 629984 ] Smaller font sizes not supported
Chui Tey [Mon, 4 Nov 2002 03:11:10 +0000 (03:11 +0000)]
619127: Recent File Menu Not Updating
Martin v. Löwis [Sun, 3 Nov 2002 17:20:12 +0000 (17:20 +0000)]
Add getpreferredencoding. Support @euro modifiers. Fixes #554676.
The @euro part is backported to 2.2.3.
Neal Norwitz [Sun, 3 Nov 2002 13:13:20 +0000 (13:13 +0000)]
Fix SF #632864, Typo string instead of sting in LibDoc. Will backport.
Neal Norwitz [Sun, 3 Nov 2002 02:56:27 +0000 (02:56 +0000)]
Fix SF # 518775, buffer object API description truncated
Neal Norwitz [Sun, 3 Nov 2002 00:35:53 +0000 (00:35 +0000)]
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.
Neal Norwitz [Sun, 3 Nov 2002 00:13:42 +0000 (00:13 +0000)]
Fix SF #618146, overflow error in calendar module
Will backport.
Guido van Rossum [Sat, 2 Nov 2002 22:18:46 +0000 (22:18 +0000)]
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).
Neal Norwitz [Sat, 2 Nov 2002 20:58:05 +0000 (20:58 +0000)]
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.
Neal Norwitz [Sat, 2 Nov 2002 20:43:25 +0000 (20:43 +0000)]
Fix compiler warning on HP-UX.
Cast param to isalnum() to int.
Neal Norwitz [Sat, 2 Nov 2002 19:55:21 +0000 (19:55 +0000)]
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.
Neal Norwitz [Sat, 2 Nov 2002 18:25:08 +0000 (18:25 +0000)]
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)
Neal Norwitz [Sat, 2 Nov 2002 17:46:24 +0000 (17:46 +0000)]
Fix SF #632624, test_resource failure on alpha/64bit
Return PyLongs instead ot PyInts.
On alphas,
9223372036854775807 became -1.
Martin v. Löwis [Sat, 2 Nov 2002 17:42:33 +0000 (17:42 +0000)]
Remove extra argument in mknod. Fixes #632628.
Neal Norwitz [Sat, 2 Nov 2002 16:58:05 +0000 (16:58 +0000)]
Need to quote test for posix_threads on HPUX11
Walter Dörwald [Sat, 2 Nov 2002 13:32:07 +0000 (13:32 +0000)]
Move introductory sentence to where it belongs.
Guido van Rossum [Sat, 2 Nov 2002 06:50:05 +0000 (06:50 +0000)]
Add ESC key binding -- undo current cell editing.
Guido van Rossum [Sat, 2 Nov 2002 06:25:51 +0000 (06:25 +0000)]
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().
Raymond Hettinger [Sat, 2 Nov 2002 02:02:46 +0000 (02:02 +0000)]
Correct erroneous parenthesis placement in the delta from 1.63 to 1.64.
Fred Drake [Fri, 1 Nov 2002 21:33:44 +0000 (21:33 +0000)]
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.
Finn Bock [Fri, 1 Nov 2002 18:02:03 +0000 (18:02 +0000)]
Patch #631972: Adds an is_jython flag.
Fredrik Lundh [Fri, 1 Nov 2002 17:14:16 +0000 (17:14 +0000)]
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)
Finn Bock [Fri, 1 Nov 2002 11:33:00 +0000 (11:33 +0000)]
[SF bug 631713] use the import exeption message in the TestFailed
exception.
Fred Drake [Thu, 31 Oct 2002 21:04:34 +0000 (21:04 +0000)]
Define abstract way to get the normal and smaller font sizes that work
even in the footnote context.
Fred Drake [Thu, 31 Oct 2002 20:46:20 +0000 (20:46 +0000)]
Add a missing % to a Windows-style environment variable expression.
Minor style guide compliance fix.
Several markup fixes.
Greg Ward [Thu, 31 Oct 2002 16:11:18 +0000 (16:11 +0000)]
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.
Thomas Heller [Thu, 31 Oct 2002 14:26:37 +0000 (14:26 +0000)]
Fixes SF bug#614051: win32 build_ext problem.
Andrew M. Kuchling [Thu, 31 Oct 2002 13:39:33 +0000 (13:39 +0000)]
Catch only ImportError
Walter Dörwald [Thu, 31 Oct 2002 13:36:29 +0000 (13:36 +0000)]
Add docstrings to register, lookup, register_error
and lookup_error. This closes SF patch #630622.
Andrew M. Kuchling [Thu, 31 Oct 2002 13:22:41 +0000 (13:22 +0000)]
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.
Fred Drake [Wed, 30 Oct 2002 22:20:27 +0000 (22:20 +0000)]
Add a couple of comments about the use of \normalsize and
\footnotesize.
Fred Drake [Wed, 30 Oct 2002 21:51:18 +0000 (21:51 +0000)]
Still more magical <link> elements.
Fred Drake [Wed, 30 Oct 2002 21:38:32 +0000 (21:38 +0000)]
Hackish way to generate an up-<link> for the title page if we have
one.
Added misc. comments.
Fred Drake [Wed, 30 Oct 2002 21:32:40 +0000 (21:32 +0000)]
More <link> support for generated pages.
Fred Drake [Wed, 30 Oct 2002 21:29:50 +0000 (21:29 +0000)]
Two more <link> elements.
Fred Drake [Wed, 30 Oct 2002 21:17:10 +0000 (21:17 +0000)]
Add some relevant <link> elements.
Andrew M. Kuchling [Wed, 30 Oct 2002 21:08:34 +0000 (21:08 +0000)]
Use personal e-mail address
Fred Drake [Wed, 30 Oct 2002 19:55:23 +0000 (19:55 +0000)]
Minor rearranging.
Fred Drake [Wed, 30 Oct 2002 18:17:03 +0000 (18:17 +0000)]
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.
Fred Drake [Wed, 30 Oct 2002 17:07:02 +0000 (17:07 +0000)]
Sprinkle with --favicon options.
Fred Drake [Wed, 30 Oct 2002 17:05:03 +0000 (17:05 +0000)]
Added support for --favicon.
Fix support for the Aesop Meta Type.
Fred Drake [Wed, 30 Oct 2002 17:02:21 +0000 (17:02 +0000)]
Added support for --favicon.
Fred Drake [Wed, 30 Oct 2002 17:00:58 +0000 (17:00 +0000)]
Add support for using a "favicon".
make_head_and_body(): Re-arranged to do (slightly) less work for each page.
Fred Drake [Wed, 30 Oct 2002 16:54:54 +0000 (16:54 +0000)]
Make use of the new "favicon" image.
Fred Drake [Wed, 30 Oct 2002 16:54:12 +0000 (16:54 +0000)]
Added "favicon" image.
Raymond Hettinger [Wed, 30 Oct 2002 06:20:37 +0000 (06:20 +0000)]
Added missing class to __all__.
Raymond Hettinger [Wed, 30 Oct 2002 06:15:53 +0000 (06:15 +0000)]
Added __all__.
Raymond Hettinger [Wed, 30 Oct 2002 06:09:58 +0000 (06:09 +0000)]
Added missing names to __all__.
Raymond Hettinger [Wed, 30 Oct 2002 05:44:50 +0000 (05:44 +0000)]
Added new move() function to __all__.
Tim Peters [Wed, 30 Oct 2002 05:21:00 +0000 (05:21 +0000)]
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.
Raymond Hettinger [Wed, 30 Oct 2002 05:17:22 +0000 (05:17 +0000)]
Patrick K. O'Brien notices that kwlist was missing from __all__.
Added because it is part of the documented interface.
Jack Jansen [Tue, 29 Oct 2002 22:48:43 +0000 (22:48 +0000)]
Forward port of 1.12.14.3 (which has an incorrect log message):
if SetDates() in touched() returns an error ignore it: the user may not have
permission to change the parent folder. This is a non-serious problem,
the only function of touched() is to speed up the finder seeing the
change.
Guido van Rossum [Tue, 29 Oct 2002 19:08:29 +0000 (19:08 +0000)]
Added test for this fix to classobject.c:
Since properties are supported here, is possible that
instance_getattr2() raises an exception. Fix all code that made this
assumption.
Backport candidate.
Guido van Rossum [Tue, 29 Oct 2002 18:36:40 +0000 (18:36 +0000)]
Since properties are supported here, is possible that
instance_getattr2() raises an exception. Fix all code that made this
assumption.
Backport candidate.
Martin v. Löwis [Tue, 29 Oct 2002 10:07:43 +0000 (10:07 +0000)]
Patch #629426: Eliminate more autoconf warnings. Use AC_HELP_STRING.
Fred Drake [Mon, 28 Oct 2002 19:28:22 +0000 (19:28 +0000)]
Chapter titles that get split over multiple lines in the typeset
formats can't have whitespace after the last non-blank character (bug
in LaTeX?); fix up a couple of instances of this.
Update an email address.
Fred Drake [Mon, 28 Oct 2002 18:09:41 +0000 (18:09 +0000)]
Minor simplification.
Fred Drake [Mon, 28 Oct 2002 17:59:24 +0000 (17:59 +0000)]
Remove unnecessary output file.
Fred Drake [Mon, 28 Oct 2002 17:58:48 +0000 (17:58 +0000)]
Add a test of interaction between & and extra replacements.
Remove extra noise from the output when there are no errors, and say more
in the exception when there are errors.
Fred Drake [Mon, 28 Oct 2002 17:46:59 +0000 (17:46 +0000)]
Really do replacement of & last to avoid bad interactions between &
replacement and replacements based on the entities parameter.
Fred Drake [Mon, 28 Oct 2002 17:29:01 +0000 (17:29 +0000)]
Avoid calling __dict_replace() if we don't need to -- the call is much
more expensive than just doing to work needed, and these things seem
to always turn into a bottleneck eventually.
Guido van Rossum [Mon, 28 Oct 2002 01:07:02 +0000 (01:07 +0000)]
Oops, committed this in the wrong place.
Guido van Rossum [Mon, 28 Oct 2002 01:06:37 +0000 (01:06 +0000)]
Spreadsheet demo that I used in the advanced talk at Linux Lunacy II.
Guido van Rossum [Sun, 27 Oct 2002 22:48:56 +0000 (22:48 +0000)]
Beginnings of a spreadsheet I used as an example on Linux Lunacy II.
Skip Montanaro [Sun, 27 Oct 2002 01:59:21 +0000 (01:59 +0000)]
Change PyOS_Readline declaration to match the recent change to myreadline.c
(see Patch 512981). I changed stdin to sys_stdin in the body of the
function, but did not change stderr to sys_stdout, though I suspect that may
be the correct course. I don't know the code involved well enough to judge.
Martin v. Löwis [Sat, 26 Oct 2002 15:01:53 +0000 (15:01 +0000)]
Patch #627105: Document that SYSTEM_PAGE_SIZE really should not be
larger than the system page size.
Martin v. Löwis [Sat, 26 Oct 2002 14:50:45 +0000 (14:50 +0000)]
Patch #613256: Add nescape method to xml.sax.saxutils.
Martin v. Löwis [Sat, 26 Oct 2002 14:43:07 +0000 (14:43 +0000)]
Add Daniel Stutzbach, for #512981.
Martin v. Löwis [Sat, 26 Oct 2002 14:42:02 +0000 (14:42 +0000)]
Document patch #512981.
Martin v. Löwis [Sat, 26 Oct 2002 14:39:10 +0000 (14:39 +0000)]
Patch #512981: Update readline input stream on sys.stdin/out change.
Martin v. Löwis [Sat, 26 Oct 2002 13:47:44 +0000 (13:47 +0000)]
Patch #623771: Properly use autoconf 2.5x macros.
Martin v. Löwis [Sat, 26 Oct 2002 13:36:13 +0000 (13:36 +0000)]
Remove duplicate definitions of _XOPEN_SOURCE_EXTENDED.
Martin v. Löwis [Sat, 26 Oct 2002 13:33:00 +0000 (13:33 +0000)]
Patch #628898: Define _XOPEN_SOURCE_EXTENDED and _POSIX_C_SOURCE.
Raymond Hettinger [Sat, 26 Oct 2002 03:13:57 +0000 (03:13 +0000)]
Clarify packages in tutorial. Closes SF bug #616211.
Fred Drake [Fri, 25 Oct 2002 21:52:00 +0000 (21:52 +0000)]
Implement a safer and more predictable interpolation approach.
Closes SF bug #511737.
Fred Drake [Fri, 25 Oct 2002 20:42:44 +0000 (20:42 +0000)]
Add tests for both raw and non-raw versions of the items() methods.
Fred Drake [Fri, 25 Oct 2002 20:41:30 +0000 (20:41 +0000)]
According to the docs, __name__ is not exposed via the API except
indirectly via %(__name__)s. Not sure why, but maintain the
documented behavior for the new items() method.
Be a little more efficient about how we compute the list of options in
the ConfigParser.items() method.
Fred Drake [Fri, 25 Oct 2002 20:20:58 +0000 (20:20 +0000)]
Update to reflect the refactoring into the RawConfigParser and
ConfigParser classes.
Jack Jansen [Fri, 25 Oct 2002 20:06:29 +0000 (20:06 +0000)]
Under Jaguar it seems that 'errn' return value keyword parameters don't
(or don't always?) show up with missed(). I think this is a bug in
Jaguar, but as it is a potential dangerous problem (the OSA event has
failed, but the Python code isn't told about this and happily continues)
this is a quick workaround.
Bugfix candidate, I'll add it to 2.2.2 as a last second fix.