- 11 Ara, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
bind_class() and bind_all() are destroyed when the widget to which they were passed is destroyed.
-
- 10 Ara, 1997 16 kayıt (commit)
-
-
Guido van Rossum yazdı
The attached patch adds the following behavior to the handling of REDUCE codes: - A user-defined type may have a __reduce__ method that returns a string rather than a tuple, in which case the object is saved as a global object with a name given by the string returned by reduce. This was a feature added to cPickle a long time ago. - User-defined types can now support unpickling without executing a constructor. The second value returned from '__reduce__' can now be None, rather than an argument tuple. On unpickling, if the second value returned from '__reduce__' during pickling was None, then rather than calling the first value returned from '__reduce__', directly, the '__basicnew__' method of the first value returned from '__reduce__' is called without arguments. I also got rid of a few of Chris' extra ()s, which he used to make python ifs look like C ifs.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
__builtins__ for all calls to eval(). This still allows someone to write string.atof("[1]*1000000") (which Jim Fulton worries about) but effectively disables access to system modules and functions.
-
Guido van Rossum yazdı
have been configured, string.atof() should not fail when "import re" fails (usually because pcre is not there). This opens up a tiny security hole: *if* an attacker can make "import re" fail, they can also make string.atof(arbitrary_string) evaluate the arbitrary string. Nothing to keep me awake at night...
-
Guido van Rossum yazdı
mode. The pickler always uses base 10 so the default base should be fine. (The base gets us in trouble when there's no strop module, as the atoi() in string.py only supports base 10. This is for JPython.)
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
Untabified and minor tweaks by me.
-
Guido van Rossum yazdı
quicksort. This should be much faster if there are lots of duplicates, and otherwise at least as good.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
that doesn't have a console window attached. stdout/stderr are lost. This is handy though for things like grail.
-
- 09 Ara, 1997 22 kayıt (commit)
-
-
Guido van Rossum yazdı
to cPickle.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
format. This will complain about illegal formats like "O#" instead of ignoring the '#'.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
liberated. This was originally written by Ken and later revamped by Barry.
-
Guido van Rossum yazdı
by Scott <scott@chronis.icgroup.com>
-
Fred Drake yazdı
Modules/Setup.local. Guido: I hope this is ok; it seems to make a lot of sense to get the whole trio of module config files installed as a set rather than doing it partially.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
being destroyed already.
-
Guido van Rossum yazdı
by Marc Lemburg. There's a path through the code where *val is NULL, but value isn't, and value should be DECREF'ed.
-
Fred Drake yazdı
-
Guido van Rossum yazdı
Also reformatted the whole module with 4 spaces and no tabs.
-
- 08 Ara, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
printing (when Py_DEBUG is defined) happens while there's still a current thread...
-