- 31 Tem, 2001 15 kayıt (commit)
-
-
Marc-André Lemburg yazdı
-
Marc-André Lemburg yazdı
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.
-
Steven M. Gava yazdı
until the new help system is implemented. Removed some commented cruft.
-
Steven M. Gava yazdı
-
Steven M. Gava yazdı
indentation style changed to match existing source
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Steven M. Gava yazdı
-
Steven M. Gava yazdı
-
Steven M. Gava yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
SF bug #446219.
-
Tim Peters yazdı
privs, but haven't tested that yet. Doesn't hurt on Win98SE, anyway.
-
Andrew M. Kuchling yazdı
Note new Windows installer
-
- 30 Tem, 2001 16 kayıt (commit)
-
-
Tim Peters yazdı
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>).
-
Tim Peters yazdı
-
Tim Peters yazdı
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.
-
Jeremy Hylton yazdı
-
Jeremy Hylton yazdı
Namely, an exception is raised if the second arg to hasattr() is not a string or Unicode.
-
Fred Drake yazdı
-
Jeremy Hylton yazdı
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.
-
Jeremy Hylton yazdı
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.
-
Jeremy Hylton yazdı
Add test that calls eval with a code object that has free variables.
-
Jeremy Hylton yazdı
If the code object has free variables, raise TypeError.
-
Jeremy Hylton yazdı
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.
-
Jeremy Hylton yazdı
Import pyexpat first so that import error occurs when it is not available.
-
Martin v. Löwis yazdı
code on Darwin, since the C library version of that seems to be broken.
-
Martin v. Löwis yazdı
-
Martin v. Löwis yazdı
-
Tim Peters yazdı
make it MyPythonDirectory\BACKUP\").
-
- 29 Tem, 2001 9 kayıt (commit)
-
-
Tim Peters yazdı
-
Just van Rossum yazdı
under MacOS.)
-
Tim Peters yazdı
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.
-
Tim Peters yazdı
-
Tim Peters yazdı
-
Tim Peters yazdı
Still need to test it in pathological scenarios.
-
Tim Peters yazdı
the installation was hiding in a part of the GUI I never saw before. Add it.
-
Tim Peters yazdı
don't use directly, but the Wise utility scripts we invoke (like uninstal.wse) sometimes need them.
-
Tim Peters yazdı
-