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

sort by:
Revision Author Date Message Commit Date
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
04a1a54 Patch #103052: Restore non-cyclic operation of pulldom.PullDOM 26 January 2001, 18:53:42 UTC
2efc323 Be extra careful with linking against libtermcap. This is now only done if we can find the libtermcap in the usual places. Some platforms don't have libtermcap, e.g. MacOSX. 26 January 2001, 18:23:02 UTC
7c6fcda Fixed setup.py to allow: 1. skipping of extensions which cause an error (a warning message is written to stdout, but the build process no longer fails completely) 2. the readline extension to compile on SuSE Linux (and probably other platforms too) by adding /usr/lib/termcap to the library search path 26 January 2001, 18:03:24 UTC
49c9942 Added an execution layer to be able to customize per-extension building. 26 January 2001, 18:00:48 UTC
d30e587 unnecessary semicolon 26 January 2001, 17:15:18 UTC
5b48c45 unnecessary semicolon 26 January 2001, 17:08:32 UTC
a813153 Got waste to work for Carbon. 26 January 2001, 16:32:20 UTC
83356ef - Use PY_CFLAGS when compile modules that will be part of the interpreter. - Put shared modules in the same place as object files. 26 January 2001, 16:22:26 UTC
61c5115 - LIBRARY is now a SUBST variable. - Add CFLAGSFORSHARED variable. configure sets this to CCSHARED if LDLIBRARY is a shared library. - Remove -fPIC from OPT, it has no business there. - Change CCSHARED option for Linux to -fPIC. It should probably be -fPIC on a few other platforms as well. - Don't create silly boot Makefile, create Setup files and run makesetup instead. 26 January 2001, 16:18:16 UTC
3ecf0aa The usual. 26 January 2001, 16:15:20 UTC
7ac954b - Add CFLAGSFORSHARED variable. configure sets this to CCSHARED if LDLIBRARY is a shared library. - Add PY_CFLAGS variable (flags used to compile the interpreter) - clobber now just removes object files, libraries and binaries 26 January 2001, 16:14:41 UTC
2f4453a Typo: coplete --> complete This closes SF bug #129759. 26 January 2001, 15:27:35 UTC
e360d95 The combo of getstate/setstate/jumpahead is very powerful, but needs examples to flesh it out for the uninitiated. Here they are. 26 January 2001, 10:00:39 UTC
85e2e47 SF bug 130030: Claim of bad betavariate algorithm. 26 January 2001, 06:49:56 UTC
2786543 Teach Windows build about new cellobject.c. 26 January 2001, 00:12:49 UTC
73a3c8f The addition of new parameters to functions in the Python/C API requires that PYTHON_API_VERSION be incremented. 25 January 2001, 22:13:34 UTC
2b597e4 Correct one-line typo, reported by yole @ SF, bug 130077. 25 January 2001, 22:12:43 UTC
78dc825 Fix arguments for PyFrame_New(). The previous checkin used the wrong arguments, which were based on an interim development API. 25 January 2001, 21:48:14 UTC
be30c6b New info in beep() docstring. 25 January 2001, 20:40:28 UTC
cd80410 Cosmetic changes after some sleep; no change in semantics. 25 January 2001, 20:25:57 UTC
a0ac40c Better error message when non-dictionary received for **kwarg 25 January 2001, 20:13:10 UTC
619eea6 PEP 227 implementation test_new: new.code() noew takes two more arguments test_grammer: Add a bunch of test cases for lambda (not really PEP 227 related) 25 January 2001, 20:12:27 UTC
4588c78 PEP 227 implementation New tests cases for nested scopes. 25 January 2001, 20:11:23 UTC
5e2d076 In subst_vars(), change the name of the argument from str to s to prevent binding for str from masking use of builtin str in nested function. (This is the only case I found in the standard library where a local shadows a global or builtin. There may be others, but the regression test doesn't catch them.) 25 January 2001, 20:10:32 UTC
a39414b PEP 227 implementation Track changes to new opcodes. Add hasfree list that applies to all ops that use the closure. 25 January 2001, 20:08:47 UTC
903f654 PEP 227 implementation Track changes to PyFrame_New() and PyFuntion_New(). 25 January 2001, 20:07:56 UTC
f65e500 Make module objects from Setup depend on Python.h headers. 25 January 2001, 20:07:50 UTC
64949cb PEP 227 implementation The majority of the changes are in the compiler. The mainloop changes primarily to implement the new opcodes and to pass a function's closure to eval_code2(). Frames and functions got new slots to hold the closure. Include/compile.h Add co_freevars and co_cellvars slots to code objects. Update PyCode_New() to take freevars and cellvars as arguments Include/funcobject.h Add func_closure slot to function objects. Add GetClosure()/SetClosure() functions (and corresponding macros) for getting at the closure. Include/frameobject.h PyFrame_New() now takes a closure. Include/opcode.h Add four new opcodes: MAKE_CLOSURE, LOAD_CLOSURE, LOAD_DEREF, STORE_DEREF. Remove comment about old requirement for opcodes to fit in 7 bits. compile.c Implement changes to code objects for co_freevars and co_cellvars. Modify symbol table to use st_cur_name (string object for the name of the current scope) and st_cur_children (list of nested blocks). Also define st_nested, which might more properly be called st_cur_nested. Add several DEF_XXX flags to track def-use information for free variables. New or modified functions of note: com_make_closure(struct compiling *, PyCodeObject *) Emit LOAD_CLOSURE opcodes as needed to pass cells for free variables into nested scope. com_addop_varname(struct compiling *, int, char *) Emits opcodes for LOAD_DEREF and STORE_DEREF. get_ref_type(struct compiling *, char *name) Return NAME_CLOSURE if ref type is FREE or CELL symtable_load_symbols(struct compiling *) Decides what variables are cell or free based on def-use info. Can now raise SyntaxError if nested scopes are mixed with exec or from blah import *. make_scope_info(PyObject *, PyObject *, int, int) Helper functions for symtable scope stack. symtable_update_free_vars(struct symtable *) After a code block has been analyzed, it must check each of its children for free variables that are not defined in the block. If a variable is free in a child and not defined in the parent, then it is defined by block the enclosing the current one or it is a global. This does the right logic. symtable_add_use() is now a macro for symtable_add_def() symtable_assign(struct symtable *, node *) Use goto instead of for (;;) Fixed bug in symtable where name of keyword argument in function call was treated as assignment in the scope of the call site. Ex: def f(): g(a=2) # a was considered a local of f ceval.c eval_code2() now take one more argument, a closure. Implement LOAD_CLOSURE, LOAD_DEREF, STORE_DEREF, MAKE_CLOSURE> Also: When name error occurs for global variable, report that the name was global in the error mesage. Objects/frameobject.c Initialize f_closure to be a tuple containing space for cellvars and freevars. f_closure is NULL if neither are present. Objects/funcobject.c Add support for func_closure. Python/import.c Change the magic number. Python/marshal.c Track changes to code objects. 25 January 2001, 20:06:59 UTC
fbd849f PEP 227 implementation A cell contains a reference to a single PyObject. It could be implemented as a mutable, one-element sequence, but the separate type has less overhead. 25 January 2001, 20:04:14 UTC
c34a5ad ucnhash module has gone, xreadlines module added. 25 January 2001, 18:31:16 UTC
8863460 Add bzip2 archives back to the set of generated archives; we had way too many reasonable requests to keep them around. Bump version number. 25 January 2001, 17:32:51 UTC
2905248 Removed references to Python 1.5.3; that was a "tentative" number I used in the docs to indicate the next version before we decided on 1.6. Adjusted winsound.Beep() description slightly as well. 25 January 2001, 17:29:18 UTC
cf069da Update link to LaTeX2HTML web site. 25 January 2001, 17:25:28 UTC
92e9f29 add extra tests to verify that co_varnames is being set up properly also normalize checks for syntax errors and delete commented out definition of verify. 25 January 2001, 17:03:37 UTC
a6ebc48 Fix bug reported by Ka-Ping Yee: The compiler botched parsing function parameters that contained both anonymous tuples and *arg or **arg. Ex: def f(a, (b, c), *d): pass Fix the symtable_params() to generate names in the right order for co_varnames slot of code object. Consider *arg and **arg before the "complex" names introduced by anonymous tuples. 25 January 2001, 17:01:49 UTC
41eb3c7 ucnhash module has gone. 25 January 2001, 16:28:34 UTC
4ff2fe7 ucnhash module has gone, xreadlines module added. 25 January 2001, 16:28:00 UTC
03d9014 added a few more __all__ lists test___all__.py: fail silently in check_all if the module can't be imported 25 January 2001, 15:29:22 UTC
438bb94 fail more completely by deleting dbhash from sys.modules if bsddb can't be loaded - prevents second import later from succeeding spuriously - mostly of use in regression tests where the module might get imported more than once 25 January 2001, 13:47:00 UTC
82e00d6 Let's keep things portable to non GCC compilers, please. You can only use mult-line strings in C if each line ends in \. 25 January 2001, 10:10:39 UTC
517ce23 Clarify winsound.beep docs, in response to c.l.py beep brouhahalet. 25 January 2001, 09:33:48 UTC
d52269b Fix bugs introduced by rewrite (in particular, time-based initialization got broken). Also added new method .jumpahead(N). This finally gives us a semi-decent answer to how Python's RNGs can be used safely and efficiently in multithreaded programs (although it requires the user to use the new machinery!). 25 January 2001, 06:23:18 UTC
d7b5e88 Reworked random.py so that it no longer depends on, and offers all the functionality of, whrandom.py. Also closes all the "XXX" todos in random.py. New frequently-requested functions/methods getstate() and setstate(). All exported functions are now bound methods of a hidden instance. Killed all unintended exports. Updated the docs. FRED: The more I fiddle the docs, the less I understand the exact intended use of the \var, \code, \method tags. Please review critically. GUIDO: See email. I updated NEWS as if whrandom were deprecated; I think it should be. 25 January 2001, 03:36:26 UTC
8312577 A \begin{funcdesc} was closed with an \end{methoddesc}. 25 January 2001, 00:39:16 UTC
21f37e1 Fixed a bug where \& was needed. 25 January 2001, 00:38:15 UTC
8ee1a4b Provide a much better (and complete!) description of the lockf() function, based on an eyeballing of the code. 25 January 2001, 00:36:54 UTC
bd3dc1f lockf_doc: a much better description of the lockf() function, based on an eyeballing of the code. 25 January 2001, 00:20:13 UTC
902446a Supply long-missing docs for random.seed(). Extensive rewrite of module intro docs. *************** Fred: check my LaTeX! Also, the docs for whrandom should *************** be moved into Obsolete Modules. 24 January 2001, 23:06:53 UTC
back to top