summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* do_cmd_longprogramopt(): New function.Fred Drake2000-04-111-0/+3
|
* This commit was manufactured by cvs2svn to create tag 'r16a2'.v1.6a2cvs2svn2000-04-111-0/+1
|
* Add weasel-words about versioning, so I don't have to check in a newGuido van Rossum2000-04-111-2/+6
| | | | README for each new alpha release.
* Deleted trailing whitespace. This is really a way to be able to addGuido van Rossum2000-04-111-14/+14
| | | | | | | | | a missing part of the previous checkin message: Marc-Andre Lemburg: Added encoding name attributes to wrapper classes which allow applications to check the used encoding names.
* Marc-Andre Lemburg:Guido van Rossum2000-04-111-1/+1
| | | | | | | Changed PyUnicode_Splitlines() maxsplit argument to keepends. The maxsplit functionality was replaced by the keepends functionality which allows keeping the line end markers together with the string.
* Marc-Andre Lemburg:Guido van Rossum2000-04-111-11/+14
| | | | | | | | | The maxsplit functionality in .splitlines() was replaced by the keepends functionality which allows keeping the line end markers together with the string. Added support for '%r' % obj: this inserts repr(obj) rather than str(obj).
* Marc-Andre Lemburg:Guido van Rossum2000-04-111-2/+6
| | | | | Added a few missing whitespace Unicode char mappings. Thanks to Brian Hooper.
* Marc-Andre Lemburg:Guido van Rossum2000-04-112-14/+14
| | | | | | The maxsplit functionality in .splitlines() was replaced by the keepends functionality which allows keeping the line end markers together with the string.
* Marc-Andre Lemburg:Guido van Rossum2000-04-111-4/+17
| | | | | | | Added special case to unicode(): when being passed a Unicode object as first argument, return the object as-is. Raises an exception when given a Unicode object *and* an encoding name.
* Marc-Andre Lemburg:Guido van Rossum2000-04-111-23/+119
| | | | | Added .writelines(), .readlines() and .readline() to all codec classes.
* Marc-Andre Lemburg:Guido van Rossum2000-04-111-2/+1
| | | | | Modified .splitlines() tests according to the changes in stringobject.c.
* Marc-Andre Lemburg:Guido van Rossum2000-04-111-2/+1
| | | | | Modified .splitlines() tests according to the changes in unicodeobject.c.
* Two more items.Guido van Rossum2000-04-111-0/+5
|
* LaTeX macros for the Distutils manuals.Greg Ward2000-04-111-0/+26
| | | | Perhaps these should be added to the standard Python style file?
* Spewed a bunch more verbiage.Greg Ward2000-04-111-87/+179
| | | | Lots of scattered wording changes.
* Correct fix by Mark Favas for the cast problems.Guido van Rossum2000-04-101-4/+5
|
* I've had complaints about the comparison "where >= 0" before -- onGuido van Rossum2000-04-101-1/+1
| | | | IRIX, it doesn't even compile. Added a cast: "where >= (char *)0".
* Version 1.3 of the Python Unicode Integration proposal.Guido van Rossum2000-04-101-3/+4
|
* Added reference count information for Py_FindMethod().Fred Drake2000-04-101-0/+5
|
* Install the docs (with fewer rules).Guido van Rossum2000-04-101-54/+14
| | | | Add descriptions for the system variables.
* Bunch of new names, mostly from patches and bugs mailing listsGuido van Rossum2000-04-101-1/+13
| | | | | (everyone who said something remotely useful in the last 100 messages I archived has been added :-).
* Yet another markup nit: functions that are part of the Python/C APIFred Drake2000-04-101-3/+5
| | | | are still C functions, and should be marked.
* PyErr_Format():Fred Drake2000-04-101-1/+0
| | | | | Remove statement that the return value is always NULL; this is generated by the formatting.
* document PyErr_FormatJeremy Hylton2000-04-102-0/+16
|
* letters:Fred Drake2000-04-101-4/+4
| | | | | | | | Fix description; lowercase and uppercase are strings, not functions! Noted by Randall Hopper <aa8vb@yahoo.com>. maketrans(): Minor markup nits in description.
* Add to the comment a description of the "null" value for returnedFred Drake2000-04-101-1/+4
| | | | PyObject* values.
* load_refcounts(),Fred Drake2000-04-101-1/+5
| | | | | do_env_cfuncdesc(): Support the "null" value for the refcounts field in refcounts.dat.
* The reference count field for PyErr_NoMemory() andFred Drake2000-04-101-2/+2
| | | | PyErr_SetFromErrno() should be "null".
* If the refcount field is "null", that's ok; the value will be None.Fred Drake2000-04-101-1/+3
|
* For functions which return a PyObject* but use "null" for theFred Drake2000-04-101-1/+5
| | | | | | reference count field, state that the return value is always NULL. (Useful for some PyErr_*() flavors.)
* cfuncdesc environment:Fred Drake2000-04-101-1/+1
| | | | | When processing the optional parameter, don't append any text; let the pre-processor supply all of it.
* Added project dependencies -- Mark is right, these are needed.Guido van Rossum2000-04-101-0/+39
|
* Strangely, we *do* need to define ZLIB_DLL.Guido van Rossum2000-04-101-2/+2
| | | | | Do it in the project file rather than in the source, so it's easier for Mark to change.
* do_cmd_datalineni(): New function, to implement the non-indexing formFred Drake2000-04-101-0/+6
| | | | of \dataline.
* Christian Tismer: added test to ensure that multiplication commutes.Guido van Rossum2000-04-101-0/+2
| | | | | | [The test is in a slightly odd place, in test_division_2; but it exercises the recent change to long_mult(), and that's all we really ask for. --GvR]
* Simple optimization by Christian Tismer, who gives credit to LennyGuido van Rossum2000-04-101-0/+9
| | | | | Kneler for reporting this issue: long_mult() is faster when the smaller argument is on the left. Swap the arguments accordingly.
* Implement suggestion from Lawrence Kesteloot in PR#280, to change theGuido van Rossum2000-04-101-6/+7
| | | | | | | | | | | | | | | default list of files from () to None, and explicitly test for None before defaulting to sys.argv[1:]. This means that if you pass in an explicit empty list, it will read stdin instead of defaulting to sys.argv[1:]. This fixes a buglet in the test script (when called with options but without files, it chokes when it tries to interpret the options as files). Lawrence adds: "I suspect that this is a safe change, because I can't imagine someone actively passing in an empty list when they want sys.argv used." I agree.
* Fredrik Lundh: new snapshot. Mostly reindented.Guido van Rossum2000-04-103-485/+490
| | | | | This one should work with unicode expressions, and compile a bit more silently.
* Removed CRLF line endings.Guido van Rossum2000-04-100-0/+0
|
* 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).