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

sort by:
Revision Author Date Message Commit Date
b25e1ad sre 2.1b2 update: - take locale into account for word boundary anchors (#410271) - restored 2.0's *? behaviour (#233283, #408936 and others) - speed up re.sub/re.subn 22 March 2001, 15:50:10 UTC
8e9972c Added news items for the Distutils 22 March 2001, 15:42:08 UTC
3225c1f Updated history. Incorporated 1.6.1 license. 22 March 2001, 15:41:06 UTC
b374dd3 Synchronize with 1.6 of PyXML: Retrieve relevant information at construction time, as it may be lost when the exception is printed. 22 March 2001, 15:34:02 UTC
ffb963c Use the get_contact*() accessors instead of get_maintainer*() 22 March 2001, 15:32:23 UTC
a0ea7c1 Set copyright to PSF. Don't bother with 2000. 22 March 2001, 15:29:37 UTC
b0dbeef Allow the process of reading back what we wrote to a pty to transform linefeeds into carriagereturn-linefeeds (which is apparently what IRIX does.) Also add some comments, an extra test and reorganize it a bit. 22 March 2001, 14:50:24 UTC
053ae35 Add some news for 2.1b2. I'd still like someone else to add news about these packages: - distutils - xml 22 March 2001, 14:17:21 UTC
d76f0f7 Added Gordon McMillan. He should've been in there ages ago. Thanks Moshe for noticing! 22 March 2001, 13:43:25 UTC
d42124c Change co.detach() to co.back() call. 22 March 2001, 13:36:39 UTC
27f9b84 Add more complete reference. Change a co.back() call to co.tran() -- that's all that's needed. 22 March 2001, 13:36:11 UTC
5ddd1a8 Updated to latest PyUnit version (1.31 in PyUnit CVS); test_support.py changed accordingly. 22 March 2001, 08:45:36 UTC
2e2cded Set the line number correctly for a nested function with an exec or import *. Mark the offending stmt rather than the function def line. 22 March 2001, 03:57:58 UTC
280e6bd Make error messages clearer for illegal combinations of nested functions and import */exec. 22 March 2001, 03:51:05 UTC
6e9c0ba Remove redundant import 22 March 2001, 03:50:09 UTC
ac20f77 Back out conversion to string methods; the Distutils is intended to work with 1.5.2 22 March 2001, 03:48:31 UTC
a7f225d Call the write_pkg_info method 22 March 2001, 03:10:05 UTC
a7210ed Add 'platforms' and 'keywords' attributes to the DistributionMetadata class, along with options to print them. Add a finalize_options() method to Distribution to do final processing on the platform and keyword attributes Add DistributionMetadata.write_pkg_info() method to write a PKG-INFO file into the release tree. 22 March 2001, 03:06:52 UTC
df66df0 Patch #407434: add rfc822_escape utility function 22 March 2001, 03:03:41 UTC
bc32024 Extend support for from __future__ import nested_scopes If a module has a future statement enabling nested scopes, they are also enable for the exec statement and the functions compile() and execfile() if they occur in the module. If Python is run with the -i option, which enters interactive mode after executing a script, and the script it runs enables nested scopes, they are also enabled in interactive mode. XXX The use of -i with -c "from __future__ import nested_scopes" is not supported. What's the point? To support these changes, many function variants have been added to pythonrun.c. All the variants names end with Flags and they take an extra PyCompilerFlags * argument. It is possible that this complexity will be eliminated in a future version of the interpreter in which nested scopes are not optional. 22 March 2001, 02:47:58 UTC
061d106 If a code object is compiled with nested scopes, define the CO_NESTED flag. Add PyEval_GetNestedScopes() which returns a non-zero value if the code for the current interpreter frame has CO_NESTED defined. 22 March 2001, 02:32:48 UTC
f6e47ad Check that f.keys() == [] right after creation -- this prevents bugs like the one I just fixed to come back and haunt us. 22 March 2001, 00:40:23 UTC
4edbc2a Add CONFIG_ARGS Makefile variable (saves the arguments passed to configure). 22 March 2001, 00:34:03 UTC
64b1b68 - Remove WITH makefile variable. Its not used for anything. - Add CONFIG_ARGS variable and use it to re-run configure rather than using config.status. This prevents an infinite loop if configure dies while re-configuring. 22 March 2001, 00:32:32 UTC
ec24c1b Don't raise MemoryError in keys() when the database is empty. This fixes SF bug #410146 (python 2.1b shelve is broken). 22 March 2001, 00:19:22 UTC
24a4191 Changed doctest to run tests in alphabetic order of name. This makes verbose-mode output easier to dig thru, and removes an accidental dependence on the order of dict.items() (made visible by recent changes to dictobject.c). 21 March 2001, 23:07:59 UTC
c392b57 Integrated an expanded version of some text from Neil Schemenauer about supporting cyclic garbage collection. (This is not all of it, but I'm taking a break!) Also fixed some markup nits. 21 March 2001, 22:15:01 UTC
09ccc3a Test that traceback module works with SyntaxErrors with or without carets. 21 March 2001, 20:33:04 UTC
ed9d0ba Do not print caret when offset is None. 21 March 2001, 20:29:18 UTC
6783070 Make PyDict_Next safe to use for loops that merely modify the values associated with existing dict keys. This is a variant of part of Michael Hudson's patch #409864 "lazy fix for Pings bizarre scoping crash". 21 March 2001, 19:23:56 UTC
66b0e9c Use PyObject_IsInstance() to check whether the first argument to an unbound method is of the right type. Hopefully this solves SF patch #409355 (Meta-class inheritance problem); I have no easy way to test. 21 March 2001, 19:17:22 UTC
69e9e8b Reformat and edit docstrings to follow modern conventions. Single line summary followed by blank line and description. 21 March 2001, 19:09:31 UTC
ded4bd7 Update PyNode_CompileSymtable() to understand future statements 21 March 2001, 19:01:33 UTC
823649d Move the code implementing isinstance() and issubclass() to new C APIs, PyObject_IsInstance() and PyObject_IsSubclass() -- both returning an int, or -1 for errors. 21 March 2001, 18:40:58 UTC
9175114 Add test cases for the fnmatch module. 21 March 2001, 18:29:25 UTC
cd1b1dd Just import sys at the top instead of inside lots of functions. Add some helpers for supporting PyUNIT-based unit testing. 21 March 2001, 18:26:33 UTC
0253820 The unittest module from PyUNIT, by Steve Purcell. 21 March 2001, 18:09:46 UTC
46d9fda Donovan Baarda <abo@users.sourceforge.net>: Patch to make "\" in a character group work properly. This closes SF bug #409651. 21 March 2001, 18:05:48 UTC
2271082 Fixed a bunch of Tabnanny errors 21 March 2001, 17:24:49 UTC
5c7a251 Add tests for recent changes: - global stmt in class does not affect free vars in methods - locals() works with free and cell vars 21 March 2001, 16:44:39 UTC
220ae7c Fix PyFrame_FastToLocals() and counterpart to deal with cells and frees. Note there doesn't seem to be any way to test LocalsToFast(), because the instructions that trigger it are illegal in nested scopes with free variables. Fix allocation strategy for cells that are also formal parameters. Instead of emitting LOAD_FAST / STORE_DEREF pairs for each parameter, have the argument handling code in eval_code2() do the right thing. A side-effect of this change is that cell variables that are also arguments are listed at the front of co_cellvars in the order they appear in the argument list. 21 March 2001, 16:43:47 UTC
bec1958 Use proper compiler flags on UnixWare. Closes bug #231439. 21 March 2001, 15:57:54 UTC
f74c9dc Add newline to end of file. 21 March 2001, 14:18:12 UTC
be0e7f4 Document tix directory. 21 March 2001, 11:47:55 UTC
0411f6f Add section on 2.1b2. Report the addition of the Tix module. 21 March 2001, 08:01:39 UTC
b1d1969 Remove Tix detection from Tkinter part; lib-tk/Tix attempts to load Tix by requiring it. Also remove commentary from Setup.dist about commenting in and out stuff. 21 March 2001, 07:44:53 UTC
b21cb5f Patch #410231: Add the Python Tix library. 21 March 2001, 07:42:07 UTC
2c91c81 Patch #409504: Fix regex problems, consider \-continuation lines in Makefile and Setup. 21 March 2001, 06:58:25 UTC
55f826c Update Windows installer for 2.1b2. 21 March 2001, 06:09:14 UTC
eba5130 Addrf simple test that import is case-sensitive. 21 March 2001, 03:58:16 UTC
9de05f4 Started on 2.1b2 release notes. Cleaned out alfa notes, etc. 20 March 2001, 23:30:38 UTC
875b51d Added dummy _tkinter module for Carbon, which explains that Tkinter isnt supported under Carbon. 20 March 2001, 23:30:06 UTC
aabdb0d Dummy _tkinter module for Carbon, which explains that Tkinter isnt supported under Carbon. 20 March 2001, 23:29:41 UTC
4e6d09e Moved the description of the tzparse module to the "Obsolete" section and note that it fails when the TZ environment variable is not set. This closes SF bug #409683. 20 March 2001, 23:13:53 UTC
4df3c52 Case-checking was broken on the Macintosh. Fixed. 20 March 2001, 23:09:54 UTC
fddef43 Got module to work under Carbon. Also disabled a few more bits of cfm68k support. 20 March 2001, 21:55:51 UTC
26d42df Added riscos modules to modules that don't have to be included. 20 March 2001, 21:55:07 UTC
6b767ac Lawrence Hudson, SF #401702: Modify co_filename in frozen programs This patch was developed primarily to reduce the size of the frozen binary. It is particularly useful when freezing for 'small' platforms, such as Palm OS, where you really want to save that last miserable byte. A limitation of this patch is that it does not provide any feedback about the replacements being made. As the path matching is case-sensitive this may lead to unexpected behaviour for DOS and Windows people, eg > freeze.py -r C:\Python\Lib\=py\ goats.py should probably be: > freeze.py -r c:\python\lib\=py\ goats.py 20 March 2001, 20:43:34 UTC
b845cb0 Bump version to 2.1b2. 20 March 2001, 19:57:10 UTC
d092694 Add a deprecation warning to this module. Importing it typically fails anyway (no TZ variable defined), so this is no great loss. 20 March 2001, 18:36:48 UTC
44f5f8f Bug #409419: delete seek() and tell() methods, so callers can use getattr() to check for them (instead of calling them and then ignoring an IOError) 20 March 2001, 15:51:14 UTC
d3f193f * Fixing the password-proxy bug * Not sending content-type and content-length twice 20 March 2001, 13:14:28 UTC
6abce91 Get rid of --with-check-import-case. (Jason Tishler, SF #409924) 20 March 2001, 13:09:14 UTC
a1351fb SF patch #408326 by Robin Thomas: slice objects comparable, not hashable This patch changes the behavior of slice objects in the following manner: - Slice objects are now comparable with other slice objects as though they were logically tuples of (start,stop,step). The tuple is not created in the comparison function, but the comparison behavior is logically equivalent. - Slice objects are not hashable. With the above change to being comparable, slice objects now cannot be used as keys in dictionaries. [I've edited the patch for style. Note that this fixes the problem that dict[i:j] seemed to work but was meaningless. --GvR] 20 March 2001, 12:41:34 UTC
26ae7cd SF patch 407758, "timemodule patches for Cygwin", from Norman Vine. http://sourceforge.net/tracker/?func=detail&aid=407758&group_id=5470&atid=305470 20 March 2001, 03:26:49 UTC
ce7ef59 Fixup handling of free variables in methods when the class scope also has a binding for the name. The fix is in two places: - in symtable_update_free_vars, ignore a global stmt in a class scope - in symtable_load_symbols, add extra handling for names that are defined at class scope and free in a method Closes SF bug 407800 20 March 2001, 00:25:43 UTC
e241e29 Add test for a list comprehension that is nested in the left-hand part of another list comp. This caused crashes reported as SF bugs 409230 and 407800. Note that the new tests are in a function so that the name lookup code isn't affected by how many *other* list comprehensions are in the same scope. 19 March 2001, 20:42:11 UTC
23b4227 Fix crashes in nested list comprehensions SF bugs 409230 and 407800 Also remove bogus list comp code from symtable_assign(). 19 March 2001, 20:38:06 UTC
baa03e8 When building the installer, prompt for the location of the system directory on the current machine. Wise doesn't seem to know this itself, and it varies across Windows flavors. 19 March 2001, 19:19:45 UTC
a8423a9 Add a whole lot of stuff to __all__. (Excluding the logging stuff, which doesn't lend itself to use via "from cgi import *" -- it manipulates globals.) 19 March 2001, 13:40:44 UTC
f531ad6 Markup nit: For the Python documents, we use \empt instead of \textit. 19 March 2001, 04:19:56 UTC
9e6f278 Repair test_doctest's expected-output file (Guido added some new output). 18 March 2001, 20:14:25 UTC
64de1a4 add errorTab to __all__ on win* closes bug #406642 18 March 2001, 19:53:21 UTC
8f4eab2 Committing patch 405101 18 March 2001, 17:11:56 UTC
261d91a Make doctest's self-test succeed after the previous change. 18 March 2001, 17:05:58 UTC
af00a46 Print a bunch of asterisks before the failure summary, to separate it from the last failure report. 18 March 2001, 16:58:44 UTC
1bb515b Teach Tools/freeze/makeconfig.py and Tools/freeze/parsesetup.py to use the re package rather than the obsolete regex. 18 March 2001, 11:27:58 UTC
0f33604 SF bug [ #409448 ] Complex division is braindead http://sourceforge.net/tracker/?func=detail&aid=409448&group_id=5470&atid=105470 Now less braindead. Also added test_complex.py, which doesn't test much, but fails without this patch. 18 March 2001, 08:21:57 UTC
7620bbd Fix bug #233253: the --define and --undef options didn't work, whether specified on the command-line or in setup.cfg. The option processing leaves them as strings, but they're supposed to be lists. 17 March 2001, 20:15:41 UTC
898f099 Bug #409403: Signal an error if the distribution's metadata has no version 17 March 2001, 19:59:26 UTC
9b5abcd Tidy up the ordering of include and library directories, putting /usr/local first and leaving /usr/include at the end. This addresses the comments in bug #232609. 17 March 2001, 16:56:35 UTC
84e87f3 SF bug [ #233200 ] cPickle does not use Py_BEGIN_ALLOW_THREADS. http://sourceforge.net/tracker/?func=detail&aid=233200&group_id=5470&atid=105470 Wrapped the fread/fwrite calls in thread BEGIN_ALLOW/END_ALLOW brackets Afraid I hit the "delete trailing whitespace key" too! Only two "real" sections of code changed here. 17 March 2001, 04:50:51 UTC
d179be8 Distutils version number has been changed from 1.0.1 to 1.0.2pre before this get forgotten again. Should probably be set to 1.0.2 before final release of python 2.1 Does someone still release distutils separate from python? 16 March 2001, 21:00:18 UTC
5c5ea1a The bdist_wininst.py command has been recreated after wininst.exe has been changed to include an uninstaller. I forgot to mention in the uninstaller checkin that the logfile name (used for uninstalling) has been changed from <module>.log to <module>-wininst.log. This should prevent conflicts with a distutils logfile serving the same purpose. The short form of the --bdist-dir (-d) option has been removed because it caused conflicts with the short form of the --dist-dir option. 16 March 2001, 20:57:37 UTC
b15bbc8 Add documentation for SGMLParser.handle_decl(). 16 March 2001, 20:39:41 UTC
6695737 Change RuntimeError to SGMLParseError, which subclasses RuntimeError for backward compatibility. Add support for SGML declaration syntax (<!....>) to some reasonable degree. This does not support everything allowed in SGML, but should work with "real" HTML (internal subset in a DOCTYPE is not handled). The content of the declaration is passed to the .handle_decl() method, which can be overridden by subclasses. 16 March 2001, 20:04:57 UTC
83e01bf Finally fill in the documentation for the PyDict_Next() function. It is different enough to actually require an explanation. ;-) Fix a couple of PyDictObject* types that should be PyObject* types. 16 March 2001, 15:41:29 UTC
cf20d4f Install the Python DLL with execute priviledge set. This is required for Cygwin Python to startup correctly when in ntsec mode. Cygwin operating in this mode is probably not the only system with this requirement. 16 March 2001, 11:50:43 UTC
30edd23 Whitespace normalization. 16 March 2001, 08:29:48 UTC
4cf97c4 Files for second 2.1b1 distribution. 15 March 2001, 14:41:01 UTC
5c82d13 FindFolder argument is a short, not an unsigned short. Added kLocalDomain and friends. 15 March 2001, 14:39:37 UTC
6b498de Handle the apple menu differently under Carbon. 15 March 2001, 14:39:03 UTC
abd703d FindFolder argument is a short, not an unsigned short. 15 March 2001, 14:38:10 UTC
06646a1 Added QDFlushPortBuffer calls. 15 March 2001, 14:35:33 UTC
fffec05 Import kOnSystemDisk from MACFS 15 March 2001, 14:33:24 UTC
d11f93c Look for shared libraries first in kLocalDomain and then in kOnSystemDisk. Don't do sys.prefix==os.getcwd() check unless we're an applet. 15 March 2001, 14:28:40 UTC
8ef786e Files for second 2.1b1 distribution. 15 March 2001, 14:27:09 UTC
3bda4f0 Remove redundant "__future__:" from module docstring. 15 March 2001, 10:45:44 UTC
904f2fc Import the exceptions that this module can raise. 14 March 2001, 22:43:47 UTC
adcf8a0 Add doc string for run from profile.doc. (pydoc motivates me to write good doc strings.) Fix silly argument handling; was using *args but really wanted 1 optional arg. XXX Should profile.doc be merged into the documentation and removed from the Lib directory? 14 March 2001, 20:01:19 UTC
back to top