Martin v. Löwis
147fbe5a55
Patch #1239112 : Correct LINKCC C++ test. Fixes #1189330 .
...
Backported to 2.4.
2005-08-07 21:09:30 +00:00
Martin v. Löwis
b813c53cd8
Patch #827386 : Support absolute source paths in msvccompiler.py.
...
Backported to 2.4.
2005-08-07 20:51:04 +00:00
Raymond Hettinger
bc841a1464
* Bring in INIT_NONZERO_SET_SLOTS macro from dictionary code.
...
* Bring in free list from dictionary code.
* Improve several comments.
* Differencing can leave many dummy entries. If more than
1/6 are dummies, then resize them away.
* Factor-out common code with new macro, PyAnySet_CheckExact.
2005-08-07 13:02:53 +00:00
Tim Peters
e9fe7e0ef3
Whitespace normalization (ran reindent.py over the whole tree).
2005-08-07 03:04:58 +00:00
Tim Peters
752a047fca
Removed XXX block about a test_bsddb3 failure that went away a long time ago.
2005-08-07 02:47:59 +00:00
Tim Peters
63db628ad3
Update some Python version numbers.
2005-08-07 02:47:12 +00:00
Raymond Hettinger
99220fabb1
* Removed checked_error flag which no longer provides any benefit.
...
* Have issubset() control its own loop instead of using set_next_internal().
2005-08-06 18:57:13 +00:00
Raymond Hettinger
5ba0cbe392
* set_new() doesn't need to zero the structure a second time after tp_alloc
...
has already done the job.
* Use a macro form of PyErr_Occurred() inside the set_lookkey() function.
2005-08-06 18:31:24 +00:00
Raymond Hettinger
fe889f3c62
Factor away a redundant clear() function.
2005-08-06 05:43:39 +00:00
Georg Brandl
2772c679e9
bug [ 1252706 ] poplib list() docstring fix (and docs too)
2005-08-05 21:01:58 +00:00
Raymond Hettinger
a580c47c6d
* Improve a variable name: entry0 --> table.
...
* Give set_lookkey_string() a fast alternate path when no dummy entries
are present.
* Have set_swap_bodies() reset the hash field to -1 whenever either of
bodies is not a frozenset. Maintains the invariant of regular sets
always having -1 in the hash field; otherwise, any mutation would make
the hash value invalid.
* Use an entry pointer to simplify the code in frozenset_hash().
2005-08-05 17:19:54 +00:00
Raymond Hettinger
a9d9936d10
* Move copyright notice to top and indicate derivation from sets.py and
...
dictobject.c.
* Have frozenset_hash() use entry->hash instead of re-computing each
individual hash with PyObject_Hash(o);
* Finalize the dummy entry before a system exit.
2005-08-05 00:01:15 +00:00
Tim Peters
ea9dcdc062
com_yield_expr(): Squash new compiler wng about unreferenced local.
2005-08-03 18:33:05 +00:00
Walter Dörwald
4e41a4b64c
Disable a few other tests, that can't work if Python is compiled without
...
Unicode support.
2005-08-03 17:09:04 +00:00
Georg Brandl
649f8e7de2
patch [ 1105730 ] Faster commonprefix in macpath, ntpath, etc.
2005-08-03 07:30:12 +00:00
Georg Brandl
b370059233
bug [ 1250306 ] incorrect description of range function
2005-08-03 07:17:33 +00:00
Andrew M. Kuchling
6af7fe0563
Add example
2005-08-02 17:20:36 +00:00
Andrew M. Kuchling
a2e21cb945
Add note
2005-08-02 17:13:21 +00:00
Georg Brandl
f13c4ba11b
[ 1243192 ] Incorrect documentation of re.UNICODE
2005-08-02 10:28:08 +00:00
Raymond Hettinger
67962ab1bb
Model set.pop() after dict.popitem().
2005-08-02 03:45:16 +00:00
Skip Montanaro
6a694508ae
Minor tweak as a side effect of fixing #1243553 . The Unicode name for " is
...
'quotation mark', so I decided to use it instead of 'double-quote'.
2005-08-02 02:53:59 +00:00
Skip Montanaro
97b2fa229c
Bring cgi.escape docstring slightly more in line with the library ref
...
manual. Closes #1243553 .
2005-08-02 02:50:25 +00:00
Phillip J. Eby
0d6615fd29
PEP 342 implementation. Per Guido's comments, the generator throw()
...
method still needs to support string exceptions, and allow None for the
third argument. Documentation updates are needed, too.
2005-08-02 00:46:46 +00:00
Raymond Hettinger
d794666048
* Improve code for the empty frozenset singleton:
...
- Handle both frozenset() and frozenset([]).
- Do not use singleton for frozenset subclasses.
- Finalize the singleton.
- Add test cases.
* Factor-out set_update_internal() from set_update(). Simplifies the
code for several internal callers.
* Factor constant expressions out of loop in set_merge_internal().
* Minor comment touch-ups.
2005-08-01 21:39:29 +00:00
Hye-Shik Chang
e295676c87
Fix build on gcc: PySetIter_Type should be static in definition
...
part also.
2005-08-01 05:26:41 +00:00
Raymond Hettinger
06d8cf8ceb
Improve variable names.
2005-07-31 15:36:06 +00:00
Raymond Hettinger
9dcb17cb1a
Fix frozenset() ref count and a comment typo.
2005-07-31 13:09:28 +00:00
Raymond Hettinger
934d63eb40
Comment on the set_swap_bodies() helper function.
2005-07-31 01:33:10 +00:00
Raymond Hettinger
9f1a6796eb
Revised the set() and frozenset() implementaion to use its own internal
...
data structure instead of using dictionaries. Reduces memory consumption
by 1/3 and provides modest speed-ups for most set operations.
2005-07-31 01:16:36 +00:00
Fred Drake
fe25643192
use a test for PDF support that is more portable across teTeX major versions
...
(closes SF bug #1238210 )
2005-07-29 17:17:19 +00:00
Fred Drake
50747fc1b9
add support for svn: and svn+ssh: URL schemes to urlparse
2005-07-29 15:56:32 +00:00
Vinay Sajip
c320c22f79
Documentation added about changes in 2.4 to basicConfig(), including documentation of the keyword arguments. A version change note was also added to the basic example.
2005-07-29 11:52:19 +00:00
Walter Dörwald
6eea789fd2
Disable encoding/decoding test, if unicode is disabled.
2005-07-28 16:49:15 +00:00
Hye-Shik Chang
97bb8ad394
Fix a typo. (found by Jong-uk Kim)
2005-07-28 05:57:19 +00:00
Michael W. Hudson
8137bea4ca
This is barry-scott's patch:
...
[ 1231069 ] ioctl has problem with -ive request codes
by using the 'I' not the 'i' format code to PyArg_ParseTuple().
Backport candidate? Maybe...
2005-07-27 20:24:40 +00:00
Raymond Hettinger
e452c7af77
Update permissions for Johannes Gijsbers.
2005-07-27 17:59:02 +00:00
Guido van Rossum
755149fb97
Ouch, move that comment to the right place.
2005-07-27 00:00:44 +00:00
Guido van Rossum
49a4b68b8b
Fix a problem in Tkinter introduced by SF patch #869468 (checked in as
...
1.179): delete bogus __hasattr__ and __delattr__ methods on class Tk
that were breaking Tkdnd.
2005-07-26 23:57:46 +00:00
Trent Mick
8321b42f38
Upgrade Windows build to zlib 1.2.3 (a security fix)
2005-07-26 02:29:21 +00:00
Georg Brandl
9443242463
That was one too much.
2005-07-22 21:52:25 +00:00
Georg Brandl
7eb4b7d177
Fix all wrong instances of "it's".
2005-07-22 21:49:32 +00:00
Georg Brandl
08c02dbb85
[ 1243081 ] repair typos
2005-07-22 18:39:19 +00:00
Walter Dörwald
c9878e1b22
Make attributes and local variables in the StreamReader str objects instead
...
of unicode objects, so that codecs that do a str->str decoding won't promote
the result to unicode. This fixes SF bug #1241507 .
2005-07-20 22:15:39 +00:00
Fred Drake
21c825417f
add information about alternate implementations, noting that documentation
...
for the implementation should be consulted
(thanks to Evelyn Mitchell for suggesting this)
2005-07-20 04:33:01 +00:00
Fred Drake
d5ecb513ad
fix markup nits
2005-07-20 03:49:42 +00:00
Georg Brandl
e35b657efd
Fix cleanup DECREF logic in builtin_filter function.
2005-07-19 22:20:20 +00:00
Georg Brandl
150db73c78
added news entry for previous checkin
2005-07-18 08:53:17 +00:00
Georg Brandl
2d8cc618db
[ 755617 ] os module: Need a better description of "mode"
2005-07-18 08:16:33 +00:00
Georg Brandl
2982252452
bug [ 850238 ] unclear documentation/missing command?
2005-07-18 08:04:17 +00:00
Georg Brandl
ca5feabac2
bug [ 957505 ] SocketServer module documentation misleading
2005-07-18 07:38:44 +00:00