summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* merge Include/my*.h into Include/pyport.hPeter Schneider-Kamp2000-07-3131-51/+341
| | | | marked my*.h as obsolete
* Update, 'cause Guido said it should be this way.Fred Drake2000-07-311-4/+4
|
* Fix inconsistent use of tab/space in indentation.Thomas Wouters2000-07-301-8/+8
|
* More Windows changes.Mark Hammond2000-07-301-24/+38
| | | | | | | | * After discussion with Trent, all INT_PTR references have been removed in favour of the HANDLE it should always have been. Trent can see no 64bit issues here. * In this process, I noticed that the close operation was dangerous, in that we could end up passing bogus results to the Win32 API. These result of the API functions passed the bogus values were never (and still are not) checked, but this is closer to "the right thing" (tm) than before. Tested on Windows and Linux.
* Fixes for Windows (but also tested on Linux). Test suite now completes, and ↵Mark Hammond2000-07-301-6/+46
| | | | | | this module should not leak in the face of errors. Checkin that replaces the INT_PTR types with HANDLEs still TBD (but as that is a "spelling" patch, rather than a functional one, I will commit it seperately.
* Test that after resizing the mmap'd file, we can't seek beyond the new size.Mark Hammond2000-07-301-1/+8
|
* Catch syntax errors from processing template lines and turn them intoGreg Ward2000-07-301-2/+9
| | | | | mere warnings. Call 'findall()' on our FileList object before we start using it seriously.
* Added list-like methods: 'append()', 'extend()', 'sort()'.Greg Ward2000-07-301-14/+46
| | | | | | | | | | | Added 'remove_duplicates()'. Simplified constructor: no longer take 'files' or 'allfiles' as args, and no longer have 'dir' attribute at all. Added 'set_allfiles()' and 'findall()' so the client does have a way to set the list of all files. Changed 'include_pattern()' to use the 'findall()' method instead of the external function. (Of course, the method is just a trivial wrapper around the function.)
* Replaced 'self.files' with 'self.filelist': now we carry around a FileListGreg Ward2000-07-301-54/+38
| | | | | instance instead of a list of filenames. Simplifies the "sdist" command only a bit, but should allow greater simplification of FileList.
* The other half of Rene Liebscher's patch to add the Template class,Greg Ward2000-07-301-305/+15
| | | | | which I renamed to FileList: remove all the file-list-generation code from the sdist command and adapt it to use the new FileList class instead.
* Typo fix.Greg Ward2000-07-301-1/+1
|
* Added DistutilsTemplateError.Greg Ward2000-07-301-0/+3
|
* Ditched the unused 'recursive_exclude_pattern()' method.Greg Ward2000-07-301-24/+0
|
* Renamed 'select_pattern()' to 'include_pattern()'.Greg Ward2000-07-301-15/+16
| | | | Other cosmetic/doc/comment tweaks.
* Renamed 'process_line()' to 'process_template_line()', and factored outGreg Ward2000-07-301-69/+63
| | | | '_parse_template_line()'.
* Added class docstring and ditched inappropriate class attrs.Greg Ward2000-07-301-123/+126
| | | | Indentation/whitspace fixes.
* Provides the FileList class for building a list of filenames by exploringGreg Ward2000-07-301-0/+362
| | | | | | | | the filesystem, and filtering the list by applying various patterns. Initial revision (almost) as supplied in a patch by Rene Liebscher; I just renamed the class from Template to FileList, and the module accordingly.
* Exercise .readline() and .readlines(). More data is written to theAndrew M. Kuchling2000-07-291-4/+28
| | | | test file, too, so the methods have more work to do.
* SF patch #100740: Add optional size arguments to .readline() andAndrew M. Kuchling2000-07-291-19/+37
| | | | | | .readlines() methods. Inspired by a patch from Wolfgang Grafen, though this version of the patch was completely rewritten from his code.
* Removed Tools/perfecthash, per python-dev discussionAndrew M. Kuchling2000-07-293-842/+0
|
* Added support to recognize Python's internal "dumbdbm" database.Moshe Zadka2000-07-291-0/+12
| | | | This closes bug 200 on Jitterbug.
* Using shutil's function to copy data between file objects insteadMoshe Zadka2000-07-291-6/+2
| | | | | | | | of rolling our own. Note: This is my first sourceforge checkin. If you see anything funny about this patch, please let me know.
* Finally fixed the much-reported bug about "~" in a couple of example.Fred Drake2000-07-281-2/+2
| | | | This time, it was reported by Skip.
* Add the exceptions module to the 'never' list -- it is built in.Guido van Rossum2000-07-281-1/+1
|
* Was quite broken and incomplete. Now passes the test suite, but is still ↵Mark Hammond2000-07-281-5/+14
| | | | incomplete.
* Allow any object supporting the buffer protocol to be written as a binary ↵Mark Hammond2000-07-281-7/+11
| | | | object.
* Fix a type in the docstrings, and make the module Unicode aware.Mark Hammond2000-07-281-4/+8
|
* Remove erroneous empty trailing line. (cause test_winreg.py failure)Trent Mick2000-07-271-1/+0
|
* Gregor Hoffleit: don't link with libnet on non-BeOS systemsJeremy Hylton2000-07-272-190/+198
|
* Second round of curses documentation improvements. Completes and extendsEric S. Raymond2000-07-271-17/+38
| | | | documentation for function keys, special characters.
* Gregor Hoffleit: Don't link with the libieee library if it's not necessaryJeremy Hylton2000-07-272-41/+93
|
* Rip out the information about the PSA, since the fate of that is notFred Drake2000-07-271-13/+9
| | | | | | | | | | certain. Update the information about the mailing list, using the python.org address instead of cwi.nl, and point to the pipermail archives. Also update the daily average message count (at the risk of scaring people off), using the mail archive at http://www.egroups.com/group/python-list for the first half of 2000 for statistical information.
* added .cvsignore so cvs doesn't complain about the generated graminit.h andSkip Montanaro2000-07-271-0/+2
| | | | graminit.c files.
* Added list of missing functions as a commentAndrew M. Kuchling2000-07-271-0/+26
|
* -- changed test to work on platforms which have os.popenFredrik Lundh2000-07-271-2/+8
| | | | but no os.fork
* Bump version to 0.9.1pre.Greg Ward2000-07-271-1/+1
|
* Fixed a grab-bag of typos spotted by Rob Hooft.Greg Ward2000-07-279-11/+11
|
* Remove unused 'search_dir()' method.Greg Ward2000-07-271-21/+1
| | | | Comment tweak.
* Fix to call 'library_filename()' instead of the non-existentGreg Ward2000-07-271-3/+5
| | | | 'shared_library_filename()'.
* Typo fix from David Ascher.Greg Ward2000-07-271-1/+1
|
* Comment out a debugging print (spotted by Michael Deegan)Andrew M. Kuchling2000-07-261-1/+1
|
* - changed windows pclose to make sure we don't return before theFredrik Lundh2000-07-261-10/+21
| | | | | underlying process has terminated (bug fix from David Bolen)
* Make mode_t available for the declaration of _getpty().Sjoerd Mullender2000-07-261-1/+1
|
* Patch #100873 - Use registry to find proxies for urllib on Win32Mark Hammond2000-07-261-13/+61
| | | | Note that this patch looks worse than it is - an existing function (getproxies() for all platforms other than Win/Mac) has been moved, renamed and indentation changed, but the body of that function is identical. Windows now allows the environment variables to override the registry.
* Fix UCNs machine with >= 32bit longsJeremy Hylton2000-07-264-56/+144
| | | | | | | originally submitted by Bill Tutt Note: This code is actually going to be replaced in 2.0 by /F's new database. Until then, this patch keeps the test suite working.
* Document tiget{flag,num,str}Andrew M. Kuchling2000-07-261-0/+21
|
* Added wrappers for tiget{flag,num,str}, for querying terminfo capabilitiesAndrew M. Kuchling2000-07-261-0/+47
|
* added test case for fixed duplicate arguments bug in Python/compile.cPeter Schneider-Kamp2000-07-252-0/+17
|
* Add entries for the distutils documents to the directories table.Fred Drake2000-07-251-0/+2
|
* This script demonstrates use of the visitor interface of the compilerJeremy Hylton2000-07-251-0/+38
| | | | package.