- 20 Nov, 2007 2 commits
-
-
Martin v. Löwis authored
-
Christian Heimes authored
-
- 19 Nov, 2007 7 commits
-
-
Guido van Rossum authored
to /private/tmp. Adding a call to os.path.realpath() to temp_dir() fixed it.
-
Guido van Rossum authored
-
Facundo Batista authored
-
Nick Coghlan authored
-
Walter Dörwald authored
calling codecs.utf_8_decode() with final==True, which falled with incomplete byte sequences. Fix and test by James G. Sack.
-
Walter Dörwald authored
-
Neal Norwitz authored
-
- 18 Nov, 2007 1 commit
-
-
Nick Coghlan authored
-
- 17 Nov, 2007 2 commits
-
-
Brett Cannon authored
for them. Closes issue #1431. Thanks Giambattista Bloisi for the help.
-
Raymond Hettinger authored
-
- 16 Nov, 2007 4 commits
-
-
Facundo Batista authored
-
Facundo Batista authored
cycle before the tests...). Sorry.
-
Facundo Batista authored
as usual with slicing (both with str and unicode strings). This fixes issue 1259. For str only the stringobject.c file was modified. But for unicode, I needed to repeat in the four functions a lot of code, so created a new function that does part of the job for them (and placed it in find.h, following a suggestion of Barry). Also added tests for this behaviour.
-
Guido van Rossum authored
Currently on Windows set_error() make use of a large array which maps socket error numbers to error messages. This patch removes that array and just lets PyErr_SetExcFromWindowsErr() generate the message by using the Win32 function FormatMessage().
-
- 15 Nov, 2007 6 commits
-
-
Bill Janssen authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
(suprisingly, this simplifies the signature, improves clarity, and is comparably fast). Update the docs to reflect a previous change to the function name. Add an example to the docs showing how to override the default __repr__ method.
-
- 14 Nov, 2007 3 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Georg Brandl authored
-
- 13 Nov, 2007 1 commit
-
-
Amaury Forgeot d'Arc authored
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.
-
- 12 Nov, 2007 8 commits
-
-
Guido van Rossum authored
-
Christian Heimes authored
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?
-
Walter Dörwald authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
is a Python hook function. Fixes #1425.
-
Andrew M. Kuchling authored
-
Christian Heimes authored
the prweek() method is still broken and I can't figure out how it suppose to work.
-
Christian Heimes authored
Guido prefers _x over __x.
-
- 11 Nov, 2007 2 commits
-
-
Georg Brandl authored
-
Vinay Sajip authored
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.
-
- 10 Nov, 2007 2 commits
-
-
Guido van Rossum authored
used as decorators to create fully-populated properties.
-
Raymond Hettinger authored
-
- 09 Nov, 2007 2 commits
-
-
Raymond Hettinger authored
-
Martin v. Löwis authored
-