summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Sjoerd Mullender writes:Guido van Rossum1999-08-263-147/+50
| | | | | | | | | | | | | | | | | | | | | | """ Extended chunk so that it can also handle formats that are almost according to EA IFF 85. In particular, added options to handle little-endian and to handle formats that include the header size in the chunk size value. Fixed a bug where the header size was included in the chunk size, which it isn't according to EA IFF 85. Added a new method getsize() to get the size of the chunk (excluding header). Fixed chunk documentation (TIFF doesn't look like it uses chunks). Converted wave to use chunk. Wave uses EA IFF 85 chunks except that it uses little-endian encoding of integer data. Removed __del__ methods from aifc and wave since I got an AttributeError there upon exit. """
* Added paragraph explaining that except clauses can't be empty; thatFred Drake1999-08-241-0/+4
| | | | pass can be used if needed. By Dan Wolfe <wolfeman@apple.com>.
* Added sentence "All exceptions must have an executable block."; fromFred Drake1999-08-241-1/+2
| | | | Dan Wolfe <wolfeman@apple.com>.
* Added additional index entries.Fred Drake1999-08-241-11/+14
| | | | Minor markup nits.
* whrandom should come immediately after random, not before.Fred Drake1999-08-231-1/+1
|
* Clarified start parameter to Py_CompileString, documentedFred Drake1999-08-231-5/+24
| | | | | | Py_eval_input, Py_file_input, and Py_single_input. Problems reported by Aaron Brancotti <aaron@icona.it>.
* Removed availabe() method again: even on PPC it sometimes returns 1 whileJack Jansen1999-08-232-104/+0
| | | | quicktime isn't available. Use gestalt in stead for this functionality.
* Return MacOS.Error in stead of RuntimeError in case of failure so the userJack Jansen1999-08-231-6/+3
| | | | gets a reasonable explanation in stead of a large negative number.
* Port inet_ntoa and inet_aton to Windows:Guido van Rossum1999-08-201-2/+23
| | | | | | - fix unescaped newline in string literal - removed unused err variable - Windows doesn't have inet_aton; use inet_addr instead
* Add calls to self.protocol("WM_DELETE_WINDOW", self.destroy) to the TkGuido van Rossum1999-08-201-0/+2
| | | | | | | | and Toplevel class constructors. This means that if the window manager closes the window, the Python-side Tkinter data structures will be destroyed correctly. (Most apps do this anyway, and it's recommended practice; I see no reason why making it the default behavior could be bad.)
* Patch by Ben Gertzfield to add inet_aton() and inet_ntoa() calls.Guido van Rossum1999-08-201-0/+72
|
* rewrite_descriptor(): Fix bug that dropped the first TEXT node fromFred Drake1999-08-201-45/+36
| | | | | | | | | | | | | | | <description> elements. Add another sanity check to make sure a special case only becomes involved for <opcodedesc> and <opcodedescni> elements. fixup_paras_helper(): Clean up control flow. Everywhere that checks node.nodeType==ELEMENT and node.tagName now just check node.nodeName (nodeName is guaranteed for all node types and will be special values that don't conflict with GIs for non-ELEMENT nodes). Simplifies a number of tests and improves readability in a lot of places.
* Oops, better update the date on the .TH line.Fred Drake1999-08-201-1/+1
|
* Various updates, mostly to add information to the SEE ALSO andFred Drake1999-08-201-21/+64
| | | | INTERNET RESOURCES sections based on c.l.py comments.
* A nit to make Fred proud.Barry Warsaw1999-08-191-0/+1
|
* Oops, call 'os.path.join()'!Greg Ward1999-08-191-1/+1
|
* Tell what the result objects are (based on comment from the list).Fred Drake1999-08-191-4/+5
|
* Scrit by Marc-Andre Lemburg to generate htmlentitydefs.py.Guido van Rossum1999-08-191-0/+65
|
* New version by Mark-Andre Lemburg (generated by a script, parseentities.py).Guido van Rossum1999-08-191-103/+253
|
* Added item regarding random/whrandom.Fred Drake1999-08-191-0/+2
|
* Added disclaimer to the sleep() function.Guido van Rossum1999-08-191-0/+5
|
* In floatsleep(), when using select(), ignore EINTR error.Guido van Rossum1999-08-191-2/+4
|
* Patches by Michael Reilly to correctly deal with ftp URLs of the formGuido van Rossum1999-08-181-0/+2
| | | | | ftp://user@host//root/path: the double slash in the pathname means to go to the root directory even if the initial directory isn't the root.
* Bump to version 1.1Barry Warsaw1999-08-181-1/+1
|
* __update(): Jeremy Hylton reports occurances of sunaudiodev.errorBarry Warsaw1999-08-181-5/+14
| | | | | | | | | (interrupted system call) when getting the device information. I've never seen it, but this patch should take care of the problem. If we get that exception and we're polling, just return since we'll wake up again soon and get the right information. If we're not polling, try 4 times and then give up.
* Typo in comment (on Mac, it's the *resource* fork that's not copied,Guido van Rossum1999-08-181-1/+1
| | | | the data fork *is* copied).
* Patches by Michael Reilly to correctly deal with ftp URLs of the formGuido van Rossum1999-08-181-0/+1
| | | | | ftp://user@host//root/path: the double slash in the pathname means to go to the root directory even if the initial directory isn't the root.
* Add Tim Peters' shuffle() algorithm.Guido van Rossum1999-08-181-0/+21
|
* Implements the 'build_ext' command for building C/C++ extension modules.Greg Ward1999-08-141-0/+192
|
* Module to spawn sub-commands in a platform-independent way.Greg Ward1999-08-141-0/+106
| | | | Initial revision only includes support for POSIX-style fork-and-exec.
* Changed to use 'spawn()', now that it exists.Greg Ward1999-08-141-24/+62
| | | | | | | | Added 'verbose' and 'dry_run' parameters to constructor. Changed 'compile()', 'link_*()' to default lists arguments to None rather than empty list. Added implementations of the filename-mangling methods mandated by the CCompiler interface.
* Added 'verbose' and 'dry_run' flags to CCompiler constructor andGreg Ward1999-08-141-15/+64
| | | | | | | | | | | 'new_compiler()' factory function. Added 'runtime_library_dirs' list (for -R linker option) and methods to manipulate it. Deleted some obsolete comments. Added all the filename manglign methods: 'object_filenames()', 'shared_object_filename()', 'library_filename()', 'shared_library_filename()'. Added 'spawn()' method (front end to the "real" spawn).
* Comment tweak.Greg Ward1999-08-141-5/+5
|
* Better detection of bad entries in option table.Greg Ward1999-08-141-3/+11
| | | | Better error messages for bad entries in option table.
* Added DistutilsExecError, DistutilsValueError.Greg Ward1999-08-141-1/+13
|
* Initial implementationBarry Warsaw1999-08-131-0/+268
|
* Explain the possible range of values for the pid parameter toFred Drake1999-08-131-6/+14
| | | | waitpid().
* Initial revisionBarry Warsaw1999-08-111-0/+1
|
* Moshe noticed an inconsistency in his comment, so I'm rephrasing it toGuido van Rossum1999-08-111-2/+1
| | | | be clearer.
* Patch inspired by Moshe Zadka to search for the Icons directory in theGuido van Rossum1999-08-111-5/+11
| | | | | same directory as __file__, rather than searching for it along sys.path. This works better when idle is a package.
* Patch by Paul Sokolovsky to support the get() method.Guido van Rossum1999-08-111-0/+5
|
* (py-shell): Set the default shell if not set yet. It's sometimesBarry Warsaw1999-08-101-0/+3
| | | | | convenient to call py-shell before the first Python file has been visited.
* Allow comment characters (#) to be escaped:Greg Ward1999-08-101-14/+37
| | | | | | | - did away with 'comment_re' option -- it's just not that simple anymore - heavily revised the main logic in 'readline()' to accomodate this Beefed up 'warn()': 'line' can be list or tuple, and 'msg' is automatically converted to a string.
* Added __del__ method to GzipFile class that will flush and close theAndrew M. Kuchling1999-08-101-0/+5
| | | | object, if required.
* In note mentioning [].remove()'s exception, tell what exception isFred Drake1999-08-091-25/+21
| | | | raised. Prompted by Barry's whining. ;-0
* Patch by Marc-Andre Lemburg to add a bunch more symbols.Guido van Rossum1999-08-091-2/+86
|
* Ofir Reichenberg suggested to apply htonl() to grpaddr in openmcastsock().Guido van Rossum1999-08-071-3/+3
| | | | Also got rid of unnecessary use of eval() and regsub.gsub().
* Add index entries for open():Fred Drake1999-08-051-1/+4
| | | | | | | buffer size, I/O I/O control, buffering line-buffered I/O unbuffered I/O
* Add index entry "I/O control, buffering" for fdopen().Fred Drake1999-08-051-0/+1
|
* Add index entry "I/O control, buffering" for makefile().Fred Drake1999-08-051-3/+4
|