summaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* Silly little script to print statistics (files, lines, words) byGuido van Rossum2003-01-011-0/+116
| | | | extension. Could use some work, but already very useful.
* moving modulefinder.py to the standard libraryJust van Rossum2002-12-311-486/+0
|
* Oops, old-style types don't have a tp_free slot. Call PyObject_FreeJack Jansen2002-12-231-2/+6
| | | | directly in that case.
* Always use self->ob_type->tp_free when freeing an object.Jack Jansen2002-12-191-1/+1
|
* Always output an inheritance-aware version of the xxxx_Check() macro. AlsoJack Jansen2002-12-191-5/+1
| | | | fixed that macro to actually work:-)
* Added an optional longname argument to Module, which gives the full,Jack Jansen2002-12-171-2/+7
| | | | | | externally visible name of the module. This is so that type names can be shown as "Carbon.File.FSSpec" even though the real name of the module is "_File".
* Correct buggy module docstring.Jeremy Hylton2002-12-111-17/+30
| | | | | | Replace use of homebrew boolean with True/False. Reflow lots more long lines.
* Fix one bug and reformat lots of code.Jeremy Hylton2002-12-111-50/+72
| | | | | | | | | The bug is a reference to co_first_lineno that should be co_firstlineno. The only other substantial change is to speed up localtrace_count() by avoiding *costly* calls to inspect module. It's trivial to get the filename and lineno directly from the frame. Otherwise, delete commented out debug code and reflow very long lines.
* Fixed typo.Jack Jansen2002-12-051-1/+1
|
* add logmerge.py (pydoc is already installed)Skip Montanaro2002-12-051-0/+1
|
* simple setup.py to install some interesting scripts in $(prefix)/bin.Skip Montanaro2002-12-051-0/+16
|
* * when given, port should be converted to intSkip Montanaro2002-12-051-1/+3
| | | | * when connecting, if the port is non-standard, display it as well
* allow optional port specified as part of the hostname, e.g.,Skip Montanaro2002-12-051-3/+6
| | | | "www.zope.org:8021".
* Added PEP253 support.Jack Jansen2002-12-031-11/+114
|
* Get rid of 1.5.2 compatibility hack. :-)Guido van Rossum2002-12-031-8/+0
|
* Fixed two silly bugs in the PEP252 support code, added an assertJack Jansen2002-11-281-3/+10
| | | | that basechain isn't set, and made the output a bit prettier.
* refactor universal line endings detectionJust van Rossum2002-11-261-8/+8
|
* Polish some bits to silence pychecker.Thomas Heller2002-11-261-1/+1
|
* Don't look for modules in the registry any longer.Thomas Heller2002-11-261-38/+0
| | | | | | | | | | Mark writes in private email: "Modules listed in the registry was a dumb idea. This whole scheme can die. AFAIK, no one in the world uses it (including win32all since the last build)." (See also SF #643711)
* Add a note that this file should be kept compatible with Python 1.5.2,Thomas Heller2002-11-251-2/+10
| | | | | | | per PEP 291 (although there are currently string methods used). This patch makes it compatible with 2.2, at least, by detecting universal newline support.
* Added a class PEP252Mixin. By adding this to your ObjectDefinition youJack Jansen2002-11-251-2/+127
| | | | | | | | | | | get PEP-252 style objects in stead of old-fashioned objects. In stead of defining a GetattrHook you declare a class variable getsetlist, which contains tuples (name, getcode, setcode, docstring). Only lightly tested: the code still works if you don't inherit PEP252Mixin and the code works if you inherit it but don't define any getters or setters. Also, this will not work together with the "poor mans inheritance" offered by method chains, so the CF module will remain with old-style objects until PEP253 is supported too.
* Add unidata_version. Bump generator version number.Martin v. Löwis2002-11-251-2/+6
|
* Sort names independent of the Python version. Fix hex constant warning.Martin v. Löwis2002-11-241-7/+11
| | | | Include all First/Last blocks.
* Patch #626485: Support Unicode normalization.Martin v. Löwis2002-11-231-3/+90
|
* Expand negative hexadecimal constants.Martin v. Löwis2002-11-231-9/+25
|
* Patch #542562, file 25252: Remove changelog.Martin v. Löwis2002-11-221-38/+0
|
* Patch #494845: Support string concatenation, detect non-string data,Martin v. Löwis2002-11-221-37/+163
| | | | add globbing support, find modules by name instead of by file.
* Enhancement for ModuleFinder, it can now handle _xmlplus aka PyXML.Thomas Heller2002-11-141-0/+14
| | | | Fixes SF # 637835.
* Tim wins a bet. Don't use re.Guido van Rossum2002-11-131-2/+2
|
* Fix SF # 464405, freeze doesn't like DOS files on LinuxNeal Norwitz2002-11-121-2/+2
| | | | Use universal newline support when opening a file for freezing.
* SF # 627900, Bytecode copy bug in freezeNeal Norwitz2002-11-121-1/+2
| | | | | Pass co_freevars and co_cellvars to new.code(). Will backport.
* Handle the Content-Type header a little more appropriately: if itFred Drake2002-11-121-0/+3
| | | | | | contains options, drop them to get the major/minor content type. Modified from the supplied patch to support more whitespace variation. Closes SF patch #613605.
* Clarify the meaning of "requires Python 1.5.2".Raymond Hettinger2002-11-081-3/+4
|
* Add --check-tkinter to setup.py. Install IDLE. Fixes #634078.Martin v. Löwis2002-11-061-5/+24
|
* Use column= rather than col=; with Tk 8.4 col= no longer works.Guido van Rossum2002-11-061-3/+3
| | | | [SF patch 634250 -- that was an IDLEFORK patch.]
* Support sdist.Martin v. Löwis2002-11-051-0/+4
|
* Oops, committed this in the wrong place.Guido van Rossum2002-10-281-740/+0
|
* Beginnings of a spreadsheet I used as an example on Linux Lunacy II.Guido van Rossum2002-10-271-0/+740
|
* FILETYPES: Newer XFree86 rgb.txt files use the key Xorg instead ofBarry Warsaw2002-10-211-67/+68
| | | | XConsortium. Now we can recognize these files!
* Some fixes based on feedback from Hans Petter Langtangen.Barry Warsaw2002-10-211-41/+44
| | | | | | | | | | | | | | build(): Fix the logic here for calculating fallbacks if the dbfile isn't parseable. main(): Fix the semantics for -d/--database; this should override any database value found in the .pynche file. Update some comments, and author contact info. Bump to v1.4 Whitespace normalization.
* Fix a typo, update (only one) style improvement, whitespaceBarry Warsaw2002-10-211-5/+5
| | | | normalization.
* Verify that lower-higher case delta are 16-bit.Martin v. Löwis2002-10-181-3/+11
|
* Update to Unicode 3.2 database.Martin v. Löwis2002-10-181-2/+2
|
* Added -b tag option to limit output to a specific branch only.Guido van Rossum2002-09-291-5/+43
| | | | Use -b HEAD to limit output to the trunk (skip all branch revisions).
* Remove unnecessary importsNeal Norwitz2002-09-121-4/+0
|
* Remove unused local variablesNeal Norwitz2002-09-122-2/+0
|
* Remove unnecessary importsNeal Norwitz2002-09-127-10/+0
|
* Remove another mention of "import string".Walter Dörwald2002-09-121-3/+2
| | | | | The file itself still mentions Python 1.5.1, so it might need further updates.
* Apply diff2.txt from SF patch http://www.python.org/sf/572113Walter Dörwald2002-09-1170-346/+271
| | | | | | | | (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.
* Extended IDLE's open module menu item to handle hierarchical module names.Raymond Hettinger2002-09-081-2/+15
| | | | | | | Will look at doing something similar in import.c so that the effort won't have to be repeated elsewhere. Closes SF patch 600152.