]> granicus.if.org Git - python/log
python
22 years agobrief help file for people editing Misc/NEWS
Skip Montanaro [Fri, 20 Sep 2002 17:08:37 +0000 (17:08 +0000)]
brief help file for people editing Misc/NEWS

22 years agoReST-ification of the NEWS file. While the total number of changes are
Skip Montanaro [Fri, 20 Sep 2002 14:16:59 +0000 (14:16 +0000)]
ReST-ification of the NEWS file.  While the total number of changes are
fairly large, most are caused by reformatting section and subsection
headings.  The changes fall into the following categories:

    * reformatted section and subsection headers.

    * escaped isolated asterisks which would be interpreted as starting bold
      or italic text (e.g. "void (*)(PyObject \*)").

    * quoted stuff that looks like internal references but isn't
      (e.g. ``PyCmp_``).

    * changed visually balanced quotes to just use apostrophes
      (e.g. "'string'" instead of "`string'").

    * introduced and indenting multiline chunks of code.

    * created one table (search for "New codecs").

22 years agoFiddle comments and variable names in whichmodule().
Jeremy Hylton [Thu, 19 Sep 2002 23:00:12 +0000 (23:00 +0000)]
Fiddle comments and variable names in whichmodule().

22 years agowhichmodule() should skip dummy package entries in sys.modules.
Jeremy Hylton [Thu, 19 Sep 2002 22:57:26 +0000 (22:57 +0000)]
whichmodule() should skip dummy package entries in sys.modules.

This fixes the charming, but unhelpful error message for
>>> pickle.dumps(type.__new__)
Can't pickle <built-in method __new__ of type object at 0x812a440>: it's not the same object as datetime.math.__new__

Bugfix candidate.

22 years agoSF Bug #611225.
Kurt B. Kaiser [Thu, 19 Sep 2002 19:54:55 +0000 (19:54 +0000)]
SF Bug #611225.
Bring idle.pyw into alignment with idle.py, eliminate calling deleted
module IdleConf.py

22 years agoFix a problem in site.py which triggers in case sys.path is empty.
Marc-André Lemburg [Thu, 19 Sep 2002 11:11:27 +0000 (11:11 +0000)]
Fix a problem in site.py which triggers in case sys.path is empty.

Bugfix candidate for 2.2.2.

22 years agoPatch #484994: Improve PanedWindow.
Martin v. Löwis [Thu, 19 Sep 2002 08:12:55 +0000 (08:12 +0000)]
Patch #484994: Improve PanedWindow.

22 years agoPatch #608999: Fix portability problems with MIPSPro 7.x
Martin v. Löwis [Thu, 19 Sep 2002 08:03:21 +0000 (08:03 +0000)]
Patch #608999: Fix portability problems with MIPSPro 7.x

22 years agoSuppress hex/oct constant warnings in <string> on 64-bit platforms,
Guido van Rossum [Thu, 19 Sep 2002 00:42:16 +0000 (00:42 +0000)]
Suppress hex/oct constant warnings in <string> on 64-bit platforms,
because there test_grammar.py pulls them out of strings there.

22 years agoTwo more cases of switch(PySequence_Size()) without checking for case -1.
Neal Norwitz [Wed, 18 Sep 2002 22:37:17 +0000 (22:37 +0000)]
Two more cases of switch(PySequence_Size()) without checking for case -1.
(Same problem as last checkin for SF bug 610610)
Need to clear the error and proceed.

Backport candidate

22 years agoOpen the test files in binary mode so the \r\n files won't cause
Barry Warsaw [Wed, 18 Sep 2002 22:17:57 +0000 (22:17 +0000)]
Open the test files in binary mode so the \r\n files won't cause
failures on Windows.  Closes SF bug # 609988.

22 years agoMerge Py Idle:
Kurt B. Kaiser [Wed, 18 Sep 2002 17:30:36 +0000 (17:30 +0000)]
Merge Py Idle:
Removing config-mac.txt, not used in Idlefork

22 years agoMerge Py Idle changes:
Kurt B. Kaiser [Wed, 18 Sep 2002 17:07:05 +0000 (17:07 +0000)]
Merge Py Idle changes:
Missed adding "import types" while merging PyShell by hand....

22 years agoAdd MJ.
Guido van Rossum [Wed, 18 Sep 2002 04:09:27 +0000 (04:09 +0000)]
Add MJ.

22 years agoFix SF bug 610610 (reported by Martijn Pieters, diagnosed by Neal Norwitz).
Guido van Rossum [Wed, 18 Sep 2002 04:06:32 +0000 (04:06 +0000)]
Fix SF bug 610610 (reported by Martijn Pieters, diagnosed by Neal Norwitz).

The switch in Exception__str__ didn't clear the error if
PySequence_Size() raised an exception.  Added a case -1 which clears
the error and falls through to the default case.

Definite backport candidate (this dates all the way to Python 2.0).

22 years agoMerge Py Idle changes:
Kurt B. Kaiser [Wed, 18 Sep 2002 03:30:12 +0000 (03:30 +0000)]
Merge Py Idle changes:

Rev 1.4 fdrake
Use string.ascii_letters instead of string.letters (SF bug #226706)

Rev 1.5 doerwalter
(string methods)

22 years agoMerge Py Idle changes:
Kurt B. Kaiser [Wed, 18 Sep 2002 03:26:47 +0000 (03:26 +0000)]
Merge Py Idle changes:

Rev 1.6 GvR
Finally fix SF bug #441172, using a variant of patch ##443626:
canceling an edit operation would not revert the value of the field.
The fix takes care to destroy the Entry object, as suggested in the
patch.

Rev 1.7 Geiger Ho / GvR
(previously applied - Idlefork Rev 1.3)

Rev 1.8 doerwalter
(string methods)

22 years agoMerge Py Idle changes:
Kurt B. Kaiser [Wed, 18 Sep 2002 03:17:38 +0000 (03:17 +0000)]
Merge Py Idle changes:

Rev 1.3 nnorwitz
Remove unnecessary imports

22 years agoMerge Py Idle changes:
Kurt B. Kaiser [Wed, 18 Sep 2002 03:15:56 +0000 (03:15 +0000)]
Merge Py Idle changes:

Rev 1.17 doerwalter
(string methods)

22 years agoMerge PyIdle changes:
Kurt B. Kaiser [Wed, 18 Sep 2002 03:14:11 +0000 (03:14 +0000)]
Merge PyIdle changes:
Rev 1.3 doerwalter
(string methods)

22 years agoMerge Py Idle changes:
Kurt B. Kaiser [Wed, 18 Sep 2002 03:12:18 +0000 (03:12 +0000)]
Merge Py Idle changes:

Rev 1.2 doerwalter
(string methods)

22 years agoMerge Py Idle changes:
Kurt B. Kaiser [Wed, 18 Sep 2002 03:10:10 +0000 (03:10 +0000)]
Merge Py Idle changes:

Rev 1.3 tim_one
Convert a pile of obvious "yes/no" functions to return bool.

22 years agoMerge Py Idle changes:
Kurt B. Kaiser [Wed, 18 Sep 2002 03:05:19 +0000 (03:05 +0000)]
Merge Py Idle changes:

Rev 1.11 GvR
Fix for SF bug #448835.

Fix this to work with the new (still undocumented) tabnanny API.

I'm afraid Stephen will have to add this fix to the IDLE fork code
base as well.

Rev 1.12 rhettinger
(skip, done differently in Idlefork)

Rev 1.13 time_one
(skip, NA)

22 years agoMerge Py Idle changes:
Kurt B. Kaiser [Wed, 18 Sep 2002 02:56:10 +0000 (02:56 +0000)]
Merge Py Idle changes:

Rev 1.5 tim_one
Convert a pile of obvious "yes/no" functions to return bool

Rev 1.6 GvR
Rev 1.7 Gvr
(Already merged Idlefork ReplaceDialog.py 1.3.2.1 and 1.4)

Rev 1.8 doerwalter
(string methods)

Rev 1.9 nnorwitz
Remove unnecessary imports

22 years agoMerge Py Idle changes:
Kurt B. Kaiser [Wed, 18 Sep 2002 02:29:59 +0000 (02:29 +0000)]
Merge Py Idle changes:

Rev 1.35 fdrake
Use string.ascii_letters instead of string.letters (SF bug #226706).
Move computation of sets of characters out of the body of the function
that uses them.

Rev 1.36 tim_one
Convert a pile of obvious "yes/no" functions to return bool

Rev 1.37
(skip, done differently in Idlefork)

Rev 1.38 loewis
Patch #590913: PEP 263 support.

Rev 1.39 loewis
Convert characters from the locale's encoding on output.
Reject characters outside the locale's encoding on input.

Rev 1.40 doerwalter
(string methods)

Rev 1.41
(skipped, done by GvR in rpc)

22 years agoThe SGI demos are gone.
Guido van Rossum [Tue, 17 Sep 2002 20:58:59 +0000 (20:58 +0000)]
The SGI demos are gone.

22 years agoRemove the SGI demos. These were all ancient and nobody cared enough.
Guido van Rossum [Tue, 17 Sep 2002 20:55:57 +0000 (20:55 +0000)]
Remove the SGI demos.  These were all ancient and nobody cared enough.

22 years agomigrate news about 2.1 and earlier releases from NEWS to HISTORY in
Skip Montanaro [Tue, 17 Sep 2002 20:55:31 +0000 (20:55 +0000)]
migrate news about 2.1 and earlier releases from NEWS to HISTORY in
preparation for ReST-ification of NEWS.  (Also tests checkin ability
from my new Powerbook.  woohoo!)

22 years agoRemove the SGI demos. These were all ancient and nobody cared enough.
Guido van Rossum [Tue, 17 Sep 2002 20:36:40 +0000 (20:36 +0000)]
Remove the SGI demos.  These were all ancient and nobody cared enough.

22 years agowrite(): Special case the common situation of a stream that's only
Fred Drake [Tue, 17 Sep 2002 18:10:34 +0000 (18:10 +0000)]
write():  Special case the common situation of a stream that's only
          being used to dump output (no seeks), so we can avoid a lot
          of extra checks being made.

22 years agoFix typos: despatcher -> dispatcher.
Thomas Heller [Tue, 17 Sep 2002 15:19:12 +0000 (15:19 +0000)]
Fix typos: despatcher -> dispatcher.

22 years agoDeal with NULL fields in mkpwent.
Martin v. Löwis [Tue, 17 Sep 2002 09:34:06 +0000 (09:34 +0000)]
Deal with NULL fields in mkpwent.

22 years agoDeal with a NULL gr_passwd. Reported by Anders Qvist.
Martin v. Löwis [Tue, 17 Sep 2002 07:05:25 +0000 (07:05 +0000)]
Deal with a NULL gr_passwd. Reported by Anders Qvist.

22 years agoMerge Py Idle changes:
Kurt B. Kaiser [Tue, 17 Sep 2002 03:55:13 +0000 (03:55 +0000)]
Merge Py Idle changes:
Rev 1.10 doerwalter
(string methods)

22 years agoMerge Py Idle changes:
Kurt B. Kaiser [Tue, 17 Sep 2002 03:43:38 +0000 (03:43 +0000)]
Merge Py Idle changes:
Rev 1.6 doerwalter
(string methods)

22 years agoMerge Py Idle changes:
Kurt B. Kaiser [Tue, 17 Sep 2002 03:40:47 +0000 (03:40 +0000)]
Merge Py Idle changes:
Rev 1.7 loewis
Convert characters from the locale's encoding on output.
Reject characters outside the locale's encoding on input.

22 years agoBack out the previous change. It doesn't save any space on 64-bit
Guido van Rossum [Tue, 17 Sep 2002 03:27:02 +0000 (03:27 +0000)]
Back out the previous change.  It doesn't save any space on 64-bit
platforms.

22 years agoRearrange the members of struct _node to put shorter fields towards
Guido van Rossum [Tue, 17 Sep 2002 03:24:09 +0000 (03:24 +0000)]
Rearrange the members of struct _node to put shorter fields towards
the end, in the hope of saving some bytes on 64-bit machines.  (Too
bad n_nchildren can't be made an unsigned short, but
test/test_longexp.py specifically tests for more than 2**16 subtrees
at one level.)

I don't expect any binary compatibility issues here, unless someone
has an old binary of parsermodule.so saved away.

22 years agoMerge Py Idle changes:
Kurt B. Kaiser [Mon, 16 Sep 2002 22:16:05 +0000 (22:16 +0000)]
Merge Py Idle changes:
Rev 1.4 tim_one
Convert a pile of obvious "yes/no" functions to return bool

22 years agoMerge Py Idle changes:
Kurt B. Kaiser [Mon, 16 Sep 2002 22:09:19 +0000 (22:09 +0000)]
Merge Py Idle changes:
Rev 1.5  doerwalter
string methods

22 years agoMerge Py Idle changes:
Kurt B. Kaiser [Mon, 16 Sep 2002 22:03:37 +0000 (22:03 +0000)]
Merge Py Idle changes:
Rev 1.5 tim_one
Convert a pile of obvious "yes/no" functions to return bool.

Rev 1.6 gvanrossum
(partially merged previously, move line outside try: block)

Provisional fix for writefile() [SF bug # 541730].

The problem was that an exception can occur in the text.get() call or
in the write() call, when the text buffer contains non-ASCII
characters.  This causes the previous contents of the file to be lost.

The provisional fix is to call str(self.text.get(...)) *before*
opening the file, so that if the exception occurs, we never open the
file.

Two orthogonal better solutions have to wait for policy decisions:

1. We could try to encode the data as Latin-1 or as UTF-8; but that
   would require IDLE to grow a notion of file encoding which requires
   more thought.

2. We could make backups before overwriting a file.  This requires
   more thought because it needs to be fast and cross-platform and
   configurable.

Rev 1.7 gvanrossum
(previously merged with modifications by Stephen M. Gava)

Add primitive printing support for Unix and Windows.

Rev 1.8 loewis
Patch #590913: PEP 263 support.

Rev 1.9 gvanrossum
(tempfile.py interface -- deferred)

Rev 1.10 tim_one
whitespace normalization

Rev 1.11 nnorwitz
(deferred pending 1.9 integration)

22 years agomake sure the object browser can't crash because when the list data gets bigger than...
Just van Rossum [Mon, 16 Sep 2002 21:18:49 +0000 (21:18 +0000)]
make sure the object browser can't crash because when the list data gets bigger than 32kB

22 years agoadd ./ to configure command so it actually works verbatim
Just van Rossum [Mon, 16 Sep 2002 20:18:27 +0000 (20:18 +0000)]
add ./ to configure command so it actually works verbatim

22 years agoPatch #609700: Use $(CC) to link on Linux.
Martin v. Löwis [Mon, 16 Sep 2002 17:50:59 +0000 (17:50 +0000)]
Patch #609700: Use $(CC) to link on Linux.

22 years agoMake BadPickleGet a class. Fixes #609164.
Martin v. Löwis [Mon, 16 Sep 2002 17:26:24 +0000 (17:26 +0000)]
Make BadPickleGet a class. Fixes #609164.

22 years agoWhen recursively attempting to find the modules imported by an
Guido van Rossum [Mon, 16 Sep 2002 16:36:02 +0000 (16:36 +0000)]
When recursively attempting to find the modules imported by an
"import" statement, catch and ignore all exceptions.  add/fix some
comments about this.

22 years agoMerge Py Idle changes:
Kurt B. Kaiser [Mon, 16 Sep 2002 02:25:26 +0000 (02:25 +0000)]
Merge Py Idle changes:
Rev 1.4 (string methods)

Rev 1.5 Remove unnecessary imports

22 years agoMerge Py Idle changes:
Kurt B. Kaiser [Mon, 16 Sep 2002 02:22:19 +0000 (02:22 +0000)]
Merge Py Idle changes:
Rev 1.10 (string methods)

22 years agoMerge Py Idle changes:
Kurt B. Kaiser [Mon, 16 Sep 2002 02:13:15 +0000 (02:13 +0000)]
Merge Py Idle changes:

Rev 1.39 GvR
Properly fix SF bug #507298 (Gregor Lingl): shellpython2.2 -Qnew smart
indent error

Use // where int division is intended.  (This breaks IDLE for use with
previous Python versions -- I don't care.)

Rev 1.40 tim_one
Convert a pile of obvious "yes/no" functions to return bool.

Rev 1.41 foffani/loewis
(already merged)  - MS html help

Rev 1.42
(skip, done differently in Idlefork)

Rev 1.43 tzot/rhettinger
Extended IDLE's open module menu item to handle hierarchical module names.
Will look at doing something similar in import.c so that the effort won't
have to be repeated elsewhere.
Closes SF patch 600152.

Rev 1.44 doerwalter
(string methods)

22 years agoSince it tests both ntohl and ntohs, the test should not be called
Guido van Rossum [Mon, 16 Sep 2002 01:30:03 +0000 (01:30 +0000)]
Since it tests both ntohl and ntohs, the test should not be called
testNtoHL but testNtoH.

22 years agoMerge Py Idle changes
Kurt B. Kaiser [Mon, 16 Sep 2002 01:06:52 +0000 (01:06 +0000)]
Merge Py Idle changes
Rev 1.16
(skip. The Edward K. Ream breakpoint fix has been added to bdb.py
and idlefork Debugger.py no longer overrides Bdb.set_break() )

Rev 1.17
Remove unnecessary imports

22 years agoMerge Py Idle changes
Kurt B. Kaiser [Sun, 15 Sep 2002 22:09:16 +0000 (22:09 +0000)]
Merge Py Idle changes
Rev 1.13 (string methods)

22 years agoMerge Py Idle changes
Kurt B. Kaiser [Sun, 15 Sep 2002 22:02:58 +0000 (22:02 +0000)]
Merge Py Idle changes
Rev 1.9
Improve handling of docstrings.  I had feared this was a case of
introspection incompatibility, but in fact it's just that calltips
always gave up on a docstring that started with a newline (but
didn't realize they were giving up <wink>).

Rev 1.10
(already merged)

Rev 1.11
(whitespace normalization, skip this time)

Rev 1.12
Remove unnecessary imports

22 years agoMerge Py Idle changes
Kurt B. Kaiser [Sun, 15 Sep 2002 21:43:13 +0000 (21:43 +0000)]
Merge Py Idle changes
Rev 1.4
SF bug 546078:  IDLE calltips cause application error.
Assorted crashes on Windows and Linux when trying to display a very
long calltip, most likely a Tk bug.  Wormed around by clamping the
calltip display to a maximum of 79 characters (why 79? why not ...).

Bugfix candidate, for all Python releases.

Rev 1.5
Remove unnecessary imports

22 years agoMerge Py Idle's Rev 1.16 (string methods)
Kurt B. Kaiser [Sun, 15 Sep 2002 21:38:20 +0000 (21:38 +0000)]
Merge Py Idle's Rev 1.16 (string methods)

22 years agoMerge Py Idle's changes to AutoIndent.py into EditorWindow.py since
Kurt B. Kaiser [Sun, 15 Sep 2002 21:31:30 +0000 (21:31 +0000)]
Merge Py Idle's changes to AutoIndent.py into EditorWindow.py since
EditorWindow has incorporated AutoIndent

Rev 1.17
classifyws():  Fix a "/" to work under -Qnew (as well as without it).
Bugfix candidate!

Rev 1.18
(Already merged)

Rev 1.19
smart_backspace_event():  remove now-pointless int() call.
Bugfix candidate:  the current state of AutoIdent.py should be in 2.2.1.

Rev 1.20
Apply diff2.txt from SF patch http://www.python.org/sf/572113
(with one small bugfix in bgen/bgen/scantools.py)
This replaces string module functions with string methods
for the stuff in the Tools directory. Several uses of
string.letters etc. are still remaining.

22 years agoMerge Py Idle's Rev 1.5
Kurt B. Kaiser [Sun, 15 Sep 2002 20:50:02 +0000 (20:50 +0000)]
Merge Py Idle's Rev 1.5
Use string.ascii_letters instead of string.letters (SF bug #226706)

22 years agoI think it makes more sense that the pseudo filename used by fdopen()
Guido van Rossum [Sun, 15 Sep 2002 18:45:46 +0000 (18:45 +0000)]
I think it makes more sense that the pseudo filename used by fdopen()
be "<fdopen>" rather than "(fdopen)".

22 years agoUse Py_GCC_ATTRIBUTE instead of __attribute__. Compilers other than GCC
Neil Schemenauer [Sun, 15 Sep 2002 14:09:54 +0000 (14:09 +0000)]
Use Py_GCC_ATTRIBUTE instead of __attribute__.  Compilers other than GCC
might use __attribute__ in other ways (e.g. CodeWarrior).

22 years agoAddress SF bug #577530: del __builtins__ breaks out of rexec
Guido van Rossum [Sun, 15 Sep 2002 06:00:43 +0000 (06:00 +0000)]
Address SF bug #577530: del __builtins__ breaks out of rexec

Using the suggestion there: add_module() forces __builtin__ back; this
fixes r_exec, r_eval, r_execfile.  The interactive console had to be
fixed separately, because it doesn't use r_exec, but relies on the
'locals' dict having the right __builtins__.  Fixed this by
subclassing InteractiveConsole and overriding runcode(), which does
the exec.  This changes the banner output slightly: instead of
starting with *** RESTRICTED ***, a subtler (RestrictedConsole) is
printed before the first >>> prompt.

Also import readline (if it exists) when the interactive console is
used, for more convenient input editing and history.

This does not mean that rexec is now considered safe!  But for those
willing to take the risk, it's safer than before.  (Note that a safety
analysis of the code module would be wise if you plan to use the
interactive console for real -- I've only ever used it to play with
restricted mode.)

This should be backported to 2.2 and 2.1.

22 years agoInitial revision
Kurt B. Kaiser [Sat, 14 Sep 2002 23:25:29 +0000 (23:25 +0000)]
Initial revision

22 years agoDon't test whether surrogate sequences round-trip in UTF-8. 2.2.2 candidate.
Martin v. Löwis [Sat, 14 Sep 2002 09:19:53 +0000 (09:19 +0000)]
Don't test whether surrogate sequences round-trip in UTF-8. 2.2.2 candidate.

22 years agoUse integer above sys.maxunicode for range test. Fixes #608884.
Martin v. Löwis [Sat, 14 Sep 2002 09:10:04 +0000 (09:10 +0000)]
Use integer above sys.maxunicode for range test. Fixes #608884.
2.2.2 candidate.

22 years agoBump to reflect final cleanup of Config system and first pass GRPC
Kurt B. Kaiser [Sat, 14 Sep 2002 04:24:43 +0000 (04:24 +0000)]
Bump to reflect final cleanup of Config system and first pass GRPC
completed

22 years agoMERGE DS_RPC_BRANCH into MAIN
Kurt B. Kaiser [Sat, 14 Sep 2002 03:30:46 +0000 (03:30 +0000)]
MERGE DS_RPC_BRANCH into MAIN

 Removed Files:
  AutoIndent.py IdleConf.py MultiScrolledLists.py Separator.py
  config-unix.txt config-win.txt config.txt eventparse.py
  keydefs.py

22 years agoMERGE DS_RPC_BRANCH into MAIN:
Kurt B. Kaiser [Sat, 14 Sep 2002 03:18:43 +0000 (03:18 +0000)]
MERGE DS_RPC_BRANCH into MAIN:
config-keys.def
    AutoIndent merged 21Jul

22 years agoMERGE DS_RPC_BRANCH into MAIN
Kurt B. Kaiser [Sat, 14 Sep 2002 03:17:01 +0000 (03:17 +0000)]
MERGE DS_RPC_BRANCH into MAIN
configHandler.py
    AutoIndent merged 21Jul

22 years agoMERGE DS_RPC_BRANCH into MAIN:
Kurt B. Kaiser [Sat, 14 Sep 2002 03:15:06 +0000 (03:15 +0000)]
MERGE DS_RPC_BRANCH into MAIN:
config-extensions.def
    AutoIndent merged 21Jul

22 years agoMERGE DS_RPC_BRANCH into MAIN:
Kurt B. Kaiser [Sat, 14 Sep 2002 02:58:07 +0000 (02:58 +0000)]
MERGE DS_RPC_BRANCH into MAIN:
configDialog.py
    AutoIndent merged 21Jul

22 years agoMERGE DS_RPC_BRANCH into MAIN
Kurt B. Kaiser [Sat, 14 Sep 2002 02:56:04 +0000 (02:56 +0000)]
MERGE DS_RPC_BRANCH into MAIN
ToolTip.py
    cleanup 05Aug

22 years agoMERGE DS_RPC_BRANCH into MAIN
Kurt B. Kaiser [Sat, 14 Sep 2002 02:53:05 +0000 (02:53 +0000)]
MERGE DS_RPC_BRANCH into MAIN
ReplaceDialog
    (missed a change Py Idle 04Apr2002, Booleans, pick up later)
    track Py Idle: GvR drops 1.5.2 re support 24 Jul

22 years agoMERGE DS_RPC_BRANCH into MAIN
Kurt B. Kaiser [Sat, 14 Sep 2002 02:50:56 +0000 (02:50 +0000)]
MERGE DS_RPC_BRANCH into MAIN
PyShell.py
    don't track Py Idle patch 543222 - disable script bindings in shell
    since it was done differently in MAIN

    Remove "binding comments" 05 Aug 1.13.2.2 to 1.13.2.3

22 years agoMERGE DS_RPC_BRANCH into MAIN
Kurt B. Kaiser [Sat, 14 Sep 2002 02:46:19 +0000 (02:46 +0000)]
MERGE DS_RPC_BRANCH into MAIN
ParenMatch.py
    Remove last dependencies to old config backend 06Aug

22 years agoMERGE DS_RPC_BRANCH into MAIN
Kurt B. Kaiser [Sat, 14 Sep 2002 02:40:17 +0000 (02:40 +0000)]
MERGE DS_RPC_BRANCH into MAIN
EditorWindow.py
    don't track Py Idle patch 543222 - disable script bindings in shell
    since it was done differently in MAIN

    Remove "binding comments" 05 Aug 1.23.2.3 to 1.23.2.4
    Remove last dependencies to old config backend 06Aug to 1.23.2.5

22 years agoMERGE DS_RPC_BRANCH into MAIN
Kurt B. Kaiser [Sat, 14 Sep 2002 02:34:23 +0000 (02:34 +0000)]
MERGE DS_RPC_BRANCH into MAIN
EditorWindow.py
    AutoIndent merged 21Jul
    Comment out debug messages 21Jul

22 years agoFix a couple of minor markup glitches.
Fred Drake [Sat, 14 Sep 2002 02:03:25 +0000 (02:03 +0000)]
Fix a couple of minor markup glitches.

22 years agoMaybe this fixes test_socket on 64-bit Linux.
Guido van Rossum [Sat, 14 Sep 2002 00:58:46 +0000 (00:58 +0000)]
Maybe this fixes test_socket on 64-bit Linux.

22 years agoMERGE DS_RPC_BRANCH into MAIN
Kurt B. Kaiser [Sat, 14 Sep 2002 00:55:21 +0000 (00:55 +0000)]
MERGE DS_RPC_BRANCH into MAIN
CallTips
    track Py Idle loewis: Use ascii_letters to avoid UnicodeErrors 06Aug

22 years agoBindings.py
Kurt B. Kaiser [Sat, 14 Sep 2002 00:50:44 +0000 (00:50 +0000)]
Bindings.py
    AutoIndent merged 21Jul
    cleanup and remove references to config backend 06Aug

22 years agoAdd two items
Andrew M. Kuchling [Fri, 13 Sep 2002 22:21:42 +0000 (22:21 +0000)]
Add two items

22 years agoAdd a bunch of sys.stdout.flush() calls that will hopefully improve
Guido van Rossum [Fri, 13 Sep 2002 21:28:03 +0000 (21:28 +0000)]
Add a bunch of sys.stdout.flush() calls that will hopefully improve
the usability of the output of the Xenofarm builds.

22 years agoSF # 602108 ensure string is null terminated after strncpy
Neal Norwitz [Fri, 13 Sep 2002 14:35:56 +0000 (14:35 +0000)]
SF # 602108 ensure string is null terminated after strncpy

22 years agoFiddle with compact_traceback().
Guido van Rossum [Fri, 13 Sep 2002 14:09:26 +0000 (14:09 +0000)]
Fiddle with compact_traceback().

More whitespace cleanup.

22 years agoFix part of SF bug # 544248 gcc warning in unicodeobject.c
Neal Norwitz [Fri, 13 Sep 2002 13:47:06 +0000 (13:47 +0000)]
Fix part of SF bug # 544248 gcc warning in unicodeobject.c

When --enable-unicode=ucs4, need to cast Py_UNICODE to a char

22 years agoShut up FutureWarnings about hex constants.
Jack Jansen [Thu, 12 Sep 2002 22:35:45 +0000 (22:35 +0000)]
Shut up FutureWarnings about hex constants.

22 years agoPatch by Tony Lownds: build an IDLE applet too, if _tkinter is available.
Jack Jansen [Thu, 12 Sep 2002 22:19:23 +0000 (22:19 +0000)]
Patch by Tony Lownds: build an IDLE applet too, if _tkinter is available.
I modified the patch to make it a non-fatal error if IDLE isn't built.

22 years agoPatch by Tony Lownds: add the Resources directory to sys.path.
Jack Jansen [Thu, 12 Sep 2002 21:58:47 +0000 (21:58 +0000)]
Patch by Tony Lownds: add the Resources directory to sys.path.

22 years agoMerge from DS_RPC_BRANCH
Kurt B. Kaiser [Thu, 12 Sep 2002 20:55:43 +0000 (20:55 +0000)]
Merge from DS_RPC_BRANCH
Modified Files:
  INSTALL.txt

22 years agoRemove unnecessary imports
Neal Norwitz [Thu, 12 Sep 2002 20:36:01 +0000 (20:36 +0000)]
Remove unnecessary imports

22 years agoRemove unused local variables
Neal Norwitz [Thu, 12 Sep 2002 20:34:41 +0000 (20:34 +0000)]
Remove unused local variables

22 years agoRemove unnecessary imports
Neal Norwitz [Thu, 12 Sep 2002 20:29:56 +0000 (20:29 +0000)]
Remove unnecessary imports

22 years agoWhen testing for localhost/ first map to lower case. Spotted by Skip.
Jack Jansen [Thu, 12 Sep 2002 20:14:04 +0000 (20:14 +0000)]
When testing for localhost/ first map to lower case. Spotted by Skip.

22 years agoTreat file://localhost/ as local too (same as file:/ and file:///).
Jack Jansen [Thu, 12 Sep 2002 19:47:52 +0000 (19:47 +0000)]
Treat file://localhost/ as local too (same as file:/ and file:///).
Fixes #607789, bugfix candidate.

22 years agoMode rU for universal newlines, not rT. Spotted by Guido.
Jack Jansen [Thu, 12 Sep 2002 19:41:28 +0000 (19:41 +0000)]
Mode rU for universal newlines, not rT. Spotted by Guido.

22 years agoMinor revision to the "\\" patch, including updating the docs a little to
Fred Drake [Thu, 12 Sep 2002 18:01:26 +0000 (18:01 +0000)]
Minor revision to the "\\" patch, including updating the docs a little to
accomodate the fact that they are more general now that they are for the
os.path module and not just posixpath.

This and the previous patch should be combined and applied to the 2.2-maint
branch.

22 years agoadd note about os.path.join and drive letters on Windows.
Skip Montanaro [Thu, 12 Sep 2002 17:39:56 +0000 (17:39 +0000)]
add note about os.path.join and drive letters on Windows.

22 years agoIf PyXML is installed, there is no Node.allnodes, so that portion of
Fred Drake [Thu, 12 Sep 2002 17:03:02 +0000 (17:03 +0000)]
If PyXML is installed, there is no Node.allnodes, so that portion of
the test should be skipped if that's the case.

22 years agoRelax a test so it passes either with the standard library or PyXML.
Fred Drake [Thu, 12 Sep 2002 17:02:01 +0000 (17:02 +0000)]
Relax a test so it passes either with the standard library or PyXML.
The original expected value is actually wrong, but we'll pick up the
real fix and test when we refresh the xml package from PyXML before
2.3a1.

22 years agoFix warnings on 64-bit platforms about casts from pointers to ints.
Guido van Rossum [Thu, 12 Sep 2002 14:43:41 +0000 (14:43 +0000)]
Fix warnings on 64-bit platforms about casts from pointers to ints.
Two of these were real bugs.

22 years agoOnly build the 'dl' extension when sys.maxint equals 2**31-1.
Guido van Rossum [Thu, 12 Sep 2002 14:41:20 +0000 (14:41 +0000)]
Only build the 'dl' extension when sys.maxint equals 2**31-1.
This module raises "SystemError: module dl requires sizeof(int) ==
sizeof(long) == sizeof(char*)" when compiled on 64-bit platforms.