Guido van Rossum
59b2a74c75
SF bug 533625 (Armin Rigo). rexec: potential security hole
...
If a rexec instance allows writing in the current directory (a common
thing to do), there's a way to execute bogus bytecode. Fix this by
not allowing imports from .pyc files (in a way that allows a site to
configure things so that .pyc files *are* allowed, if writing is not
allowed).
I'll apply this to 2.2 and 2.1 too.
2002-05-31 21:12:53 +00:00
Guido van Rossum
9788384d02
Explain that tp_basicsize must provide alignment for the items.
2002-05-31 21:00:18 +00:00
Fred Drake
9b414ac93e
Update links and information on PyQt/PyKDE.
2002-05-31 18:21:56 +00:00
Andrew M. Kuchling
187b1d8260
Add OS/2 text
2002-05-29 19:20:57 +00:00
Andrew M. Kuchling
d7abe2a0fb
Various minor rewrites
2002-05-29 17:33:48 +00:00
Andrew M. Kuchling
72b58e0c5f
More additions
2002-05-29 17:30:34 +00:00
Neal Norwitz
d68f5171eb
As discussed on python-dev, add a mechanism to indicate features
...
that are in the process of deprecation (PendingDeprecationWarning).
Docs could be improved.
2002-05-29 15:54:55 +00:00
Andrew M. Kuchling
2b6edce773
Rearrange paragraph
2002-05-27 17:19:46 +00:00
Michael W. Hudson
34f20eac98
This is patch
...
[ 559250 ] more POSIX signal stuff
Adds support (and docs and tests and autoconfery) for posix signal
mask handling -- sigpending, sigprocmask and sigsuspend.
2002-05-27 15:08:24 +00:00
Fred Drake
38d53451b7
Define the "all" target more reasonably, but retain "html" as the default
...
target.
2002-05-25 20:28:46 +00:00
Andrew M. Kuchling
a2a206b917
Mention math.degrees() and math.radians()
...
Other minor rewrites
2002-05-24 21:08:58 +00:00
Andrew M. Kuchling
0cc8c37357
Move really open-ended XXX items into comments
...
Remove 1.5.2 reference: who cares?
2002-05-24 17:06:17 +00:00
Fred Drake
92bf9dacc9
Markup adjustments; fix the names of modules referenced in an expression.
2002-05-23 21:07:19 +00:00
Raymond Hettinger
c32f0336e0
Deprecated Random.cunifvariate clearing bug 506647. Also, added docstrings.
2002-05-23 19:44:49 +00:00
Fred Drake
db2e3e3c9c
Added missing dependency on the refcount data file.
2002-05-23 19:41:25 +00:00
Fred Drake
f547863c63
Use Perl function prototypes to help avoid definition/usage mismatches
...
while modifying these files.
Minor style changes to make the use of "my" with arrays more consistent.
2002-05-23 17:59:16 +00:00
Fred Drake
ffb294bd34
Add refcount information for PySequence_ITEM().
2002-05-23 16:03:16 +00:00
Fred Drake
86228e4ca2
Add version annotation for PySequence_ITEM().
2002-05-23 16:02:28 +00:00
Fred Drake
7779b208ae
Remove spurious "()" from the __str__() description.
2002-05-22 20:44:03 +00:00
Barry Warsaw
177b4a065f
Jack's documentation for the U mode character on the file()
...
constructor, vetted by Barry.
2002-05-22 20:39:43 +00:00
Fred Drake
c58507582b
Added a version annotation for StringTypes.
...
Added documentation for BooleanType.
2002-05-22 02:44:24 +00:00
Barry Warsaw
c421ad4a35
Minor typo: Message.getall() -> Message.get_all()
2002-05-22 01:22:46 +00:00
Raymond Hettinger
6cf09f0792
Patch 543387. Document deprecation of complex %, //,and divmod().
2002-05-21 18:19:49 +00:00
Raymond Hettinger
97394bc795
Patch 533291. Deprecate None return form of __reduce__.
2002-05-21 17:22:02 +00:00
Fred Drake
f79f2f94d5
Add additional comments on the use of \deprecated.
2002-05-21 16:27:20 +00:00
Fred Drake
5ecb7aaa6a
Add availability information for a couple of the types, and notes on writing
...
string-type tests for versions of Python built without Unicode support.
2002-05-21 14:28:22 +00:00
Guido van Rossum
18ca791028
Typo.
2002-05-16 14:45:37 +00:00
Fred Drake
4e7655558c
Fix broken reference, minor clarification.
2002-05-16 13:48:14 +00:00
Fred Drake
742dc774af
Typo: build -> built
2002-05-16 13:48:01 +00:00
Raymond Hettinger
cadc9fbd37
Patch 547037. Corrected documentation to match
...
actual module behavior for adding newlines.
2002-05-16 04:28:44 +00:00
Raymond Hettinger
b07fa39edf
Added missing index entries for mapping methods. Closes patch #548693 .
2002-05-15 15:45:25 +00:00
Fred Drake
9aa97e835d
Minor wording changes, plus correct a typo.
2002-05-14 22:02:07 +00:00
Raymond Hettinger
576474c5ae
Closes SF bug 527139. Brings docs inline with random.py 1.29
...
which fixes the unnecessarily restricted method domain.
2002-05-13 23:49:13 +00:00
Raymond Hettinger
5359ad63ce
Correct gammavariate's method name and domain.
...
Partial solution to SF bug 527139.
2002-05-13 22:40:38 +00:00
Raymond Hettinger
c045b49633
Added degrees() and radians() to mathmodule. Closing patch 552452 and
...
feature request 426539.
2002-05-13 03:52:47 +00:00
Raymond Hettinger
94153096f5
Closes SF patch: 552468.
...
Type class unification invalidated the statement: x.__getitem__[i] is not equivalent to x[i].
2002-05-12 03:09:25 +00:00
Andrew M. Kuchling
fad2f59313
Give the enumerate() PEP a section of its own
...
Add some credits
Fill in a link
2002-05-10 21:00:05 +00:00
Greg Ward
007c04a9d3
[from Oct 2000]
...
Start fleshing out the "Examples" section.
2002-05-10 14:45:59 +00:00
Greg Ward
954ce8b4a1
[from Oct 2000]
...
The zipfile module has been in the standard library for some time now.
2002-05-10 14:42:10 +00:00
Greg Ward
58437f20f0
[from Oct 2000]
...
Clarify explanations of header file search directories.
2002-05-10 14:40:22 +00:00
Fred Drake
1f89e2abcc
Fix markup error that suppressed space.
...
Closes SF bug #554257 . Not relevant to older releases.
2002-05-10 12:37:56 +00:00
Andrew M. Kuchling
40df710876
Updates and rewriting
2002-05-08 13:39:03 +00:00
Martin v. Löwis
01f94bda38
Patch #552433 : Special-case tuples. Avoid sub-type checking for lists.
...
Avoid checks for negative indices and duplicate checks for support of
the sequence protocol.
2002-05-08 08:44:21 +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
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
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