Greg Ward
822a86a955
Trying to placate Fred: redefine \tilde and \bslash; document everything.
...
Still some not-quite-standard definitions in here that I have to fix.
2000-04-12 01:44:35 +00:00
Greg Ward
d5faa7ea08
Changed the table of per-platform default installation locations to be
...
more consistent with the rest of the Python docs.
2000-04-12 01:42:19 +00:00
Fred Drake
ee775a194c
Make use of \longprogramopt where appropriate.
2000-04-11 19:46:40 +00:00
Fred Drake
2b85341776
Elaborate descriptions of \e, \module.
...
Describe policy on vertical lines in tables.
2000-04-11 19:08:30 +00:00
Fred Drake
ce44498ba8
Revise the description of \programopt, document \longprogramopt.
2000-04-11 18:52:52 +00:00
Fred Drake
493624941a
\longprogramopt: New macro.
2000-04-11 18:47:59 +00:00
Fred Drake
0cd6021339
do_cmd_longprogramopt(): New function.
2000-04-11 18:46:59 +00:00
cvs2svn
080daa04f1
This commit was manufactured by cvs2svn to create tag 'r16a2'.
2000-04-11 17:11:09 +00:00
Guido van Rossum
9144763aae
Add weasel-words about versioning, so I don't have to check in a new
...
README for each new alpha release.
2000-04-11 17:11:09 +00:00
Guido van Rossum
1c89b0eeef
Deleted trailing whitespace. This is really a way to be able to add
...
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.
2000-04-11 15:41:38 +00:00
Guido van Rossum
004d64f362
Marc-Andre Lemburg:
...
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.
2000-04-11 15:39:46 +00:00
Guido van Rossum
f0b7b04ae8
Marc-Andre Lemburg:
...
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).
2000-04-11 15:39:26 +00:00
Guido van Rossum
dc742b3184
Marc-Andre Lemburg:
...
Added a few missing whitespace Unicode char mappings.
Thanks to Brian Hooper.
2000-04-11 15:39:02 +00:00
Guido van Rossum
86662914be
Marc-Andre Lemburg:
...
The maxsplit functionality in .splitlines() was replaced by the keepends
functionality which allows keeping the line end markers together
with the string.
2000-04-11 15:38:46 +00:00
Guido van Rossum
3afba7644b
Marc-Andre Lemburg:
...
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.
2000-04-11 15:38:23 +00:00
Guido van Rossum
a3277139f1
Marc-Andre Lemburg:
...
Added .writelines(), .readlines() and .readline() to all
codec classes.
2000-04-11 15:37:43 +00:00
Guido van Rossum
b28bc8cd05
Marc-Andre Lemburg:
...
Modified .splitlines() tests according to the changes
in stringobject.c.
2000-04-11 15:37:24 +00:00
Guido van Rossum
7ee801d6af
Marc-Andre Lemburg:
...
Modified .splitlines() tests according to the changes
in unicodeobject.c.
2000-04-11 15:37:02 +00:00
Guido van Rossum
e39a88fd58
Two more items.
2000-04-11 15:30:19 +00:00
Greg Ward
08c68fc82d
LaTeX macros for the Distutils manuals.
...
Perhaps these should be added to the standard Python style file?
2000-04-11 02:01:52 +00:00
Greg Ward
c392caa390
Spewed a bunch more verbiage.
...
Lots of scattered wording changes.
2000-04-11 02:00:26 +00:00
Guido van Rossum
36d4f8b0ec
Correct fix by Mark Favas for the cast problems.
2000-04-10 21:34:37 +00:00
Guido van Rossum
e110dcfa86
I've had complaints about the comparison "where >= 0" before -- on
...
IRIX, it doesn't even compile. Added a cast: "where >= (char *)0".
2000-04-10 21:14:05 +00:00
Guido van Rossum
2581764f21
Version 1.3 of the Python Unicode Integration proposal.
2000-04-10 19:45:09 +00:00
Fred Drake
8520cc2328
Added reference count information for Py_FindMethod().
2000-04-10 19:38:24 +00:00
Guido van Rossum
a901f8fd4d
Install the docs (with fewer rules).
...
Add descriptions for the system variables.
2000-04-10 19:36:27 +00:00
Guido van Rossum
0b4400e86c
Bunch of new names, mostly from patches and bugs mailing lists
...
(everyone who said something remotely useful in the last 100 messages
I archived has been added :-).
2000-04-10 19:14:16 +00:00
Fred Drake
7357770153
Yet another markup nit: functions that are part of the Python/C API
...
are still C functions, and should be marked.
2000-04-10 18:50:14 +00:00
Fred Drake
37f41565a8
PyErr_Format():
...
Remove statement that the return value is always NULL; this is
generated by the formatting.
2000-04-10 18:46:22 +00:00
Jeremy Hylton
98605b54b4
document PyErr_Format
2000-04-10 18:40:57 +00:00
Fred Drake
0682be4524
letters:
...
Fix description; lowercase and uppercase are strings, not
functions! Noted by Randall Hopper <aa8vb@yahoo.com>.
maketrans():
Minor markup nits in description.
2000-04-10 18:35:49 +00:00
Fred Drake
8394595f3b
Add to the comment a description of the "null" value for returned
...
PyObject* values.
2000-04-10 18:29:21 +00:00
Fred Drake
c2578c5bb6
load_refcounts(),
...
do_env_cfuncdesc(): Support the "null" value for the refcounts field
in refcounts.dat.
2000-04-10 18:26:45 +00:00
Fred Drake
db2764d941
The reference count field for PyErr_NoMemory() and
...
PyErr_SetFromErrno() should be "null".
2000-04-10 18:25:09 +00:00
Fred Drake
5e872de6c7
If the refcount field is "null", that's ok; the value will be None.
2000-04-10 18:24:26 +00:00
Fred Drake
729eca1b9d
For functions which return a PyObject* but use "null" for the
...
reference count field, state that the return value is always NULL.
(Useful for some PyErr_*() flavors.)
2000-04-10 18:23:47 +00:00
Fred Drake
0a863da1f8
cfuncdesc environment:
...
When processing the optional parameter, don't append any text;
let the pre-processor supply all of it.
2000-04-10 18:21:38 +00:00
Guido van Rossum
4dfcd766c6
Added project dependencies -- Mark is right, these are needed.
2000-04-10 17:56:36 +00:00
Guido van Rossum
6d2332d376
Strangely, we *do* need to define ZLIB_DLL.
...
Do it in the project file rather than in the source,
so it's easier for Mark to change.
2000-04-10 17:52:44 +00:00
Fred Drake
adb272ceee
do_cmd_datalineni(): New function, to implement the non-indexing form
...
of \dataline.
2000-04-10 17:47:14 +00:00
Guido van Rossum
6e277cf7de
Christian Tismer: added test to ensure that multiplication commutes.
...
[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]
2000-04-10 17:41:37 +00:00
Guido van Rossum
ba71a247ac
Simple optimization by Christian Tismer, who gives credit to Lenny
...
Kneler for reporting this issue: long_mult() is faster when the
smaller argument is on the left. Swap the arguments accordingly.
2000-04-10 17:31:58 +00:00
Guido van Rossum
2516b39dd3
Implement suggestion from Lawrence Kesteloot in PR#280, to change the
...
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.
2000-04-10 17:16:12 +00:00
Guido van Rossum
b81e70ebdb
Fredrik Lundh: new snapshot. Mostly reindented.
...
This one should work with unicode expressions, and compile
a bit more silently.
2000-04-10 17:10:48 +00:00
Guido van Rossum
5de435a245
Removed CRLF line endings.
2000-04-10 17:07:24 +00:00
Guido van Rossum
29530886af
Remove CRLF line endings.
...
Fredrik Lundh: add two missing casts.
2000-04-10 17:06:55 +00:00
Guido van Rossum
a25d7ddbf0
Some cleanup -- don't use splitfields/joinfields, standardize
...
indentation (tabs only), rationalize some code in urljoin...
2000-04-10 17:02:46 +00:00
Guido van Rossum
3bb1edb328
Match the error messages to say "(most recent call last)" like the
...
built-in messages.
2000-04-10 16:29:29 +00:00
Fred Drake
d6904ea5a0
Use a better approach to locating IDLE's default configuration,
...
allowing it to be run from anywhere, including through a symlink to
the actual idle.py script.
2000-04-10 16:27:47 +00:00
Guido van Rossum
44679590e0
Patch by Vladimir Marangozov to include the function name when
...
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.]
2000-04-10 16:20:31 +00:00