Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch #1112812: Make bsddb/__init__.py more friendly for modulefinder. | Martin v. Löwis | 2005-03-03 | 2 | -2/+4 |
| | | | | Backported to 2.4. | ||||
* | Clear internal call error in 'L' format. Fixes #723201. | Martin v. Löwis | 2005-03-03 | 3 | -1/+16 |
| | | | | Backported to 2.4. | ||||
* | Patch #1110248: SYNC_FLUSH the zlib buffer for GZipFile.flush. | Martin v. Löwis | 2005-03-03 | 2 | -1/+6 |
| | | | | Partially fixes #1110242. | ||||
* | Patch #1107973: tarfile.ExFileObject iterators. | Martin v. Löwis | 2005-03-03 | 3 | -0/+28 |
| | |||||
* | Patch #1104111: Alter setup.py --help and --help-commands. | Martin v. Löwis | 2005-03-03 | 3 | -2/+13 |
| | |||||
* | Silence a gcc warning about putting in parentheses around && expressions mixed | Brett Cannon | 2005-03-03 | 1 | -5/+6 |
| | | | | with || expressions. Also clarifies intend of 'if' conditional. | ||||
* | Noted that the module is new in version 2.5. | Raymond Hettinger | 2005-03-02 | 1 | -0/+1 |
| | |||||
* | Fix bug in InternalDate regexp that failed to allow leading 0 in day - ↵ | Piers Lauder | 2005-03-02 | 1 | -1/+1 |
| | | | | courtesy of Rimon Barr <rimon.barr@cornell.edu> | ||||
* | Improve (?) description of system dependence of access to the pw_passwd | Skip Montanaro | 2005-03-02 | 1 | -2/+5 |
| | | | | field on systems that support shadow passwords. | ||||
* | Patch #1121234: Properly cleanup _exit and tkerror commands. | Martin v. Löwis | 2005-03-01 | 2 | -0/+9 |
| | | | | Will backport to 2.4. | ||||
* | Fix grammatical typo in a comment. | Brett Cannon | 2005-03-01 | 1 | -1/+1 |
| | |||||
* | Make test__locale more fine-grained. Now test localeconv and nl_langinfo | Brett Cannon | 2005-03-01 | 1 | -9/+56 |
| | | | | | | individually as tests. Also improved output when the test fails. | ||||
* | Fix small grammatical error in a docstring. | Brett Cannon | 2005-03-01 | 1 | -1/+1 |
| | |||||
* | Note various changes that need to be described | Andrew M. Kuchling | 2005-03-01 | 1 | -3/+26 |
| | |||||
* | SF patch #941881: PEP 309 Implementation (Partial Function Application). | Raymond Hettinger | 2005-02-28 | 9 | -0/+489 |
| | | | | | Combined efforts of many including Peter Harris, Hye-Shik Chang, Martin v. Löwis, Nick Coghlan, Paul Moore, and Raymond Hettinger. | ||||
* | Complete the previous effort to factor out constant expressions | Raymond Hettinger | 2005-02-28 | 2 | -12/+34 |
| | | | | and improve the speed of the if/elif/else blocks. | ||||
* | Patch #1093585: raise a ValueError for negative history items in | Martin v. Löwis | 2005-02-27 | 2 | -0/+13 |
| | | | | remove_history and replace_history. Will backport to 2.4. | ||||
* | Patch #1049151: adding bool support to xdrlib.py. | Martin v. Löwis | 2005-02-24 | 5 | -6/+32 |
| | | | | Also add xdrlib._test into the test suite. | ||||
* | Update an example to match current output. | Raymond Hettinger | 2005-02-23 | 1 | -3/+1 |
| | |||||
* | Preserve sign of -0.0 when result is run through marshal. | Raymond Hettinger | 2005-02-23 | 1 | -2/+4 |
| | |||||
* | A few random updates to make things less horrifyingly out of date. | Michael W. Hudson | 2005-02-22 | 1 | -51/+44 |
| | | | | | | | | | | | Delete some advice that can never, ever have worked. There are a couple of XXX comments for bits I don't know how to update. It would be really good not to release Python 2.5 with these in place :) This file is way too big. There's basically no chance of it staying up to date. | ||||
* | Document missing opcodes. | Raymond Hettinger | 2005-02-21 | 1 | -0/+8 |
| | |||||
* | Document how the pattern recognizer keeps all of its references in bounds. | Raymond Hettinger | 2005-02-21 | 1 | -0/+8 |
| | | | | | | Add a test in case the underlying assumptions ever change (i.e. the compiler starts generating code blocks that are not punctuated by RETURN_VALUE). | ||||
* | Fix some wording and grammar nits. | Raymond Hettinger | 2005-02-21 | 1 | -5/+5 |
| | |||||
* | Made the module compatible with Python 2.2 again. | Peter Astrand | 2005-02-21 | 1 | -2/+5 |
| | |||||
* | Teach the peepholer to fold unary operations on constants. | Raymond Hettinger | 2005-02-20 | 1 | -0/+19 |
| | | | | | Afterwards, -0.5 loads in a single step and no longer requires a runtime UNARY_NEGATIVE operation. | ||||
* | Teach the peepholer to fold unary operations on constants. | Raymond Hettinger | 2005-02-20 | 1 | -0/+62 |
| | | | | | Afterwards, -0.5 loads in a single step and no longer requires a runtime UNARY_NEGATIVE operation. | ||||
* | * Beef-up tests for str.count(). | Raymond Hettinger | 2005-02-20 | 2 | -2/+35 |
| | | | | * Speed-up str.count() by using memchr() to fly between first char matches. | ||||
* | * Beef-up testing of str.__contains__() and str.find(). | Raymond Hettinger | 2005-02-20 | 2 | -13/+50 |
| | | | | | | | | | | | | | | | | | | | * Speed-up "x in y" where x has more than one character. The existing code made excessive calls to the expensive memcmp() function. The new code uses memchr() to rapidly find a start point for memcmp(). In addition to knowing that the first character is a match, the new code also checks that the last character is a match. This significantly reduces the incidence of false starts (saving memcmp() calls and making quadratic behavior less likely). Improves the timings on: python -m timeit -r7 -s"x='a'*1000" "'ab' in x" python -m timeit -r7 -s"x='a'*1000" "'bc' in x" Once this code has proven itself, then string_find_internal() should refer to it rather than running its own version. Also, something similar may apply to unicode objects. | ||||
* | The error message "can't start new thread" should not end in a | Guido van Rossum | 2005-02-20 | 1 | -1/+1 |
| | | | | newline. | ||||
* | Use getdoc(object) instead of object.__doc__ to fix indentation problems. | Ka-Ping Yee | 2005-02-19 | 1 | -2/+10 |
| | | | | | | | | | | | Thanks to Robert Dick <dickrp@ece.northwestern.edu> for reporting this bug and submitting a patch. Adjust doc(object) to display useful documentation for plain values (e.g. help([]) now shows the methods on the list instead of just printing "[]"). (This change has been tested interactively, by generating docs for the standard library, and by running the module documentation webserver.) | ||||
* | Avoid using *W functions on Win95. Backported to 2.4. | Martin v. Löwis | 2005-02-18 | 1 | -11/+24 |
| | |||||
* | Add support for negative indices in UserString.MutableString.__setitem__ | Walter Dörwald | 2005-02-18 | 3 | -7/+14 |
| | | | | and UserString.MutableString.__delitem__. | ||||
* | Handle errors in imports of thread, threading | Vinay Sajip | 2005-02-18 | 1 | -1/+7 |
| | |||||
* | Improved frame handling for 1.5.2, and now return func from findCaller (not ↵ | Vinay Sajip | 2005-02-18 | 1 | -9/+20 |
| | | | | actually used yet) | ||||
* | Fixed documentation for SMTPHandler | Vinay Sajip | 2005-02-18 | 1 | -2/+1 |
| | |||||
* | Fix copy & paste error. | Walter Dörwald | 2005-02-17 | 1 | -2/+2 |
| | |||||
* | Add tests for the methods added by UserString.MutableString. | Walter Dörwald | 2005-02-17 | 1 | -0/+62 |
| | |||||
* | Avoid using items() in environ.update(). Fixes #1124513. | Martin v. Löwis | 2005-02-17 | 2 | -9/+19 |
| | | | | Will backport to 2.4. | ||||
* | Add a basic test for UserString.MutableString. | Walter Dörwald | 2005-02-17 | 1 | -2/+9 |
| | |||||
* | NEWS blurb for fix of: | Michael W. Hudson | 2005-02-17 | 1 | -0/+3 |
| | | | | [ 1124295 ] Function's __name__ no longer accessible in restricted mode | ||||
* | update version numbers | Andrew MacIntyre | 2005-02-17 | 1 | -23/+23 |
| | |||||
* | add notes about subprocess module & thread stacks, SSL support | Andrew MacIntyre | 2005-02-17 | 1 | -1/+18 |
| | |||||
* | add build machinery for the SSL socket module | Andrew MacIntyre | 2005-02-17 | 1 | -0/+8 |
| | |||||
* | Fix | Michael W. Hudson | 2005-02-17 | 2 | -2/+3 |
| | | | | | | | | [ 1124295 ] Function's __name__ no longer accessible in restricted mode which I introduced with a bit of mindless copy-paste when making __name__ writable. You can't assign to __name__ in restricted mode, which I'm going to pretend was intentional :) | ||||
* | Fix name for PyDateTime_FromDateAndTime. | Brett Cannon | 2005-02-17 | 1 | -1/+1 |
| | | | | Closes bug #1124278. | ||||
* | Remove dependency on order of mode flags | Raymond Hettinger | 2005-02-16 | 1 | -1/+1 |
| | |||||
* | spwdmodule.c should only be built when either HAVE_GETSPNAM or HAVE_GETSPENT is | Brett Cannon | 2005-02-16 | 2 | -2/+7 |
| | | | | defined. | ||||
* | Whitespace normalization. | Tim Peters | 2005-02-15 | 1 | -2/+2 |
| | |||||
* | An instance of class PicklingError was used here simply as an example of | Tim Peters | 2005-02-15 | 1 | -21/+26 |
| | | | | | | | _some_ user-defined class instance. That it was also an exception isn't interesting, but does interfere with Michael Hudson's new-style exception patch. This just changes the doctest example, to use an instance of a non-exception class. |