Jeremy Hylton
e4b9d8c2ba
Removing bogus Py_DECREF() reported by Armin Rigo (SF bug 812353).
...
Even if a new dict is generated for locals, it is stored in
f->f_locals.
2003-10-21 18:14:20 +00:00
Jeremy Hylton
174d276d8c
Fix indentation.
2003-10-21 18:10:28 +00:00
Jeremy Hylton
fcefd0d2a5
Apply patch 823328 -- support for rfc 2617 digestion authentication.
...
The patch was tweaked slightly. It's get a different mechanism for
generating the cnonce which uses /dev/urandom when possible to
generate less-easily-guessed random input.
Also rearrange the imports so that they are alphabetical and
duplicates are eliminated.
Add a few XXX comments about things left undone and things that could
be improved.
2003-10-21 18:07:07 +00:00
Fred Drake
4e21dc9efd
- make this section format
...
- start cleaning up the markup for consistency
- comment out the reference to a MS KnowledgeBase article that doesn't
seem to be present at msdn.microsoft.com; hopefully someone can
point out an alternate source for the relevant information
2003-10-21 17:58:55 +00:00
Fred Drake
5e75f15008
add missing dependency
2003-10-21 17:25:05 +00:00
Fred Drake
5b6150e066
markup fixes; this would not format
2003-10-21 17:04:21 +00:00
Fred Drake
86c60ed198
ConfigParser.items() and SafeConfigParser.items() no longer return a
...
generator. See SF bug #818861 .
2003-10-21 16:50:55 +00:00
Fred Drake
8c4da53afe
Make both items() methods return lists; one had changed to return an
...
iterator where it probably shouldn't have.
Closes SF bug #818861 .
2003-10-21 16:45:00 +00:00
Fred Drake
de05032cc9
Note the update to Expat 1.95.7.
2003-10-21 15:41:59 +00:00
Fred Drake
2d59a49212
Provide a bit more information to the compiler when building Expat.
...
This avoids having to modify the Expat sources in any way starting
with Expat 1.95.7.
2003-10-21 15:41:15 +00:00
Fred Drake
08317aefef
Update to Expat 1.95.7; there are no changes to the Expat sources.
2003-10-21 15:38:55 +00:00
Andrew M. Kuchling
6aedcfcd1e
Add some more items
2003-10-21 12:48:23 +00:00
Andrew M. Kuchling
2fb4d51976
Document list.sort() changes
2003-10-21 12:31:16 +00:00
Guido van Rossum
571720811b
Show microseconds, milliseconds or seconds, whichever is most natural,
...
rather than showing weird numbers like 8.4e+03 usec.
2003-10-20 23:38:28 +00:00
Guido van Rossum
0c9a318d64
Use 'predicate = bool' as the default predicate for ifilter[false].
2003-10-20 17:01:07 +00:00
Walter Dörwald
f0dfc7ac5c
Fix a bunch of typos in documentation, docstrings and comments.
...
(From SF patch #810751 )
2003-10-20 14:01:56 +00:00
Brett Cannon
4b17e3993b
Modify the Py_RETURN_* macros to be of the form ``do {...} while (0)`` in order
...
to handle situations like ``if (foo) Py_RETURN_NONE else ...``.
2003-10-19 22:58:11 +00:00
Brett Cannon
26b3a7b82c
Modified the Py_RETURN_* macros by having the statements surrounded by {} in
...
order to prevent any unexpected surprises from someone using them in a
conditional without using curly braces (e.g., ``if (foo) Py_RETURN_TRUE``.
2003-10-19 21:31:43 +00:00
Brett Cannon
d05235ec49
Defined macros Py_RETURN_(TRUE|FALSE|NONE) as helper functions for returning
...
the specified value. All three Py_INCREF the singleton and then return it.
2003-10-19 21:19:40 +00:00
Martin v. Löwis
52da4496cd
Patch #823259 : Update spec file:
...
- skip building HTML documentation if it is not available.
- Removal of patches, which can't be referenced from a build
directly from the tar-file.
- Using the RPM tmp directory macro for the buildroot location.
- Ensuring that the clean directive doesn't accidentally
delete the users root directory or another directory.
- --enable-unicode=ucs4 in configure line.
Backported to 2.3.
2003-10-19 18:34:52 +00:00
Martin v. Löwis
01a74b2fa1
Make CObjects mutable. Fixes #477441 .
2003-10-19 18:30:01 +00:00
Martin v. Löwis
95cf84a4f3
Patch #821093 : Fix various typos.
2003-10-19 07:32:24 +00:00
Martin v. Löwis
dd7eb146a8
Patch #792869 : Clarify error message for parameters declared global,
...
rename LOCAL_GLOBAL to PARAM_GLOBAL.
2003-10-18 22:05:25 +00:00
Gustavo Niemeyer
0f0c06a5c2
Removing dead code.
2003-10-18 20:54:44 +00:00
Gustavo Niemeyer
d969775d9c
Fixed \versionadded for the (?(id/name)yes|no) expression support.
2003-10-18 15:28:22 +00:00
Martin v. Löwis
9e62ff287b
Patch #822994 : Consolidate tests for self.closed.
2003-10-18 10:20:42 +00:00
Martin v. Löwis
6828e18a6a
Patch #825679 : Clarify semantics of .isfoo on empty strings.
...
Backported to 2.3.
2003-10-18 09:55:08 +00:00
Martin v. Löwis
849a972f35
Patch #809535 : Mention behaviour of seek on text files. Backported to 2.3.
2003-10-18 09:38:01 +00:00
Gustavo Niemeyer
ad3fc44ccb
Implemented non-recursive SRE matching.
2003-10-17 22:13:16 +00:00
Thomas Heller
41e2809feb
Typo found by Lokasz Pankowski:
...
dir_created -> directory_created
2003-10-16 19:40:48 +00:00
Raymond Hettinger
ae4a299a0d
Fix typo found by Neal Norwitz.
2003-10-16 17:16:30 +00:00
Raymond Hettinger
6b59f5f3fd
Let library modules use the new keyword arguments for list.sort().
2003-10-16 05:53:16 +00:00
Raymond Hettinger
42b1ba31af
* list.sort() now supports three keyword arguments: cmp, key, and reverse.
...
key provides C support for the decorate-sort-undecorate pattern.
reverse provide a stable sort of the list with the comparisions reversed.
* Amended the docs to guarantee sort stability.
2003-10-16 03:41:09 +00:00
Brett Cannon
90f7d254a9
Added Bjorn Pettersen for initial conversion of Lib/platform.py's docstring to LaTeX.
2003-10-14 21:47:28 +00:00
Brett Cannon
4fc3855fb2
Initial checkin of docs for Lib/platform.py .
...
Closes patch #785752 and bug #726911 .
Should be backported after correctness and such has been verified by Fred.
2003-10-14 21:45:59 +00:00
Jeremy Hylton
d0e2705f3f
Open results files, which contain binary pickles, in binary mode.
...
Remove fallback code that tries to read marshal data from a results
file, since this module never writes marshal data.
2003-10-14 20:12:06 +00:00
Raymond Hettinger
c2a2832bee
SF bug #821701 : reduce docs neglect a very important piece of information.
...
Add a note showing which argument is the accumulator.
2003-10-13 17:52:35 +00:00
Neal Norwitz
7decf5e5af
SF #822262 , Typo in Doc/api/intro.tex
2003-10-13 17:47:30 +00:00
Brett Cannon
2bfb94c871
Add test__locale to expected skip list for Darwin.
2003-10-13 04:27:47 +00:00
Just van Rossum
7e94a9aae3
fix for bug [819860]: make sure the buffer gets emptied, even if WEInsert() fails
2003-10-12 19:27:24 +00:00
Raymond Hettinger
8ae4689657
Simplify and speedup uses of Py_BuildValue():
...
* Py_BuildValue("(OOO)",a,b,c) --> PyTuple_Pack(3,a,b,c)
* Py_BuildValue("()",a) --> PyTuple_New(0)
* Py_BuildValue("O", a) --> Py_INCREF(a)
2003-10-12 19:09:37 +00:00
Raymond Hettinger
cb2da43db8
Extended tuple's C API to include a new function, PyTuple_Pack() that is
...
useful for rapidly building argument tuples without having to invoke the
more sophisticated machinery of Py_BuildValue().
2003-10-12 18:24:34 +00:00
Martin v. Löwis
d662548c72
Patch #810914 : Return absolute path for mkstemp. Fixes #810408 .
...
This should not be backported to 2.3, as it might break backwards
compatibility.
2003-10-12 17:37:01 +00:00
Raymond Hettinger
411c602349
Minor fixup. "Random" was listed twice in __all__.
2003-10-12 17:14:11 +00:00
Brett Cannon
5d9ca4ebfd
Add mention of urlparse becoming RFC 2396 compliant.
2003-10-12 04:38:48 +00:00
Brett Cannon
112c1d932a
(revision purely to add comment)
...
Make urlparse RFC 2396 compliant.
Closes bug #450225 (thanks Michael Stone).
2003-10-12 04:38:06 +00:00
Brett Cannon
3da46f0b10
(just for comment to fix previous commit comment)
...
Add Michael Stone for helping with bug #450225 (making urlparse RFC 2396
compliant).
2003-10-12 04:36:18 +00:00
Brett Cannon
eab353ddc7
See rev. 1.250 for log message
2003-10-12 04:29:10 +00:00
Brett Cannon
8da2a52dd6
See rev. 1.42 for log message
2003-10-12 04:29:10 +00:00
Brett Cannon
82860df417
see rev. 1.13 for log message
2003-10-12 04:29:10 +00:00