Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
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
afd0aa6 Replace {Enable,Disable,Check}Item with their carbon-compatible equivalents {Enable,Disable,Check}MenuItem. 29 January 2001, 13:29:47 UTC
5a8115c Ported the icglue module to carbon. 29 January 2001, 13:27:46 UTC
13735e3 Added Help, Scrap and icglue missing methods. 29 January 2001, 13:22:29 UTC
bf222c9 Fixed posixpath.normpath() to respect two leading slashes, but turn three or more into a single slash. (This is in sync with POSIX susv2 according to Fredrik.) 29 January 2001, 11:29:44 UTC
fde66e1 Fixed .capitalize() method of Unicode objects to work like the corresponding string method. Added tests for this too. Patch written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum. 29 January 2001, 11:14:16 UTC
30be870 Don't use $< in normal make rules: it's not portable. Using $< in inference rules (e.g. .c.o) is fine. 29 January 2001, 09:39:14 UTC
6af0ce0 Added news of function comparison and hashing by identity 29 January 2001, 06:41:00 UTC
3229b85 More on noutrefresh() and scroll(). 29 January 2001, 06:39:33 UTC
497671e The one thing I love more then writing code is deleting code. * 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 29 January 2001, 06:21:17 UTC
2beeb22 Added cellobject.c 28 January 2001, 22:45:46 UTC
4fda21b updated to document use of sequences of two-element tuples as inputs 28 January 2001, 21:18:16 UTC
080c997 added several more urlencode test cases - part of patch 103391 28 January 2001, 21:12:22 UTC
14f1ad4 allow first param urlencode to be a sequence of two-element tuples - in this case, the order of parameters in the output matches the order of the inputs. 28 January 2001, 21:11:12 UTC
399b8af Bug #130117: add a prototype required to compile cleanly on IRIX (contributed by Paul Jackson) 28 January 2001, 18:10:23 UTC
c37f5b3 Adjust documentation for new.instance() to reflect that the second parameter may be omitted or None. 28 January 2001, 17:23:05 UTC
b4cd5c1 Remove single "." components from pathnames, and return os.curdir if the resulting path is empty. 28 January 2001, 12:23:32 UTC
a221b2a Data pathnames were not converted from URL-style to local style. Fixed. 28 January 2001, 12:22:14 UTC
646ddec Allow installation of IDLE via distutils (patch #103138). 28 January 2001, 11:01:50 UTC
5838d0f Document the PyInstance_*() functions and data. 28 January 2001, 06:39:35 UTC
0149e84 SF bug #130306: statcache.py full of thread problems. Fixed the thread races. Function forget_dir was also utterly Unix-specific. 28 January 2001, 05:07:00 UTC
64d42c5 Added tests for new signature of new.instance(). Use test_support.verify() where applicable. 28 January 2001, 03:57:39 UTC
ceb2bff new_instance(): Use PyInstance_NewRaw() instead of knowing too much about the internal initialization of instance objects. Make the dict parameter optional, and allow None as equivalent to omission. 28 January 2001, 03:55:09 UTC
5cc2c8c Re-factored PyInstance_New() into PyInstance_New() and PyInstance_NewRaw(). 28 January 2001, 03:53:08 UTC
05473ed Added prototype for PyInstance_NewRaw(). 28 January 2001, 03:52:08 UTC
9ca35ec Instructive example for strftime(); how to generate RFC822 dates. 28 January 2001, 00:56:54 UTC
d9b9ac8 It's unclear whether PyMarshal_XXX() are part of the public or private API. They're named as if public, so I did a Bad Thing by changing PyMarshal_ReadObjectFromFile() to suck up the remainder of the file in one gulp: anyone who counted on that leaving the file pointer merely at the end of the next object would be screwed. So restored PyMarshal_ReadObjectFromFile() to its earlier state, renamed the new greedy code to PyMarshal_ReadLastObjectFromFile(), and changed Python internals to call the latter instead. 28 January 2001, 00:27:39 UTC
09ac1fd Fix a typo. 27 January 2001, 21:43:40 UTC
1882182 - Fix buildno dependencies (I hope). - Change one last EXE to EXEEXT. 27 January 2001, 21:42:38 UTC
0c6141f the usual 27 January 2001, 21:40:54 UTC
d9cf41c - Remove Guido's LINKCC=CXX experiment. - Cygwin doesn't want CCSHARED flag when bulding the interpreter DLL. 27 January 2001, 21:39:17 UTC
2174f80 init_curses_panel(): Be more consistent with indentation and blank lines. 27 January 2001, 18:58:04 UTC
e7213c7 Emphasis that instantiating this class doesn't consume the message body. Fix some unclear language in the description of the addrlist member. 27 January 2001, 10:56:14 UTC
2bcb323 Except HierarchyRequestErr instead of TypeError. 27 January 2001, 09:17:55 UTC
70d39a6 Re-indent. 27 January 2001, 09:01:20 UTC
711a5bd Synchronize with PyXML 1.5. 27 January 2001, 08:56:24 UTC
0591725 Synchronize with PyXML 1.10 Break cycle involving expat parser in close(). Add lex handler support to SAX2 pyexpat 27 January 2001, 08:56:24 UTC
52ce0d0 Re-indent. 27 January 2001, 08:47:37 UTC
d5fb58f Merge changes of PyXML 1.13: Use nodeName, not tagName in attributes. Provide get method for dictionary-like objects. Use DOM exceptions instead of standard exceptions. 27 January 2001, 08:38:34 UTC
e3fc722 Synchronize with 1.10 of PyXML: Close parser when done. 27 January 2001, 08:34:21 UTC
dfb38e4 Grow that RCS file! 27 January 2001, 06:57:08 UTC
3ae1d0a Restore --with-suffix option. AC_EXEEXT doesn't aways do what the user wants and an option is more friendly then manually setting a variable. 27 January 2001, 06:54:42 UTC
547397c SF bug http://sourceforge.net/bugs/?func=detailbug&bug_id=130242&group_id=5470 SF patch http://sourceforge.net/patch/?func=detailpatch&patch_id=103453&group_id=5470 PyMember_Set of T_CHAR always raises exception. Unfortunately, this is a use of a C API function that Python itself never makes, so there's no .py test I can check in to verify this stays fixed. But the fault in the code is obvious, and Dave Cole's patch just as obviously fixes it. 27 January 2001, 06:20:08 UTC
40ead76 Added news about repr(string). 27 January 2001, 05:35:26 UTC
93b747e Bug #129904: Put back the path component for the Tkinter modules 27 January 2001, 01:31:35 UTC
715c4c4 New comment block to Clarify a subtlety. 26 January 2001, 22:56:56 UTC
c975f03 Farewell setup.cfg.in, we hardly knew ye. We need to use command-line arguments instead to handle overrides provided on the make command line. 26 January 2001, 22:56:55 UTC
8abedde Removed setup.cfg from the list of generated files Fixed typo in message 26 January 2001, 22:55:24 UTC
03184e2 Remaining single-line change from patch #102409: to install shared modules, run setup.py with the --install-platlib flag so you can override 'prefix' when running make (e.g. make prefix=/tmp/python/usr/local install) Instead of using mkdir to create directories, use install -d (mkdir -p apparently isn't portable) Emacs make-mode reported line 371 as suspicious; removed the whitespace from that line. 26 January 2001, 22:52:45 UTC
73f8ab2 - Edit the QNX instructions to refer to Makefile, not Modules/Makefile. - Setup is now copied from Setup.dist by configure. 26 January 2001, 22:18:55 UTC
66012fe Remove unused import of 'string' Add header comment and __version__ 26 January 2001, 21:56:58 UTC
66f98b4 Fix a number of typos found by Guido. 26 January 2001, 20:51:32 UTC
8c071d4 Massively improved documentation for string formatting operations, primarily from Evelyn Mitchell (thanks!). This closes SF patch #103412. 26 January 2001, 20:48:35 UTC
back to top