Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Moved the errno import from inside the functions to the | Facundo Batista | 2007-11-27 | 1 | -6/+3 |
| | | | | module level. Fixes issue 1755179. | ||||
* | back in these go - thanks to Titus Brown for the fix | Skip Montanaro | 2007-11-24 | 2 | -0/+15 |
| | |||||
* | Issue #1445: Fix a SystemError when accessing the ``cell_contents`` | Amaury Forgeot d'Arc | 2007-11-24 | 1 | -0/+12 |
| | | | | attribute of an empty cell object. Now a ValueError is raised. | ||||
* | revert change that breaks test_doctest (which I forgot to run - sorry) | Skip Montanaro | 2007-11-24 | 2 | -13/+0 |
| | |||||
* | Test cases from Cowlishaw, v2.57. All are pased cleanly. | Facundo Batista | 2007-11-23 | 142 | -160/+510 |
| | |||||
* | Major change in the internal structure of the Decimal | Facundo Batista | 2007-11-23 | 2 | -302/+220 |
| | | | | | | | | | | number: now it does not store the mantissa as a tuple of numbers, but as a string. This avoids a lot of conversions, and achieves a speedup of 40%. The API remains intact. Thanks Mark Dickinson. | ||||
* | Make trace and doctest play nice together (issue 1429818). Will backport. | Skip Montanaro | 2007-11-23 | 2 | -0/+13 |
| | |||||
* | Fix a bug in the test for using __loader__.get_data(). | Brett Cannon | 2007-11-23 | 1 | -0/+1 |
| | |||||
* | Backport of _abccoll.py by Benjamin Arangueren, issue 1383. | Guido van Rossum | 2007-11-22 | 8 | -7/+776 |
| | | | | With some changes of my own thrown in (e.g. backport of r58107). | ||||
* | 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 | 2 | -1/+21 |
| | | | | | | | 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. | ||||
* | 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 | 2 | -15/+22 |
| | | | | | | | 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. | ||||
* | Another fix for test_shutil. Martin pointed out that it breaks some build bots | Christian Heimes | 2007-11-20 | 1 | -1/+3 |
| | |||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | Patch #1739468: Directories and zipfiles containing __main__.py are now ↵ | Nick Coghlan | 2007-11-18 | 2 | -0/+148 |
| | | | | executable | ||||
* | Now in find, rfind, index, and rindex, you can use None as defaults, | Facundo Batista | 2007-11-16 | 1 | -0/+28 |
| | | | | | | | | | | | | 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. | ||||
* | add the certificate for the Python SVN repository for testing SSL | Bill Janssen | 2007-11-15 | 1 | -0/+31 |
| | |||||
* | Small improvement to the implementation of __replace__(). | Raymond Hettinger | 2007-11-15 | 1 | -1/+1 |
| | |||||
* | Accept Issac Morland's suggestion for __replace__ to allow multiple replacements | Raymond Hettinger | 2007-11-15 | 2 | -5/+9 |
| | | | | | | (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 |
| | |||||
* | Merge from py3k branch: | Amaury Forgeot d'Arc | 2007-11-13 | 1 | -2/+47 |
| | | | | | | | | | | | | | | | | | | | | | | 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 |
| | |||||
* | Fix TextCalendar.prweek(). This closes issue #1427. | Walter Dörwald | 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. | ||||
* | 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 | 1 | -0/+65 |
| | | | | used as decorators to create fully-populated properties. | ||||
* | Correct a comment about testing methods - nowadays most | Georg Brandl | 2007-11-09 | 1 | -4/+3 |
| | | | | tests don't run directly on import. | ||||
* | Add set.isdisjoint() | Raymond Hettinger | 2007-11-08 | 1 | -2/+47 |
| | |||||
* | Optimize dict.fromkeys() with dict inputs. Useful for resetting bag/muliset ↵ | Raymond Hettinger | 2007-11-07 | 1 | -0/+4 |
| | | | | counts for example. | ||||
* | Fix marshal's incorrect handling of subclasses of builtin types (backport ↵ | Raymond Hettinger | 2007-11-07 | 1 | -0/+11 |
| | | | | candidate). | ||||
* | Fixes Issue 1385: The hmac module now computes the correct hmac when using | Gregory P. Smith | 2007-11-06 | 2 | -7/+177 |
| | | | | hashes with a block size other than 64 bytes (such as sha384 and sha512). | ||||
* | * db->get_flags is only available in BerkeleyDB >= 4.2 | Gregory P. Smith | 2007-11-05 | 1 | -0/+4 |
| | |||||
* | Add the bsddb.db.DBEnv.lock_id_free method. | Gregory P. Smith | 2007-11-05 | 1 | -14/+12 |
| | | | | 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 | 1 | -0/+24 |
| | | | | | | | | | | 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. | ||||
* | Add a missing quotation mark. | Brett Cannon | 2007-11-03 | 1 | -1/+1 |
| | |||||
* | Enable the full ctypes c_longdouble tests again. | Thomas Heller | 2007-11-02 | 2 | -22/+22 |
| | |||||
* | Fix for bug 1705170 - contextmanager swallowing StopIteration (2.5 backport ↵ | Nick Coghlan | 2007-11-02 | 2 | -0/+21 |
| | | | | candidate) | ||||
* | 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 | 1 | -4/+21 |
| | | | | | have NULL bytes in them. Replace the errant strdup with a malloc+memcpy. Adds a unit test for the correct behavior. | ||||
* | 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 | ||||
* | check in Tal Einat's update to tabpage.py | Kurt B. Kaiser | 2007-10-30 | 3 | -9/+489 |
| | | | | | | | | Patch 1612746 M configDialog.py M NEWS.txt AM tabbedpages.py | ||||
* | Patch 1353 by Jacob Winther. | Guido van Rossum | 2007-10-29 | 1 | -0/+1 |
| | | | | Add mp4 mapping to mimetypes.py. |