summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Jack Jansen: The GUSI 2.0 I/O library (which is used on the Mac)Guido van Rossum2000-04-241-1/+1
| | | | doesn't use the special header file for select anymore.
* Added tests for socklen_tGuido van Rossum2000-04-244-217/+257
|
* Jack Jansen: The new version of the GUSI i/o library on the MacintoshGuido van Rossum2000-04-242-5/+5
| | | | has a few slightly different calls from the old one.
* Jack Jansen: Posix threads are now supported on the Macintosh too.Guido van Rossum2000-04-241-0/+4
|
* Added site-packages. (Sorry, forgot who submitted this patch.)Guido van Rossum2000-04-241-1/+1
|
* Jack Jansen: A few new types needed by new API calls.Guido van Rossum2000-04-241-4/+6
|
* Oops -- Mark forgot to add "0x" to the /base: argument.Guido van Rossum2000-04-241-2/+2
|
* Fix to previous patch: send the request data when it's providedAndrew M. Kuchling2000-04-241-0/+2
|
* Added a provision to stop all threads before exiting from the test:Guido van Rossum2000-04-241-1/+7
| | | | | | the change to regrtest.py to unload all newly imported modules did something bad to the threads -- and I realized that they would never stop!
* Remove Windows line endings.Guido van Rossum2000-04-240-0/+0
|
* Fix spelling error and remove Windows line endings.Guido van Rossum2000-04-241-1/+1
|
* Changes by Mark Hammond to ignore more by-products of the build.Guido van Rossum2000-04-241-1/+2
|
* Security patch for Unix by Chris McDonough.Guido van Rossum2000-04-241-7/+21
| | | | | | This uses the same precautions when trying to find a temporary directory as when the actual tempfile is created (using O_CREAT and O_EXCL). On non-posix platforms, nothing is changed.
* Don't build the _tkinter project from Build, only the one from ↵Jack Jansen2000-04-231-4/+6
| | | | Extensions:Imaging, which now drops its resulting .slb into the PlugIns folder.
* Tk 8.3.0 resources.Jack Jansen2000-04-231-0/+0
|
* Fixed to work with Tcl/Tk 8.3.0, at least, my modified copy of it.Jack Jansen2000-04-231-0/+0
|
* Fixed bug reported by JP Calderone: https:// URL's didn't work.Andrew M. Kuchling2000-04-231-2/+8
| | | | The fix also adds support for POSTing to an https URL
* Patch from Harry Henry Gebel: fix two stupid bugs in help-printing stuff.Greg Ward2000-04-231-2/+2
|
* Added a couple of contributors. Still needs work for the next distribution.Jack Jansen2000-04-221-0/+8
|
* Erik van Blokland's CaptureAE.Jack Jansen2000-04-222-0/+367
|
* Added a reference to the Open Directory page on macPython.Jack Jansen2000-04-221-1/+6
|
* The .exp file hadn't been regenerated after adding the threading stuff. This ↵Jack Jansen2000-04-222-922/+1075
| | | | means that building a nonthreaded PythonCore will now require massaging of the .exp.
* Added a note about Personal Webserver, and replaced "netpresenz" by a list ↵Jack Jansen2000-04-221-3/+11
| | | | of the current mac webservers.
* Added Corran Webster's explanation of how to write extensions in MPW and a ↵Jack Jansen2000-04-223-4/+499
| | | | pointer to his W documentation.
* Sporadic, untested Python 1.5.1 compatibility changes.Greg Ward2000-04-221-1/+1
|
* Merged in Python 1.5.1 compatibility changes from the 0.1.3 branch:Greg Ward2000-04-221-0/+24
| | | | added 'abspath()' and 'extend()'.
* Merged in code from the 0.1.5 release to handle IOError and OSErrorGreg Ward2000-04-221-6/+12
| | | | exceptions better.
* Check that 'self.formats' is good early on.Greg Ward2000-04-221-3/+8
|
* Catch DistutilsOptionError in 'setup()' -- it's thrown either because ofGreg Ward2000-04-221-1/+3
| | | | | errors in the setup script or on the command line, so shouldn't result in a traceback.
* Extracted the "what-do-I-do-for-this-format" logic from code inGreg Ward2000-04-221-11/+21
| | | | | | 'make_archive()' to a global static dictionary, ARCHIVE_FORMATS. Added 'check_archive_formats()', which obviously makes good use of this dictionary.
* Fix how we generate the meta-data query methods to include 'get_fullname()'Greg Ward2000-04-221-3/+5
| | | | and the other "composite meta-data" methods.
* Changed to call 'get_fullname()', not 'get_full_name()', on Distribution object.Greg Ward2000-04-222-2/+2
|
* Made the GUSI options work again with GUSI 2.Jack Jansen2000-04-213-5/+42
|
* Added winsound project to workspace, and added -I options to winsoundGuido van Rossum2000-04-212-4/+20
|
* Patch by Vladimir Marangozov to unload additionally imported modulesGuido van Rossum2000-04-211-0/+5
| | | | | after each test has been run. This avoids excessive memory growth during the tests.
* Added test_winsound by Mark Hammond.Guido van Rossum2000-04-212-0/+9
|
* Mark Hammond:Guido van Rossum2000-04-212-3/+10
| | | | | | | | | | | * Base address for all extension modules updated. PC\dllbase_nt.txt also updated. Erroneous "libpath" directory removed for all projects. * winsound module moved from a builtin module to an extension module. This was done primarily to avoid Python16.dll needing to pull in winmm.dll. Really dumb test added for winsound - but if nothing else it ensures the module imports.
* Mark Hammond:Guido van Rossum2000-04-2114-107/+191
| | | | | | | | | | | | | | | | | | | * Temp directory for all projects are now specific to the project (rather than common as before). This avoids any conflicts with debug symbols or common file names etc. NOTE: You should manually delete your existing build directory after applying this patch, as the MSVC "clean" command will now only clean the new temporary directories - not the existing common temp directory. * Base address for all extension modules updated. PC\dllbase_nt.txt also updated. Erroneous "libpath" directory removed for all projects. * winsound module moved from a builtin module to an extension module. This was done primarily to avoid Python16.dll needing to pull in winmm.dll. Really dumb test added for winsound - but if nothing else it ensures the module imports.
* Charles Waldman writes:Guido van Rossum2000-04-211-14/+13
| | | | | | | | | | | | | | | | | | | | | | | | | """ Running "test_extcall" repeatedly results in memory leaks. One of these can't be fixed (at least not easily!), it happens since this code: def saboteur(**kw): kw['x'] = locals() d = {} saboteur(a=1, **d) creates a circular reference - d['x']['d']==d The others are due to some missing decrefs in ceval.c, fixed by the patch attached below. Note: I originally wrote this without the "goto", just adding the missing decref's where needed. But I think the goto is justified in keeping the executable code size of ceval as small as possible. """ [I think the circular reference is more like kw['x']['kw'] == kw. --GvR]
* Patch by Charles G Waldman to avoid a sneaky memory leak inGuido van Rossum2000-04-211-16/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _PyTuple_Resize(). In addition, a change suggested by Jeremy Hylton to limit the size of the free lists is also merged into this patch. Charles wrote initially: """ Test Case: run the following code: class Nothing: def __len__(self): return 5 def __getitem__(self, i): if i < 3: return i else: raise IndexError, i def g(a,*b,**c): return for x in xrange(1000000): g(*Nothing()) and watch Python's memory use go up and up. Diagnosis: The analysis begins with the call to PySequence_Tuple at line 1641 in ceval.c - the argument to g is seen to be a sequence but not a tuple, so it needs to be converted from an abstract sequence to a concrete tuple. PySequence_Tuple starts off by creating a new tuple of length 5 (line 1122 in abstract.c). Then at line 1149, since only 3 elements were assigned, _PyTuple_Resize is called to make the 5-tuple into a 3-tuple. When we're all done the 3-tuple is decrefed, but rather than being freed it is placed on the free_tuples cache. The basic problem is that the 3-tuples are being added to the cache but never picked up again, since _PyTuple_Resize doesn't make use of the free_tuples cache. If you are resizing a 5-tuple to a 3-tuple and there is already a 3-tuple in free_tuples[3], instead of using this tuple, _PyTuple_Resize will realloc the 5-tuple to a 3-tuple. It would more efficient to use the existing 3-tuple and cache the 5-tuple. By making _PyTuple_Resize aware of the free_tuples (just as PyTuple_New), we not only save a few calls to realloc, but also prevent this misbehavior whereby tuples are being added to the free_tuples list but never properly "recycled". """ And later: """ This patch replaces my submission of Sun, 16 Apr and addresses Jeremy Hylton's suggestions that we also limit the size of the free tuple list. I chose 2000 as the maximum number of tuples of any particular size to save. There was also a problem with the previous version of this patch causing a core dump if Python was built with Py_TRACE_REFS. This is fixed in the below version of the patch, which uses tupledealloc instead of _Py_Dealloc. """
* Charles Waldman writes:Guido van Rossum2000-04-211-4/+4
| | | | | | | | | | """ In the course of debugging this I also saw that cPickle is inconsistent with pickle - if you attempt a pickle.load or pickle.dump on a closed file, you get a ValueError, whereas the corresponding cPickle operations give an IOError. Since cPickle is advertised as being compatible with pickle, I changed these exceptions to match. """
* Charles Waldman writes:Guido van Rossum2000-04-211-14/+11
| | | | | | | | | | | | | | | | | | | | """ Problem description: Run the following script: import test.test_cpickle for x in xrange(1000000): reload(test.test_cpickle) Watch Python's memory use go up up and away! In the course of debugging this I also saw that cPickle is inconsistent with pickle - if you attempt a pickle.load or pickle.dump on a closed file, you get a ValueError, whereas the corresponding cPickle operations give an IOError. Since cPickle is advertised as being compatible with pickle, I changed these exceptions to match. """
* Use an explicit macro SOCKETCLOSE which expands to closesocket (onGuido van Rossum2000-04-211-10/+14
| | | | | | | | | Windows), soclose (on OS2), or to close (everywhere else). Hopefully this fixes a new compilation error that I suddenly get on Windows because the macro definition for close -> closesocket apparently was done before including io.h, which contains a prototype for close. (No idea why this wasn't an error before.)
* Patch by Brian Hooper, somewhat augmented by GvR, to strip a trailingGuido van Rossum2000-04-211-0/+28
| | | | | | | | | | backslash from the pathname argument to stat() on Windows -- while on Unix, stat("/bin/") succeeds and does the same thing as stat("/bin"), on Windows, stat("\\windows\\") fails while stat("\\windows") succeeds. This modified version of the patch recognizes both / and \. (This is odd behavior of the MS C library, since os.listdir("\\windows\\") succeeds!)
* Doc strings for the spawn* functions, by Michael Hudson.Guido van Rossum2000-04-211-0/+56
|
* Fix 'check_metadata()' so it grovels through the distribution's metadataGreg Ward2000-04-211-6/+6
| | | | | object, rather than through the distribution itself (since I moved the meta- data out to a DistributionMetadata instance).
* Patch from Andrew Kuchling: document the new multiple pattern feature in theGreg Ward2000-04-211-12/+15
| | | | manifest template.
* Patch from Andrew Kuchling: allow multiple include/exclude patternsGreg Ward2000-04-211-48/+55
| | | | for all commands except 'prune' and 'graft'.
* Fixed the '--license' option so it's officially an alias for '--licence',Greg Ward2000-04-211-4/+1
| | | | and now actually works.
* Added the capability for alias options.Greg Ward2000-04-211-12/+36
|