Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | issue 1429818 | Skip Montanaro | 2007-11-23 | 1 | -0/+3 |
| | |||||
* | Make trace and doctest play nice together (issue 1429818). Will backport. | Skip Montanaro | 2007-11-23 | 2 | -0/+13 |
| | |||||
* | Add item | Andrew M. Kuchling | 2007-11-23 | 1 | -0/+4 |
| | |||||
* | And yet another fix for the patch. Paul Moore has send me a note that I've ↵ | Christian Heimes | 2007-11-23 | 1 | -8/+9 |
| | | | | missed a declaration. The additional code has moved the declaration in the middle of the block. | ||||
* | How did the comment get there? | Christian Heimes | 2007-11-23 | 1 | -1/+1 |
| | |||||
* | Fixed problems in the last commit. Filenames and line numbers weren't ↵ | Christian Heimes | 2007-11-23 | 2 | -13/+19 |
| | | | | | | reported correctly. Backquotes still don't report the correct file. The AST nodes only contain the line number but not the file name. | ||||
* | Applied patch #1754273 and #1754271 from Thomas Glee | Christian Heimes | 2007-11-23 | 2 | -1/+14 |
| | | | | The patches are adding deprecation warnings for back ticks and <> | ||||
* | Backport of PCbuild9 fixes from py3k r59130 | Christian Heimes | 2007-11-23 | 5 | -19/+83 |
| | |||||
* | Fix a bug in the test for using __loader__.get_data(). | Brett Cannon | 2007-11-23 | 1 | -0/+1 |
| | |||||
* | Backport of the PCbuild9 directory from the py3k branch. | Christian Heimes | 2007-11-22 | 50 | -7/+18093 |
| | | | | | I've finished the last task for the PCbuild9 directory today. I don't think there is much left to do. Now you can all play around with the shiny new VS 2008 and try the PGO builds. I was able to get a speed improvement of about 10% on py3k. Have fun! :) | ||||
* | Backport of _abccoll.py by Benjamin Arangueren, issue 1383. | Guido van Rossum | 2007-11-22 | 13 | -51/+822 |
| | | | | With some changes of my own thrown in (e.g. backport of r58107). | ||||
* | Final fix for #1403 | Christian Heimes | 2007-11-21 | 1 | -0/+2 |
| | | | | The Windows installer and some Linux distros are using compileall to compile all py files in the Lib/ directory. However no test exists to check if all py files can be compiled. I figured out that make testall is the easiest way to test compileall. | ||||
* | Add a NEWS entry for r59076. | Amaury Forgeot d'Arc | 2007-11-21 | 1 | -0/+3 |
| | |||||
* | Added NEWS entry | Christian Heimes | 2007-11-21 | 1 | -0/+1 |
| | | | | Thanks for the reminder, Brett | ||||
* | Add a missing check before deleting a package's __loader__. | Brett Cannon | 2007-11-21 | 1 | -1/+2 |
| | |||||
* | doctest assumed that a package's __loader__.get_data() method used universal | Brett Cannon | 2007-11-21 | 3 | -1/+24 |
| | | | | | | | newlines; it doesn't. To rectify this the string returned replaces all instances of os.linesep with '\n' to fake universal newline support. Backport candidate. | ||||
* | Fixed #1372: zlibmodule.c: int overflow in PyZlib_decompress | Christian Heimes | 2007-11-21 | 1 | -2/+3 |
| | |||||
* | Remove a unneeded line that had typos. | Brett Cannon | 2007-11-21 | 1 | -2/+0 |
| | |||||
* | 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 |
| |