Commits

Show all
Author Commit Message Labels Comments Date
Barry Warsaw
Simple embedded program that does a module import. Useful for debugging leaks and other memory problems.
Branches
legacy-trunk
Barry Warsaw
Ignore the programs created in this directory.
Branches
legacy-trunk
Barry Warsaw
Add targets to make building `loop' and `import' easier. Useful for debugging memory leaks and the like.
Branches
legacy-trunk
Barry Warsaw
Document the two changes to the mailbox.py module: - All constructors grow an optional argument `factory' which is a callable used when new message instances are created by the next() methods. Defaults to the rfc822.Message class. - A new subclass of UnixMailbox is added, called PortableUnixMailbox. It's identical to UnixMailbox, but uses a more portable test for From_ delimiter lines. With PortableUnixMailbox, any line that starts wi…
Branches
legacy-trunk
Barry Warsaw
Two changes: - All constructors grow an optional argument `factory' which is a callable used when new message instances are created by the next() methods. Defaults to the rfc822.Message class. - A new subclass of UnixMailbox is added, called PortableUnixMailbox. It's identical to UnixMailbox, but uses a more portable test for From_ delimiter lines. With PortableUnixMailbox, any line that starts wi…
Branches
legacy-trunk
Barry Warsaw
Some rewriting of the "Internationalizing your programs and modules" subsection to include a discussion of the msgfmt.py program.
Branches
legacy-trunk
Jeremy Hylton
move "from stat import *" to module level
Branches
legacy-trunk
Tim Peters
Docs for new Windows zlib build procedure.
Branches
legacy-trunk
Mark Hammond
Fix [ Bug #129293 ] zlib library used for binary win32 distribution can crash This involves changing the zlib build process to build zlib itself from sources, then use that library. Also updated are the comments to reflect the new official home of zlib, and add Windows specific notes regarding the build process.
Branches
legacy-trunk
Mark Hammond
Partial fix to [ Bug #128685 ] popen on Win9x isnt smart enough about finding w9xpopen.exe. "Partial" as the code uses sys.prefix in an attempt to locate 'w9xpopen.exe', but sys.prefix is not set if Python can't find it itself. So this _still_ fails in Pythonwin, but I am committing the patch for 2 reasons: * Embedded apps that set sys.prefix or use PYTHONHOME will work * The exception raised on failure to find the executable is far more obvious
Branches
legacy-trunk
Mark Hammond
Fix Bug #125891 - os.popen2,3 and 4 leaked file objects on Windows.
Branches
legacy-trunk
Tim Peters
SF bug #130532: newest CVS won't build on AIX. Removed illegal redefinition of REPR macro; kept the one with the argument name that isn't too easy to confuse with zero <wink>.
Branches
legacy-trunk
Fred Drake
Make HTML the default output format, since that is what people actually want most of the time.
Branches
legacy-trunk
Moshe Zadka
Checking in patch #103478 -- makes popen2 and fork1 tested on BeOS. Tested for not breaking builds on Linux.
Branches
legacy-trunk
Jack Jansen
New internal function BMObj_NewCopied() which copies the BitMap. Used to get the screenBits bitmap.
Branches
legacy-trunk
Jeremy Hylton
add note about two kinds of illegal imports that are now checked
Branches
legacy-trunk
Jeremy Hylton
Fix test for free ref to global. This test should have caught a recently fixed bug, but it checked for the wrong answer.
Branches
legacy-trunk
Jeremy Hylton
add test for illegal imports
Branches
legacy-trunk
Jeremy Hylton
Remove note about the compiler not checking for two kinds of illegal imports. It checks for them now.
Branches
legacy-trunk
Jeremy Hylton
Enforce two illegal import statements that were outlawed in the reference manual but not checked: Names bound by import statemants may not occur in global statements in the same scope. The from ... import * form may only occur in a module scope. I guess these changes could break code, but the reference manual warned about them. Several other small changes If a variable is declared global in the nearest enclosing scope of a free variable, then treat it is a global in the nested scope too. Get rid of com_mangle and symtable_mangle functions and call mangle directly. If errors occur during symtable table creation, return -1 from symtable…
Branches
legacy-trunk
Guido van Rossum
Rename dubiously named local variable 'cmpfunc' -- this is also a typedef, and at least one compiler choked on this. (SF patch #103457, by bquinlan)
Branches
legacy-trunk
Jeremy Hylton
Remove f_closure slot of frameobject and use f_localsplus instead. This change eliminates an extra malloc/free when a frame with free variables is created. Any cell vars or free vars are stored in f_localsplus after the locals and before the stack. eval_code2() fills in the appropriate values after handling initialization of locals. To track the size the frame has an f_size member that tracks the total size of f_localsplus. It used to be implicitly f_nlocals + f_stacksize.
Branches
legacy-trunk
Jeremy Hylton
Cleanup logic a little. Check args first, then try to create the object. This avoids creation + decref if bogus arguments are passed.
Branches
legacy-trunk
Jeremy Hylton
plug leak detected by Barry
Branches
legacy-trunk
Jeremy Hylton
fix indentation glitch
Branches
legacy-trunk
Andrew Kuchling
Patch #103485 from Donn Cave: patches to make the module compile on AIX and NetBSD
Branches
legacy-trunk
Andrew Kuchling
Rename 'lines' variable to 'nlines' to avoid conflict with a macro defined in term.h
Branches
legacy-trunk
Andrew Kuchling
Restore the automatic use of the oldsharedmods and oldsharedinstall targets
Branches
legacy-trunk
Andrew Kuchling
Add back most of the old contents of Setup.dist, with all the modules commented out.
Branches
legacy-trunk
Andrew Kuchling
Add note about non-recursive Makefiles Get Fred's name right Add some XXX items that need to be written
Branches
legacy-trunk
  1. Prev
  2. Next