Neal Norwitz
764cf7ed82
Fix typo in comment
2007-02-23 00:22:39 +00:00
Raymond Hettinger
1b6ca54c44
Remove filler struct item and fix leak.
2007-02-21 17:22:05 +00:00
Raymond Hettinger
d36862cf78
Add itertools.izip_longest().
2007-02-21 05:20:38 +00:00
Raymond Hettinger
15cade0568
Fixup set/dict interoperability.
2007-02-19 20:44:04 +00:00
Raymond Hettinger
cbac8ce5b0
Fixup docstrings for merge().
2007-02-19 18:15:04 +00:00
Martin v. Löwis
382abeff0f
Patch #1490190 : posixmodule now includes os.chflags() and os.lchflags()
...
functions on platforms where the underlying system calls are available.
2007-02-19 10:55:19 +00:00
Lars Gustäbel
0713a68dc5
Moved misplaced news item.
2007-02-19 09:54:47 +00:00
Raymond Hettinger
bcc40ba922
Provide an example of defaultdict with non-zero constant factory function.
2007-02-19 09:14:10 +00:00
Raymond Hettinger
01b9881062
Add test for merge stability
2007-02-19 07:30:21 +00:00
Raymond Hettinger
45eb0f1419
Use C heapreplace() instead of slower _siftup() in pure python.
2007-02-19 06:59:32 +00:00
Raymond Hettinger
54da9819cc
Add tie-breaker count to preserve sort stability.
2007-02-19 05:28:28 +00:00
Raymond Hettinger
00166c5532
Add merge() function to heapq.
2007-02-19 04:08:43 +00:00
Raymond Hettinger
d6fc72a5ae
Extend work on revision 52962: Eliminate redundant calls to PyObject_Hash().
2007-02-19 02:03:19 +00:00
Vinay Sajip
f7ccc101d2
Minor fix for currentframe (SF #1652788 ).
2007-02-16 22:36:24 +00:00
Brett Cannon
fa6521b4fd
Make the __import__ call in encodings.__init__ absolute with a level 0 call.
2007-02-16 19:33:01 +00:00
Brett Cannon
971a012ce1
Update the encoding package's search function to use absolute imports when
...
calling __import__. This helps make the expected search locations for encoding
modules be more explicit.
One could use an explicit value for __path__ when making the call to __import__
to force the exact location searched for encodings. This would give the most
strict search path possible if one is worried about malicious code being
imported. The unfortunate side-effect of that is that if __path__ was modified
on 'encodings' on purpose in a safe way it would not be picked up in future
__import__ calls.
2007-02-15 22:54:39 +00:00
Georg Brandl
9cb37fc5d0
Add missing \versionadded.
2007-02-15 11:29:55 +00:00
Georg Brandl
983d100202
Patch #1494140 : Add documentation for the new struct.Struct object.
2007-02-15 11:29:04 +00:00
Georg Brandl
9dca5eaf57
Make functools.wraps() docs a bit clearer.
2007-02-15 10:37:59 +00:00
Martin v. Löwis
13a9828719
Patch #1397848 : add the reasoning behind no-resize-on-shrinkage.
2007-02-15 09:51:35 +00:00
Lars Gustäbel
d0b6040ced
A missing binary mode in AppendTest caused failures in Windows
...
Buildbot.
2007-02-14 14:45:12 +00:00
Martin v. Löwis
f1a4aa340e
Ignore directory time stamps when considering
...
whether to rerun libffi configure.
2007-02-14 11:30:56 +00:00
Martin v. Löwis
f228482735
Update 1432399 to removal of _BT_SOCKADDR_MEMB.
2007-02-14 11:30:07 +00:00
Martin v. Löwis
45423a7571
Patch #1432399 : Add HCI sockets.
2007-02-14 10:07:37 +00:00
Lars Gustäbel
f19c1b5e0e
Strip the '.gz' extension from the filename that is written to the
...
gzip header.
2007-02-13 16:24:00 +00:00
Lars Gustäbel
5b1a785702
Patch #1647484 : Renamed GzipFile's filename attribute to name. The
...
filename attribute is still accessible as a property that emits a
DeprecationWarning.
2007-02-13 16:09:24 +00:00
Martin v. Löwis
b1cc1d407b
Patch #1657276 : Make NETLINK_DNRTMSG conditional.
...
Will backport.
2007-02-13 12:14:19 +00:00
Martin v. Löwis
91670d0246
Bug #1658794 : Remove extraneous 'this'.
...
Will backport to 2.5.
2007-02-13 12:08:24 +00:00
Martin v. Löwis
84f6de9d7e
Patch #1517891 : Make 'a' create the file if it doesn't exist.
...
Fixes #1514451 .
2007-02-13 10:10:39 +00:00
Martin v. Löwis
c6d626ed9f
Patch #698833 : Support file decryption in zipfile.
2007-02-13 09:49:38 +00:00
Martin v. Löwis
07aa3ed372
Patch #685268 : Consider a package's __path__ in imputil.
...
Will backport.
2007-02-13 08:34:45 +00:00
Armin Rigo
b8d6d73121
Fix the line to what is my guess at the original author's meaning.
...
(The line has no effect anyway, but is present because it's
customary call the base class __init__).
2007-02-12 16:23:24 +00:00
Martin v. Löwis
2bad58f5a4
Patch 1463026: Support default namespace in XMLGenerator.
...
Fixes #847665 . Will backport.
2007-02-12 12:21:10 +00:00
Lars Gustäbel
a69aa327aa
Bug #1656581 : Point out that external file objects are supposed to be
...
at position 0.
2007-02-12 09:25:53 +00:00
Brett Cannon
0db62aaf09
Modify Parser/asdl_c.py so that the __version__ number for Python/Python-ast.c
...
is specified at the top of the file. Also add a note that Python/Python-ast.c
needs to be committed separately after a change to the AST grammar to capture
the revision number of the change (which is what __version__ is set to).
2007-02-12 03:51:02 +00:00
Brett Cannon
d080d4b047
Check in changed Python-ast.c from a cosmetic change to Python.asdl (in
...
r53731).
2007-02-11 19:44:41 +00:00
Skip Montanaro
691acf2879
fix trace.py --ignore-dir
2007-02-11 18:24:37 +00:00
Brett Cannon
1fbe3ab5de
Change a very minor inconsistency (that is purely cosmetic) in the AST
...
definition.
2007-02-11 05:36:00 +00:00
Georg Brandl
441268f867
Bug #1656078 : typo in in profile docs.
2007-02-09 18:48:41 +00:00
Martin v. Löwis
7c4615b252
Update broken link. Will backport to 2.5.
2007-02-09 12:58:49 +00:00
Martin v. Löwis
0a2032673c
Bug #1600860 : Search for shared python library in LIBDIR, not
...
lib/python/config, on "linux" and "gnu" systems.
Will backport.
2007-02-09 12:36:48 +00:00
Martin v. Löwis
fd963265e2
Bug #1653736 : Properly discard third argument to slot_nb_inplace_power.
...
Will backport.
2007-02-09 12:19:32 +00:00
Kurt B. Kaiser
209de1f6ca
Corrected some bugs in AutoComplete. Also, Page Up/Down in ACW implemented;
...
mouse and cursor selection in ACWindow implemented; double Tab inserts current
selection and closes ACW (similar to double-click and Return); scroll wheel now
works in ACW. Added AutoComplete instructions to IDLE Help.
2007-02-08 22:58:18 +00:00
Martin v. Löwis
4c11a92625
Bug #1653736 : Complain about keyword arguments to time.isoformat.
...
Will backport to 2.5.
2007-02-08 09:13:36 +00:00
Raymond Hettinger
495df4716f
Fix docstring bug
2007-02-08 01:42:35 +00:00
Raymond Hettinger
0e7a632f57
Bypass set specific optimizations for set and frozenset subclasses.
2007-02-08 00:50:39 +00:00
Raymond Hettinger
6d121f168c
Do not let overflows in enumerate() and count() pass silently.
2007-02-08 00:07:32 +00:00
Raymond Hettinger
de33c62466
Silence compiler warning
2007-02-07 23:49:03 +00:00
Raymond Hettinger
4da5bf644a
Bug #1575169 : operator.isSequenceType() now returns False for subclasses of dict.
2007-02-07 22:24:07 +00:00
Raymond Hettinger
5a0217efea
Check for a common user error with defaultdict().
2007-02-07 21:42:17 +00:00