summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove CRLF line endings.Guido van Rossum2000-04-101-2/+2
| | | | Fredrik Lundh: add two missing casts.
* Some cleanup -- don't use splitfields/joinfields, standardizeGuido van Rossum2000-04-101-19/+17
| | | | indentation (tabs only), rationalize some code in urljoin...
* Match the error messages to say "(most recent call last)" like theGuido van Rossum2000-04-101-5/+5
| | | | built-in messages.
* Use a better approach to locating IDLE's default configuration,Fred Drake2000-04-101-1/+1
| | | | | allowing it to be run from anywhere, including through a symlink to the actual idle.py script.
* Patch by Vladimir Marangozov to include the function name whenGuido van Rossum2000-04-101-2/+6
| | | | | | | comparing code objects. This give sless surprising results in -Optimized code. It also sorts code objects by name, now. [I changed the patch to hash() slightly to touch fewer lines.]
* Use a constant to specify the number of child threads to create.Fred Drake2000-04-101-4/+7
| | | | | | | | | | | Instead of assuming that the number process ids of the threads is the same as the process id of the controlling process, use a copy of the dictionary and check for changes in the process ids of the threads from the thread's process ids in the parent process. This makes the test make more sense on systems which assign a new pid to each thread (i.e., Linux). This doesn't fix the other problems evident with this test on Linux.
* Marc-Andre Lemburg:Guido van Rossum2000-04-101-0/+29
| | | | | | | | * '...%s...' % u"abc" now coerces to Unicode just like string methods. Care is taken not to reevaluate already formatted arguments -- only the first Unicode object appearing in the argument mapping is looked up twice. Added test cases for this to test_unicode.py.
* Marc-Andre Lemburg:Guido van Rossum2000-04-101-1/+58
| | | | * More test cases for test_contains.py.
* Marc-Andre Lemburg:Guido van Rossum2000-04-101-22/+79
| | | | | | | | | | | | | | | | | | | * New exported API PyUnicode_Resize() * The experimental Keep-Alive optimization was turned back on after some tweaks to the implementation. It should now work without causing core dumps... this has yet to tested though (switching it off is easy: see the unicodeobject.c file for details). * Fixed a memory leak in the Unicode freelist cleanup code. * Added tests to correctly process the return code from _PyUnicode_Resize(). * Fixed a bug in the 'ignore' error handling routines of some builtin codecs. Added test cases for these to test_unicode.py.
* Marc-Andre Lemburg:Guido van Rossum2000-04-101-3/+52
| | | | | | | | | | | | | * string_contains now calls PyUnicode_Contains() only when the other operand is a Unicode string (not whenever it's not a string). * New format style '%r' inserts repr(arg) instead of str(arg). * '...%s...' % u"abc" now coerces to Unicode just like string methods. Care is taken not to reevaluate already formatted arguments -- only the first Unicode object appearing in the argument mapping is looked up twice. Added test cases for this to test_unicode.py.
* Marc-Andre Lemburg:Guido van Rossum2000-04-101-2/+15
| | | | | | * TypeErrors during comparing of mixed type arguments including a Unicode object are now masked (just like they are for all other combinations).
* Marc-Andre Lemburg: New exported API PyUnicode_Resize().Guido van Rossum2000-04-101-0/+19
|
* Don't be so strict in checking AttributeError -- the error messageGuido van Rossum2000-04-101-2/+2
| | | | recently changed.
* Output from test_zipfile.py.Guido van Rossum2000-04-101-0/+1
|
* Test for zipfile.py, by Jim Ahlstrom.Guido van Rossum2000-04-101-0/+26
|
* Define 'self.force' in the constructor and remove the hack in '__getattr__()'Greg Ward2000-04-101-5/+6
| | | | to account for it not being defined in the constructor.
* Mark Hammond:Guido van Rossum2000-04-101-1/+4
| | | | | | | | In line with a similar checkin to object.c a while ago, this patch gives a more descriptive error message for an attribute error on a class instance. The message now looks like: AttributeError: 'Descriptor' instance has no attribute 'GetReturnType'
* Skip Montanaro: add string precisions to calls to PyErr_FormatGuido van Rossum2000-04-105-27/+29
| | | | to prevent possible buffer overruns.
* In dealloc(), only close the socket if fd != -1.Guido van Rossum2000-04-101-1/+2
|
* Delete some debugging print statements.Greg Ward2000-04-102-4/+0
|
* Added a check for the 'force' attribute in '__getattr__()' -- better thanGreg Ward2000-04-101-6/+10
| | | | | | crashing when self.force not defined. Revise 'copy_file()' and 'copy_tree()' docstrings accordingly. Remove 'hasattr()' check for 'self.force' from 'make_file()'.
* Added optional 'prefix' arguments to 'get_python_inc()' andGreg Ward2000-04-101-4/+10
| | | | 'get_python_lib()'.
* Better variable names here and there.Greg Ward2000-04-101-18/+18
|
* Added '--force' option -- very clear what it means for building (ignoreGreg Ward2000-04-104-3/+21
| | | | | timestamps), so every build_* command has 'self.force', which follows the 'build' command if not set by the user.
* Removed global '--force' option -- just too vague a concept to be applicableGreg Ward2000-04-102-13/+14
| | | | | | to all commands in the same way. Several Command methods now either expect 'self.force' to be defined, or check if it is defined and assume it's false if not.
* Added __version__ to store the Distutils version number.Greg Ward2000-04-101-0/+2
|
* Moved definition of \XXX command out to distutils.sty.Greg Ward2000-04-091-1/+0
|
* Wrote the introduction (including several subsections).Greg Ward2000-04-091-16/+177
| | | | Started writing the "Standard Build and Install" section.
* minor tweak (jvr)Just van Rossum2000-04-091-1/+1
|
* added experimental microthread support for use with stackless python -- bw ↵Just van Rossum2000-04-092-13/+77
| | | | compatible (jvr)
* added popup control (jvr)Just van Rossum2000-04-091-4/+60
|
* added setbound() method, some cleanups (jvr)Just van Rossum2000-04-091-9/+12
|
* oops, keyword list missed exec... doh! thanks to Maik Roeder (jvr)Just van Rossum2000-04-091-2/+2
|
* Installer Vise vct file for 1.6a1. Not very pretty (and needs funny ↵Jack Jansen2000-04-091-0/+0
| | | | directory structure).
* Modified for 1.6a1.Jack Jansen2000-04-092-16/+32
|
* Quick readme for 1.6a1.Jack Jansen2000-04-091-7/+16
|
* Fixed so LaTeX can actually process it, and so it looks like the otherGreg Ward2000-04-091-26/+29
| | | | Distutils manual.
* Got started for real on this manual. Completely untested and unread -- justGreg Ward2000-04-091-2/+567
| | | | checking it in so I can move things around in the CVS repository.
* Extracted a bunch of Distutils-specific commands and macros to distutils.styGreg Ward2000-04-091-13/+1
| | | | (also needed by inst.tex).
* Ditched the unused 'list_only' option.Greg Ward2000-04-091-3/+4
| | | | | | Added code to include source files from 'build_clib' command to default file list -- currently this won't work, since 'build_clib' doesn't have a 'get_source_files()' method!
* Catch DistutilsFileError in addition to DistutilsExecError in 'setup()'.Greg Ward2000-04-091-1/+1
|
* Added (currently) pointless and trivial main body (for future tests).Greg Ward2000-04-091-0/+4
|
* This little note is to clarify things for people who go poking around theGreg Ward2000-04-091-0/+18
| | | | Python library hoping to find out more about the Distutils.
* Drag was missing from the modules built.Jack Jansen2000-04-081-0/+2
|
* This hadn't been checked in for a while.Jack Jansen2000-04-081-0/+0
|
* Fix Skip's email address in his attribution! (Thanks, Skip!)Fred Drake2000-04-081-1/+1
|
* Added support for the "Long HTML" version to the build/packagingFred Drake2000-04-071-2/+13
| | | | process.
* New example from Skip Montanaro <skip@mojam.com>.Fred Drake2000-04-071-23/+29
|
* Enable multithreading.Jack Jansen2000-04-073-0/+3
|
* Added a profiling target.Jack Jansen2000-04-071-0/+0
|