]> granicus.if.org Git - python/log
python
24 years ago* Remove exc_info() kludge -- it actually messed up the Jython output
Steve Purcell [Mon, 9 Apr 2001 15:37:31 +0000 (15:37 +0000)]
* Remove exc_info() kludge -- it actually messed up the Jython output
* Fixed TestLoader.loadTestsFromName() for nested packages
* Corrected the command-line usage summary

24 years agoFixing Itamar's name, as per his request.
Moshe Zadka [Mon, 9 Apr 2001 15:23:46 +0000 (15:23 +0000)]
Fixing Itamar's name, as per his request.

24 years agofixing 408085 - redirect from https becomes http
Moshe Zadka [Mon, 9 Apr 2001 14:54:21 +0000 (14:54 +0000)]
fixing 408085 - redirect from https becomes http
Even though relative redirects are illegal, they are common
urllib treated every relative redirect as though it was to http,
even if the original was https://
As long as we're compensating for server bugs, might as well do
it properly.

24 years agoAdd two arguments to Scope constructor, module scope and class name
Jeremy Hylton [Mon, 9 Apr 2001 13:57:32 +0000 (13:57 +0000)]
Add two arguments to Scope constructor, module scope and class name
Add mangling support
Add get_children() and add_child() methods to Scope
Skip nodes when If test is a false constant
Add test code that checks results against symtable module

24 years agoAdd preliminary module symbol table constructor
Jeremy Hylton [Mon, 9 Apr 2001 04:35:35 +0000 (04:35 +0000)]
Add preliminary module symbol table constructor

24 years agoremove global decl about unused variable
Jeremy Hylton [Mon, 9 Apr 2001 04:31:50 +0000 (04:31 +0000)]
remove global decl about unused variable

24 years agoAdd support for future statements
Jeremy Hylton [Mon, 9 Apr 2001 04:28:48 +0000 (04:28 +0000)]
Add support for future statements

24 years agoFix "import as" (has always skipping the as name)
Jeremy Hylton [Mon, 9 Apr 2001 04:27:12 +0000 (04:27 +0000)]
Fix "import as" (has always skipping the as name)
Fix com_NEWLINE() so that is accepts arguments, which occurs for lines like:
    stmt; # note trailing semicolon
Add XXX about checking for assignment to list comps

24 years agotypo
Jeremy Hylton [Mon, 9 Apr 2001 04:23:55 +0000 (04:23 +0000)]
typo

24 years agoRepair portability of sign extension when reading signed ints on boxes
Tim Peters [Sun, 8 Apr 2001 23:39:38 +0000 (23:39 +0000)]
Repair portability of sign extension when reading signed ints on boxes
where sizeof(long)==8.  This *was* broken on boxes where signed right
shifts didn't sign-extend, but not elsewhere.  Unfortunately, apart
from the Cray T3E I don't know of such a box, and Guido has so far
refused to buy me any Cray machines for home Python testing <wink>.

More immediately interesting would be if someone could please test
this on *any* sizeof(long)==8 box, to make sure I didn't break it.

24 years agoMake it clear that a bdb subclass must implement do_clear().
Guido van Rossum [Sun, 8 Apr 2001 15:05:16 +0000 (15:05 +0000)]
Make it clear that a bdb subclass must implement do_clear().

This was found by Neal Norwitz's PyChecker.

24 years agoWhitespace normalization.
Tim Peters [Sun, 8 Apr 2001 07:44:07 +0000 (07:44 +0000)]
Whitespace normalization.

24 years agoFix from the Madusa mailing list:
Tim Peters [Sun, 8 Apr 2001 07:23:44 +0000 (07:23 +0000)]
Fix from the Madusa mailing list:
    http://groups.yahoo.com/group/medusa/message/333

It's clear that Medusa should not be checking for an empty buffer
via "buf is ''".  The patch merely changes "is" to "==".  However,
there's a mystery here all the same:  Python attempts to store null
strings uniquely, so it's unclear why "buf is ''" ever returned
false when buf actually was empty.  *Some* string operations produce
non-unique null strings, e.g.

>>> "abc"*0 is "abc"*0
0
>>>

but they're rare, and I don't see any such operations in asynchat.

24 years agoRemove useless imports, as reported by PyChecker.
Tim Peters [Sun, 8 Apr 2001 00:43:13 +0000 (00:43 +0000)]
Remove useless imports, as reported by PyChecker.

24 years agoGet rid of useless string import, as reported by Neal Norwitz's PyChecker.py
Tim Peters [Sun, 8 Apr 2001 00:38:42 +0000 (00:38 +0000)]
Get rid of useless string import, as reported by Neal Norwitz's PyChecker.py
on c.l.py.

24 years agoSF patch #413552 - Premature decref on object
Tim Peters [Sat, 7 Apr 2001 20:34:48 +0000 (20:34 +0000)]
SF patch #413552 - Premature decref on object
Jeffery Collins pointed out that filterstring decrefs a character object
before it's done using it.  This works by accident today because another
module always happens to have an active reference too at the time.  The
accident doesn't work after his Pippy modifications, and since it *is*
an accident even in the mainline Python, it should work by design there too.
The patch accomplishes that.

24 years agoCorrect the documentation for getreadbufferproc and getwritebufferproc.
Greg Stein [Sat, 7 Apr 2001 16:14:49 +0000 (16:14 +0000)]
Correct the documentation for getreadbufferproc and getwritebufferproc.

Fixes bug #233308 from Travis Oliphant.

24 years agoAdd an uninstall method to the ImportManager.
Greg Stein [Sat, 7 Apr 2001 16:05:24 +0000 (16:05 +0000)]
Add an uninstall method to the ImportManager.

This is the accepted portion of patch #402498.

24 years agoFinally merged morefindertools into findertools.
Jack Jansen [Sat, 7 Apr 2001 12:53:45 +0000 (12:53 +0000)]
Finally merged morefindertools into findertools.

24 years agoAdd entry for unittest documentation.
Fred Drake [Sat, 7 Apr 2001 05:42:14 +0000 (05:42 +0000)]
Add entry for unittest documentation.

24 years agoStart of documentation for the unittest module. Some of this comes from
Fred Drake [Sat, 7 Apr 2001 05:41:39 +0000 (05:41 +0000)]
Start of documentation for the unittest module.  Some of this comes from
Steve Purcell's documentation, and a lot of it is written based on
using PyUnit and reading the implementation.

There is more to come, but I want to get this check in before I have a
disk crash or anything else bad happens.

24 years agoSince Guido fiddled Cookie.py to work with doctest, it's a Good Thing to
Tim Peters [Fri, 6 Apr 2001 21:20:58 +0000 (21:20 +0000)]
Since Guido fiddled Cookie.py to work with doctest, it's a Good Thing to
have the std test suite exercise the Cookie doctests too.

24 years agoSince this module already uses doctest-style examples, I figured I'd
Guido van Rossum [Fri, 6 Apr 2001 19:39:11 +0000 (19:39 +0000)]
Since this module already uses doctest-style examples, I figured I'd
add a self-test using doctest.  Results:

- The docstring needs to be a raw string because it uses \"...\".

- The oreo example was broken: the Set-Cookie output doesn't add
  quotes around "doublestuff".

- I had to change the example that prints the class of a Cookie.Cookie
  instance to avoid incorporating an arbitrary object address in the
  test output.

Pretty good score for both doctest and the doc string, I'd say!

24 years agoRemove lines for asynchat & asyncore, as they've now got their own test.
Tim Peters [Fri, 6 Apr 2001 18:59:17 +0000 (18:59 +0000)]
Remove lines for asynchat & asyncore, as they've now got their own test.

24 years agoAfter testing the test on Unix, several improvements:
Guido van Rossum [Fri, 6 Apr 2001 16:43:49 +0000 (16:43 +0000)]
After testing the test on Unix, several improvements:

- Use push() instead of send(), and make these calls in main().

- Sleep a second to give the server thread time to initialize itself.

24 years agoAdd test for asynchat. This also tests asyncore.
Guido van Rossum [Fri, 6 Apr 2001 16:32:22 +0000 (16:32 +0000)]
Add test for asynchat.  This also tests asyncore.

24 years agoMake the docstring a raw string, for pydoc.
Guido van Rossum [Fri, 6 Apr 2001 15:30:33 +0000 (15:30 +0000)]
Make the docstring a raw string, for pydoc.
(How many opre of these will we need? :-( )

24 years agoAdded a note about Help and ctb missing in carbon.
Jack Jansen [Fri, 6 Apr 2001 09:02:43 +0000 (09:02 +0000)]
Added a note about Help and ctb missing in carbon.

24 years agoVersion 1.2 by Christopher Stern.
Jack Jansen [Fri, 6 Apr 2001 08:34:55 +0000 (08:34 +0000)]
Version 1.2 by Christopher Stern.

24 years agoFix the fix (my error -- hasty pasty).
Tim Peters [Thu, 5 Apr 2001 22:38:32 +0000 (22:38 +0000)]
Fix the fix (my error -- hasty pasty).

24 years agoOne-liner critical fix from Jim Fulton: Eric's string-method crusade
Tim Peters [Thu, 5 Apr 2001 22:26:23 +0000 (22:26 +0000)]
One-liner critical fix from Jim Fulton:  Eric's string-method crusade
got the order backwards in a line (for .find()).

24 years agoChange {\em ...} to \emph{...} for consistency with the rest of the Python
Fred Drake [Thu, 5 Apr 2001 18:31:27 +0000 (18:31 +0000)]
Change {\em ...} to \emph{...} for consistency with the rest of the Python
documentation.

24 years agoAdd some information about what to expect of the DocumentType's
Fred Drake [Thu, 5 Apr 2001 18:30:04 +0000 (18:30 +0000)]
Add some information about what to expect of the DocumentType's
.internalSubset attribute based on a clarification from the www-dom
list.

24 years agoEffectively revert the previous change: leave the new #include in, but
Fred Drake [Thu, 5 Apr 2001 18:26:31 +0000 (18:26 +0000)]
Effectively revert the previous change:  leave the new #include in, but
comment it out with an explanation.  This makes it easier for someone
who wants the additional symbols to try re-enabling it for their platform.

24 years agoAdded more link attributes based on additonal information from Chris
Fred Drake [Thu, 5 Apr 2001 18:14:50 +0000 (18:14 +0000)]
Added more link attributes based on additonal information from Chris
McCafferty <christopher.mccafferty@csg.ch>, and a bit of experimentation
with Navigator 4.7.

HTML-as-deployed is evil!

24 years agoBug #412086, reported by Peter Wilson: The _curses module doesn't
Andrew M. Kuchling [Thu, 5 Apr 2001 16:08:41 +0000 (16:08 +0000)]
Bug #412086, reported by Peter Wilson: The _curses module doesn't
    define COLORS or COLOR_PAIRS until after start_color() is called,
    but they were never added to the curses module.  Fixed by adding
    a wrapper around start_color(), similar to the wrapper around initscr().

24 years agoPatch #413912 from Steve Majewski: Add .m to the list of extensions
Andrew M. Kuchling [Thu, 5 Apr 2001 15:46:48 +0000 (15:46 +0000)]
Patch #413912 from Steve Majewski: Add .m to the list of extensions
    in order to support Objective-C.

24 years agoMention pydoc in the man page
Andrew M. Kuchling [Thu, 5 Apr 2001 14:50:40 +0000 (14:50 +0000)]
Mention pydoc in the man page

24 years agoCorrected default value of the DocumentType.internalSubset attribute based
Fred Drake [Thu, 5 Apr 2001 14:41:30 +0000 (14:41 +0000)]
Corrected default value of the DocumentType.internalSubset attribute based
on a clarification sent to the www-dom list.

24 years agoAdd an #include of sys/ioctl.h to pick up a lot of the constants supported
Fred Drake [Wed, 4 Apr 2001 21:19:26 +0000 (21:19 +0000)]
Add an #include of sys/ioctl.h to pick up a lot of the constants supported
in the previous patch.

This closes (again!) SF patch #410267.

24 years agoSf bug [ #412214 ] ZipFile constructor leaves files open.
Tim Peters [Wed, 4 Apr 2001 18:56:49 +0000 (18:56 +0000)]
Sf bug [ #412214 ] ZipFile constructor leaves files open.
This applies the patch Fred Drake created to fix it.
I'm checking it in since I had to apply the patch anyway in order
to test its behavior on Windows.

24 years agoSF patch [ #413750 ] Cygwin entry for README file, from Jason Tishler.
Tim Peters [Wed, 4 Apr 2001 18:35:19 +0000 (18:35 +0000)]
SF patch [ #413750 ] Cygwin entry for README file, from Jason Tishler.

24 years agoA number of improvements based on a discussion with Chris McCafferty
Fred Drake [Wed, 4 Apr 2001 17:47:25 +0000 (17:47 +0000)]
A number of improvements based on a discussion with Chris McCafferty
<christopher.mccafferty@csg.ch>:

Add javascript: and telnet: to the types of URLs we ignore.

Add support for several additional URL-valued attributes on the BODY,
FRAME, IFRAME, LINK, OBJECT, and SCRIPT elements.

24 years agoCharacterData methods: Update self.length on changes instead of extended
Fred Drake [Wed, 4 Apr 2001 15:15:18 +0000 (15:15 +0000)]
CharacterData methods:  Update self.length on changes instead of extended
    the __getattr__() handler.

Text.splitText():  Update the length and nodeValue attributes.

24 years agoAdd support for the CharacterData methods, CDATASection.
Fred Drake [Wed, 4 Apr 2001 14:09:46 +0000 (14:09 +0000)]
Add support for the CharacterData methods, CDATASection.

24 years agoDocument PySequence_Size(), and describe PySequence_Length() as simply an
Fred Drake [Wed, 4 Apr 2001 01:25:17 +0000 (01:25 +0000)]
Document PySequence_Size(), and describe PySequence_Length() as simply an
alternate name for the same function.

24 years agoDisable fused-add-mul instructions. They give a nonstandard result for some things...
Jack Jansen [Tue, 3 Apr 2001 21:56:12 +0000 (21:56 +0000)]
Disable fused-add-mul instructions. They give a nonstandard result for some things that test_coercion complains about. The added performance is probably minimal for Python anyway.

24 years agoMake reference to the Library Reference in the "What Now?" chapter a
Fred Drake [Tue, 3 Apr 2001 17:41:56 +0000 (17:41 +0000)]
Make reference to the Library Reference in the "What Now?" chapter a
hyperlink.

Fix two English usage errors caught by Jan Wells:  Changed "subsequence"
to "sub-sequence" in two places, and avoid improper use of "hopefully" in
the first paragraph of the "What Now?" chapter.

24 years agoIf the frontmost window is not a Tk window exit the event handling code early. This...
Jack Jansen [Tue, 3 Apr 2001 14:36:35 +0000 (14:36 +0000)]
If the frontmost window is not a Tk window exit the event handling code early. This fixes that using Tk once used to disable cmd-. processing. It may also influence Tk/IDE interaction, I'm not sure.

24 years agoSF bug [#410708] Condition.wait() and KeyboardInterrupt.
Tim Peters [Mon, 2 Apr 2001 20:15:57 +0000 (20:15 +0000)]
SF bug [#410708] Condition.wait() and KeyboardInterrupt.
http://sourceforge.net/tracker/?func=detail&aid=410708&group_id=5470&atid=105470
Added try/finally around Condition.wait() guts, so that the lock state gets
restored at the end no matter what happens.

24 years agoApplying SF patch #412553 by Christopher Lee: fix linuxaudiodev
Guido van Rossum [Mon, 2 Apr 2001 17:59:02 +0000 (17:59 +0000)]
Applying SF patch #412553 by Christopher Lee: fix linuxaudiodev
handling of EAGAIN.

This may or may not fix the problem for me (Mandrake 7.2 on a Dell
Optiplex GX110 desktop): I can't hear the output, but it does pass the
test now.  It doesn't fix the problem for Fred (Mandrake 7.2 on a Dell
Inspiron 7500 which has the Maestro sound drivers).  Fred suspects
that it's the kernel version in combination with the driver.

24 years agoInitialize Attr.value with empty string in createAttribute*, as per DOM
Martin v. Löwis [Sat, 31 Mar 2001 16:30:40 +0000 (16:30 +0000)]
Initialize Attr.value with empty string in createAttribute*, as per DOM
spec. Closes bug #412036.
Also reindent toprettyxml.

24 years agoRemove the backed-out version requirement
Andrew M. Kuchling [Sat, 31 Mar 2001 02:42:42 +0000 (02:42 +0000)]
Remove the backed-out version requirement

24 years agoBack out the requirement to supply a version number
Andrew M. Kuchling [Sat, 31 Mar 2001 02:41:01 +0000 (02:41 +0000)]
Back out the requirement to supply a version number

24 years agoFixes a fatal bug when the module has computed alternatives containing %s.
Eric S. Raymond [Sat, 31 Mar 2001 01:50:52 +0000 (01:50 +0000)]
Fixes a fatal bug when the module has computed alternatives containing %s.

24 years ago"install -d" does not work on BSDI systems even though autoconf thinks
Neil Schemenauer [Sat, 31 Mar 2001 00:01:55 +0000 (00:01 +0000)]
"install -d" does not work on BSDI systems even though autoconf thinks
install works on that system.   Use "install-sh" on BSDI.

24 years agoAllow the <author/> element to appear before a paragraph without being
Fred Drake [Thu, 29 Mar 2001 23:31:22 +0000 (23:31 +0000)]
Allow the <author/> element to appear before a paragraph without being
made a part of the paragraph.

24 years agoAdd entry for curses.panel documentation.
Fred Drake [Thu, 29 Mar 2001 22:23:19 +0000 (22:23 +0000)]
Add entry for curses.panel documentation.

24 years agoFix serious markup errors.
Fred Drake [Thu, 29 Mar 2001 22:22:23 +0000 (22:22 +0000)]
Fix serious markup errors.

24 years agoRemove the spurious space of uncertain origin from the output for function,
Fred Drake [Thu, 29 Mar 2001 18:24:08 +0000 (18:24 +0000)]
Remove the spurious space of uncertain origin from the output for function,
method and constructor signatures.  Suggested by Peter Funk on the Doc-SIG
mailing list.

24 years agoOn OSX show a dialog explaining that ConfigurePythonCarbon launch will probably fail...
Jack Jansen [Thu, 29 Mar 2001 13:54:23 +0000 (13:54 +0000)]
On OSX show a dialog explaining that ConfigurePythonCarbon launch will probably fail. This turns out to be a VISE 7.1.1 problem, probably.

24 years agoOn OSX always copy PythonCore. It turns out an orphaned alias in /Library/CFMSupport...
Jack Jansen [Thu, 29 Mar 2001 13:53:19 +0000 (13:53 +0000)]
On OSX always copy PythonCore. It turns out an orphaned alias in /Library/CFMSupport (happens when you remove python and aliased pythoncore) wreaks havoc with the system.

24 years agoChanged some of the dialogs to be a little clearer.
Jack Jansen [Thu, 29 Mar 2001 13:52:16 +0000 (13:52 +0000)]
Changed some of the dialogs to be a little clearer.

24 years agoWhitespace normalization.
Tim Peters [Thu, 29 Mar 2001 04:36:09 +0000 (04:36 +0000)]
Whitespace normalization.

24 years agoInitialize new save_warnings_filters data member in ModifiedInterpreter.__init__.
Tim Peters [Thu, 29 Mar 2001 03:34:43 +0000 (03:34 +0000)]
Initialize new save_warnings_filters data member in ModifiedInterpreter.__init__.
Was getting mystery
    ModifiedInterpreter instance has no attribute 'save_warnings_filters'
errors at odd times (for sure in a fresh IDLE, fresh file, then Run Script).

24 years agoAdded example use of weak references, contributed by Tim Peters.
Fred Drake [Wed, 28 Mar 2001 21:15:41 +0000 (21:15 +0000)]
Added example use of weak references, contributed by Tim Peters.

24 years agoAdded documentation for PyObject_IsInstance() and PyObject_IsSubclass().
Fred Drake [Wed, 28 Mar 2001 21:14:32 +0000 (21:14 +0000)]
Added documentation for PyObject_IsInstance() and PyObject_IsSubclass().

24 years agoDon't show finder-delay-warning on OSX. Untested.
Jack Jansen [Wed, 28 Mar 2001 20:33:24 +0000 (20:33 +0000)]
Don't show finder-delay-warning on OSX. Untested.

24 years agoTypo: "ariables" --> "variables"
Fred Drake [Wed, 28 Mar 2001 16:55:53 +0000 (16:55 +0000)]
Typo:  "ariables" --> "variables"
This fixes SF bug #411118.

24 years agoFix a number of small issues; this closes SF bug #411063.
Fred Drake [Wed, 28 Mar 2001 16:51:20 +0000 (16:51 +0000)]
Fix a number of small issues; this closes SF bug #411063.

24 years agoBased on info from Jens@digicool.com, add 'darwin1' to the list of
Guido van Rossum [Wed, 28 Mar 2001 01:14:56 +0000 (01:14 +0000)]
Based on info from Jens@digicool.com, add 'darwin1' to the list of
BSD-style OS'es.  Makes sense, really.

24 years agoUpdated for 2.1b2 distribution.
Jack Jansen [Tue, 27 Mar 2001 21:38:55 +0000 (21:38 +0000)]
Updated for 2.1b2 distribution.

24 years agoArghh. Fix typo.
Martin v. Löwis [Tue, 27 Mar 2001 21:38:15 +0000 (21:38 +0000)]
Arghh. Fix typo.

24 years agoAdded a note about BBPy.lm.
Jack Jansen [Tue, 27 Mar 2001 21:37:06 +0000 (21:37 +0000)]
Added a note about BBPy.lm.

24 years agoAdded a note about the new (since 2.0) OSA architecture.
Jack Jansen [Tue, 27 Mar 2001 21:34:31 +0000 (21:34 +0000)]
Added a note about the new (since 2.0) OSA architecture.

24 years agoOops, ISO translation was off. Fixed.
Jack Jansen [Tue, 27 Mar 2001 21:32:34 +0000 (21:32 +0000)]
Oops, ISO translation was off. Fixed.

24 years agoAdd Robin Thomas (author of the slice() comparability hack).
Guido van Rossum [Tue, 27 Mar 2001 17:04:37 +0000 (17:04 +0000)]
Add Robin Thomas (author of the slice() comparability hack).

24 years agoUse Guido's trick for always extracting the version number from a
Martin v. Löwis [Tue, 27 Mar 2001 08:42:12 +0000 (08:42 +0000)]
Use Guido's trick for always extracting the version number from a
CVS Revision string correctly, even under -kv.

24 years agoFix some reloading problems (still more work needed).
Ka-Ping Yee [Tue, 27 Mar 2001 08:13:42 +0000 (08:13 +0000)]
Fix some reloading problems (still more work needed).
Add hyperlinks to PEPs at http://www.python.org/peps/pep-%04d.html
Remove script directory (dirname of sys.argv[0]) from sys.path.

24 years agoDisable fused-add-mul instructions. They give a nonstandard result for some things...
Jack Jansen [Mon, 26 Mar 2001 20:03:30 +0000 (20:03 +0000)]
Disable fused-add-mul instructions. They give a nonstandard result for some things that test_coercion complains about. The added performance is probably minimal for Python anyway.

24 years agoBug fix: compile() called from a nested-scopes-enable Python was not
Jeremy Hylton [Mon, 26 Mar 2001 19:53:38 +0000 (19:53 +0000)]
Bug fix: compile() called from a nested-scopes-enable Python was not
using nested scopes to compile its argument.  Pass compiler flags
through to underlying compile call.

24 years agoTurn SyntasWarning into SyntaxError for all code entered
Guido van Rossum [Mon, 26 Mar 2001 17:41:35 +0000 (17:41 +0000)]
Turn SyntasWarning into SyntaxError for all code entered
interactively.

24 years agoMichael Hudson <mwh21@cam.ac.uk>:
Fred Drake [Mon, 26 Mar 2001 17:14:02 +0000 (17:14 +0000)]
Michael Hudson <mwh21@cam.ac.uk>:
Add many more constants for some systems.

This closes SF patch #410267.

24 years agoAdd a note that the "kfm" controller supports "konqueror" as well as the
Fred Drake [Mon, 26 Mar 2001 16:17:21 +0000 (16:17 +0000)]
Add a note that the "kfm" controller supports "konqueror" as well as the
old KDE 1 "kfm" command.

24 years agoItamar Shtull-Trauring <itamar@maxnm.com>:
Fred Drake [Mon, 26 Mar 2001 15:49:24 +0000 (15:49 +0000)]
Itamar Shtull-Trauring <itamar@maxnm.com>:
Add support to zipfile to support opening an archive represented by an
open file rather than a file name.

24 years agoUpdate auto-detection for Konqueror to include KDE 2 -- the kfm command is
Fred Drake [Mon, 26 Mar 2001 15:06:15 +0000 (15:06 +0000)]
Update auto-detection for Konqueror to include KDE 2 -- the kfm command is
gone; "konqueror" is the new name, and the command-line args are different.
kfmclient has not changed, though.

24 years agoNote missing explanation
Andrew M. Kuchling [Mon, 26 Mar 2001 13:34:53 +0000 (13:34 +0000)]
Note missing explanation

24 years agoFixed some access paths.
Jack Jansen [Mon, 26 Mar 2001 08:37:28 +0000 (08:37 +0000)]
Fixed some access paths.

24 years agoFixed ref count bug. Patch #411191. Found by Walter Dörwald.
Marc-André Lemburg [Sun, 25 Mar 2001 19:16:13 +0000 (19:16 +0000)]
Fixed ref count bug. Patch #411191. Found by Walter Dörwald.

24 years agoget_version_string(): New function -- returns a Python string object that
Fred Drake [Sat, 24 Mar 2001 19:58:26 +0000 (19:58 +0000)]
get_version_string():  New function -- returns a Python string object that
    gives the CVS revision of this file even if it does not include the
    extra RCS "$Revision: " cruft.

initpyexpat():  Use get_version_string() instead of hard-coding magic
    indexes into the RCS string (which may be affected by export options).

24 years agoDocument use_rawinput. (Although now that I think more about it, a
Guido van Rossum [Sat, 24 Mar 2001 19:17:35 +0000 (19:17 +0000)]
Document use_rawinput.  (Although now that I think more about it, a
better solution would have been to factor out the raw_input() call and
make it into an overridable method.  Oh well, maybe later...)

24 years agoThis commit was manufactured by cvs2svn to create tag 'r21b2'. v2.1b2
cvs2svn [Fri, 23 Mar 2001 20:24:07 +0000 (20:24 +0000)]
This commit was manufactured by cvs2svn to create tag 'r21b2'.

24 years agomain(): Application of SF patch #405851, which allows this test to be
Barry Warsaw [Fri, 23 Mar 2001 20:24:07 +0000 (20:24 +0000)]
main(): Application of SF patch #405851, which allows this test to be
used by Jython.  The tests in this module expect C locale, so be
explicit about setting that (for CPython).  However, in Jython, there
is no C locale, so instead be explicit about setting the US locale.
Closes the patch.

24 years agopydoc changed overnight in such a way that it no longer worked from the
Tim Peters [Fri, 23 Mar 2001 20:21:29 +0000 (20:21 +0000)]
pydoc changed overnight in such a way that it no longer worked from the
Windows start-menu item.  This recovers from that.

24 years agoFix a memory leak -- there's no need to INCREF() the result of
Guido van Rossum [Fri, 23 Mar 2001 18:30:19 +0000 (18:30 +0000)]
Fix a memory leak -- there's no need to INCREF() the result of
newreadlinesobject() in xreadlines().

24 years agoIn Jython, `@' is not allowed in module names. Extend the TESTFN test
Barry Warsaw [Fri, 23 Mar 2001 18:04:02 +0000 (18:04 +0000)]
In Jython, `@' is not allowed in module names.  Extend the TESTFN test
to use "$test" when in Jython.  Closes SF patch #403668.

24 years agoFinishing touch to Ping's changes. This is a patch that Ping sent me
Guido van Rossum [Fri, 23 Mar 2001 17:54:43 +0000 (17:54 +0000)]
Finishing touch to Ping's changes.  This is a patch that Ping sent me
but apparently he had to go to school, so I am checking it in for him.

This makes PyRun_HandleSystemExit() a static instead, called
handle_system_exit(), and let it use the current exception rather than
passing in an exception.  This slightly simplifies the code.

24 years agoTwo minor changes for better Jython compatibility. Finn Bock says:
Barry Warsaw [Fri, 23 Mar 2001 17:53:49 +0000 (17:53 +0000)]
Two minor changes for better Jython compatibility.  Finn Bock says:

    Change 1: Not all 'modules' in sys.modules have a
    sensible __file__ attribute. Some of our java package
    can have the __file__ attribute set to None.

    Change 2: In jython we have the jython license file in
    <root> and the CPython license file in <root>/Lib. By
    reversing the search sequence jython will find and
    show the jython license file before the CPython file.

Closes SF patch #405853.

24 years agoUpdate Mac OS X platform notes.
Fred Drake [Fri, 23 Mar 2001 17:51:37 +0000 (17:51 +0000)]
Update Mac OS X platform notes.

This closes SF bug #406191.

24 years agoStrengthen the constraints on calling PyObject_GC_Fini().
Fred Drake [Fri, 23 Mar 2001 17:42:09 +0000 (17:42 +0000)]
Strengthen the constraints on calling PyObject_GC_Fini().