summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Call out IDLE Fork in startup message.Kurt B. Kaiser2001-07-161-1/+1
|
* Add a script "idles" which opens a Python Shell window.Kurt B. Kaiser2001-07-162-12/+12
| | | | | | | | | The default behaviour of idlefork idle is to open an editor window instead of a shell. Complex expressions may be run in a fresh environment by selecting "run". There are times, however, when a shell is desired. Though one can be started by "idle -t 'foo'", this script is more convenient. In addition, a shell and an editor window can be started in parallel by "idles -e foo.py".
* future.c: insert a cosmetic space.Tim Peters2001-07-162-2/+2
| | | | | pythonrun.c, run_pyc_file(): repair semantic error wrt CO_GENERATOR vs CO_GENERATOR_ALLOWED.
* Part way to allowing "from __future__ import generators" to communicateTim Peters2001-07-1611-33/+77
| | | | | | | | | | that info to code dynamically compiled *by* code compiled with generators enabled. Doesn't yet work because there's still no way to tell the parser that "yield" is OK (unlike nested_scopes, the parser has its fingers in this too). Replaced PyEval_GetNestedScopes by a more-general PyEval_MergeCompilerFlags. Perhaps I should not have? I doubted it was *intended* to be part of the public API, so just did.
* Began actually writing:Andrew M. Kuchling2001-07-161-27/+480
| | | | | | | * iterators * generators * copied the nested scopes section from the 2.1 article * standard library changes
* Preliminary support for "from __future__ import generators" to enableGuido van Rossum2001-07-158-3/+47
| | | | | | | | the yield statement. I figure we have to have this in before I can release 2.2a1 on Wednesday. Note: test_generators is currently broken, I'm counting on Tim to fix this.
* Remove redundant include of assert.h.Tim Peters2001-07-151-1/+0
|
* Python.h: Don't attempt to redefine NDEBUG if it's already defined.Tim Peters2001-07-155-4/+2
| | | | Others: Remove redundant includes of assert.h.
* Define NDEBUG when Py_DEBUG undefined, to disable the assert macro.Guido van Rossum2001-07-151-0/+4
|
* long_format: Simplify the overly elaborate base-is-a-power-of-2 code.Tim Peters2001-07-151-28/+16
|
* [Bug #438050] Check for sys/poll.h in configure scriptAndrew M. Kuchling2001-07-143-295/+287
|
* [Bug #438050]Andrew M. Kuchling2001-07-141-1/+3
| | | | | | Include sys/poll.h if it was found by the configure script. The OpenGroup spec says poll.h is the correct header file to use, so that file is preferred.
* Fix bug #417212: "curses.newwin can return pads" by changing the PythonAndrew M. Kuchling2001-07-141-3/+2
| | | | | newwin() wrapper to always return a window, and never a pad. This makes the code match the documentation.
* Fix bug #437487: "2.1 build on Solaris fails if CC is set"Andrew M. Kuchling2001-07-141-1/+2
| | | | by adding the contents of CCSHARED to the compiler specified by CC
* _Py_GetObjects(): GCC suggests to add () around && within || for someGuido van Rossum2001-07-141-1/+1
| | | | code only compiled in debug mode, and I dutifully comply.
* tabnanny and pyclbr are now found in /LibKurt B. Kaiser2001-07-142-708/+0
|
* Remove, was retained for 1.5.2 supportKurt B. Kaiser2001-07-141-157/+0
|
* Minimal text editor using MLTE (code based on wed.py, the waste demo).Jack Jansen2001-07-141-0/+464
| | | | | It's sort-of starting to work, but there's still problems with redraws and with resizing the window.
* Various small fixes. The demo now starts to limp along.Jack Jansen2001-07-143-2/+36
|
* The constants for MLTE.Jack Jansen2001-07-141-0/+164
|
* divrem1 & long_format: found a clean way to factor divrem1 so thatTim Peters2001-07-141-28/+54
| | | | | long_format can reuse a scratch area for its repeated divisions (instead of malloc/free for every digit produced); speeds str(long)/repr(long).
* long_format(): Simplify new code a bit.Tim Peters2001-07-141-5/+8
|
* Be more permissive in what is accepted as an attribute name; this makesFred Drake2001-07-141-1/+1
| | | | | this module slightly more resiliant in the face of XHTML input, or just colons in attribute names.
* Installing Idle to site-packages via Distutils does notKurt B. Kaiser2001-07-141-1/+1
| | | | | | copy the Idle help.txt file. Ref SF Python Patch 422471
* py-cvs-2001_07_13 (Rev 1.3) mergeKurt B. Kaiser2001-07-141-3/+3
| | | | | "Make copy, cut and paste events case insensitive. Reported by Patrick K. O'Brien on idle-dev. (Should other bindings follow suit?)" --GvR
* py-cvs-2001_07_13 (Rev 1.4) mergeKurt B. Kaiser2001-07-141-8/+0
| | | | | | | "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
* py-cvs-2001_07_13 (Rev 1.4) mergeKurt B. Kaiser2001-07-141-6/+20
| | | | | "Quick update to the extension mechanism (extend.py is gone, long live config.txt)" --GvR
* py-cvs-2001_07_13 (Rev 1.16) mergeKurt B. Kaiser2001-07-141-11/+23
| | | | | "Refactored, with some future plans in mind. This now uses the new gotofileline() method defined in FileList.py" --GvR
* py-cvs-2001_07_13 (Rev 1.34) mergeKurt B. Kaiser2001-07-141-1/+1
| | | | | | | | | | | | | | | | "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
* py-cvs-2001_07_13 (Rel 1.9) mergeKurt B. Kaiser2001-07-141-0/+1
| | | | | | | | | "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)
* py-cvs-2001_07_13 (Rel 1.7) mergeKurt B. Kaiser2001-07-141-0/+1
| | | | | | | "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
* py-cvs-2000_07_13 (Rev 1.9) mergeKurt B. Kaiser2001-07-141-11/+7
| | | | | | | | | | | "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.
* py-cvs-2000_07_13 (Rev 1.38) mergeKurt B. Kaiser2001-07-141-7/+3
| | | | | | "Remove legacy support for the BrowserControl module; the webbrowser module has been included since Python 2.0, and that is the preferred interface." --fdrake
* Remove TENTATIVE from the 2.1.1c1 Windows buildno.Tim Peters2001-07-141-1/+1
|
* Change the target name for \kbd.Fred Drake2001-07-141-1/+1
|
* Add another name.Fred Drake2001-07-141-0/+1
|
* Oops, one more caret.Fred Drake2001-07-141-1/+1
|
* Fix the markup of the caret charater in a couple of places; LaTeX'sFred Drake2001-07-141-2/+2
| | | | | | special character bite us again. ;-( This fixes SF bug #440911.
* Minor changes to match the style guide.Fred Drake2001-07-1421-72/+79
|
* Correct a couple of errors noted by Alex Martelli.Fred Drake2001-07-141-3/+3
|
* Remove comments about XML and HTML; those sections are noFred Drake2001-07-141-2/+1
| | | | | | longer part of this chapter. Minor change to match the style guide.
* Add a little more information about the usage of some terms where theFred Drake2001-07-141-8/+24
| | | | | | | style guide can use a little clarification, and present some minor specific markup. Make a few adjustments to conform to the style guide.
* Minor change to match the style guide.Fred Drake2001-07-141-1/+1
|
* Minor changes to match the style guide.Fred Drake2001-07-147-17/+17
|
* Minor change to match the style guide.Fred Drake2001-07-142-2/+2
|
* Minor changes to match the style guide.Fred Drake2001-07-141-3/+4
| | | | | Make the reference to the python-docs email address a hyperlink; we want to encourage responses to the plea for help!
* py-cvs-rel2_1 (Rev 1.2) mergeKurt B. Kaiser2001-07-141-0/+0
| | | | Copied py-cvs rev 1.2 changed file to idlefork MAIN
* py-cvs-rel2_1 (Rev 1.2) mergeKurt B. Kaiser2001-07-141-0/+0
| | | | Copied py-cvs 1.2 changed file to idlefork MAIN
* py-cvs-rel2_1 (rev 1.5) merge - whitespace normalizationKurt B. Kaiser2001-07-141-1/+1
|
* py-cvs-rel2_1 (Rev 1.3) merge - whitespace normalizationKurt B. Kaiser2001-07-141-8/+8
|