summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added more names.Fred Drake2001-08-011-0/+2
|
* Minor re-wording in the exaplantion of sequence comparisons.Fred Drake2001-08-011-3/+4
| | | | This closes SF bug #445749.
* Added an example of a string value for the replacement parameter toFred Drake2001-08-011-44/+60
| | | | | | | | | re.sub(). This closes SF bug #446136. Fixed description of RE modifiers so that RE{#} and RE{#,} are more clearly described and disambiguated (plain RE{#} had not been described at all). Reported by Jeremy Craven via email.
* Fix description of buffer_info(), and add a note that there is a betterFred Drake2001-08-011-6/+15
| | | | | | way... This closes SF bug #444842.
* We always wrote a pair of lines to the Wise install.log telling it toTim Peters2001-08-011-16/+19
| | | | | | | | | | | | delete the Tools and Lib directories at uninstall time. However, under the old version of Wise, they didn't actually do anything. Under the new version, they work as advertised, and even delete files users added. Got rid of those, and replaced them with similar uninstall cmds that get rid of all .pyc and .pyo files (whether or not the installer created them). This works nicely! It still tears down the directory structure, except for those directories needed to get to any non-.pyc/o file(s) the user may have added.
* Hmm. The Backup/Replace dialog also had back/next buttons three pixelsTim Peters2001-08-011-5/+5
| | | | | | narrower than all the other Wise dialogs, and offset by a few pixels in the vertical direction too. Made these things consistent across dialogs too.
* Aha! Finally figured out something else that's been driving me nuts:Tim Peters2001-08-011-2/+2
| | | | | | | | | turns out the canned new "backup directory" dialog put its "back" and "next" buttons at a different relative horizontal position than all the other canned dialogs. This explains why you had to keep moving the mouse around if you wanted to do a straight all-default install -- the Next button kept moving around. Now the back/next buttons are in exactly the same place on all dialogs, and you can click straight thru to the end.
* The "Select Destination Directory" dialog didn't ask for confirmationTim Peters2001-08-011-45/+12
| | | | | | | | | | | | | about installing into a pre-existing directory *unless* you hit the Browse button first. At least while testing, this screwed me repeatedly. Plus I really liked the Inno Setup scheme of giving you a list box in its "select directory" dialog without needing a distinct browse button to ask for that. So I redid this dialog from scratch: now gives a list box at once, the browse button is gone, it asks for confirmation if the directory already exists, and, since this is the first dialog in the set now, also removed its "Back" button.
* Remove useless Back button from Finished dialog.Tim Peters2001-08-011-16/+5
|
* Add mysnprintf.c to Windows build, + squash compiler wngs in mysnprintf.c.Tim Peters2001-07-312-2/+18
|
* Enable PyOS_snprintf() et al. during alpha phase of 2.2.0 andMarc-André Lemburg2001-07-312-10/+9
| | | | add another use case to the socketmodule.
* Move C-level changes into a section of their ownAndrew M. Kuchling2001-07-311-36/+64
| | | | | Add string.ascii_letters Remove duplicate MBCS paragraph
* Moved the news items about C API topics down to the C API section.Marc-André Lemburg2001-07-311-12/+12
|
* Add news item about Unicode API name mangling.Marc-André Lemburg2001-07-311-0/+7
|
* As discussed on python-dev: this patch adds name mangling toMarc-André Lemburg2001-07-311-0/+150
| | | | | assure that extensions and interpreters using the Unicode APIs were compiled using the same Unicode width.
* Add news items.Marc-André Lemburg2001-07-311-0/+11
|
* va_list is defined in stdarg.h.Marc-André Lemburg2001-07-311-0/+1
|
* This patch turns the Python API mismatch notice into a standardMarc-André Lemburg2001-07-314-5/+124
| | | | | | | | | | | | Python warning which can be catched by means of the Python warning framework. It also adds two new APIs which hopefully make it easier for Python to switch to buffer overflow safe [v]snprintf() APIs for error reporting et al. The two new APIs are PyOS_snprintf() and PyOS_vsnprintf() and work just like the standard ones in many C libs. On platforms which have snprintf(), the native APIs are used, on all other an emulation with snprintf() tries to do its best.
* A more lightweight (and read only) way to view help textSteven M. Gava2001-07-311-38/+4
| | | | | until the new help system is implemented. Removed some commented cruft.
* indentation style changed to match existing sourceSteven M. Gava2001-07-312-174/+174
|
* improve viewfile handlingSteven M. Gava2001-07-311-113/+118
| | | | indentation style changed to match existing source
* Add dead imports of modules that are "magically" imported.Martin v. Löwis2001-07-312-0/+11
|
* Remove obsolete entries from regen scripts.Martin v. Löwis2001-07-3114-40/+1
|
* Initialize msg to avoid unbound locals.Martin v. Löwis2001-07-315-0/+6
|
* activate new about dialog for testingSteven M. Gava2001-07-311-5/+7
|
* removed redundant separate idlfefork verSteven M. Gava2001-07-311-2/+1
|
* some new dialogs and support files for new about and configuration ↵Steven M. Gava2001-07-314-0/+365
| | | | implementations
* New name.Guido van Rossum2001-07-311-0/+1
|
* Amazing. This would open the sound file in text mode. Fixed.Guido van Rossum2001-07-311-1/+1
| | | | SF bug #446219.
* I hope this irons out the Add/Remove kinks on Win2K for users w/o AdminTim Peters2001-07-312-9/+57
| | | | privs, but haven't tested that yet. Doesn't hurt on Win98SE, anyway.
* Rewrite MBCS paragraph following MH's suggestions, and credit himAndrew M. Kuchling2001-07-311-1/+12
| | | | Note new Windows installer
* Remove oodles of pointless file date and size stamps. I caught the WiseTim Peters2001-07-301-112/+0
| | | | | | GUI inserting those once before shortly after I started using it, but don't know what triggers it -- presumably something in the "expert" view (which is, suitably enough, unsuited to experts <wink>).
* test_codeup should not have had an expected-output file; removing it.Tim Peters2001-07-301-10/+0
|
* Massive fiddling to get the install to work at all on a Win2K box under aTim Peters2001-07-302-3/+681
| | | | | | | | | | | | | | | | | | | | | | | plain unprivileged User acct: + Had to duplicate Wise's Uninstal.wse script, in order to change the line at its end that unconditionally tries to write uninstall info under HKLM. This is our new file Uninstal.wse, which must be included by python20.wse instead of using Wise's version. + In every other case we write to HKLM, also write to HKCU instead (we were already doing that in *most* places, but not quite all). + If the user doesn't have admin privs, the DLLs we usually write to the system dir are written to the root of the Python installation instead. That's python22.dll, plus the two MSVC runtime DLLs. + Added a new component "Register file extensions". Registering .py etc is done under HKEY_CLASSES_ROOT, and that also requires admin privs; i.e., AFAICT it's impossible for an unprivileged user to accomplish this. In the component selection dialog, if the user doesn't have admin privs I gray out this new component so the user knows they aren't getting file extensions. After all that, Python installs, the Start Menu entries are OK, it runs its test suite to completion, and the uninstaller works too. Only known problem so far is that the integration with Win2K's Add/Remove subsystem isn't quite right yet in this irritating case.
* Add tests for getattr() and hasattr() with non-string argsJeremy Hylton2001-07-302-0/+24
|
* Do for hasattr() what was done for getattr()Jeremy Hylton2001-07-301-0/+11
| | | | | Namely, an exception is raised if the second arg to hasattr() is not a string or Unicode.
* Get the whitespace right!Fred Drake2001-07-301-3/+3
|
* Fix for SF byg [ #420304 ] getattr function w/ defaultJeremy Hylton2001-07-301-0/+11
| | | | | | | Fix suggested by Michael Hudson: Raise TypeError if attribute name passed to getattr() is not a string or Unicode. There is some unfortunate duplication of code between builtin_getattr() and PyObject_GetAttr(), but it appears to be unavoidable.
* Add _PyUnicode_AsDefaultEncodedString to unicodeobject.h.Jeremy Hylton2001-07-305-29/+17
| | | | | | | And remove all the extern decls in the middle of .c files. Apparently, it was excluded from the header file because it is intended for internal use by the interpreter. It's still intended for internal use and documented as such in the header file.
* Fix for SF bug [ #443866 ] Evaluating func_code causing core dumpJeremy Hylton2001-07-302-0/+14
| | | | Add test that calls eval with a code object that has free variables.
* Fix for SF bug [ #443866 ] Evaluating func_code causing core dumpJeremy Hylton2001-07-301-1/+7
| | | | If the code object has free variables, raise TypeError.
* Ugly fix used when pyexpat is not available.Jeremy Hylton2001-07-301-0/+3
| | | | | | | | | | If pyexpat is not available and more than one attempt is made to load an expat-based xml parser, an empty xml.parser.expat module will be created. This empty module will confuse xml.sax.expatreader into thinking that pyexpat is available. The ugly fix is to verify that the expat module actually defines the names that are imported from pyexpat.
* Fix when pyexpat not builtJeremy Hylton2001-07-301-0/+1
| | | | | Import pyexpat first so that import error occurs when it is not available.
* Temporarily work around bug #445928: Force usage of getaddrinfo emulationMartin v. Löwis2001-07-301-2/+6
| | | | code on Darwin, since the C library version of that seems to be broken.
* Patch #442866: Tests for codeop.py.Martin v. Löwis2001-07-302-0/+100
|
* Patch #445538: add completion for pstats.py sort cmd.Martin v. Löwis2001-07-301-0/+2
|
* Add a dialog for the backup directory (default "yes I want one, andTim Peters2001-07-301-6/+289
| | | | make it MyPythonDirectory\BACKUP\").
* Now stop distutils and xml from getting *too* much (like .pyc files).Tim Peters2001-07-291-6/+25
|
* Do convert_path() on script paths (now PyXML builds out of the boxJust van Rossum2001-07-291-0/+2
| | | | under MacOS.)
* Repair long-standing mistakes in the distutils and xml installations:Tim Peters2001-07-291-3/+42
| | | | | | | 1. Only .py files were getting installed. 2. Empty CVS directories were getting created. Both were due to trying to get away with "recursively copy *.py" one- liner scripting.