Vinay Sajip
95dd03b8b8
Fixed a bug reported (in private email, by Robert Crida) in logging configuration whereby child loggers of a logger named in a configuration file, which are not themselves named in the configuration, are disabled when the configuration is applied.
2007-11-11 14:27:30 +00:00
Guido van Rossum
d1ef78942a
Issue 1416. Add getter, setter, deleter methods to properties that can be
...
used as decorators to create fully-populated properties.
2007-11-10 22:12:24 +00:00
Raymond Hettinger
d3ffd341b8
Use a freelist to speed-up block allocation and deallocation in collections.deque().
2007-11-10 01:54:03 +00:00
Raymond Hettinger
34448790db
Optimize common case for dict.fromkeys().
2007-11-09 23:14:44 +00:00
Martin v. Löwis
d3d0baf0a1
Add Amaury Forgeot d'Arc.
2007-11-09 22:56:30 +00:00
Georg Brandl
980c4fc04d
Correct a comment about testing methods - nowadays most
...
tests don't run directly on import.
2007-11-09 17:33:23 +00:00
Georg Brandl
87426cb151
Fix misleading example.
2007-11-09 13:08:48 +00:00
Georg Brandl
07c19eaa20
Fix seealso link to sets docs. Do not merge to Py3k.
2007-11-09 12:31:43 +00:00
Raymond Hettinger
e8d58ba6bb
Reposition the decref (spotted by eagle-eye norwitz).
2007-11-08 18:47:51 +00:00
Raymond Hettinger
1760c8a017
Add set.isdisjoint()
2007-11-08 02:52:43 +00:00
Christian Heimes
004c1c1562
Backport of Guido's review of my patch.
2007-11-07 18:30:22 +00:00
Christian Heimes
cea681be19
Backported fix for bug #1392 from py3k branch r58903.
2007-11-07 17:50:54 +00:00
Nick Coghlan
90b858e1b3
Add missing NEWS entry
2007-11-07 11:57:51 +00:00
Raymond Hettinger
dc1d1ba9cf
Add build option for faster loop execution.
2007-11-07 02:45:46 +00:00
Raymond Hettinger
cdcf887999
Optimize dict.fromkeys() with dict inputs. Useful for resetting bag/muliset counts for example.
2007-11-07 02:26:17 +00:00
Raymond Hettinger
12e94200c0
Fix marshal's incorrect handling of subclasses of builtin types (backport candidate).
2007-11-07 01:13:09 +00:00
Guido van Rossum
9b847b432c
Add missing "return NULL" in overflow check in PyObject_Repr().
2007-11-06 23:32:56 +00:00
Gregory P. Smith
e1ac4f1930
Fixes Issue 1385: The hmac module now computes the correct hmac when using
...
hashes with a block size other than 64 bytes (such as sha384 and sha512).
2007-11-06 00:19:03 +00:00
Mark Summerfield
91f9429bc3
Clarified the fact that you can have comments for individual archive
...
members even though comments to the archive itself aren't currently
supported.
2007-11-05 14:38:50 +00:00
Mark Summerfield
aea6e5913b
Added cross-references between the various archive file formats.
2007-11-05 09:22:48 +00:00
Gregory P. Smith
80e95c142e
* db->get_flags is only available in BerkeleyDB >= 4.2
2007-11-05 09:07:40 +00:00
Gregory P. Smith
fc006692ad
* db->get_types is only available in BerkeleyDB >= 4.2
...
* get compiling with older versions of python again for a stand alone release.
2007-11-05 09:06:28 +00:00
Gregory P. Smith
ac11e02143
Add the bsddb.db.DBEnv.lock_id_free method.
...
Improve test_lock's tempdir creation and cleanup.
2007-11-05 02:56:31 +00:00
Gregory P. Smith
ec10a4a402
Fixes bug 477182 on pybsddb.sf.net. DB objects now load the flags and
...
pay attention to them when opening an existing database. This means
that d[] behaves properly even on databases previously created with DB_DUP
or DB_DUPSORT flags to allow duplicate keys.
http://sourceforge.net/tracker/index.php?func=detail&aid=477182&group_id=13900&atid=113900
Do not backport, this bugfix could be considered an API change.
2007-11-05 02:32:26 +00:00
Georg Brandl
9c466baa01
Fix syntax for versionchanged markup.
2007-11-04 17:43:49 +00:00
Skip Montanaro
d469ff1e6a
Note change to get_dialect semantics in 2.5. Will backport to 2.5.
2007-11-04 15:56:52 +00:00
Brett Cannon
b13f70df1b
Add a missing quotation mark.
2007-11-03 06:47:02 +00:00
Georg Brandl
7c3e79f67f
Make "hashable" a glossary entry and clarify docs on __cmp__, __eq__ and __hash__.
...
I hope the concept of hashability is better understandable now.
Thanks to Tim Hatch for pointing out the flaws here.
2007-11-02 20:06:17 +00:00
Thomas Heller
03fd077482
Enable the full ctypes c_longdouble tests again.
2007-11-02 19:11:23 +00:00
Thomas Heller
486b1b0268
Issue #1292 : On alpha, arm, ppc, and s390 linux systems the
...
--with-system-ffi configure option defaults to "yes" because the
bundled libffi sources are too old.
2007-11-02 19:10:24 +00:00
Nick Coghlan
3814a911aa
Fix for bug 1705170 - contextmanager swallowing StopIteration (2.5 backport candidate)
2007-11-02 10:09:12 +00:00
Mark Summerfield
ac3d429edc
Added more file-handling related cross-references.
2007-11-02 08:24:59 +00:00
Gregory P. Smith
f7601ee2c0
false "fix" undone as correct problem was found and fixed.
2007-11-01 21:17:47 +00:00
Gregory P. Smith
6d331ca9a4
Undo revision 58533 58534 fixes. Those were a workaround for
...
a problem introduced by 58385.
2007-11-01 21:15:36 +00:00
Gregory P. Smith
aae141a751
Fix bug introduced in revision 58385. Database keys could no longer
...
have NULL bytes in them. Replace the errant strdup with a
malloc+memcpy. Adds a unit test for the correct behavior.
2007-11-01 21:08:14 +00:00
Georg Brandl
744b32a544
Fix markup glitch.
2007-11-01 20:37:02 +00:00
Christian Heimes
4de2263616
Removed non ASCII text from test as requested by Guido. Sorry :/
2007-11-01 20:11:06 +00:00
Christian Heimes
e18f21c7d4
Backport of import tests for bug http://bugs.python.org/issue1293 and bug http://bugs.python.org/issue1342
2007-11-01 19:48:10 +00:00
Georg Brandl
03b15c67ff
#1364 : os.lstat is available on Windows too, as an alias to os.stat.
2007-11-01 17:19:33 +00:00
Raymond Hettinger
405884cd62
Sets are marshalable.
2007-10-31 22:15:49 +00:00
Raymond Hettinger
84e26b6d5d
Clarify the reasons why pickle is almost always better than marshal
2007-10-31 21:57:58 +00:00
Martin v. Löwis
50bf1155a8
Adding Christian Heimes.
2007-10-31 17:19:33 +00:00
Neal Norwitz
9c4382f2a3
Fix some compiler warnings for signed comparisons on Unix and Windows.
2007-10-31 06:33:20 +00:00
Georg Brandl
706132bbae
Make example about hiding None return values at the prompt clearer.
2007-10-30 17:57:12 +00:00
Georg Brandl
f4ef23f8c1
Use correct markup.
2007-10-30 17:51:18 +00:00
Kurt B. Kaiser
20172f9b5d
check in Tal Einat's update to tabpage.py
...
Patch 1612746
M configDialog.py
M NEWS.txt
AM tabbedpages.py
2007-10-30 02:38:54 +00:00
Guido van Rossum
1c1ac38157
Backport fixes for the code that decodes octal escapes (and for PyString
...
also hex escapes) -- this was reaching beyond the end of the input string
buffer, even though it is not supposed to be \0-terminated.
This has no visible effect but is clearly the correct thing to do.
(In 3.0 it had a visible effect after removing ob_sstate from PyString.)
2007-10-29 22:15:05 +00:00
Guido van Rossum
dff51b2898
Patch 1353 by Jacob Winther.
...
Add mp4 mapping to mimetypes.py.
2007-10-29 20:52:45 +00:00
Kurt B. Kaiser
60d58406d0
Add confirmation dialog before printing. Patch 1717170 Tal Einat.
2007-10-28 19:03:59 +00:00
Hye-Shik Chang
ea684743da
Enable platform-specific tweaks for FreeBSD 8 (exactly same to FreeBSD 7's yet)
2007-10-28 12:38:09 +00:00