]> granicus.if.org Git - python/log
python
23 years agoFix bug #417212: "curses.newwin can return pads" by changing the Python
Andrew M. Kuchling [Sat, 14 Jul 2001 20:38:30 +0000 (20:38 +0000)]
Fix bug #417212: "curses.newwin can return pads" by changing the Python
   newwin() wrapper to always return a window, and never a pad.  This makes
   the code match the documentation.

23 years agoFix bug #437487: "2.1 build on Solaris fails if CC is set"
Andrew M. Kuchling [Sat, 14 Jul 2001 20:28:10 +0000 (20:28 +0000)]
Fix bug #437487: "2.1 build on Solaris fails if CC is set"
   by adding the contents of CCSHARED to the compiler specified by CC

23 years ago_Py_GetObjects(): GCC suggests to add () around && within || for some
Guido van Rossum [Sat, 14 Jul 2001 17:58:00 +0000 (17:58 +0000)]
_Py_GetObjects(): GCC suggests to add () around && within || for some
code only compiled in debug mode, and I dutifully comply.

23 years agotabnanny and pyclbr are now found in /Lib
Kurt B. Kaiser [Sat, 14 Jul 2001 17:06:13 +0000 (17:06 +0000)]
tabnanny and pyclbr are now found in /Lib

23 years agoRemove, was retained for 1.5.2 support
Kurt B. Kaiser [Sat, 14 Jul 2001 16:29:46 +0000 (16:29 +0000)]
Remove, was retained for 1.5.2 support

23 years agoMinimal text editor using MLTE (code based on wed.py, the waste demo).
Jack Jansen [Sat, 14 Jul 2001 14:02:21 +0000 (14:02 +0000)]
Minimal text editor using MLTE (code based on wed.py, the waste demo).
It's sort-of starting to work, but there's still problems with redraws and
with resizing the window.

23 years agoVarious small fixes. The demo now starts to limp along.
Jack Jansen [Sat, 14 Jul 2001 14:00:50 +0000 (14:00 +0000)]
Various small fixes. The demo now starts to limp along.

23 years agoThe constants for MLTE.
Jack Jansen [Sat, 14 Jul 2001 13:59:47 +0000 (13:59 +0000)]
The constants for MLTE.

23 years agodivrem1 & long_format: found a clean way to factor divrem1 so that
Tim Peters [Sat, 14 Jul 2001 12:23:19 +0000 (12:23 +0000)]
divrem1 & long_format:  found a clean way to factor divrem1 so that
long_format can reuse a scratch area for its repeated divisions (instead
of malloc/free for every digit produced); speeds str(long)/repr(long).

23 years agolong_format(): Simplify new code a bit.
Tim Peters [Sat, 14 Jul 2001 11:01:28 +0000 (11:01 +0000)]
long_format():  Simplify new code a bit.

23 years agoBe more permissive in what is accepted as an attribute name; this makes
Fred Drake [Sat, 14 Jul 2001 05:50:33 +0000 (05:50 +0000)]
Be more permissive in what is accepted as an attribute name; this makes
this module slightly more resiliant in the face of XHTML input, or just
colons in attribute names.

23 years agoInstalling Idle to site-packages via Distutils does not
Kurt B. Kaiser [Sat, 14 Jul 2001 05:48:44 +0000 (05:48 +0000)]
Installing Idle to site-packages via Distutils does not
copy the Idle help.txt file.

Ref SF Python Patch 422471

23 years agopy-cvs-2001_07_13 (Rev 1.3) merge
Kurt B. Kaiser [Sat, 14 Jul 2001 05:26:23 +0000 (05:26 +0000)]
py-cvs-2001_07_13 (Rev 1.3) merge

"Make copy, cut and paste events case insensitive.  Reported by Patrick
K. O'Brien on idle-dev. (Should other bindings follow suit?)" --GvR

23 years agopy-cvs-2001_07_13 (Rev 1.4) merge
Kurt B. Kaiser [Sat, 14 Jul 2001 05:21:37 +0000 (05:21 +0000)]
py-cvs-2001_07_13 (Rev 1.4) merge

"Move the action of loading the configuration to the IdleConf module
rather than the idle.py script.  This has advantages and
disadvantages; the biggest advantage being that we can more easily
have an alternative main program."  --GvR

23 years agopy-cvs-2001_07_13 (Rev 1.4) merge
Kurt B. Kaiser [Sat, 14 Jul 2001 05:18:59 +0000 (05:18 +0000)]
py-cvs-2001_07_13 (Rev 1.4) merge

"Quick update to the extension mechanism (extend.py is gone, long live
config.txt)" --GvR

23 years agopy-cvs-2001_07_13 (Rev 1.16) merge
Kurt B. Kaiser [Sat, 14 Jul 2001 05:15:29 +0000 (05:15 +0000)]
py-cvs-2001_07_13 (Rev 1.16) merge

"Refactored, with some future plans in mind. This now uses the new
gotofileline() method defined in FileList.py"  --GvR

23 years agopy-cvs-2001_07_13 (Rev 1.34) merge
Kurt B. Kaiser [Sat, 14 Jul 2001 05:10:34 +0000 (05:10 +0000)]
py-cvs-2001_07_13 (Rev 1.34) merge

"Amazing.  A very subtle change in policy in descr-branch actually
found a bug here.  Here's the deal: Class PyShell derives from class
OutputWindow.  Method PyShell.close()
wants to invoke its parent method, but because PyShell long ago was
inherited from class PyShellEditorWindow, it invokes
PyShelEditorWindow.close(self).  Now, class PyShellEditorWindow itself
derives from class OutputWindow, and inherits the close() method from
there without overriding it.  Under the old rules,
PyShellEditorWindow.close would return an unbound method restricted to
the class that defined the implementation of close(), which was
OutputWindow.close.  Under the new rules, the unbound method is
restricted to the class whose method was requested, that is
PyShellEditorWindow, and this was correctly trapped as an error." --GvR

23 years agopy-cvs-2001_07_13 (Rel 1.9) merge
Kurt B. Kaiser [Sat, 14 Jul 2001 04:59:24 +0000 (04:59 +0000)]
py-cvs-2001_07_13 (Rel 1.9) merge

"Taught IDLE's autoident parser that "yield" is a keyword that begins a
stmt.  Along w/ the preceding change to keyword.py, making all this
work w/ a future-stmt just looks harder and harder." --tim_one

(From Rel 1.8: "Hack to make this still work with Python 1.5.2.  ;-( "
--fdrake)

23 years agopy-cvs-2001_07_13 (Rel 1.7) merge
Kurt B. Kaiser [Sat, 14 Jul 2001 04:51:06 +0000 (04:51 +0000)]
py-cvs-2001_07_13 (Rel 1.7) merge

"Move the action of loading the configuration to the IdleConf module
rather than the idle.py script.  This has advantages and
disadvantages; the biggest advantage being that we can more easily
have an alternative main program." --GvR

23 years agopy-cvs-2000_07_13 (Rev 1.9) merge
Kurt B. Kaiser [Sat, 14 Jul 2001 04:45:32 +0000 (04:45 +0000)]
py-cvs-2000_07_13 (Rev 1.9) merge

"Delete goodname() method, which is unused. Add gotofileline(), a
convenience method which I intend to use in a
variant. Rename test() to _test()."  --GvR

This was an interesting merge. The join completely missed removing
goodname(), which was adjacent, but outside of, a small conflict.
I only caught it by comparing the 1.1.3.2/1.1.3.3 diff.  CVS ain't
infallible.

23 years agopy-cvs-2000_07_13 (Rev 1.38) merge
Kurt B. Kaiser [Sat, 14 Jul 2001 03:58:25 +0000 (03:58 +0000)]
py-cvs-2000_07_13 (Rev 1.38) merge
"Remove legacy support for the BrowserControl module; the webbrowser
module has been included since Python 2.0, and that is the preferred
interface." --fdrake

23 years agoRemove TENTATIVE from the 2.1.1c1 Windows buildno.
Tim Peters [Sat, 14 Jul 2001 03:31:35 +0000 (03:31 +0000)]
Remove TENTATIVE from the 2.1.1c1 Windows buildno.

23 years agoChange the target name for \kbd.
Fred Drake [Sat, 14 Jul 2001 03:10:20 +0000 (03:10 +0000)]
Change the target name for \kbd.

23 years agoAdd another name.
Fred Drake [Sat, 14 Jul 2001 03:09:29 +0000 (03:09 +0000)]
Add another name.

23 years agoOops, one more caret.
Fred Drake [Sat, 14 Jul 2001 03:05:53 +0000 (03:05 +0000)]
Oops, one more caret.

23 years agoFix the markup of the caret charater in a couple of places; LaTeX's
Fred Drake [Sat, 14 Jul 2001 03:01:48 +0000 (03:01 +0000)]
Fix the markup of the caret charater in a couple of places; LaTeX's
special character bite us again.  ;-(

This fixes SF bug #440911.

23 years agoMinor changes to match the style guide.
Fred Drake [Sat, 14 Jul 2001 02:50:55 +0000 (02:50 +0000)]
Minor changes to match the style guide.

23 years agoCorrect a couple of errors noted by Alex Martelli.
Fred Drake [Sat, 14 Jul 2001 02:46:01 +0000 (02:46 +0000)]
Correct a couple of errors noted by Alex Martelli.

23 years agoRemove comments about XML and HTML; those sections are no
Fred Drake [Sat, 14 Jul 2001 02:44:43 +0000 (02:44 +0000)]
Remove comments about XML and HTML; those sections are no
longer part of this chapter.

Minor change to match the style guide.

23 years agoAdd a little more information about the usage of some terms where the
Fred Drake [Sat, 14 Jul 2001 02:34:12 +0000 (02:34 +0000)]
Add a little more information about the usage of some terms where the
style guide can use a little clarification, and present some minor
specific markup.

Make a few adjustments to conform to the style guide.

23 years agoMinor change to match the style guide.
Fred Drake [Sat, 14 Jul 2001 02:27:22 +0000 (02:27 +0000)]
Minor change to match the style guide.

23 years agoMinor changes to match the style guide.
Fred Drake [Sat, 14 Jul 2001 02:14:42 +0000 (02:14 +0000)]
Minor changes to match the style guide.

23 years agoMinor change to match the style guide.
Fred Drake [Sat, 14 Jul 2001 02:12:27 +0000 (02:12 +0000)]
Minor change to match the style guide.

23 years agoMinor changes to match the style guide.
Fred Drake [Sat, 14 Jul 2001 02:09:32 +0000 (02:09 +0000)]
Minor changes to match the style guide.

Make the reference to the python-docs email address a hyperlink; we want to
encourage responses to the plea for help!

23 years agopy-cvs-rel2_1 (Rev 1.2) merge
Kurt B. Kaiser [Sat, 14 Jul 2001 02:02:36 +0000 (02:02 +0000)]
py-cvs-rel2_1 (Rev 1.2) merge
Copied py-cvs rev 1.2 changed file to idlefork MAIN

23 years agopy-cvs-rel2_1 (Rev 1.2) merge
Kurt B. Kaiser [Sat, 14 Jul 2001 01:58:10 +0000 (01:58 +0000)]
py-cvs-rel2_1 (Rev 1.2) merge
Copied py-cvs 1.2 changed file to idlefork MAIN

23 years agopy-cvs-rel2_1 (rev 1.5) merge - whitespace normalization
Kurt B. Kaiser [Sat, 14 Jul 2001 01:23:30 +0000 (01:23 +0000)]
py-cvs-rel2_1 (rev 1.5) merge - whitespace normalization

23 years agopy-cvs-rel2_1 (Rev 1.3) merge - whitespace normalization
Kurt B. Kaiser [Sat, 14 Jul 2001 01:20:05 +0000 (01:20 +0000)]
py-cvs-rel2_1 (Rev 1.3) merge - whitespace normalization

23 years agopy-cvs-rel2_1 (Rev 1.15) merge - whitespace normalization
Kurt B. Kaiser [Sat, 14 Jul 2001 01:16:56 +0000 (01:16 +0000)]
py-cvs-rel2_1 (Rev 1.15) merge - whitespace normalization

23 years agopy-cvs-rel2_1 (Rev 1.2) merge - whitespace normalization
Kurt B. Kaiser [Sat, 14 Jul 2001 01:14:09 +0000 (01:14 +0000)]
py-cvs-rel2_1 (Rev 1.2) merge - whitespace normalization

23 years agocvs-py-rel2_1 (Rev 1.29 - 1.33) merge
Kurt B. Kaiser [Sat, 14 Jul 2001 00:13:28 +0000 (00:13 +0000)]
cvs-py-rel2_1 (Rev 1.29 - 1.33) merge

Merged the following py-cvs revs without conflict:
1.29 Reduce copyright text output at startup
1.30 Delay setting sys.args until Tkinter is fully initialized
1.31 Whitespace normalization
1.32 Turn syntax warning into error when interactive
1.33 Fix warning initialization bug

Note that module is extensively modified wrt py-cvs

23 years agoAllow [] after a parameter name. We currently take this to be the same as * in front...
Jack Jansen [Fri, 13 Jul 2001 22:28:36 +0000 (22:28 +0000)]
Allow [] after a parameter name. We currently take this to be the same as * in front, which isn't 100% correct but good enough.

23 years agoFixed the mis-guessed parameters and added support for a few optional parameter types...
Jack Jansen [Fri, 13 Jul 2001 22:27:20 +0000 (22:27 +0000)]
Fixed the mis-guessed parameters and added support for a few optional parameter types. There's a good chance that this is usable now (but there's no test code yet).

23 years agoAdded Mlte module (which, to my surprise, is available for classic ppc as well).
Jack Jansen [Fri, 13 Jul 2001 20:57:47 +0000 (20:57 +0000)]
Added Mlte module (which, to my surprise, is available for classic ppc as well).

23 years agoFirst stab at an interface to the Multi Language Text Editor. It compiles and imports...
Jack Jansen [Fri, 13 Jul 2001 20:56:52 +0000 (20:56 +0000)]
First stab at an interface to the Multi Language Text Editor. It compiles and imports, but that's about all. Apple didn't put const in front of their input-only by-reference args, so that needs fixing first.

23 years agopy-cvs-rel2_1 (Rev 1.6 - 1.8) merge
Kurt B. Kaiser [Fri, 13 Jul 2001 20:33:46 +0000 (20:33 +0000)]
py-cvs-rel2_1 (Rev 1.6 - 1.8) merge
Fix autoindent bug and deflect Unicode from text.get()

23 years agopy-cvs-rel2_1 (Rev 1.3)
Kurt B. Kaiser [Fri, 13 Jul 2001 20:00:15 +0000 (20:00 +0000)]
py-cvs-rel2_1 (Rev 1.3)
"move "from Tkinter import *" to module level" --jhylton

23 years agopy-cvs-rel2_1 (Rev 1.6) merge - whitespace normalization
Kurt B. Kaiser [Fri, 13 Jul 2001 19:57:00 +0000 (19:57 +0000)]
py-cvs-rel2_1 (Rev 1.6) merge - whitespace normalization

23 years agocvs-py-rel2_1 (Rev 1.5) merge - whitespace normalization
Kurt B. Kaiser [Fri, 13 Jul 2001 19:49:27 +0000 (19:49 +0000)]
cvs-py-rel2_1 (Rev 1.5) merge - whitespace normalization

23 years agoUpdated this file to match reality.
Guido van Rossum [Fri, 13 Jul 2001 18:05:46 +0000 (18:05 +0000)]
Updated this file to match reality.

Thanks Shane for pointing this out!

23 years agopy-cvs-rel2_1 (Rev 1.3) merge
Kurt B. Kaiser [Fri, 13 Jul 2001 17:57:37 +0000 (17:57 +0000)]
py-cvs-rel2_1 (Rev 1.3) merge
"Make the test program work outside IDLE."  -- GvR

23 years agopy-cvs-rel2_1 (Rev 1.2) merge - whitespace normalization
Kurt B. Kaiser [Fri, 13 Jul 2001 17:52:08 +0000 (17:52 +0000)]
py-cvs-rel2_1 (Rev 1.2) merge - whitespace normalization

23 years agopy-cvs-rel2_1 (Rev 1.2) merge - whitespace normalization
Kurt B. Kaiser [Fri, 13 Jul 2001 17:44:06 +0000 (17:44 +0000)]
py-cvs-rel2_1 (Rev 1.2) merge - whitespace normalization

23 years agopy-cvs-rel2_1 (Rev 1.4) merge - whitespace normalization
Kurt B. Kaiser [Fri, 13 Jul 2001 17:40:17 +0000 (17:40 +0000)]
py-cvs-rel2_1 (Rev 1.4) merge - whitespace normalization

23 years agopy-cvs-rel2_1 (Rev 1.6) merge - whitespace normalization
Kurt B. Kaiser [Fri, 13 Jul 2001 17:38:08 +0000 (17:38 +0000)]
py-cvs-rel2_1 (Rev 1.6) merge - whitespace normalization

23 years agoShould raise TestSkipped, not ImportError, when deciding to skip the
Guido van Rossum [Fri, 13 Jul 2001 17:27:57 +0000 (17:27 +0000)]
Should raise TestSkipped, not ImportError, when deciding to skip the
test.

23 years agoHaving fun on my own time: quicker flat_conjoin; Knights Tour solver
Tim Peters [Fri, 13 Jul 2001 09:12:12 +0000 (09:12 +0000)]
Having fun on my own time:  quicker flat_conjoin; Knights Tour solver
simplified and generalized to rectangular boards.

23 years agopy-cvs-rel2_1 (Rev 1.4) merge - move "import *" to module level
Kurt B. Kaiser [Fri, 13 Jul 2001 04:18:32 +0000 (04:18 +0000)]
py-cvs-rel2_1 (Rev 1.4) merge - move "import *" to module level

23 years agopy-cvs-rel2_1 (Rev 1.9) merge - whitespace normalization
Kurt B. Kaiser [Fri, 13 Jul 2001 04:12:02 +0000 (04:12 +0000)]
py-cvs-rel2_1 (Rev 1.9) merge - whitespace normalization

23 years agopy-cvs-rel2_1 (Rev 1.8) merge - whitespace normalization
Kurt B. Kaiser [Fri, 13 Jul 2001 04:07:47 +0000 (04:07 +0000)]
py-cvs-rel2_1 (Rev 1.8) merge - whitespace normalization

23 years agopy-cvs-rel2_1 (Rev 1.33 - 1.37) merge
Kurt B. Kaiser [Fri, 13 Jul 2001 03:35:32 +0000 (03:35 +0000)]
py-cvs-rel2_1 (Rev 1.33 - 1.37) merge

VP IDLE version depended on VP's ExecBinding.py and spawn.py to get the
path to the Windows Doc directory (relative to python.exe). Removed this
conflicting code in favor of py-cvs updates which on Windows use a hard
coded path relative to the location of this module. py-cvs updates include
support for webbrowser.py.  Module still has BrowserControl.py for 1.5.2
support.

At this point, the differences wrt py-cvs relate to menu functionality.

23 years agolong_format(): Easy speedup for output bases that aren't a power of 2 (in
Tim Peters [Fri, 13 Jul 2001 02:59:26 +0000 (02:59 +0000)]
long_format():  Easy speedup for output bases that aren't a power of 2 (in
particular, str(long) and repr(long) use base 10, and that gets a factor
of 4 speedup).  Another factor of 2 can be gotten by refactoring divrem1 to
support in-place division, but that started getting messy so I'm leaving
that out.

23 years agopy-cvs-rel2_1 merge - Remove, lives in /Lib
Kurt B. Kaiser [Fri, 13 Jul 2001 01:30:07 +0000 (01:30 +0000)]
py-cvs-rel2_1 merge - Remove, lives in /Lib

23 years agopy-cvs-rel2_1 (Rev 1.3) merge - whitespace normalization
Kurt B. Kaiser [Fri, 13 Jul 2001 00:10:02 +0000 (00:10 +0000)]
py-cvs-rel2_1 (Rev 1.3) merge - whitespace normalization

23 years agopy-cvs-rel2_1 (Rev 1.15) merge - whitespace normalization
Kurt B. Kaiser [Fri, 13 Jul 2001 00:07:42 +0000 (00:07 +0000)]
py-cvs-rel2_1 (Rev 1.15) merge - whitespace normalization

23 years agopy-cvs-rel2_1 (Rev 1.11 and 1.12) merge
Kurt B. Kaiser [Fri, 13 Jul 2001 00:04:24 +0000 (00:04 +0000)]
py-cvs-rel2_1 (Rev 1.11 and 1.12) merge
Colorize "as" after "import" / use DEBUG instead of __debug__

23 years agopy-cvs-rel2_1 (Rev 1.12) merge - whitespace normalization
Kurt B. Kaiser [Thu, 12 Jul 2001 23:54:20 +0000 (23:54 +0000)]
py-cvs-rel2_1 (Rev 1.12) merge - whitespace normalization

23 years agopy-cvs-rel2_1 (Rev 1.1) merge - New File - Force HEAD to trunk with -f
Kurt B. Kaiser [Thu, 12 Jul 2001 23:41:37 +0000 (23:41 +0000)]
py-cvs-rel2_1 (Rev 1.1) merge - New File - Force HEAD to trunk with -f
Note: browser.py was renamed BrowserControl.py 10 May 2000. It provides a
collection of classes and convenience functions to control external
browsers "for 1.5.2 support". It was removed from py-cvs 18 April 2001.

23 years agoAdd entry for xmlrpclib documentation.
Fred Drake [Thu, 12 Jul 2001 23:40:13 +0000 (23:40 +0000)]
Add entry for xmlrpclib documentation.

23 years agoSeveral markup adjustments so this will format and be more consistent with
Fred Drake [Thu, 12 Jul 2001 23:39:24 +0000 (23:39 +0000)]
Several markup adjustments so this will format and be more consistent with
the rest of the documnentation.

23 years agopy-cvs-rel2_1 (Rev 1.8) merge - whitespace normalization
Kurt B. Kaiser [Thu, 12 Jul 2001 23:10:35 +0000 (23:10 +0000)]
py-cvs-rel2_1 (Rev 1.8) merge - whitespace normalization

23 years agoRemove the last remnants of the hacks to worm around leaks.
Tim Peters [Thu, 12 Jul 2001 22:55:42 +0000 (22:55 +0000)]
Remove the last remnants of the hacks to worm around leaks.

23 years agoRepair flawed example.
Tim Peters [Thu, 12 Jul 2001 22:43:41 +0000 (22:43 +0000)]
Repair flawed example.

23 years agoRemove now-unnecessary "from __future__ import nested_scopes" stmts.
Tim Peters [Thu, 12 Jul 2001 22:36:02 +0000 (22:36 +0000)]
Remove now-unnecessary "from __future__  import nested_scopes" stmts.

23 years agopy-cvs-rel2_1 (Rev 1.3) merge - whitespace normalization
Kurt B. Kaiser [Thu, 12 Jul 2001 22:26:44 +0000 (22:26 +0000)]
py-cvs-rel2_1 (Rev 1.3) merge - whitespace normalization

23 years agopy-cvs-rel1_2 (Rev 1.4) merge,
Kurt B. Kaiser [Thu, 12 Jul 2001 22:13:51 +0000 (22:13 +0000)]
py-cvs-rel1_2 (Rev 1.4) merge,
"Add Alt-slash to Unix keydefs (I somehow need it on RH 6.2).
Get rid of assignment to unused self.text.wordlist."  --GvR

23 years agoGenerate a more meaningful message regarding the type of the documentation
Fred Drake [Thu, 12 Jul 2001 21:50:10 +0000 (21:50 +0000)]
Generate a more meaningful message regarding the type of the documentation
release being discussed.

23 years agoFixed another case of the PyArg_Parse 'h' semantic change problem, sigh...
Jack Jansen [Thu, 12 Jul 2001 21:48:10 +0000 (21:48 +0000)]
Fixed another case of the PyArg_Parse 'h' semantic change problem, sigh...

23 years agoActually remove directories from sys.path if they do not exist; the intent
Fred Drake [Thu, 12 Jul 2001 21:08:33 +0000 (21:08 +0000)]
Actually remove directories from sys.path if they do not exist; the intent
is to avoid as many stat() calls as we can.

23 years agoFiddle Windows installer to create Lib/site-packages/REAMDE as
Tim Peters [Thu, 12 Jul 2001 20:15:25 +0000 (20:15 +0000)]
Fiddle Windows installer to create Lib/site-packages/REAMDE as
Lib\site-packages\README.txt.

23 years agoFix return value for m.group() for groups not in the part of the RE that
Fred Drake [Thu, 12 Jul 2001 14:13:43 +0000 (14:13 +0000)]
Fix return value for m.group() for groups not in the part of the RE that
matched; reported by Paul Moore.

Wrapped several long lines.

23 years agoGC for generator objects.
Neil Schemenauer [Thu, 12 Jul 2001 13:27:49 +0000 (13:27 +0000)]
GC for generator objects.

23 years agoGC for method objects.
Neil Schemenauer [Thu, 12 Jul 2001 13:27:35 +0000 (13:27 +0000)]
GC for method objects.

23 years agoGC for iterator objects.
Neil Schemenauer [Thu, 12 Jul 2001 13:27:25 +0000 (13:27 +0000)]
GC for iterator objects.

23 years agoGC for frame objects.
Neil Schemenauer [Thu, 12 Jul 2001 13:27:11 +0000 (13:27 +0000)]
GC for frame objects.

23 years agoRemove reference cycle breaking code. The GC now takes care of it.
Neil Schemenauer [Thu, 12 Jul 2001 13:26:41 +0000 (13:26 +0000)]
Remove reference cycle breaking code.  The GC now takes care of it.

23 years agoTest GC of frame objects.
Neil Schemenauer [Thu, 12 Jul 2001 13:25:53 +0000 (13:25 +0000)]
Test GC of frame objects.

23 years agoMake the test pass now that 10**-15 returns a float instead of raising
Guido van Rossum [Thu, 12 Jul 2001 12:51:22 +0000 (12:51 +0000)]
Make the test pass now that 10**-15 returns a float instead of raising
an exception.

23 years agoEnable nested scopes by default.
Guido van Rossum [Thu, 12 Jul 2001 12:50:23 +0000 (12:50 +0000)]
Enable nested scopes by default.

Although this is a one-character change, more work needs to be done:
the compiler can get rid of a lot of non-nested-scopes code, the
documentation needs to be updated, the future statement can be
simplified, etc.

But this change enables the nested scope semantics everywhere, and
that's the important part -- we can now test code for compatibility
with nested scopes by default.

23 years agoAdd xmlrpc.
Guido van Rossum [Thu, 12 Jul 2001 11:54:37 +0000 (11:54 +0000)]
Add xmlrpc.

(Tim & I should agree on where to add new additions: I add them at the
top, Tim adds them at the bottom.  I like the top better because folks
who occasionally check out the NEWS file will see the latest news
first.)

23 years agoOn int/long to the negative int/long power, let float handle it
Guido van Rossum [Thu, 12 Jul 2001 11:27:16 +0000 (11:27 +0000)]
On int/long to the negative int/long power, let float handle it
instead of raising an error.  This was one of the two issues that the
VPython folks were particularly problematic for their students.  (The
other one was integer division...)  This implements (my) SF patch
#440487.

23 years agoOn long to the negative long power, let float handle it instead of
Guido van Rossum [Thu, 12 Jul 2001 11:21:17 +0000 (11:21 +0000)]
On long to the negative long power, let float handle it instead of
raising an error.  This was one of the two issues that the VPython
folks were particularly problematic for their students.  (The other
one was integer division...)  This implements (my) SF patch #440487.

23 years agoOn int to the negative integral power, let float handle it instead of
Guido van Rossum [Thu, 12 Jul 2001 11:19:45 +0000 (11:19 +0000)]
On int to the negative integral power, let float handle it instead of
raising an error.  This was one of the two issues that the VPython
folks were particularly problematic for their students.  (The other
one was integer division...)  This implements (my) SF patch #440487.

23 years agopy-cvs merge, python 1.5.2 compatability
Steven M. Gava [Thu, 12 Jul 2001 06:54:16 +0000 (06:54 +0000)]
py-cvs merge, python 1.5.2 compatability

23 years agopy-cvs merge, better error dialog
Steven M. Gava [Thu, 12 Jul 2001 06:46:53 +0000 (06:46 +0000)]
py-cvs merge, better error dialog

23 years agopy-cvs merge, additions
Steven M. Gava [Thu, 12 Jul 2001 06:38:24 +0000 (06:38 +0000)]
py-cvs merge, additions

23 years agopy-cvs merge, correct indentation
Steven M. Gava [Thu, 12 Jul 2001 05:35:17 +0000 (05:35 +0000)]
py-cvs merge, correct indentation

23 years agopy-cvs merge, correct typo
Steven M. Gava [Thu, 12 Jul 2001 05:24:19 +0000 (05:24 +0000)]
py-cvs merge, correct typo

23 years agopy-cvs merge, update colour changing info
Steven M. Gava [Thu, 12 Jul 2001 05:21:08 +0000 (05:21 +0000)]
py-cvs merge, update colour changing info

23 years agoPEP 250: Add lib/site-packages to sys.path on Windows; also sys.prefix
Tim Peters [Thu, 12 Jul 2001 05:20:13 +0000 (05:20 +0000)]
PEP 250:  Add lib/site-packages to sys.path on Windows; also sys.prefix
to sys.path if os.sep == ':' (Macs?).  See PEP 250.