Jack Jansen
0627c3e371
Added enumobject.c
2002-05-07 21:42:08 +00:00
Andrew M. Kuchling
1624bc051f
Move 'Tips and Tricks' to be the last section
2002-05-07 21:03:45 +00:00
Andrew M. Kuchling
3b98dc16e9
Add section on Setup file
...
Updates for 2.2
Remove references to Makefile.pre.in build method
2002-05-07 21:02:35 +00:00
Andrew M. Kuchling
517109b11e
More filling out
2002-05-07 21:01:16 +00:00
Andrew M. Kuchling
21b23b09a2
Fix typos
2002-05-07 20:58:03 +00:00
Jack Jansen
ead4c80ac2
Fixed a mistake on my part when regenerating: removed a bogus import of Applscript_Suite.
...
Bugfix candidate (I'll move it over myself).
2002-05-07 20:16:20 +00:00
Andrew M. Kuchling
821013ef2c
Write two sections, and write some partial text for some other sections
2002-05-06 17:46:39 +00:00
Fred Drake
d05c74f42d
Add a note explaining the interaction between unbuffered input and
...
xreadlines.xreadlines().
This closes SF patch #552804 .
2002-05-06 16:02:42 +00:00
Andrew M. Kuchling
0b5c11252d
Prevent convert_path from crashing if the path is an empty string. Bugfix candidate.
2002-05-06 13:57:19 +00:00
Jack Jansen
efaffae8f6
First steps towards a generalized converter of Python object
...
hierarchies to CoreFoundation object hierarchies and vice versa.
2002-05-05 21:48:12 +00:00
Tim Peters
46c04e140c
random.gauss() uses a piece of hidden state used by nothing else,
...
and the .seed() and .whseed() methods failed to reset it. In other
words, setting the seed didn't completely determine the sequence of
results produced by random.gauss(). It does now. Programs repeatedly
mixing calls to a seed method with calls to gauss() may see different
results now.
Bugfix candidate (random.gauss() has always been broken in this way),
despite that it may change results.
2002-05-05 20:40:00 +00:00
Martin v. Löwis
2b41b0d6a7
Rename posix_WCONTINUED to posix_WIFCONTINUED, call WIFCONTINUED inside,
...
add it to the posix_methods.
2002-05-04 13:13:41 +00:00
Neil Schemenauer
b1094f0b1b
_PyGC_generation0 is now a pointer
2002-05-04 05:36:06 +00:00
Neil Schemenauer
2880ae53e6
Move all data for a single generation into a structure. The set of
...
generations is now an array. This cleans up some code and makes it easy
to change the number of generations. Also, implemented a
gc_list_is_empty() function. This makes the logic a little clearer in
places. The performance impact of these changes should be negligible.
One functional change is that allocation/collection counters are always
zeroed at the start of a collection. This should fix SF bug #551915 .
This change is too big for back-porting but the minimal patch on SF
looks good for a bugfix release.
2002-05-04 05:35:20 +00:00
Martin v. Löwis
b51033d48f
Patch #551093 : Let cygwin default to --enable-shared.
2002-05-03 05:53:15 +00:00
Fred Drake
bfc18bdf03
Integrated SF patch #539487 by Matthias Klose:
...
This patch adds Milan Zamazal's conversion script and
modifies the mkinfo script to build the info doc files
from the LaTeX sources. Currently, the mac, doc and
inst TeX files are not handled.
Explicitly checks for GNU Emacs 21.
2002-05-03 04:50:51 +00:00
Tim Peters
a3b0b298e6
Boost the list of stop words, by merging in the little list Jeremy
...
just checked into Zope's ZCTextIndex branch. This reduces the size
of the .chm file by about 100KB.
2002-05-02 21:59:08 +00:00
Fred Drake
b9032018ff
Update the xrange object description to reflect the removal of deprecated
...
features.
2002-05-02 21:37:23 +00:00
Fred Drake
d0ba636541
Added notes related to the removal of deprecated features of the xrange type.
2002-05-02 21:28:26 +00:00
Fred Drake
7d28b73ec1
Added note about using the documentation build tools under Cygwin.
2002-05-02 21:17:00 +00:00
Fred Drake
77c18951fb
Remove the warning about the Cygwin directions not working -- the latest
...
change to Doc/tools/node2label.pl (revision 1.13) makes this work.
2002-05-02 21:10:48 +00:00
Fred Drake
fe3db7d6f0
Work around limitation of Cygwin Perl: To avoid a permission denial, we need
...
to do the inplace-edit with a backup file. A quick test leads me to
believe this is sufficient to allow building the documentation on Cygwin;
a full test is in progress.
2002-05-02 20:42:30 +00:00
Martin v. Löwis
b9132a2a15
Indicate delayed initialization of slots. Suggested by tim.one.
2002-05-02 20:34:12 +00:00
Martin v. Löwis
76da0c3b71
Patch #551008 : DL_IMPORT PyBool_FromLong.
2002-05-02 20:23:27 +00:00
Tim Peters
4ce71f77c3
PyObject_Realloc(): If a small block is shrinking, bite the expense of
...
copying it if at least 25% of the input block can be reclaimed.
2002-05-02 20:19:34 +00:00
Martin v. Löwis
edbffc1725
Patch #551009 : Initialize array type dynamically.
2002-05-02 20:09:59 +00:00
Fred Drake
d9018323c0
Remove old deprecated features from the xrange object.
2002-05-02 19:56:55 +00:00
Fred Drake
e08fda912f
Remove all tests that rely on deprecated-in-2.2 features of xrange objects.
...
"What's New in Python 2.2" documented that these would be removed in
Python 2.3.
2002-05-02 18:40:31 +00:00
Fred Drake
a030c768af
Many minor markup adjustments for consistency.
2002-05-02 17:55:26 +00:00
Fred Drake
4d707a5d08
Remove extra period produced by previous change.
2002-05-02 17:54:18 +00:00
Martin v. Löwis
a066f46b9b
Patch 550804: Make os.environ.copy() return a copy.
2002-05-02 17:39:19 +00:00
Fred Drake
e0e890a4da
Added regression tests for xrange object attributes.
...
See SF bug #551285 .
2002-05-02 16:07:44 +00:00
Fred Drake
edb51bb7e8
Fix attribute access for the xrange objects. The tp_getattr and tp_getattro
...
handlers were both set, but were not compatible. This change uses only the
tp_getattro handler with a more "modern" approach.
This fixes SF bug #551285 .
2002-05-02 16:05:27 +00:00
Andrew M. Kuchling
9546772ccd
Correct Moshe's e-mail address
...
Point to PEP 100 for MAL's Unicode proposal
Fix URL for XML HOWTO
Bump version number
2002-05-02 14:48:26 +00:00
Andrew M. Kuchling
2a1598035d
Note that NameError's message also changed in 2.0
2002-05-02 14:37:14 +00:00
Andrew M. Kuchling
e7bd876f9d
Message for NameError has changed
2002-05-02 14:31:55 +00:00
Skip Montanaro
71390a9a94
clarify message when raising TypeError to indicate that float() accepts
...
strings or numbers
2002-05-02 13:03:22 +00:00
Martin v. Löwis
c6a7d7ef49
Guard gettext and friends with HAVE_LIBINTL_H. Fixes #549907 .
2002-05-02 12:16:29 +00:00
Fred Drake
4b270518b7
Correct information on support for repietition & concatenation for buffer
...
and xrange objects.
This closes SF bug #550555 .
2002-05-02 05:56:04 +00:00
Fred Drake
485f340d52
Buffer-object repitition and concatenation has worked all along; add a test
...
to make avoid regression.
2002-05-02 04:27:20 +00:00
Fred Drake
eb2b8334d5
Added some notes on setting up the documentation tools on Cygwin.
2002-05-01 22:05:30 +00:00
Fred Drake
5a55c49c8c
Added more style for major warnings.
2002-05-01 22:03:40 +00:00
Fred Drake
0ebacc8b38
Pickler_clear_memo(): convert to METH_NOARGS.
2002-05-01 20:36:39 +00:00
Fred Drake
7f781c9aab
Add Pickler.clear_memo() so the pickle and cPickle modules are more similar.
2002-05-01 20:33:53 +00:00
Fred Drake
56aa6280f6
list_documented_items(): Basic implementation.
...
This still does not work well since ctags does not do a good job with the
Python headers, appearantly due to the DL_IMPORT macro. ;-(
2002-05-01 17:25:04 +00:00
Fred Drake
a65375c3e3
Explain what os.read() returns at end of file.
...
This closes SF bug #550409 . Applying to release21-maint & release22-maint.
2002-05-01 03:31:42 +00:00
Fred Drake
7938fab285
Add missing right-parenthesis.
2002-05-01 03:23:03 +00:00
Barry Warsaw
5dfc7afff9
Watch out for older XEmacsen for which requiring info-look doesn't
...
define info-lookup-maybe-add-help.
2002-04-30 18:58:52 +00:00
Skip Montanaro
d268183044
moved from Tools/scripts (was only at rev 1.1 - no changes yet - so I simply
...
removed it from there and added it here)
2002-04-30 16:25:37 +00:00
Skip Montanaro
8c5763f3ea
moving into the Doc/tools directory
2002-04-30 16:23:42 +00:00