summaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Whitespace normalization.Tim Peters2002-08-233-3/+3
|
* Moved CoreFoundation type support to bgen/macsupport.Jack Jansen2002-08-221-0/+11
|
* iUse PyDoc_STR() around docstrings.Jack Jansen2002-08-161-1/+1
|
* This is my patchMichael W. Hudson2002-08-151-34/+15
| | | | | | | | [ 587993 ] SET_LINENO killer Remove SET_LINENO. Tracing is now supported by inspecting co_lnotab. Many sundry changes to document and adapt to this change.
* Convert characters from the locale's encoding on output.Martin v. Löwis2002-08-102-1/+15
| | | | Reject characters outside the locale's encoding on input.
* A tool to transform gprof(1) output into HTML, so you can click on aGuido van Rossum2002-08-091-0/+78
| | | | function name and go to the corresponding entry.
* Massive changes from SF 589982 (tempfile.py rewrite, by ZackGuido van Rossum2002-08-093-12/+12
| | | | | Weinberg). This changes all uses of deprecated tempfile functions to the recommended ones.
* Be a lot less verbose by default.Jack Jansen2002-08-052-6/+7
|
* Initial prototype of framer: a tool to build the frame for extension modules.Jeremy Hylton2002-08-0512-0/+915
|
* Fixed to run better in unix-Python, and to cater for bgenlocationsJack Jansen2002-08-051-3/+7
| | | | possibly being missing.
* Moved bgenlocations to the Mac/Lib directory. Not perfect, but better thanJack Jansen2002-08-051-13/+0
| | | | | | | where it was: it is really a configuration file, not a normal module. By moving it into Mac/Lib we can now also store the location of bgen itself in there, which is needed because bgen isn't installed.
* Patch #590913: PEP 263 support.Martin v. Löwis2002-08-052-1/+188
|
* Use ascii_letters to avoid UnicodeErrors.Martin v. Löwis2002-08-051-1/+4
|
* Specify pathnames in a way that works on both OS9 and OSX.Jack Jansen2002-08-041-3/+3
| | | | You'll still have to manually edit it, though...
* Use universal newline input when scanning header files.Jack Jansen2002-08-041-3/+3
|
* * runctx - fix a couple typosSkip Montanaro2002-07-251-17/+21
| | | | | | | | | * globaltrace_lt - handle case where inspect.getmodulename doesn't return anything useful * localtrace_trace - handle case where inspect.getframeinfo doesn't return any context info I think both of the last two are caused by exec'd or eval'd code
* Get rid of _expand() altogether - the match object supports m.expand().Guido van Rossum2002-07-241-11/+2
|
* The test for re.engine was misfiring because re.engine is no longerGuido van Rossum2002-07-241-11/+4
| | | | | | | | | defined and the default was "pre" instead of "sre". Give up on 1.5.2 compatibility, hardcode the sre solution. However, this XXX comment still applies, AFAIK: # XXX This code depends on internals of the regular expression # engine! There's no standard API to do a substitution when you # have already found the match. One should be added.
* staticforward bites the dust.Jeremy Hylton2002-07-172-3/+3
| | | | | | | | | | | | | | | The staticforward define was needed to support certain broken C compilers (notably SCO ODT 3.0, perhaps early AIX as well) botched the static keyword when it was used with a forward declaration of a static initialized structure. Standard C allows the forward declaration with static, and we've decided to stop catering to broken C compilers. (In fact, we expect that the compilers are all fixed eight years later.) I'm leaving staticforward and statichere defined in object.h as static. This is only for backwards compatibility with C extensions that might still use it. XXX I haven't updated the documentation.
* Added the "weird" ccTLDs ac, gg, im, and je. These are not recognizedBarry Warsaw2002-07-151-5/+17
| | | | | | by ISO 3166 as country codes, but the are reserved by IANA nonetheless. The commonly used uk ccTLD is part of this group, near as I can tell.
* Update freeze to use zlib 1.1.4.Mark Hammond2002-07-031-2/+2
| | | | From patch: [ 574532 ] Update freeze to use zlib 1.1.4
* Patch 574531/Bug 574570 - allow freeze on windows to use the _winregMark Hammond2002-06-281-1/+5
| | | | extension.
* Mechanically translated string method calls to string methods.Fred Drake2002-06-181-36/+22
| | | | | Instead of splitting a string and looping over it to call s.split(), use list comprehensions for readability.
* SF patch #552837, submitted by Robert Pyron:Fred Drake2002-06-181-29/+508
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. BUGFIX: In function makefile(), strip blanks from the nodename. This is necesary to match the behavior of parser.makeref() and parser.do_node(). 2. BUGFIX fixed KeyError in end_ifset (well, I may have just made it go away, rather than fix it) 3. BUGFIX allow @menu and menu items inside @ifset or @ifclear 4. Support added for: @uref URL reference @image image file reference (see note below) @multitable output an HTML table @vtable 5. Partial support for accents, to match MAKEINFO output 6. I added a new command-line option, '-H basename', to specify HTML Help output. This will cause three files to be created in the current directory: `basename`.hhp HTML Help Workshop project file `basename`.hhc Contents file for the project `basename`.hhk Index file for the project When fed into HTML Help Workshop, the resulting file will be named `basename`.chm. 7. A new class, HTMLHelp, to accomplish item 6. 8. Various calls to HTMLHelp functions. A NOTE ON IMAGES: Just as 'outputdirectory' must exist before running this program, all referenced images must already exist in outputdirectory. FLD: wrapped some long lines.
* Patch #488073: AtheOS port.Martin v. Löwis2002-06-111-0/+2
|
* Remove the only use of a string method.Thomas Heller2002-06-101-1/+1
| | | | Fixes SF 564840.
* Add primitive printing support for Unix and Windows.Guido van Rossum2002-06-105-0/+38
|
* escape 8-bit chars when generating .py files. fixes bug #566302Just van Rossum2002-06-091-1/+16
|
* Added the 7 new top level domains, and reworded the nameorgs output.Barry Warsaw2002-06-071-113/+110
| | | | | | | | | | | | | | | | | | | | | | | | Not sure this is better in all cases. parse(): Fixed a bug in the output; the dict is referred to in the code as `countries' not `country'. Also added no-case-fold for the string "U.S." since the Virgin Islands name no longer wraps those in parentheses. main(): Fixed the argument parsing to agree with the docstring, i.e. --outputdict instead of --output. In the module docstring: - updated my email address - we don't need to explain about Python 1.5 regexps <wink> We also don't need to wrap the import of re with a try/except. Other style fixes: - untabification - revert back to <> style everywhere (and consistently)
* Apply diff2.txt from SF patch http://www.python.org/sf/565471Walter Dörwald2002-06-071-35/+31
| | | | | | | | | | | | | This patch replaces string module functions with string methods in the Tools/world/world scripts. It also updates two outdated URLs and the countrycodes dictionary. It fixes a bug where result of string.find() was checked for truth instead of compared with -1. It also replaces <> with != in two spots.
* Apply diff.txt from SF patch http://www.python.org/sf/561478Walter Dörwald2002-06-061-1/+2
| | | | | | This uses cgi.parse_header() in Checker.checkforhtml(), so that webchecker recognises the mime type text/html even if options are specified.
* Use self.__class__ to instantiate a TreeNode item recursively, toGuido van Rossum2002-05-271-1/+1
| | | | allow subclassing.
* Patch 543222. Disable script bindings in shell window.Raymond Hettinger2002-05-213-0/+5
|
* Patches 558535. The standard Windows binding for Edit Select AllRaymond Hettinger2002-05-211-1/+1
| | | | is Control-A rather than Alt-A.
* moving into the Doc/tools directorySkip Montanaro2002-04-301-128/+0
|
* Converted to use re in stead of regex and regsub (finally:-).Jack Jansen2002-04-231-54/+65
|
* SF bug 546078: IDLE calltips cause application error.Tim Peters2002-04-221-0/+6
| | | | | | | | 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.
* Oops: we used PyMem_DEL() to clean up objects, and that's a problem sinceJack Jansen2002-04-191-1/+1
| | | | | | | | pymalloc, apparently. Fixed, but this means all bgen-generated modules will have to be re-generated. I hope (and expect) that the pymalloc fixes aren't bugfix candidates, because if they are this is one too.
* Use md5.new() constructorAndrew M. Kuchling2002-04-171-1/+1
|
* Use 2.1's .hexdigest() methodAndrew M. Kuchling2002-04-171-5/+2
|
* Provisional fix for writefile() [SF bug # 541730].Guido van Rossum2002-04-151-1/+1
| | | | | | | | | | | | | | | | | | | | 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.
* Patch #540583: Open MS Help Docs if available.Martin v. Löwis2002-04-141-3/+12
|
* - Added support for inherent pointer types (typedefs of arrays)Jack Jansen2002-04-121-0/+34
| | | | - Added a debug class variable to enable parser debugging.