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

sort by:
Revision Author Date Message Commit Date
ee1dc15 Move translation from expat.error to SAXParseException into feed, so that callers of feed will get a SAXException. In close, feed the last chunk first before calling endDocument, so that the parser may report errors before the end of the document. Don't do anything in a nested parser. Don't call endDocument in parse; that will be called in close. Use self._source for finding the SystemID; XML_GetBase will be cleared in case of an error. 06 October 2000, 21:08:59 UTC
c2bac87 Include more information from the docstrings. 06 October 2000, 21:07:14 UTC
3a844a2 Another name. 06 October 2000, 21:00:40 UTC
db810ac Donn Cave <donn@oz.net>: Fix large file support for BeOS. This closes SourceForge patch #101773. Refer to the patch discussion for information on possible alternate fixes. 06 October 2000, 20:42:33 UTC
24c532a Fix a couple of typos in docstrings. 06 October 2000, 20:28:46 UTC
5197444 Fix really bad typo, noted by Neil Schemenauer <nas@arctrix.com>. 06 October 2000, 20:16:50 UTC
c6243e4 Add notes on the requirements for subclasses. This closes SourceForge bug #115928. 06 October 2000, 20:04:48 UTC
2e06c20 Revise the versioning information to say that this was revised in 1.6, not added then, and note what the change was (ncurses, change to a package). 06 October 2000, 20:01:23 UTC
062ea2e Made a number of revisions suggested by Fredrik Lundh. Revised the first paragraph so it doesn't sound like it was written when 7-bit strings were assumed; note that Unicode strings can be used. 06 October 2000, 19:59:22 UTC
e2b7c4d test_linuxaudio: read the header from the .au file and do a sanity check pass only the data to the audio device call flush() so that program does not exit until playback is complete call all the other methods to verify that they work minimally call setparameters with a bunch of bugs arguments linuxaudiodev.c: use explicit O_WRONLY and O_RDONLY instead of 1 and 0 add a string name to each of the entries in audio_types[] add AFMT_A_LAW to the list of known formats add x_mode attribute to lad object, stores imode from open call test ioctl return value as == -1, not < 0 in read() method, resize string before return add getptr() method, that calls does ioctl on GETIPTR or GETOPTR depending on x_mode in setparameters() method, do better error checking and raise ValueErrors; also use ioctl calls recommended by Open Sound System Programmer's Guido (www.opensound.com) use PyModule_AddXXX to define names in module 06 October 2000, 19:39:55 UTC
d88d0a1 It turns out that Guido does not like or encourage the use of the term "disciplines" for the __*__() methods, so they should be referred to as "methods" or "special methods", as appropriate in context. 06 October 2000, 19:39:47 UTC
cc773d3 __getslice__(): Make this use the constructor form that gets a sequence as a parameter; this was the only use of the base constructor or surgical alteration of another object's data attribute. This change simplifies the constructor requirements for subclasses. This relates to SourceForge bug #115928. 06 October 2000, 19:26:01 UTC
e60de4d Added a new "base" type, IOobject for which most of the operations are defined. This will, hopefully clarify some of the logic. Added close test to raise proper error when operations are performed on closed StringIOs. Added a position argument to the truncate method. Added a size argument to readline. Added PyArg_Parse calls for methods that don't take arguments to make sure they don't take arguments. 06 October 2000, 19:24:23 UTC
d1229f5 Uncommented tests that failed for cStringIO, Added missing clode to make the clode test test a close. ;) 06 October 2000, 19:21:32 UTC
6d699ca Adding Jeremy's new test_import (SF patch 101709). 06 October 2000, 18:46:22 UTC
962c9e7 Add SAXReaderNotAvailable, and use it to distinguish between an ImportError, and a missing driver. 06 October 2000, 17:41:52 UTC
75698a4 Removing these scripts. redemo.py lives on in Tools/scripts/. regexdemo.py is obsolete with the regex module. 06 October 2000, 17:38:42 UTC
70280b8 I'm moving redemo.py here from Demo/tkinter/guido, since it is somewhat useful to learn regular expressions, and this way it'll be installed on Windows. This closes bug report 115609. 06 October 2000, 17:37:12 UTC
2834b97 [ Bug #113803 ] [2.0b1 NT4.0] printing non asci char causes idle to abort http://sourceforge.net/bugs/?func=detailbug&bug_id=113803&group_id=5470 Add Unicode support and error handling to AsString(). Both AsString() and Merge() now return NULL and set a proper Python exception condition when an error happens; Merge() and other callers of AsString() check for errors from AsString(). Also fixed cleanup in Merge() and Tkapp_Call() return cleanup code; the fv array was not necessarily completely initialized, causing calls to ckfree() with garbage arguments! (Also reindented some lines that were longer than 80 chars and reformatted some code that used an alien coding standard.) 06 October 2000, 16:58:26 UTC
4764913 Use the cvsinfo module instead of a module stuff off in my personal collection. 06 October 2000, 16:37:47 UTC
72fbd82 Support module to help work with checked-out CVS trees. 06 October 2000, 16:36:48 UTC
60ad79f Donn Cave <donn@oz.net>: New README for BeOS R5. This closes SourceForge patch #101779. 06 October 2000, 16:17:21 UTC
02776ad Donn Cave <donn@u.washington.edu>: Script to regenerate platform-specific modules of constants. [I moved common paths to variables for easier reading by humans. -- FLD] This closes SourceForge patch #101781. 06 October 2000, 16:11:21 UTC
b59c460 Donn Cave <donn@u.washington.edu>: Added definition of VERSION so this works as expected. 06 October 2000, 15:57:45 UTC
a6c2eb5 Donn Cave <donn@u.washington.edu>: Do not assume that all platforms using a MetroWorks compiler can use POSIX threads; the assumption breaks on BeOS. This fix only helps for BeOS. This closes SourceForge patch #101772. 06 October 2000, 15:48:38 UTC
51d9036 Norman Vine <nhv@users.sourceforge.net>: tcp.h is not available on CygWin, so do not try to include it there. This closes SourceForge patch #101802. 06 October 2000, 15:37:06 UTC
5d63a39 is_zipfile() description: Use the same name for the parameter as the code, in case someone wants to use it as a keyword paramter. ZIP_DEFLATED description: Do not reveal the specific value of the constant, since code should only use the symbolic name. 06 October 2000, 15:29:56 UTC
50a22a4 Added a name. 06 October 2000, 15:25:01 UTC
36ed560 Added section on threads problems on Reliant UNIX; this relates to bug #113797. We should be able to resolve this for the next release. Reflowed the comments on Monterey (64-bit AIX) to match the flow of the other platform-specific sections. 06 October 2000, 01:58:48 UTC
00236f3 [ Bug #110677 ] PRIVATE: various minor Tkinter things (PR#388) http://sourceforge.net/bugs/?func=detailbug&group_id=5470&bug_id=110677 Canvas.CanvasItem & Canvas.Group: - bind lacks an optional "add" param - unbind lacks an optional "funcid" param - tkraise/lower should call self.canvas.tag_XXXX (markus.oberhumer@jk.uni-linz.ac.at) Note: I'm *not* fixing "bbox() return value is inconsistent with Canvas.bbox()" -- it might break existing code. 06 October 2000, 00:38:51 UTC
c54d190 SF bug 115831 and Ping's SF patch 101751, 0.0**-2.0 returns inf rather than raise ValueError. Checked in the patch as far as it went, but also changed all of ints, longs and floats to raise ZeroDivisionError instead when raising 0 to a negative number. This is what 754-inspired stds require, as the "true result" is an infinity obtained from finite operands, i.e. it's a singularity. Also changed float pow to not be so timid about using its square-and-multiply algorithm. Note that what math.pow does is unrelated to what builtin pow does, and will still vary by platform. 06 October 2000, 00:36:09 UTC
4779a0a Remove some debugging messages - although this code is a complete hack, we dont need to announce it to the world every time they use freeze! 05 October 2000, 22:10:33 UTC
034c2a9 Add support for "import re" -- it uses pre, but user code does not need to. 05 October 2000, 20:42:44 UTC
410cb6b The _PyTuple_Resize() last_is_sticky flag must now always be false. 05 October 2000, 19:38:24 UTC
08b53e6 Simplify _PyTuple_Resize by not using the tuple free list and dropping support for the last_is_sticky flag. A few hard to find bugs may be fixed by this patch since the old code was buggy. 05 October 2000, 19:36:49 UTC
98dc065 SF "bug" 115973: patches from Norman Vine so that shared libraries and Tkinter work under Cygwin. Accepted on faith & reasonableness. 05 October 2000, 19:24:26 UTC
293b03f translation(): Minor optimization patch which avoids instantiating the default value's instance unless it's absolutely necessary. 05 October 2000, 18:48:12 UTC
7d1219d Change all occurances of test -d "$directory" to test ! -z "directory" -a -d "directory" Apparently, on SunOS 4.1.4_JL (and other?) OSes, -d on an empty string always returns true. This closes SF bug #115392. 05 October 2000, 18:45:53 UTC
3dc0a51 [ Patch #101730 ] Add initial static support for Darwin/MacOSX. By D.K. Wolfe. 05 October 2000, 18:00:06 UTC
77317ca Added Py_FPROTO macro which was available in Python 1.5.x and below. This should not be used for new code, but will probably make porting old extensions to 2.0 a lot easier. Also see Bug #116011. 05 October 2000, 17:25:45 UTC
7724944 Fix Bug #115907: encode '=' as '=3D' and not '==' 05 October 2000, 17:24:33 UTC
9351dd2 Document the lookbehind assertions (closing bug#115119) 05 October 2000, 15:22:28 UTC
dc9100f Fix for SF bug #115987: PyInstance_HalfBinOp does not initialize the result-object-pointer that is passed in, when an exception occurs during coercion. The pointer has to be explicitly initialized in the caller to avoid putting trash on the Python stack. 05 October 2000, 12:43:25 UTC
7a90db6 Document expand() method of MatchObjects 05 October 2000, 12:35:29 UTC
1f7838b Detect conflicting Python DLL on module import under Windows - as per [ Patch #101676 ] 05 October 2000, 10:54:45 UTC
85788ed Better add at least a short docstring to the module! 05 October 2000, 05:20:55 UTC
6522192 Add a link to the new acks.html file. 05 October 2000, 05:17:29 UTC
3705e59 Add rules for generating the acks.html file at the top of the document tree. 05 October 2000, 05:16:56 UTC
702f2d7 Ignore the acks.html file, since it is generated. 05 October 2000, 05:16:12 UTC
f23431d New script to convert the ACKS file to a nicely formatted HTML file. Uses the new support module. 05 October 2000, 05:15:29 UTC
01a110b Use the new support module instead of including all the getopt processing and style information directly. 05 October 2000, 05:14:26 UTC
ca2b2e0 Factor out some of the presentation and shared code from mkmodindex and a mkackshtml (not yet checked in). 05 October 2000, 05:11:57 UTC
4beff43 List of acknowledgements culled from CVS checkin logs and memory. The documentation ACKS list will be maintained separately from the CPython ACKS list. 05 October 2000, 04:05:30 UTC
ad14720 New tool for normalizing indentation of .py files. 05 October 2000, 03:48:38 UTC
559b5c8 Update for next planned release. 05 October 2000, 03:24:00 UTC
d57731f Move LONG_BIT from intobject.c to pyport.h. #error if it's already been #define'd to an unreasonable value (several recent gcc systems have misdefined it, causing bogus overflows in integer multiplication). Nuke CHAR_BIT entirely. 05 October 2000, 01:42:25 UTC
c85eb0b Enable the binascii module for Win64. It builds and passes the test suite. (I had explicitly disabled it a while ago, possibly unecessarily, along with rgbimg, audioop, and imageop, which are advertised as "not for 64-bit platforms.) 04 October 2000, 20:57:29 UTC
d68d0a6 Fix for test_class.py on Win64. id(self), which on Win64 returns a PyLong, was used for the return value of a class __hash__ method, which *must* return a PyInt. Solution: hash() the id(self) value. 04 October 2000, 17:50:59 UTC
b2c2c9e - update Neil's email address 04 October 2000, 16:34:09 UTC
97d723b - do not start collection during processing of an exception 04 October 2000, 16:25:07 UTC
5196c58 - Fix a GC bug caused by PyDict_New() failing. 04 October 2000, 16:22:26 UTC
e3550a6 - fix a GC bug caused by malloc() failing 04 October 2000, 16:20:41 UTC
15f0666 Added deprecation notices to atof(), atoi(), and atol(), recommending use of the float(), int(), and long() built-ins instead. Fixed minor markup nit elsewhere (use of \optional). 04 October 2000, 13:59:52 UTC
c71c23e Added \versionchanged comment to os.popen() noting that it was unreliable in earlier versions of Python; this is useful information for people interested in writing code that is portable across Python versions. Suggested by Peter Funk <pf@artcom-gmbh.de>. 04 October 2000, 13:57:27 UTC
63eb630 Remove styling information that conflicts with or duplicates the stylesheet; different browsers resolve the conflicts differently, and the "proper" resolution is not what we actually want. Reported by Peter Funk <pf@artcom-gmbh.de>. 04 October 2000, 13:39:24 UTC
d44dc3c Rewrites to section on new development process, after Usenet discussion of the text 04 October 2000, 12:40:44 UTC
0b4e25d Use \obindex{...} instead of \indexii{...}{type} in many places; this is more consistent with other index entries in the documentation. 04 October 2000, 04:21:19 UTC
d215218 test_popen2 broke on Windows shortly after 2.0b2 was released. Fixed it. 03 October 2000, 23:07:13 UTC
cf0a1cc Support non-namespace elements in *ElementNS of XMLGenerator. 03 October 2000, 22:35:29 UTC
1654b43 Preliminary tool to troll through the CVS logs and LaTeX sources for the names of people that should be in the ACKS file. This relies on some personal code that is not yet available, but should be by the time we release 2.0c1. 03 October 2000, 22:10:25 UTC
5b4c228 _PyUnicode_Fini(): Initialize the local freelist walking variable `u' after unicode_empty has been freed, otherwise it might not point to the real start of the unicode_freelist. Final closure for SF bug #110681, Jitterbug PR#398. 03 October 2000, 20:45:26 UTC
562586e Accept keyword arguments for (most) pattern and match object methods. Closes buglet #115845. 03 October 2000, 20:43:34 UTC
d11b5e5 Recompile pattern if (?x) flag was found inside the pattern during the first scan. Closes bug #115040. 03 October 2000, 19:22:26 UTC
4ae8ef8 In _PyUnicode_Fini(), decref unicode_empty before tearng down the free list. Discovered by Barry, fix approved by MAL. 03 October 2000, 18:09:04 UTC
1319e3e Remove old note that os.popen() on Windows is unreliable; this is no longer true. 03 October 2000, 17:14:27 UTC
f19a7ac Fix a few problems with the _Printer class and the license variable. 1. repr(license) will no longer print to stdout and read from stdin; you have to use license(). `license` is a short message explaining this. 2. Use lazy initialization so that startup isn't slowed down by the search for the LICENSE file. 3. repr(license) actually returns the desired string, rather than printing to stdout and returning ''. (Why didn't we think of this before?) 4. Use the pythonlabs license URL as the license fallback instead of the CNRI license handle. 03 October 2000, 17:11:37 UTC
12e1595 Clarify that isatty is only guaranteed to return true for slave ends of terminals, not the master end (though it does, on most systems.) 03 October 2000, 16:54:24 UTC
f2c1be2 On some systems (like Solaris), the master end of a tty/pty pair is apparently not considered a terminal, and so isatty(3) returns false. So we skip the test for ttyness of the master side and just check the slave side, which should really be a terminal. 03 October 2000, 16:51:08 UTC
13589c6 Bump the release number for the upcoming candidate. 03 October 2000, 16:50:48 UTC
65d4bc6 Fixed negative lookahead/lookbehind. Closes bug #115618. 03 October 2000, 16:29:23 UTC
8429448 _PyImport_Fini(): Closed small memory leak when an embedded app calls Py_Initialize()/Py_Finalize() in a loop. _PyImport_Filetab needed to be deallocated. Partial closure of SF #110681, Jitterbug PR#398. 03 October 2000, 16:02:05 UTC
e35360f Jim Ahlstrom sent a few corrections to my changes. (Thanks!) 03 October 2000, 15:16:31 UTC
5191463 Undo Ping's change. CGI scripts should *not* use /usr/bin/env, since on systems that don't come standard with Python installed, Python isn't on the default $PATH. Too bad that this breaks on Linux, where Python is in /usr/bin which is on the default path -- the point is that you must manually edit your CGI scripts when you install them. 03 October 2000, 13:51:09 UTC
099e534 Change first line to #!/usr/bin/env python (really just to test check-in). 03 October 2000, 08:32:00 UTC
5f84c9b $OFF_SITE_LINK_ICON: Don't define here; simply defining it overrides a definition provided by previously loaded configuration code, and testing whether it's defined isn't needed since the default was false anyway. get_link_icon(): Add support for $OFF_SITE_LINK_ICON_HEIGHT and $OFF_SITE_LINK_ICON_WIDTH, giving the dimensions of the icon being used. This can make for faster page display. Both are optional. make_my_titlegraphic(): Fix insertion of the off-site icon link. do_env_funcdesc(): Remove debugging print. handle_rfclike_reference(): Remove trailing colon from first line; it doesn't really make sense and looks bad if we add an icon to mark off-site links. 03 October 2000, 06:05:25 UTC
58a2dff Replace minimal \seetext references with better annotated \seerfc references, telling the reader more about what to expect at the other end of the links. 03 October 2000, 05:56:55 UTC
da175f4 Bump version to 1.0. 03 October 2000, 03:48:43 UTC
25a309c Remove some debugging prints. 03 October 2000, 03:32:37 UTC
a9d3783 Fixed so --no-compile is a negative alias for --compile. 03 October 2000, 03:31:52 UTC
9216cfe Added a long-winded comment (and commented-out comment to go with out) about how it would be nice to write absolute paths to the temporary byte-compilation script, but this doesn't work because it screws up the trailing-slash trickery done to 'prefix' in build_py's 'byte_compile()' method. Fixed to use 'execute()' instead of 'os.remove()' to remove the temporary script: now it doesn't blow up in dry-run mode! 03 October 2000, 03:31:05 UTC
d52755f Provide a clearer error message when urlopen fails because of an invalid proxy setting. Minor change to call of unknown_url; always pass data argument explicitly since data defaults to None. PEP 42: Add as a feature that urllib handle proxy setting that contain only the host and port of the proxy. 02 October 2000, 23:04:02 UTC
4dc1a6d Added some comments on the interaction of reload() and extension modules. Based on comments from Chris Barker <cbarker@jps.net>. 02 October 2000, 22:38:09 UTC
296b8f5 Add deprecation note since the XML support is shaping up. 02 October 2000, 22:14:09 UTC
d254c00 Remove redundent information from a docstring. 02 October 2000, 22:11:47 UTC
8093b70 Minor change to attributes so that the stylesheets can have better control. 02 October 2000, 21:26:28 UTC
0422e7f Remove comment about -lucb for the mmap module -- the module has been changed so that this is no longer needed on the only platform this is known to have been needed on. Fixed on indentation-related consistency nit. 02 October 2000, 21:20:22 UTC
484d735 Delay import of py_compile until needed, since is is only used by the PyZipFile class. End sentences in docstrings with periods. Reformat docstrings to be more similar to those of other modules. 02 October 2000, 21:14:52 UTC
4278024 Substantially revised documentation for the zipfile module, partially based on revised text from Jim Ahlstrom <jim@interet.com>. This closes SourceForge bug #115681. 02 October 2000, 20:56:30 UTC
5df72f0 Minor stylesheet nit. 02 October 2000, 17:36:27 UTC
1ea64ea Supporting rl_library_version is more trouble than it's worth -- readline doesn't have it before readline 2.2 and there's no compile-time way to find out which readline version is in use. Sigh. GNU readline sucks. 02 October 2000, 15:53:08 UTC
back to top