https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
f8cdb5c This commit was manufactured by cvs2svn to create tag 'r21a2'. 02 February 2001, 21:24:51 UTC
b16c56f Teach Windows build and installer about new _symtable module/DLL. 02 February 2001, 21:24:51 UTC
231e22f Repair legit compiler warning. 02 February 2001, 21:10:53 UTC
b1cbc1e bump the magic number; the compiler has changed since 2.1a1 02 February 2001, 20:13:24 UTC
2a74a28 bump to 2.1a2 02 February 2001, 20:13:01 UTC
2056d8e the usual 02 February 2001, 20:11:13 UTC
1eab002 move "from Tkinter import *" to module level 02 February 2001, 20:07:46 UTC
d6b1cf9 Fix spelling errors. Add note about _symtable. Add note that 'from ... import *' restriction may go away -- and move the whole entry closer to the top, because it might bite people. 02 February 2001, 20:06:28 UTC
5acc0c0 Fix symbol table pass to generation SyntaxError exceptions that include the filename and line number. 02 February 2001, 20:01:10 UTC
dbfb662 fix a couple last-minute bugs in the raw socket support 02 February 2001, 19:55:17 UTC
96da8b6 add compile.h and symtable.h to list of header files 02 February 2001, 19:54:23 UTC
2523977 Added Node.isSameNode() support. 02 February 2001, 19:40:19 UTC
0399bd8 Ouch! I need a better test suite for this. ;-( 02 February 2001, 19:28:35 UTC
914a0b1 Steve Majewski's patch #103495, MatchFilename() and find_module() patch for case-preserving HFS+ suport. Untested except to verify that it builds and doesn't break anything on Linux RH6.1. 02 February 2001, 19:12:16 UTC
5e7cb24 Add minimal interface to symtable: _symtable module. 02 February 2001, 18:24:26 UTC
4b38da6 Move a bunch of definitions that were internal to compile.c to symtable.h, so that they can be used by external module. Improve error handling in symtable_enter_scope(), which return an error code that went unchecked by most callers. XXX The error handling in symtable code is sloppy in general. Modify symtable to record the line number that begins each scope. This can help to identify which code block is being referred to when multiple blocks are bound to the same name. Add st_scopes dict that is used to preserve scope info when PyNode_CompileSymtable() is called. Otherwise, this information is tossed as soon as it is no longer needed. Add Py_SymtableString() to pythonrun; analogous to Py_CompileString(). 02 February 2001, 18:19:15 UTC
033f312 Use a type flag to determine the applicability of the tp_weaklistoffset field. This should avoid binary incompatibility problems with older modules that have not been recompiled. 02 February 2001, 18:17:30 UTC
26d1f14 Undo recent exclusion of test_fork1 and test_zlib. These tests don't trigger my arbitrary exlusion rule, which is: takes more than 10 seconds of wall clock time on my machine. If these tests are going to be skipped, then a boatload of slower tests should be skipped, too. 02 February 2001, 18:12:16 UTC
24da477 Do not pass names of individual files to shutil.rmtree(); use os.unlink() for that. 02 February 2001, 15:48:00 UTC
312a5dc WeakDictionary.items(): Do not allow (key,ref) pairs to leak out for dead references. 02 February 2001, 15:13:24 UTC
261b8e2 Whitespace correction... 02 February 2001, 12:12:44 UTC
bc7cbcb Added new Python C API _test module to the build mechanism on Unix. 02 February 2001, 12:07:22 UTC
4d282de Teach the Windows installer about the _test module. 02 February 2001, 06:33:04 UTC
9ea17ac Patch derived from Trent's 101162: a Python/C API testing framework. STILL NEEDS UNIX BUILD CHANGES. 02 February 2001, 05:57:15 UTC
6270031 Adjustments to the text of the UnixMailbox description. Added PortableUnixMailbox as a separate class as well (this also generates the right index entry). 02 February 2001, 03:51:05 UTC
4c4fda0 add info about Grant Edwards' raw packet support 02 February 2001, 03:29:24 UTC
2230865 SF patch 101137 from Grant Edwards Adds support for raw packets (AF_PACKET) under Linux. I haven't tested this code thoroughly; it compiles and the basic calls all work without crashing. Not sure what to actually do with raw sockets though. Not sure what other platforms this might be useful for. 02 February 2001, 03:23:09 UTC
042f313 Added fork1, linuxaudiodev, sunaudiodev, and zlib to the tests skipped by the quicktest target. 02 February 2001, 03:03:33 UTC
bbf10b5 add missing DECREF (thanks, Barry) 02 February 2001, 02:58:48 UTC
0c07b50 The socket constants have been moved to the socket module for a long time; the standard library does not use the SOCKET module any more, and it is not defined for all platforms (Windows, in particular). 02 February 2001, 02:51:21 UTC
57d943a Move the whrandom entry to the "Obsolete Modules" appendix. 02 February 2001, 02:45:08 UTC
667c9e4 Minor markup adjustments. Move some index entries next to what they are referring to for better "targetting". 02 February 2001, 02:43:18 UTC
844bd5b Minor markup adjustments. 02 February 2001, 02:42:31 UTC
68b6417 Added a warning at the top saying that user code should not use the whrandom module directly. 02 February 2001, 02:41:17 UTC
747d5b6 Teach Windows build about the _weakref module. 02 February 2001, 00:07:07 UTC
2492a20 SF patch 103543 from tg@freebsd.org: PyFPE_END_PROTECT() was called on undefined var 01 February 2001, 23:53:05 UTC
42dd01a An ssl-wrapped socket now returns '' on EOF, just like a regular socket -- as suggested by Clarence Gardner. Fix httplib to comply with the new ssl-socket interface. 01 February 2001, 23:35:20 UTC
0072d5a continue now allowed in try block 01 February 2001, 22:53:15 UTC
3faa52e Allow 'continue' inside 'try' clause SF patch 102989 by Thomas Wouters 01 February 2001, 22:48:12 UTC
1bbc048 Special case around some of the nastier annoyances with the type-in fields. You can now backspace out the 0 in 0x0, and you can clear the field when in decimal mode. There are still some oddities about typing into these fields, but it should be much less annoying. The real solution is to ditch the update-while-typing "feature". 01 February 2001, 21:31:58 UTC
74a7ece Move the "from Tkinter import *" out of the method and into the module scope (still inside the __name__=='__main__' guard). Necessitated by recent addition of nested scopes. 01 February 2001, 20:52:08 UTC
4589bd8 Add item about nested scopes. Revise item about restriction on 'from ... import *'. It was in the wrong section and the section restriction was removed. 01 February 2001, 20:38:45 UTC
483638c Undo recent change that banned using import to bind a global, as per discussion on python-dev. 'from mod import *' is still banned except at the module level. Fix value for special NOOPT entry in symtable. Initialze to 0 instead of None, so that later uses of PyInt_AS_LONG() are valid. (Bug reported by Donn Cave.) replace local REPR macros with PyObject_REPR in object.h 01 February 2001, 20:20:45 UTC
fb9d712 Added comments about the weak reference support. 01 February 2001, 20:00:40 UTC
2a850d9 add quicktest target -- runs test suite except for the eight slowest tests 01 February 2001, 19:51:28 UTC
6fe0a82 move extra arguments to the back of the new.code() arglist 01 February 2001, 19:50:29 UTC
dabed75 Added note about need for -traditional-cpp on the MacOS X Public Beta. This closes SF bug #129827. 01 February 2001, 19:41:13 UTC
acfb3f6 Revise the driver code to be more informative in the final report. 01 February 2001, 18:11:29 UTC
d0946da Fix some markup breakage that prevented formatting; re-wrapped a couple of wide paragraphs. 01 February 2001, 15:53:24 UTC
c2e35e6 Remove spurious "\end{description}" that caused formatting to fail. 01 February 2001, 15:37:56 UTC
bcd725f Repaired a docstring. 01 February 2001, 10:06:53 UTC
41deb1e PEP 205, Weak References -- initial checkin. 01 February 2001, 05:27:45 UTC
2de7471 Add entries for the weakref module to the build control. 01 February 2001, 05:26:54 UTC
36154b2 Added entry for weakref documentation. Moved commented-out entries for obsolete module to an appendix, still commented out. 01 February 2001, 05:21:46 UTC
0d0e648 Add entry for weakref documentation. 01 February 2001, 05:20:52 UTC
ebcf6a8 Documentation for the weakref module. 01 February 2001, 05:20:20 UTC
ca873ed Windows build: update for 2.1a2, + get ucnhash out of the installer. 01 February 2001, 05:10:02 UTC
0de88fc Change random.seed() so that it can get at the full range of possible internal states. Put the old .seed() (which could only get at about the square root of the # of possibilities) under the new name .whseed(), for bit-level compatibility with older versions. This occurred to me while reviewing effbot's book (he found himself stumbling over .seed() more than once there ...). 01 February 2001, 04:59:18 UTC
0eb1070 update section 4.1 to describe nested scopes 01 February 2001, 03:50:59 UTC
7e0d956 Long ago, Guido suggested that I add this to the standard library. I'm now checking it in. I need to write some documentation for it, but I don't have time right now. Still, I wanted to get this into 2.1a2. # Overview: # # This file implements the minimal SMTP protocol as defined in RFC 821. It # has a hierarchy of classes which implement the backend functionality for the # smtpd. A number of classes are provided: # # SMTPServer - the base class for the backend. Raises an UnimplementedError # if you try to use it. # # DebuggingServer - simply prints each message it receives on stdout. # # PureProxy - Proxies all messages to a real smtpd which does final # delivery. One known problem with this class is that it doesn't handle # SMTP errors from the backend server at all. This should be fixed # (contributions are welcome!). # # MailmanProxy - An experimental hack to work with GNU Mailman # <www.list.org>. Using this server as your real incoming smtpd, your # mailhost will automatically recognize and accept mail destined to Mailman # lists when those lists are created. Every message not destined for a list # gets forwarded to a real backend smtpd, as with PureProxy. Again, errors # are not handled correctly yet. 31 January 2001, 22:51:35 UTC
f9abaf4 Simple embedded program that does a module import. Useful for debugging leaks and other memory problems. 31 January 2001, 22:27:51 UTC
2df3c41 Ignore the programs created in this directory. 31 January 2001, 22:27:00 UTC
e98626d Add targets to make building `loop' and `import' easier. Useful for debugging memory leaks and the like. 31 January 2001, 22:18:49 UTC
30dbd14 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 with "From " is considered a delimiter (this should really check for two newlines before the F, but it doesn't. 31 January 2001, 22:14:01 UTC
81ad67c 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 with "From " is considered a delimiter (this should really check for two newlines before the F, but it doesn't. 31 January 2001, 22:13:15 UTC
b416290 Some rewriting of the "Internationalizing your programs and modules" subsection to include a discussion of the msgfmt.py program. 31 January 2001, 21:21:45 UTC
2fa699e move "from stat import *" to module level 31 January 2001, 20:07:17 UTC
ee826f8 Docs for new Windows zlib build procedure. 31 January 2001, 19:39:44 UTC
ae8c268 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. 31 January 2001, 10:28:03 UTC
0850137 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 31 January 2001, 07:30:29 UTC
64aae66 Fix Bug #125891 - os.popen2,3 and 4 leaked file objects on Windows. 31 January 2001, 05:38:47 UTC
1ff31f9 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>. 31 January 2001, 01:16:47 UTC
5599441 Make HTML the default output format, since that is what people actually want most of the time. 30 January 2001, 22:30:01 UTC
fc3fc33 Checking in patch #103478 -- makes popen2 and fork1 tested on BeOS. Tested for not breaking builds on Linux. 30 January 2001, 18:35:32 UTC
87eb4f8 New internal function BMObj_NewCopied() which copies the BitMap. Used to get the screenBits bitmap. 30 January 2001, 09:57:13 UTC
69c3279 add note about two kinds of illegal imports that are now checked 30 January 2001, 01:27:28 UTC
251ef96 Fix test for free ref to global. This test should have caught a recently fixed bug, but it checked for the wrong answer. 30 January 2001, 01:26:53 UTC
ac25a38 add test for illegal imports 30 January 2001, 01:25:56 UTC
10f8ba4 Remove note about the compiler not checking for two kinds of illegal imports. It checks for them now. 30 January 2001, 01:25:15 UTC
eab156f 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_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. 30 January 2001, 01:24:43 UTC
3202c6f Rename dubiously named local variable 'cmpfunc' -- this is also a typedef, and at least one compiler choked on this. (SF patch #103457, by bquinlan) 29 January 2001, 23:50:25 UTC
2b724da 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. 29 January 2001, 22:51:52 UTC
55087f0 Cleanup logic a little. Check args first, then try to create the object. This avoids creation + decref if bogus arguments are passed. 29 January 2001, 22:46:35 UTC
2fdfadf plug leak detected by Barry 29 January 2001, 22:42:28 UTC
09ac89a fix indentation glitch 29 January 2001, 22:38:32 UTC
2d339f9 Patch #103485 from Donn Cave: patches to make the module compile on AIX and NetBSD 29 January 2001, 20:47:59 UTC
e1c4352 Rename 'lines' variable to 'nlines' to avoid conflict with a macro defined in term.h 29 January 2001, 20:31:29 UTC
bddd878 Restore the automatic use of the oldsharedmods and oldsharedinstall targets 29 January 2001, 20:18:59 UTC
e7c6691 Add back most of the old contents of Setup.dist, with all the modules commented out. 29 January 2001, 20:13:11 UTC
4308d3c Add note about non-recursive Makefiles Get Fred's name right Add some XXX items that need to be written 29 January 2001, 17:36:53 UTC
01a2d9e Use FSpCreateResFile() in stead of CreateResFile(). Don't call OpenDeskAcc() and AppendResMenu() on Carbon. 29 January 2001, 15:32:00 UTC
bf21bef Got ZeroScrap() and PutScrap() to work under Carbon. 29 January 2001, 15:20:06 UTC
64aa1e2 Use FSpCreateResFile() in stead of CreateResFile(). 29 January 2001, 15:19:17 UTC
565e956 Use CountMenuItems() in stead of CountMItems(). 29 January 2001, 15:18:46 UTC
1bbf6ff Make balloon code dependent on existence of Help module 29 January 2001, 14:59:33 UTC
a3e2dca Removed device from the list of Qd incompatibilities. It should be there, but causes too many false positives. 29 January 2001, 14:27:32 UTC
5c3c58b Accessor functions for regions and such expect an existing region as parameter. Fixed for grafport attribute access. Got GetPortBitMapForCopyBits() and port.portBits to work. 29 January 2001, 14:07:01 UTC
9b897ec Ported the icglue module to carbon. 29 January 2001, 13:33:16 UTC
54c0787 Added generators for EnableMenuItem and CheckMenuItem (which have Mac in front of their name in the include files). 29 January 2001, 13:32:10 UTC
f424f24 Re-enabled Scrap (even though it's mostly empty right now). 29 January 2001, 13:31:10 UTC
back to top