Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Two changes: | Barry Warsaw | 2001-01-31 | 1 | -12/+43 |
| | | | | | | | | | | | | - 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 with "From " is considered a delimiter (this should really check for two newlines before the F, but it doesn't. | ||||
* | Some rewriting of the "Internationalizing your programs and modules" | Barry Warsaw | 2001-01-31 | 1 | -20/+41 |
| | | | | subsection to include a discussion of the msgfmt.py program. | ||||
* | move "from stat import *" to module level | Jeremy Hylton | 2001-01-31 | 1 | -1/+1 |
| | |||||
* | Docs for new Windows zlib build procedure. | Tim Peters | 2001-01-31 | 3 | -15/+18 |
| | |||||
* | Fix [ Bug #129293 ] zlib library used for binary win32 distribution can crash | Mark Hammond | 2001-01-31 | 2 | -6/+25 |
| | | | | 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. | ||||
* | Partial fix to [ Bug #128685 ] popen on Win9x isnt smart enough about ↵ | Mark Hammond | 2001-01-31 | 1 | -9/+45 |
| | | | | | | | | 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 | ||||
* | Fix Bug #125891 - os.popen2,3 and 4 leaked file objects on Windows. | Mark Hammond | 2001-01-31 | 1 | -0/+5 |
| | |||||
* | SF bug #130532: newest CVS won't build on AIX. | Tim Peters | 2001-01-31 | 1 | -2/+0 |
| | | | | | Removed illegal redefinition of REPR macro; kept the one with the argument name that isn't too easy to confuse with zero <wink>. | ||||
* | Make HTML the default output format, since that is what people actually | Fred Drake | 2001-01-30 | 1 | -3/+3 |
| | | | | want most of the time. | ||||
* | Checking in patch #103478 -- makes popen2 and fork1 tested on BeOS. | Moshe Zadka | 2001-01-30 | 2 | -9/+9 |
| | | | | Tested for not breaking builds on Linux. | ||||
* | New internal function BMObj_NewCopied() which copies the BitMap. Used to get ↵ | Jack Jansen | 2001-01-30 | 2 | -8/+46 |
| | | | | the screenBits bitmap. | ||||
* | add note about two kinds of illegal imports that are now checked | Jeremy Hylton | 2001-01-30 | 1 | -0/+6 |
| | |||||
* | Fix test for free ref to global. This test should have caught a | Jeremy Hylton | 2001-01-30 | 1 | -1/+1 |
| | | | | recently fixed bug, but it checked for the wrong answer. | ||||
* | add test for illegal imports | Jeremy Hylton | 2001-01-30 | 2 | -0/+4 |
| | |||||
* | Remove note about the compiler not checking for two kinds of illegal | Jeremy Hylton | 2001-01-30 | 1 | -5/+0 |
| | | | | imports. It checks for them now. | ||||
* | Enforce two illegal import statements that were outlawed in the | Jeremy Hylton | 2001-01-30 | 1 | -44/+55 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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_build(). Do not increment st_errors in assignment to lambda, because exception is not set. Add extra argument to symtable_assign(); the argument, flag, is ORed with DEF_LOCAL for each symtable_add_def() call. | ||||
* | Rename dubiously named local variable 'cmpfunc' -- this is also a | Guido van Rossum | 2001-01-29 | 1 | -5/+5 |
| | | | | | | typedef, and at least one compiler choked on this. (SF patch #103457, by bquinlan) | ||||
* | Remove f_closure slot of frameobject and use f_localsplus instead. | Jeremy Hylton | 2001-01-29 | 3 | -28/+33 |
| | | | | | | | | | | | | 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. | ||||
* | Cleanup logic a little. Check args first, then try to create the | Jeremy Hylton | 2001-01-29 | 1 | -4/+3 |
| | | | | object. This avoids creation + decref if bogus arguments are passed. | ||||
* | plug leak detected by Barry | Jeremy Hylton | 2001-01-29 | 1 | -0/+1 |
| | |||||
* | fix indentation glitch | Jeremy Hylton | 2001-01-29 | 1 | -1/+1 |
| | |||||
* | Patch #103485 from Donn Cave: patches to make the module compile on AIX and | Andrew M. Kuchling | 2001-01-29 | 1 | -0/+36 |
| | | | | NetBSD | ||||
* | Rename 'lines' variable to 'nlines' to avoid conflict with a macro defined | Andrew M. Kuchling | 2001-01-29 | 1 | -7/+7 |
| | | | | in term.h | ||||
* | Restore the automatic use of the oldsharedmods and oldsharedinstall targets | Andrew M. Kuchling | 2001-01-29 | 1 | -2/+3 |
| | |||||
* | Add back most of the old contents of Setup.dist, with all the modules | Andrew M. Kuchling | 2001-01-29 | 1 | -2/+368 |
| | | | | commented out. | ||||
* | Add note about non-recursive Makefiles | Andrew M. Kuchling | 2001-01-29 | 1 | -1/+17 |
| | | | | | Get Fred's name right Add some XXX items that need to be written | ||||
* | Use FSpCreateResFile() in stead of CreateResFile(). | Jack Jansen | 2001-01-29 | 9 | -18/+14 |
| | | | | Don't call OpenDeskAcc() and AppendResMenu() on Carbon. | ||||
* | Got ZeroScrap() and PutScrap() to work under Carbon. | Jack Jansen | 2001-01-29 | 1 | -10/+21 |
| | |||||
* | Use FSpCreateResFile() in stead of CreateResFile(). | Jack Jansen | 2001-01-29 | 1 | -1/+2 |
| | |||||
* | Use CountMenuItems() in stead of CountMItems(). | Jack Jansen | 2001-01-29 | 1 | -1/+1 |
| | |||||
* | Make balloon code dependent on existence of Help module | Jack Jansen | 2001-01-29 | 1 | -3/+10 |
| | |||||
* | Removed device from the list of Qd incompatibilities. It should be there, ↵ | Jack Jansen | 2001-01-29 | 1 | -1/+1 |
| | | | | but causes too many false positives. | ||||
* | Accessor functions for regions and such expect an existing region as ↵ | Jack Jansen | 2001-01-29 | 3 | -15/+29 |
| | | | | | | parameter. Fixed for grafport attribute access. Got GetPortBitMapForCopyBits() and port.portBits to work. | ||||
* | Ported the icglue module to carbon. | Jack Jansen | 2001-01-29 | 3 | -0/+1087 |
| | |||||
* | Added generators for EnableMenuItem and CheckMenuItem (which have Mac in ↵ | Jack Jansen | 2001-01-29 | 2 | -0/+53 |
| | | | | front of their name in the include files). | ||||
* | Re-enabled Scrap (even though it's mostly empty right now). | Jack Jansen | 2001-01-29 | 1 | -2/+0 |
| | |||||
* | Replace {Enable,Disable,Check}Item with their carbon-compatible equivalents ↵ | Jack Jansen | 2001-01-29 | 4 | -19/+19 |
| | | | | {Enable,Disable,Check}MenuItem. | ||||
* | Ported the icglue module to carbon. | Jack Jansen | 2001-01-29 | 5 | -4/+11 |
| | |||||
* | Added Help, Scrap and icglue missing methods. | Jack Jansen | 2001-01-29 | 1 | -2/+19 |
| | |||||
* | Fixed posixpath.normpath() to respect two leading slashes, but | Marc-André Lemburg | 2001-01-29 | 1 | -4/+9 |
| | | | | | turn three or more into a single slash. (This is in sync with POSIX susv2 according to Fredrik.) | ||||
* | Fixed .capitalize() method of Unicode objects to work like the | Marc-André Lemburg | 2001-01-29 | 3 | -4/+22 |
| | | | | | | corresponding string method. Added tests for this too. Patch written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum. | ||||
* | Don't use $< in normal make rules: it's not portable. Using $< in | Sjoerd Mullender | 2001-01-29 | 1 | -6/+6 |
| | | | | inference rules (e.g. .c.o) is fine. | ||||
* | Added news of function comparison and hashing by identity | Moshe Zadka | 2001-01-29 | 1 | -0/+3 |
| | |||||
* | More on noutrefresh() and scroll(). | Eric S. Raymond | 2001-01-29 | 1 | -2/+3 |
| | |||||
* | The one thing I love more then writing code is deleting code. | Moshe Zadka | 2001-01-29 | 3 | -40/+28 |
| | | | | | | | | | * Removed func_hash and func_compare, so they can be treated as immutable content-less objects (address hash and comparison) * Added tests to that affect to test_funcattrs (also testing func_code is writable) * Reverse meaning of tests in test_opcodes which checked identical code gets identical functions | ||||
* | Added cellobject.c | Jack Jansen | 2001-01-28 | 3 | -0/+0 |
| | |||||
* | updated to document use of sequences of two-element tuples as inputs | Skip Montanaro | 2001-01-28 | 1 | -2/+7 |
| | |||||
* | added several more urlencode test cases - part of patch 103391 | Skip Montanaro | 2001-01-28 | 1 | -3/+60 |
| | |||||
* | allow first param urlencode to be a sequence of two-element tuples - in this | Skip Montanaro | 2001-01-28 | 1 | -5/+30 |
| | | | | case, the order of parameters in the output matches the order of the inputs. | ||||
* | Bug #130117: add a prototype required to compile cleanly on IRIX | Andrew M. Kuchling | 2001-01-28 | 1 | -0/+1 |
| | | | | (contributed by Paul Jackson) |