summaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* new script - helps track down symbols exported by modules but notSkip Montanaro2002-03-281-0/+128
| | | | mentioned in the library reference manual
* operate as a filter when no files or directories appear on the command lineSkip Montanaro2002-03-261-9/+17
|
* use -kb on idle/Icons/minusnode.gif ("cvs up" kept checking it out allFredrik Lundh2002-03-181-0/+0
| | | | the time...)
* Some structures should be passed to Py_BuildValue by reference, not by value,Jack Jansen2002-03-182-2/+10
| | | | | | notably FSSpec and FSRef objects. First half of fix for #531291. 2.2.1 candidate.
* Patch #512466: Script to move faqwiz entries.Martin v. Löwis2002-03-182-0/+50
|
* [Bug #512799] urllib.splittype() returns a 2-tuple. (Reported by seb bacon)Andrew M. Kuchling2002-03-081-1/+1
|
* Fix by Edward K Ream to make breakpoints work on Windows: insert aGuido van Rossum2002-02-251-0/+1
| | | | missing call to self.canonic().
* Patch #520483: Make IDLE OutputWindow handle Unicode.Martin v. Löwis2002-02-231-1/+1
| | | | 2.2.1 candidate.
* SF bug #497839: reindent chokes on empty first lines.Tim Peters2002-02-171-0/+4
| | | | | | Reindenter.run(): copy over initial all-whitespace lines (if any, and after normalizing to remove trailing blanks and tabs). Bugfix candidate.
* Added a module docstring, which doubles as the --help text.Barry Warsaw2002-02-081-16/+81
| | | | | Added a bunch of command line options to make the script more generic.
* www.google.com is better than google.com.Guido van Rossum2002-02-081-1/+1
|
* smart_backspace_event(): remove now-pointless int() call.Tim Peters2002-01-231-1/+1
| | | | Bugfix candidate: the current state of AutoIdent.py should be in 2.2.1.
* Properly fix SF bug #507298 (Gregor Lingl): shellpython2.2 -Qnew smartGuido van Rossum2002-01-232-3/+3
| | | | | | | indent error Use // where int division is intended. (This breaks IDLE for use with previous Python versions -- I don't care.)
* classifyws(): Fix a "/" to work under -Qnew (as well as without it).Tim Peters2002-01-231-1/+1
| | | | Bugfix candidate!
* Added some support for Uicode arguments. Still leaves something to be ↵Jack Jansen2002-01-013-1/+23
| | | | desired, especially because of poor unicode support in PyArg_ParseTuple.
* Updated to current pathnames.Jack Jansen2002-01-011-3/+3
|
* Patches by Jens B. Jorgensen with small mods by me:Jack Jansen2001-12-2717-146/+60
| | | | | - Converted the templates to use ANSI C prototypes (finally!) - Use re in stead of deprecated regex
* Small change to allow for generation of QuickTime module for Windows.Jack Jansen2001-12-181-0/+4
|
* OSX tweak: recognize both EXTERN_API_C and EXTERN_API declarations.Just van Rossum2001-12-121-2/+2
| | | | Jack: I hope I didn't break anything for you!
* Fix SF bug #482171: webchecker dies on file: URLs w/o robots.txtGuido van Rossum2001-12-111-2/+2
| | | | | | The cause seems to be that when a file URL doesn't exist, urllib.urlopen() raises OSError instead of IOError. Simply add this to the except clause. Not elegant, but effective. :-)
* The module generator now tells its object generators about the module name ↵Jack Jansen2001-12-092-1/+9
| | | | (through the new setmodulename() method). If the module name has been set the object generators output it as part of the tp_name field for the object type.
* Warning message about unfound file was missing trailing \n.Guido van Rossum2001-12-061-1/+2
|
* SF patch #489680 (David Abrahams): h2py uses nonexistent method splitfields()Guido van Rossum2001-12-061-3/+3
|
* A tiny but useful script that fires off a search on Google.Guido van Rossum2001-12-041-0/+22
| | | | (Not sure if this is legal according to the Google terms of service. :-)
* Merged changes made on r22b2-branch between r22b2 and r22b2-mac (theJack Jansen2001-11-301-0/+2
| | | | changes from start of branch upto r22b2 were already merged, of course).
* Checking in Zooko's version per SF patch #476866, plus my changes toGuido van Rossum2001-11-281-395/+429
| | | | the usage docs: (a) align properly, (b) explain properly.
* Don't initialize tp_type statically, it won't work on Windows. SpottedJack Jansen2001-11-141-1/+1
| | | | by Thomas Heller (patch 459442).
* Don't override asplit_pat in Scanner_UH3. No reason to do so, and it brokeJack Jansen2001-10-301-1/+0
| | | | generating Waste.
* Part 2/2 of SF patch #416704: More robust freeze, by Toby Dickenson.Guido van Rossum2001-10-183-11/+59
| | | | | | | | | | | | | (With slight cosmetic improvements to shorten lines and a grammar fix to a docstring.) This addes -X and -E options to freeze. From the docstring: -X module Like -x, except the module can never be imported by the frozen binary. -E: Freeze will fail if any modules can't be found (that were not excluded using -x or -X).
* Test utility to look for bad stacksize calculations.Jeremy Hylton2001-10-171-0/+43
|
* Update outdated text about how to fix the font.Guido van Rossum2001-10-081-4/+5
|
* Replace all instances of err.strerror with err.Jeremy Hylton2001-10-081-6/+6
| | | | | | | The strerror attribute contained only partial information about the exception and produced some very confusing error messages. By passing err (the exception object itself) and letting it convert itself to a string, the error messages are better.
* Changed the reindenter to strip only trailing spaces and tabs from lines,Tim Peters2001-10-041-3/+16
| | | | | not other control characters string.rstrip() got rid of. This caters to the \f thingies Barry likes putting in Python source files.
* Removed files no longer needed.Fred Drake2001-09-283-663/+0
|
* Generalize file.writelines() to allow iterable objects.Tim Peters2001-09-231-2/+1
|
* Fix restore (difflib.restore() became a generator too).Tim Peters2001-09-221-1/+2
|
* Make difflib.ndiff() and difflib.Differ.compare() generators. ThisTim Peters2001-09-221-3/+2
| | | | | restores the 2.1 ability of Tools/scripts/ndiff.py to start producing output before the entire comparison is complete.
* Update description of Tools/compilerJeremy Hylton2001-09-201-3/+2
|
* Remove setup.py, unnecessary since compiler package is the stdJeremy Hylton2001-09-202-14/+2
| | | | | | library. Update README.
* Moved to Tools/compiler along with astgen.pyJeremy Hylton2001-09-201-87/+0
|
* The compiler package is now part of the standard library.Jeremy Hylton2001-09-2012-5811/+0
| | | | Remove all these files. All except astgen.py are moved to Lib/compiler.
* Track changes to compiler APIJeremy Hylton2001-09-172-9/+15
|
* API change:Jeremy Hylton2001-09-173-10/+109
| | | | | | | | | | | | | | | | | | compile() becomes replacement for builtin compile() compileFile() generates a .pyc from a .py both are exported in __init__ compiler.parse() gets optional second argument to specify compilation mode, e.g. single, eval, exec Add AbstractCompileMode as parent class and Module, Expression, and Interactive as concrete subclasses. Each corresponds to a compilation mode. THe AbstractCompileMode instances in turn delegate to CodeGeneration subclasses specialized for their particular functions -- ModuleCodeGenerator, ExpressionCodeGeneration, InteractiveCodeGenerator.
* Re-created after change to astgen to calculate hardest_arg correctlyJeremy Hylton2001-09-171-577/+603
|
* Fix calculation of hardest_arg.Jeremy Hylton2001-09-172-6/+6
| | | | | | | | | The argument properties are ordered from easiest to hardest. The harder the arg, the more complicated that code that must be generated to return it from getChildren() and/or getChildNodes(). The old calculation routine was bogus, because it always set hardest_arg to the hardness of the last argument. Now use max() to always set it to the hardness of the hardest argument.
* Last set of change to get regression tests to passJeremy Hylton2001-09-173-5/+10
| | | | | | | | | | | Remove the only test in the syntax module. It ends up that the transformer must handle this error case. In the transformer, check for a list compression in com_assign_list() by looking for a list_for node where a comma is expected. In pycodegen.compile() re-raise the SyntaxError rather than catching it and exiting
* Add -p option to invoke Python profilerJeremy Hylton2001-09-171-5/+11
|
* Only print attributes that start with co_.Jeremy Hylton2001-09-171-1/+6
| | | | | If passed a .py file as an argument, try to find its accompanying .pyc.
* Handle more syntax errors.Jeremy Hylton2001-09-172-29/+77
| | | | | | | | Invoke compiler.syntax.check() after building AST. If a SyntaxError occurs, print the error and exit without generating a .pyc file. Refactor code to use compiler.misc.set_filename() rather than passing filename argument around to each CodeGenerator instance.
* Add utility to set filename attribute on all nodesJeremy Hylton2001-09-171-0/+9
|