summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge from py3k branch:Amaury Forgeot d'Arc2007-11-133-9/+63
| | | | | | | | | | | | | | | | | | | | | | Correction for issue1265 (pdb bug with "with" statement). When an unfinished generator-iterator is garbage collected, PyEval_EvalFrameEx is called with a GeneratorExit exception set. This leads to funny results if the sys.settrace function itself makes use of generators. A visible effect is that the settrace function is reset to None. Another is that the eventual "finally" block of the generator is not called. It is necessary to save/restore the exception around the call to the trace function. This happens a lot with py3k: isinstance() of an ABCMeta instance runs def __instancecheck__(cls, instance): """Override for isinstance(instance, cls).""" return any(cls.__subclasscheck__(c) for c in {instance.__class__, type(instance)}) which lets an opened generator expression each time it returns True. Backport candidate, even if the case is less frequent in 2.5.
* Add the test from issue 1704621 (the issue itself is already fixed here).Guido van Rossum2007-11-121-0/+7
|
* readline module cleanupChristian Heimes2007-11-121-99/+90
| | | | | | | | fixed indention to tabs use Py_RETURN_NONE macro added more error checks to on_completion_display_matches_hook open question: Does PyList_SetItem(l, i, o) steal a reference to o in the case of an error?
* Fix TextCalendar.prweek(). This closes issue #1427.Walter Dörwald2007-11-121-1/+1
|
* Patch #1418: Make the AC_REPLACE_FUNCS object files actually work.Martin v. Löwis2007-11-123-2/+6
|
* Only set rl_completion_display_matches_hook if thereMartin v. Löwis2007-11-121-31/+38
| | | | is a Python hook function. Fixes #1425.
* Re-word sentenceAndrew M. Kuchling2007-11-121-1/+1
|
* Fix for #1427: Error in standard module calendarChristian Heimes2007-11-121-8/+12
| | | | the prweek() method is still broken and I can't figure out how it suppose to work.
* Added new decorator syntax to property.__doc__Christian Heimes2007-11-121-4/+14
| | | | Guido prefers _x over __x.
* Remove duplication of "this".Georg Brandl2007-11-111-1/+1
|
* Fixed a bug reported (in private email, by Robert Crida) in logging ↵Vinay Sajip2007-11-111-3/+27
| | | | 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.
* Issue 1416. Add getter, setter, deleter methods to properties that can beGuido van Rossum2007-11-102-1/+120
| | | | used as decorators to create fully-populated properties.
* Use a freelist to speed-up block allocation and deallocation in ↵Raymond Hettinger2007-11-101-7/+27
| | | | collections.deque().
* Optimize common case for dict.fromkeys().Raymond Hettinger2007-11-091-10/+15
|
* Add Amaury Forgeot d'Arc.Martin v. Löwis2007-11-091-0/+3
|
* Correct a comment about testing methods - nowadays mostGeorg Brandl2007-11-091-4/+3
| | | | tests don't run directly on import.
* Fix misleading example.Georg Brandl2007-11-091-1/+2
|
* Fix seealso link to sets docs. Do not merge to Py3k.Georg Brandl2007-11-091-1/+1
|
* Reposition the decref (spotted by eagle-eye norwitz).Raymond Hettinger2007-11-081-1/+2
|
* Add set.isdisjoint()Raymond Hettinger2007-11-084-2/+126
|
* Backport of Guido's review of my patch.Christian Heimes2007-11-071-7/+5
|
* Backported fix for bug #1392 from py3k branch r58903.Christian Heimes2007-11-071-1/+19
|
* Add missing NEWS entryNick Coghlan2007-11-071-0/+3
|
* Add build option for faster loop execution.Raymond Hettinger2007-11-072-0/+16
|
* Optimize dict.fromkeys() with dict inputs. Useful for resetting bag/muliset ↵Raymond Hettinger2007-11-072-0/+23
| | | | counts for example.
* Fix marshal's incorrect handling of subclasses of builtin types (backport ↵Raymond Hettinger2007-11-074-16/+25
| | | | candidate).
* Add missing "return NULL" in overflow check in PyObject_Repr().Guido van Rossum2007-11-061-0/+1
|
* Fixes Issue 1385: The hmac module now computes the correct hmac when usingGregory P. Smith2007-11-064-8/+189
| | | | hashes with a block size other than 64 bytes (such as sha384 and sha512).
* Clarified the fact that you can have comments for individual archiveMark Summerfield2007-11-051-5/+7
| | | | | members even though comments to the archive itself aren't currently supported.
* Added cross-references between the various archive file formats.Mark Summerfield2007-11-055-8/+21
|
* * db->get_flags is only available in BerkeleyDB >= 4.2Gregory P. Smith2007-11-051-0/+4
|
* * db->get_types is only available in BerkeleyDB >= 4.2Gregory P. Smith2007-11-051-0/+7
| | | | * get compiling with older versions of python again for a stand alone release.
* Add the bsddb.db.DBEnv.lock_id_free method.Gregory P. Smith2007-11-053-14/+35
| | | | Improve test_lock's tempdir creation and cleanup.
* Fixes bug 477182 on pybsddb.sf.net. DB objects now load the flags andGregory P. Smith2007-11-053-15/+34
| | | | | | | | | | 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.
* Fix syntax for versionchanged markup.Georg Brandl2007-11-041-4/+3
|
* Note change to get_dialect semantics in 2.5. Will backport to 2.5.Skip Montanaro2007-11-041-0/+5
|
* Add a missing quotation mark.Brett Cannon2007-11-031-1/+1
|
* Make "hashable" a glossary entry and clarify docs on __cmp__, __eq__ and ↵Georg Brandl2007-11-029-61/+84
| | | | | | | __hash__. I hope the concept of hashability is better understandable now. Thanks to Tim Hatch for pointing out the flaws here.
* Enable the full ctypes c_longdouble tests again.Thomas Heller2007-11-022-22/+22
|
* Issue #1292: On alpha, arm, ppc, and s390 linux systems theThomas Heller2007-11-023-1/+10
| | | | | --with-system-ffi configure option defaults to "yes" because the bundled libffi sources are too old.
* Fix for bug 1705170 - contextmanager swallowing StopIteration (2.5 backport ↵Nick Coghlan2007-11-022-0/+21
| | | | candidate)
* Added more file-handling related cross-references.Mark Summerfield2007-11-024-5/+15
|
* false "fix" undone as correct problem was found and fixed.Gregory P. Smith2007-11-011-4/+0
|
* Undo revision 58533 58534 fixes. Those were a workaround forGregory P. Smith2007-11-011-3/+2
| | | | a problem introduced by 58385.
* Fix bug introduced in revision 58385. Database keys could no longerGregory P. Smith2007-11-012-5/+28
| | | | | have NULL bytes in them. Replace the errant strdup with a malloc+memcpy. Adds a unit test for the correct behavior.
* Fix markup glitch.Georg Brandl2007-11-011-1/+1
|
* Removed non ASCII text from test as requested by Guido. Sorry :/Christian Heimes2007-11-011-20/+2
|
* Backport of import tests for bug http://bugs.python.org/issue1293 and bug ↵Christian Heimes2007-11-011-2/+43
| | | | http://bugs.python.org/issue1342
* #1364: os.lstat is available on Windows too, as an alias to os.stat.Georg Brandl2007-11-011-2/+3
|
* Sets are marshalable.Raymond Hettinger2007-10-311-1/+1
|