- 27 Agu, 2001 13 kayıt (commit)
-
-
Tim Peters yazdı
PyTokenizer_Get: error if exponent contains no digits (3e, 2.0e+, ...).
-
Jack Jansen yazdı
-
Jack Jansen yazdı
get these by specifying maxval=0, which is now also the default. Untested.
-
Jack Jansen yazdı
'static' and 'shared'. This fixes extension building for dynamic Pythons on MacOSX.
-
Jack Jansen yazdı
- make the selftests work again (they were apparently not used since very early in bgen's development), with some minor cleanup by me - make emacs python mode happier
-
Jack Jansen yazdı
Refer to the toolbox modules by their official name (Carbon.AE), not the internal name (_AE). This can slow things down (once) but it's the only way I can get things to work on OSX, OS9 dynamically loaded and OS9 frozen.
-
Jack Jansen yazdı
When we're freezing to sourcecode and one of the modules is a dynamic module that is in a package we freeze that module at toplevel (outside any package). Not optimal, but there is little more we can do as config.c has no way to specify a builtin module has to be dumped into a package.
-
Jack Jansen yazdı
-
Jack Jansen yazdı
Added targets for building the Carbon and Classic interpreter if you don't want to go through fullbuild.py.
-
Jack Jansen yazdı
- Made the "killed unknown window" code dependent on a global var, so you can easily turn the behaviour off for IDE debugging.
-
Jack Jansen yazdı
-
Tim Peters yazdı
Brian Quinlan.
-
Barry Warsaw yazdı
PyString_FromFormatV(): In the final resize at the end, we can use PyString_AS_STRING() since we know the object is a string and can avoid the typechecking. PyString_FromFormat(): GS sez: "For safety/propriety, you should call va_end() on the vargs variable."
-
- 25 Agu, 2001 3 kayıt (commit)
-
-
Jack Jansen yazdı
-
Jack Jansen yazdı
Step 2 in putting the MacOS toolbox modules in a package: issue a DepracationWarning in the compatibility modules.
-
Tim Peters yazdı
at least in the first two characters. %p is ill-defined, and people will forever commit bad tests otherwise ("bad" in the sense that they fall over (at least on Windows) for lack of a leading '0x'; 5 of the 7 tests in test_repr.py failed on Windows for that reason this time around).
-
- 24 Agu, 2001 24 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
calling unbound method with wrong first argument.
-
Barry Warsaw yazdı
recent classobject.c change. When calling an unbound method with no instances as first argument, the error message has changed. The message now contains the class name, but the output text being compared to is too generic, so skip printing it.
-
Guido van Rossum yazdı
the same signature.
-
Guido van Rossum yazdı
should just be "getset", not "getset.__init__".
-
Guido van Rossum yazdı
an inappropriate first argument. Now that there are more ways for this to fail, make sure to report the name of the class of the expected instance and of the actual instance.
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
lambda (anonymous functions?), function, xrange, buffer, cell (need to fill in), and (some) descriptor types. Also added a new test case for testing repr truncation fixes.
-
Barry Warsaw yazdı
PyString_FromFormat() since it's much more generally useful than just for exceptions.
-
Barry Warsaw yazdı
into a hardcoded char* buffer. Closes patch #454743.
-
Barry Warsaw yazdı
PyErr_Format() these new C API methods can be used instead of sprintf()'s into hardcoded char* buffers. This allows us to fix many situation where long package, module, or class names get truncated in reprs. PyString_FromFormat() is the varargs variety. PyString_FromFormatV() is the va_list variety Original PyErr_Format() code was modified to allow %p and %ld expansions. Many reprs were converted to this, checkins coming soo. Not changed: complex_repr(), float_repr(), float_print(), float_str(), int_repr(). There may be other candidates not yet converted. Closes patch #454743.
-
Tim Peters yazdı
compiler-flag argument).
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
super(type) -> unbound super object super(type, obj) -> bound super object; requires isinstance(obj, type) Typical use to call a cooperative superclass method: class C(B): def meth(self, arg): super(C, self).meth(arg);
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
the delete function. (Question: should the attribute name also be recorded in the getset object? That makes the protocol more work, but may give us better error messages.)
-
Guido van Rossum yazdı
for urllib.
-
Guido van Rossum yazdı
with a NULL value), in a somewhat lame way: call the set() function with one argument. Should I add a 3rd function, 'del', instead?
-
Guido van Rossum yazdı
Thomas Hellor on python-dev). slot_tp_descr_set(): if value is NULL, call __del__ instead of __set__.
-
Guido van Rossum yazdı
getset_doc: add docstring.
-
Jack Jansen yazdı
-