Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove the only use of a string method. | Thomas Heller | 2002-06-10 | 1 | -1/+1 |
| | | | | Fixes SF 564840. | ||||
* | Add primitive printing support for Unix and Windows. | Guido van Rossum | 2002-06-10 | 5 | -0/+38 |
| | |||||
* | escape 8-bit chars when generating .py files. fixes bug #566302 | Just van Rossum | 2002-06-09 | 1 | -1/+16 |
| | |||||
* | Added the 7 new top level domains, and reworded the nameorgs output. | Barry Warsaw | 2002-06-07 | 1 | -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/565471 | Walter Dörwald | 2002-06-07 | 1 | -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/561478 | Walter Dörwald | 2002-06-06 | 1 | -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, to | Guido van Rossum | 2002-05-27 | 1 | -1/+1 |
| | | | | allow subclassing. | ||||
* | Patch 543222. Disable script bindings in shell window. | Raymond Hettinger | 2002-05-21 | 3 | -0/+5 |
| | |||||
* | Patches 558535. The standard Windows binding for Edit Select All | Raymond Hettinger | 2002-05-21 | 1 | -1/+1 |
| | | | | is Control-A rather than Alt-A. | ||||
* | moving into the Doc/tools directory | Skip Montanaro | 2002-04-30 | 1 | -128/+0 |
| | |||||
* | Converted to use re in stead of regex and regsub (finally:-). | Jack Jansen | 2002-04-23 | 1 | -54/+65 |
| | |||||
* | SF bug 546078: IDLE calltips cause application error. | Tim Peters | 2002-04-22 | 1 | -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 since | Jack Jansen | 2002-04-19 | 1 | -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() constructor | Andrew M. Kuchling | 2002-04-17 | 1 | -1/+1 |
| | |||||
* | Use 2.1's .hexdigest() method | Andrew M. Kuchling | 2002-04-17 | 1 | -5/+2 |
| | |||||
* | Provisional fix for writefile() [SF bug # 541730]. | Guido van Rossum | 2002-04-15 | 1 | -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öwis | 2002-04-14 | 1 | -3/+12 |
| | |||||
* | - Added support for inherent pointer types (typedefs of arrays) | Jack Jansen | 2002-04-12 | 1 | -0/+34 |
| | | | | - Added a debug class variable to enable parser debugging. | ||||
* | Give type name when complaining about using input-only type for output | Jack Jansen | 2002-04-12 | 1 | -2/+2 |
| | | | | or v.v. | ||||
* | Convert a pile of obvious "yes/no" functions to return bool. | Tim Peters | 2002-04-04 | 6 | -23/+23 |
| | |||||
* | Updated freeze.py to the new Makefile symbol layout. | Marc-André Lemburg | 2002-04-04 | 4 | -6/+4 |
| | | | | | | | Fixed a few compiler warnings. freeze.py now produces binaries which can import shared modules (unlike before). | ||||
* | new script - helps track down symbols exported by modules but not | Skip Montanaro | 2002-03-28 | 1 | -0/+128 |
| | | | | mentioned in the library reference manual | ||||
* | operate as a filter when no files or directories appear on the command line | Skip Montanaro | 2002-03-26 | 1 | -9/+17 |
| | |||||
* | use -kb on idle/Icons/minusnode.gif ("cvs up" kept checking it out all | Fredrik Lundh | 2002-03-18 | 1 | -0/+0 |
| | | | | the time...) | ||||
* | Some structures should be passed to Py_BuildValue by reference, not by value, | Jack Jansen | 2002-03-18 | 2 | -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öwis | 2002-03-18 | 2 | -0/+50 |
| | |||||
* | [Bug #512799] urllib.splittype() returns a 2-tuple. (Reported by seb bacon) | Andrew M. Kuchling | 2002-03-08 | 1 | -1/+1 |
| | |||||
* | Fix by Edward K Ream to make breakpoints work on Windows: insert a | Guido van Rossum | 2002-02-25 | 1 | -0/+1 |
| | | | | missing call to self.canonic(). | ||||
* | Patch #520483: Make IDLE OutputWindow handle Unicode. | Martin v. Löwis | 2002-02-23 | 1 | -1/+1 |
| | | | | 2.2.1 candidate. | ||||
* | SF bug #497839: reindent chokes on empty first lines. | Tim Peters | 2002-02-17 | 1 | -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 Warsaw | 2002-02-08 | 1 | -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 Rossum | 2002-02-08 | 1 | -1/+1 |
| | |||||
* | smart_backspace_event(): remove now-pointless int() call. | Tim Peters | 2002-01-23 | 1 | -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 smart | Guido van Rossum | 2002-01-23 | 2 | -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 Peters | 2002-01-23 | 1 | -1/+1 |
| | | | | Bugfix candidate! | ||||
* | Added some support for Uicode arguments. Still leaves something to be ↵ | Jack Jansen | 2002-01-01 | 3 | -1/+23 |
| | | | | desired, especially because of poor unicode support in PyArg_ParseTuple. | ||||
* | Updated to current pathnames. | Jack Jansen | 2002-01-01 | 1 | -3/+3 |
| | |||||
* | Patches by Jens B. Jorgensen with small mods by me: | Jack Jansen | 2001-12-27 | 17 | -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 Jansen | 2001-12-18 | 1 | -0/+4 |
| | |||||
* | OSX tweak: recognize both EXTERN_API_C and EXTERN_API declarations. | Just van Rossum | 2001-12-12 | 1 | -2/+2 |
| | | | | Jack: I hope I didn't break anything for you! | ||||
* | Fix SF bug #482171: webchecker dies on file: URLs w/o robots.txt | Guido van Rossum | 2001-12-11 | 1 | -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 Jansen | 2001-12-09 | 2 | -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 Rossum | 2001-12-06 | 1 | -1/+2 |
| | |||||
* | SF patch #489680 (David Abrahams): h2py uses nonexistent method splitfields() | Guido van Rossum | 2001-12-06 | 1 | -3/+3 |
| | |||||
* | A tiny but useful script that fires off a search on Google. | Guido van Rossum | 2001-12-04 | 1 | -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 (the | Jack Jansen | 2001-11-30 | 1 | -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 to | Guido van Rossum | 2001-11-28 | 1 | -395/+429 |
| | | | | the usage docs: (a) align properly, (b) explain properly. | ||||
* | Don't initialize tp_type statically, it won't work on Windows. Spotted | Jack Jansen | 2001-11-14 | 1 | -1/+1 |
| | | | | by Thomas Heller (patch 459442). | ||||
* | Don't override asplit_pat in Scanner_UH3. No reason to do so, and it broke | Jack Jansen | 2001-10-30 | 1 | -1/+0 |
| | | | | generating Waste. | ||||
* | Part 2/2 of SF patch #416704: More robust freeze, by Toby Dickenson. | Guido van Rossum | 2001-10-18 | 3 | -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). |