Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | The incremental decoder for utf-7 must preserve its state between calls. | Amaury Forgeot d'Arc | 2007-11-20 | 5 | -23/+61 |
| | | | | | | | Solves issue1460. Might not be a backport candidate: a new API function was added, and some code may rely on details in utf-7.py. | ||||
* | Backport some main.c cleanup from the py3k branch | Nick Coghlan | 2007-11-20 | 1 | -12/+13 |
| | |||||
* | Another fix for test_shutil. Martin pointed out that it breaks some build bots | Christian Heimes | 2007-11-20 | 1 | -1/+3 |
| | |||||
* | Patch #1468: Package Lib/test/*.pem. | Martin v. Löwis | 2007-11-20 | 1 | -0/+1 |
| | |||||
* | Fixed bug #1470 | Christian Heimes | 2007-11-20 | 1 | -5/+2 |
| | |||||
* | Fix the OSX failures in this test -- they were due to /tmp being a symlink | Guido van Rossum | 2007-11-19 | 1 | -0/+1 |
| | | | | to /private/tmp. Adding a call to os.path.realpath() to temp_dir() fixed it. | ||||
* | Make this work stand-alone, too. | Guido van Rossum | 2007-11-19 | 1 | -1/+1 |
| | |||||
* | Fixed detail in add_type() explanation (issue 1463). | Facundo Batista | 2007-11-19 | 1 | -2/+2 |
| | |||||
* | Enable some test_cmd_line_script debugging output to investigate failure on ↵ | Nick Coghlan | 2007-11-19 | 1 | -3/+3 |
| | | | | Mac OSX buildbot | ||||
* | Fix for #1444: utf_8_sig.StreamReader was (indirectly through decode()) | Walter Dörwald | 2007-11-19 | 2 | -5/+55 |
| | | | | | calling codecs.utf_8_decode() with final==True, which falled with incomplete byte sequences. Fix and test by James G. Sack. | ||||
* | Fix typo in comment. | Walter Dörwald | 2007-11-19 | 1 | -1/+1 |
| | |||||
* | Use a slightly more recent version than 1.5.2b2. | Neal Norwitz | 2007-11-19 | 1 | -2/+2 |
| | |||||
* | Patch #1739468: Directories and zipfiles containing __main__.py are now ↵ | Nick Coghlan | 2007-11-18 | 6 | -47/+254 |
| | | | | executable | ||||
* | Remove a confusing sentence about pth files and which directories are searched | Brett Cannon | 2007-11-17 | 1 | -2/+1 |
| | | | | | | for them. Closes issue #1431. Thanks Giambattista Bloisi for the help. | ||||
* | Fix signature in example | Raymond Hettinger | 2007-11-17 | 1 | -1/+1 |
| | |||||
* | Made _ParseTupleFinds only defined to unicodeobject.c | Facundo Batista | 2007-11-16 | 2 | -0/+4 |
| | |||||
* | Fix for stupid error (I need to remember to do a full 'make clean + make' | Facundo Batista | 2007-11-16 | 1 | -1/+1 |
| | | | | cycle before the tests...). Sorry. | ||||
* | Now in find, rfind, index, and rindex, you can use None as defaults, | Facundo Batista | 2007-11-16 | 4 | -32/+102 |
| | | | | | | | | | | | | 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. | ||||
* | A patch from issue 1378 by roudkerk: | Guido van Rossum | 2007-11-16 | 1 | -81/+5 |
| | | | | | | | | 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(). | ||||
* | add the certificate for the Python SVN repository for testing SSL | Bill Janssen | 2007-11-15 | 1 | -0/+31 |
| | |||||
* | Add example for use cases requiring default values. | Raymond Hettinger | 2007-11-15 | 1 | -0/+9 |
| | |||||
* | Example of multiple replacements. | Raymond Hettinger | 2007-11-15 | 1 | -2/+2 |
| | |||||
* | Fixup example in docs. | Raymond Hettinger | 2007-11-15 | 1 | -1/+1 |
| | |||||
* | Small improvement to the implementation of __replace__(). | Raymond Hettinger | 2007-11-15 | 2 | -2/+2 |
| | |||||
* | Accept Issac Morland's suggestion for __replace__ to allow multiple replacements | Raymond Hettinger | 2007-11-15 | 3 | -18/+33 |
| | | | | | | (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. | ||||
* | Add test for __fields__ being read-only | Raymond Hettinger | 2007-11-14 | 1 | -0/+8 |
| | |||||
* | Make __fields__ read-only. Suggested by Issac Morland | Raymond Hettinger | 2007-11-14 | 1 | -1/+1 |
| | |||||
* | Remove dead link from random docs. | Georg Brandl | 2007-11-14 | 1 | -5/+0 |
| | |||||
* | 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 |
| |