- 26 Feb, 2001 4 commits
-
-
Fred Drake authored
so make it void.
-
Barry Warsaw authored
set a function attribute on a method (either bound or unbound). This reverts to Python 2.0 behavior that no attributes of the method are writable, but provides a more informative error message.
-
Barry Warsaw authored
- func.__dict__ is None until the first attribute is assigned - del func.__dict__ is equivalent to func.__dict__ = None - disallowing assignment to function attribute through unbound method (it was always illegal to assign through bound method). - verifying that setting attribute explicitly on underlying function via meth.im_func is okay.
-
Barry Warsaw authored
occurs. Also, continue processing.
-
- 24 Feb, 2001 1 commit
-
-
Barry Warsaw authored
multi-line list comprehensions.
-
- 23 Feb, 2001 17 commits
-
-
Tim Peters authored
Fixes the "debug-build -O test_builtin.py and no test_b2.pyo" crash just discussed on Python-Dev.
-
Jack Jansen authored
-
Jack Jansen authored
Turn on the "multifinder aware" bit. This should always have been on, but was was never a problem that it was off until CarbonLib 1.1 (which requires it, for some reason).
-
Fred Drake authored
will not have been done, and applications need to know that. Also, do not print a message about it; the exception is the right thing. This closes SF bug #133717.
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
-
Barry Warsaw authored
-
Barry Warsaw authored
symtable_enter_scope(): Removed some unnecessary backslashes at the end of lines. C != Python. :)
-
Jeremy Hylton authored
Two different but related problems: 1. PySymtable_Free() must explicitly DECREF(st->st_cur), which should always point to the global symtable entry. This entry is setup by the first enter_scope() call, but there is never a corresponding exit_scope() call. Since each entry has a reference to scopes defined within it, the missing DECREF caused all symtable entries to be leaked. 2. The leak here masked a separate problem with PySymtableEntry_New(). When the requested entry was found in st->st_symbols, the entry was returned without doing an INCREF. And problem c) The ste_children slot was getting two copies of each child entry, because it was populating the slot on the first and second passes. Now only populate on the first pass.
-
Barry Warsaw authored
the internal API function to release the interned strings as the very last thing before returning status. This aids in memory use debugging because it eliminates a huge source of noise from the reports. This is never called during normal (non-debugging) use because releasing the interned strings slows Python's shutdown and isn't necessary anyway because the system will always reclaim the memory.
-
Barry Warsaw authored
release the interned string dictionary. This is useful for memory use debugging because it eliminates a huge source of noise from the reports. Only defined when INTERN_STRINGS is defined.
-
Andrew M. Kuchling authored
simpler than adding a bazillion switches, but means that the makesetup method probably can't ever go away completely. Oh well...
-
Andrew M. Kuchling authored
less wrong)
-
Mark Hammond authored
Checkin updated version of patch #103933 . As Thomas says, fixes the bugs #131064, #129584, #127722. See the discussion in bug #131064
-
Tim Peters authored
-
- 22 Feb, 2001 16 commits
-
-
Fred Drake authored
Move sample sessions to the left margin of the file for consistency; formatting can adjust the margin if needed. This closes SF bug #133213.
-
Fred Drake authored
to the module sections are right. This was also broken when converting to a flat Makefile.
-
Fred Drake authored
broken when converting to a flat Makefile. ;-(
-
Fred Drake authored
-
Barry Warsaw authored
crashing.
-
Guido van Rossum authored
and the test for errors, so that an error in the default compare doesn't go undetected. This fixes SF Bug #132933 (submitted by effbot) -- list.sort doesn't detect comparision errors.
-
Fred Drake authored
Reported by Daniel May <mayds@ecn.purdue.edu>. De-tabified everywhere.
-
Fred Drake authored
included with Python.
-
Tim Peters authored
-
Tim Peters authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
(Fred, I'll leave the doc changes to you, because I don't know if you want to delete libsoundex.tex or leave it in. Someone else will have to tweak PC/os2vacpp/{config.c,makefile} and PCbuild/pythoncore.dsp, both of which refer to soundex.c)
-
Martin v. Löwis authored
-
Jeremy Hylton authored
-
Tim Peters authored
-
- 21 Feb, 2001 2 commits
-
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
and disabled from the configure script.
-