- 11 Dec, 1997 3 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
bind_class() and bind_all() are destroyed when the widget to which they were passed is destroyed.
-
- 10 Dec, 1997 16 commits
-
-
Guido van Rossum authored
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 authored
-
Guido van Rossum authored
-
Guido van Rossum authored
__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 authored
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 authored
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 authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
Untabified and minor tweaks by me.
-
Guido van Rossum authored
quicksort. This should be much faster if there are lots of duplicates, and otherwise at least as good.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
that doesn't have a console window attached. stdout/stderr are lost. This is handy though for things like grail.
-
- 09 Dec, 1997 21 commits
-
-
Guido van Rossum authored
to cPickle.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
format. This will complain about illegal formats like "O#" instead of ignoring the '#'.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
liberated. This was originally written by Ken and later revamped by Barry.
-
Guido van Rossum authored
by Scott <scott@chronis.icgroup.com>
-
Fred Drake authored
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 authored
-
Guido van Rossum authored
-
Guido van Rossum authored
being destroyed already.
-
Guido van Rossum authored
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 authored
-