Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge from py3k branch: | Amaury Forgeot d'Arc | 2007-11-13 | 3 | -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 Rossum | 2007-11-12 | 1 | -0/+7 |
| | |||||
* | readline module cleanup | Christian Heimes | 2007-11-12 | 1 | -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örwald | 2007-11-12 | 1 | -1/+1 |
| | |||||
* | Patch #1418: Make the AC_REPLACE_FUNCS object files actually work. | Martin v. Löwis | 2007-11-12 | 3 | -2/+6 |
| | |||||
* | Only set rl_completion_display_matches_hook if there | Martin v. Löwis | 2007-11-12 | 1 | -31/+38 |
| | | | | is a Python hook function. Fixes #1425. | ||||
* | Re-word sentence | Andrew M. Kuchling | 2007-11-12 | 1 | -1/+1 |
| | |||||
* | Fix for #1427: Error in standard module calendar | Christian Heimes | 2007-11-12 | 1 | -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 Heimes | 2007-11-12 | 1 | -4/+14 |
| | | | | Guido prefers _x over __x. | ||||
* | Remove duplication of "this". | Georg Brandl | 2007-11-11 | 1 | -1/+1 |
| | |||||
* | Fixed a bug reported (in private email, by Robert Crida) in logging ↵ | Vinay Sajip | 2007-11-11 | 1 | -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 be | Guido van Rossum | 2007-11-10 | 2 | -1/+120 |
| | | | | used as decorators to create fully-populated properties. | ||||
* | Use a freelist to speed-up block allocation and deallocation in ↵ | Raymond Hettinger | 2007-11-10 | 1 | -7/+27 |
| | | | | collections.deque(). | ||||
* | Optimize common case for dict.fromkeys(). | Raymond Hettinger | 2007-11-09 | 1 | -10/+15 |
| | |||||
* | Add Amaury Forgeot d'Arc. | Martin v. Löwis | 2007-11-09 | 1 | -0/+3 |
| | |||||
* | Correct a comment about testing methods - nowadays most | Georg Brandl | 2007-11-09 | 1 | -4/+3 |
| | | | | tests don't run directly on import. | ||||
* | Fix misleading example. | Georg Brandl | 2007-11-09 | 1 | -1/+2 |
| | |||||
* | Fix seealso link to sets docs. Do not merge to Py3k. | Georg Brandl | 2007-11-09 | 1 | -1/+1 |
| | |||||
* | Reposition the decref (spotted by eagle-eye norwitz). | Raymond Hettinger | 2007-11-08 | 1 | -1/+2 |
| | |||||
* | Add set.isdisjoint() | Raymond Hettinger | 2007-11-08 | 4 | -2/+126 |
| | |||||
* | Backport of Guido's review of my patch. | Christian Heimes | 2007-11-07 | 1 | -7/+5 |
| | |||||
* | Backported fix for bug #1392 from py3k branch r58903. | Christian Heimes | 2007-11-07 | 1 | -1/+19 |
| | |||||
* | Add missing NEWS entry | Nick Coghlan | 2007-11-07 | 1 | -0/+3 |
| | |||||
* | Add build option for faster loop execution. | Raymond Hettinger | 2007-11-07 | 2 | -0/+16 |
| | |||||
* | Optimize dict.fromkeys() with dict inputs. Useful for resetting bag/muliset ↵ | Raymond Hettinger | 2007-11-07 | 2 | -0/+23 |
| | | | | counts for example. | ||||
* | Fix marshal's incorrect handling of subclasses of builtin types (backport ↵ | Raymond Hettinger | 2007-11-07 | 4 | -16/+25 |
| | | | | candidate). | ||||
* | Add missing "return NULL" in overflow check in PyObject_Repr(). | Guido van Rossum | 2007-11-06 | 1 | -0/+1 |
| | |||||
* | Fixes Issue 1385: The hmac module now computes the correct hmac when using | Gregory P. Smith | 2007-11-06 | 4 | -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 archive | Mark Summerfield | 2007-11-05 | 1 | -5/+7 |
| | | | | | members even though comments to the archive itself aren't currently supported. | ||||
* | Added cross-references between the various archive file formats. | Mark Summerfield | 2007-11-05 | 5 | -8/+21 |
| | |||||
* | * db->get_flags is only available in BerkeleyDB >= 4.2 | Gregory P. Smith | 2007-11-05 | 1 | -0/+4 |
| | |||||
* | * db->get_types is only available in BerkeleyDB >= 4.2 | Gregory P. Smith | 2007-11-05 | 1 | -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. Smith | 2007-11-05 | 3 | -14/+35 |
| | | | | Improve test_lock's tempdir creation and cleanup. | ||||
* | Fixes bug 477182 on pybsddb.sf.net. DB objects now load the flags and | Gregory P. Smith | 2007-11-05 | 3 | -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 Brandl | 2007-11-04 | 1 | -4/+3 |
| | |||||
* | Note change to get_dialect semantics in 2.5. Will backport to 2.5. | Skip Montanaro | 2007-11-04 | 1 | -0/+5 |
| | |||||
* | Add a missing quotation mark. | Brett Cannon | 2007-11-03 | 1 | -1/+1 |
| | |||||
* | Make "hashable" a glossary entry and clarify docs on __cmp__, __eq__ and ↵ | Georg Brandl | 2007-11-02 | 9 | -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 Heller | 2007-11-02 | 2 | -22/+22 |
| | |||||
* | Issue #1292: On alpha, arm, ppc, and s390 linux systems the | Thomas Heller | 2007-11-02 | 3 | -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 Coghlan | 2007-11-02 | 2 | -0/+21 |
| | | | | candidate) | ||||
* | Added more file-handling related cross-references. | Mark Summerfield | 2007-11-02 | 4 | -5/+15 |
| | |||||
* | false "fix" undone as correct problem was found and fixed. | Gregory P. Smith | 2007-11-01 | 1 | -4/+0 |
| | |||||
* | Undo revision 58533 58534 fixes. Those were a workaround for | Gregory P. Smith | 2007-11-01 | 1 | -3/+2 |
| | | | | a problem introduced by 58385. | ||||
* | Fix bug introduced in revision 58385. Database keys could no longer | Gregory P. Smith | 2007-11-01 | 2 | -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 Brandl | 2007-11-01 | 1 | -1/+1 |
| | |||||
* | Removed non ASCII text from test as requested by Guido. Sorry :/ | Christian Heimes | 2007-11-01 | 1 | -20/+2 |
| | |||||
* | Backport of import tests for bug http://bugs.python.org/issue1293 and bug ↵ | Christian Heimes | 2007-11-01 | 1 | -2/+43 |
| | | | | http://bugs.python.org/issue1342 | ||||
* | #1364: os.lstat is available on Windows too, as an alias to os.stat. | Georg Brandl | 2007-11-01 | 1 | -2/+3 |
| | |||||
* | Sets are marshalable. | Raymond Hettinger | 2007-10-31 | 1 | -1/+1 |
| |