- 17 Aug, 2001 12 commits
-
-
Fred Drake authored
local module tables (the lists of modules documented within a chapter, inserted at the beginning of the chapter). If this is not done here, the text is not part of the resulting documents when latex2html does the processing normally. This fixes a little bit more of SF bug #451556.
-
Guido van Rossum authored
the class dict). Anything but a nonnegative int in either place is *ignored* (before, a non-Boolean was an error). The default is still static -- in a comparative test, Jeremy's Tools/compiler package ran twice as slow (compiling itself) using dynamic as the default. (The static version, which requires a few tweaks to avoid modifying class variables, runs at about the same speed as the classic version.) slot_tp_descr_get(): this also needed fallback behavior. slot_tp_getattro(): remove a debug fprintf() call.
-
Guido van Rossum authored
more tabs that XEmacs Makefile mode found suspicious.
-
Guido van Rossum authored
- Change PY_VERSION (but not the numeric versions) to "2.2a1+".
-
Guido van Rossum authored
-
Guido van Rossum authored
class has a correct repr().
-
Guido van Rossum authored
streamlined a bit. instancemethod_descr_get(): don't bind an unbound method of a class that's not a base class of the argument class.
-
Guido van Rossum authored
when an unbound method of class A is stored as a class variable of class B, and class B is *not* a subclass of class A, that method should *not* get bound to B instances.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
subclasses type, one that doesn't (the latter isn't fully functional yet).
-
Guido van Rossum authored
the metatype passed in as an argument. This prevents infinite recursion when a metatype written in Python calls type.__new__() as a "super" call. Also tweaked some comments.
-
- 16 Aug, 2001 28 commits
-
-
Tim Peters authored
actually does <wink>, perhaps an Insure run will catch it. Also removed senseless Windows comment.
-
Fred Drake authored
dictionary. Added some entries to the dictionary to fix part of SF bug #451556.
-
Fred Drake authored
-
Fred Drake authored
whole family instead of just two. This closes SF bug #451630.
-
Barry Warsaw authored
really long. Closes SF bug #437984.
-
Guido van Rossum authored
assigned to a class variable and then accessed via an instance, it should not be rebound. test_descr.py:methods(): test for the condition above.
-
Barry Warsaw authored
calculate it on the fly. This way even modules with long package names get an accurate repr instead of a truncated one. The extra malloc/free cost shouldn't be a problem in a repr function. Closes SF bug #437984
-
Jack Jansen authored
If genpluginprojects is called from fullbuild we set the Python source directory to be the same as fullbuild uses (in stead of using the default sys.prefix). This fixes an issue Mark Day raised that you can't use fullbuild with one Python installation to build another one.
-
Barry Warsaw authored
-
Andrew M. Kuchling authored
Remove pointless comment
-
Andrew M. Kuchling authored
I have no way of testing this.
-
Tim Peters authored
-
Guido van Rossum authored
type_repr() for when to show or not to show it).
-
Fred Drake authored
-
Fred Drake authored
info. Caught by the tests that I'm writing now.
-
Martin v. Löwis authored
-
Tim Peters authored
+ test_compare. While None compares less than anything else, it's not always the case that None has the smallest id(). + test_descr. The output of %p (pointer) formats varies across platforms. In particular, on Windows it doesn't produce a leading "0x".
-
Barry Warsaw authored
-
Barry Warsaw authored
the "#ifdef MS_WINDOWS" to "#ifdef SELECT_USES_HEAP" and by setting SELECT_USES_HEAP when FD_SETSIZE > 1024. The indirection seems useful since this subtly changes the path that "normal" Windows programs take (where Timmie sez FD_SETSIZE = 512). If that's a problem for Windows, he has only one place to change.
-
Fred Drake authored
parameter, but did not. This was found because it can create failures elsewhere based on the presence of mime.types files in some common locations the module searches by default. (I will be writing a test for this module shortly!)
-
Guido van Rossum authored
optimization for dynamic classes. If __getattr__ is not found as an attribute on the type, slot_tp_getattro replaces itself with PyObject_GenericGetAttr. This means you can't add a __getattr__ method to a class after the fact -- but you can still *change* a __getattr__ method into a different one. (A similar restriction exists for classic classes.)
-
Just van Rossum authored
have to do "from PIL import Image" instead of "import Image".
-
Fred Drake authored
performance changes since the affected functions are not expected to be used frequently, but reduces the volume of code.
-
Jack Jansen authored
-
Jack Jansen authored
-
Andrew M. Kuchling authored
Add executable extension, needed to get the program name right on Win32
-
Andrew M. Kuchling authored
Provide include_dirs argument to all calls to ._preprocess and ._compile Fix typo: pattern.search(pattern) should be pattern.search(line)
-
Martin v. Löwis authored
-