Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch #1262036: Make tarfile name absolute. Fixes #1257255. | Martin v. Löwis | 2005-08-24 | 1 | -20/+7 |
| | | | | Will backport to 2.4. | ||||
* | add note about "markupbase" not being intended for direct use | Fred Drake | 2005-08-23 | 1 | -1/+7 |
| | | | | (closes SF bug #736659, patch #901369) | ||||
* | Revert previous code elimination, 'filename' is needed. | Kurt B. Kaiser | 2005-08-23 | 1 | -2/+7 |
| | |||||
* | 1. Mac line endings were incorrect when pasting code from some browsers | Kurt B. Kaiser | 2005-08-23 | 2 | -7/+6 |
| | | | | | | | when using X11 and the Fink distribution. Python Bug 1263656. 2. Eliminate duplicated code in ScriptBinding.run_module_event() Modified Files: NEWS.txt ScriptBinding.py | ||||
* | bug [ 1266296 ] Mistakes in decimal.Context.subtract documentation | Georg Brandl | 2005-08-22 | 1 | -1/+1 |
| | |||||
* | Bug #1266283: lexists() is not exported from os.path | Georg Brandl | 2005-08-22 | 4 | -11/+11 |
| | |||||
* | [ sf.net patch # 1121611 ] | Gregory P. Smith | 2005-08-21 | 8 | -13/+438 |
| | | | | | | | | | A new hashlib module to replace the md5 and sha modules. It adds support for additional secure hashes such as SHA-256 and SHA-512. The hashlib module uses OpenSSL for fast platform optimized implementations of algorithms when available. The old md5 and sha modules still exist as wrappers around hashlib to preserve backwards compatibility. | ||||
* | Fix BZ2File.(x)readlines() for files without a newline. | Georg Brandl | 2005-08-21 | 1 | -1/+17 |
| | |||||
* | SF bug #1242657: list(obj) can swallow KeyboardInterrupt | Raymond Hettinger | 2005-08-21 | 1 | -0/+9 |
| | | | | | | Fix over-aggressive PyErr_Clear(). The same code fragment appears in various guises in list.extend(), map(), filter(), zip(), and internally in PySequence_Tuple(). | ||||
* | Implement random.sample() using sets instead of dicts. | Raymond Hettinger | 2005-08-19 | 1 | -9/+13 |
| | |||||
* | Numerous fix-ups to C API and docs. Added tests for C API. | Raymond Hettinger | 2005-08-16 | 1 | -1/+6 |
| | |||||
* | Port from the Python 2.4 branch, patches for SF bug # 900092, | Barry Warsaw | 2005-08-15 | 1 | -0/+1 |
| | | | | hotshot.stats.load. | ||||
* | Teach the sets module to correctly compute s-=s and s^=s as the empty set. | Raymond Hettinger | 2005-08-13 | 2 | -0/+17 |
| | |||||
* | * Fix SF #1257731. Make __contains__(), remove(), and discard() only do | Raymond Hettinger | 2005-08-12 | 1 | -0/+13 |
| | | | | | | | a frozenset conversion when the initial search attempt fails with a TypeError and the key is some type of set. Add a testcase. * Eliminate a duplicate if-stmt. | ||||
* | Change the %s format specifier for str objects so that it returns a | Neil Schemenauer | 2005-08-12 | 1 | -0/+4 |
| | | | | | unicode instance if the argument is not an instance of basestring and calling __str__ on the argument returns a unicode instance. | ||||
* | * Add short-circuit code for in-place operations with self (such as | Raymond Hettinger | 2005-08-11 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | | | s|=s, s&=s, s-=s, or s^=s). Add related tests. * Improve names for several variables and functions. * Provide alternate table access functions (next, contains, add, and discard) that work with an entry argument instead of just a key. This improves set-vs-set operations because we already have a hash value for each key and can avoid unnecessary calls to PyObject_Hash(). Provides a 5% to 20% speed-up for quick hashing elements like strings and integers. Provides much more substantial improvements for slow hashing elements like tuples or objects defining a custom __hash__() function. * Have difference operations resize() when 1/5 of the elements are dummies. Formerly, it was 1/6. The new ratio triggers less frequently and only in cases that it can resize quicker and with greater benefit. The right answer is probably either 1/4, 1/5, or 1/6. Picked the middle value for an even trade-off between resize time and the space/time costs of dummy entries. | ||||
* | Patch #827386: Support absolute source paths in msvccompiler.py. | Martin v. Löwis | 2005-08-07 | 1 | -0/+2 |
| | | | | Backported to 2.4. | ||||
* | Whitespace normalization (ran reindent.py over the whole tree). | Tim Peters | 2005-08-07 | 1 | -10/+10 |
| | |||||
* | bug [ 1252706 ] poplib list() docstring fix (and docs too) | Georg Brandl | 2005-08-05 | 1 | -1/+1 |
| | |||||
* | Disable a few other tests, that can't work if Python is compiled without | Walter Dörwald | 2005-08-03 | 4 | -18/+30 |
| | | | | Unicode support. | ||||
* | patch [ 1105730 ] Faster commonprefix in macpath, ntpath, etc. | Georg Brandl | 2005-08-03 | 4 | -41/+32 |
| | |||||
* | Bring cgi.escape docstring slightly more in line with the library ref | Skip Montanaro | 2005-08-02 | 1 | -1/+3 |
| | | | | manual. Closes #1243553. | ||||
* | PEP 342 implementation. Per Guido's comments, the generator throw() | Phillip J. Eby | 2005-08-02 | 5 | -17/+285 |
| | | | | | method still needs to support string exceptions, and allow None for the third argument. Documentation updates are needed, too. | ||||
* | * Improve code for the empty frozenset singleton: | Raymond Hettinger | 2005-08-01 | 1 | -0/+20 |
| | | | | | | | | | | | - Handle both frozenset() and frozenset([]). - Do not use singleton for frozenset subclasses. - Finalize the singleton. - Add test cases. * Factor-out set_update_internal() from set_update(). Simplifies the code for several internal callers. * Factor constant expressions out of loop in set_merge_internal(). * Minor comment touch-ups. | ||||
* | add support for svn: and svn+ssh: URL schemes to urlparse | Fred Drake | 2005-07-29 | 2 | -1/+7 |
| | |||||
* | Disable encoding/decoding test, if unicode is disabled. | Walter Dörwald | 2005-07-28 | 1 | -19/+20 |
| | |||||
* | Fix a problem in Tkinter introduced by SF patch #869468 (checked in as | Guido van Rossum | 2005-07-26 | 1 | -6/+0 |
| | | | | | 1.179): delete bogus __hasattr__ and __delattr__ methods on class Tk that were breaking Tkdnd. | ||||
* | That was one too much. | Georg Brandl | 2005-07-22 | 1 | -1/+1 |
| | |||||
* | Fix all wrong instances of "it's". | Georg Brandl | 2005-07-22 | 11 | -16/+16 |
| | |||||
* | [ 1243081 ] repair typos | Georg Brandl | 2005-07-22 | 3 | -3/+3 |
| | |||||
* | Make attributes and local variables in the StreamReader str objects instead | Walter Dörwald | 2005-07-20 | 2 | -5/+24 |
| | | | | | of unicode objects, so that codecs that do a str->str decoding won't promote the result to unicode. This fixes SF bug #1241507. | ||||
* | bug [ 957505 ] SocketServer module documentation misleading | Georg Brandl | 2005-07-18 | 1 | -2/+2 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2005-07-17 | 4 | -10/+10 |
| | |||||
* | - Bug #1015140: disambiguated the term "article id" in nntplib docs and | Georg Brandl | 2005-07-17 | 1 | -2/+2 |
| | | | | docstrings to either "article number" or "message id". | ||||
* | Add support for FreeBSD 7. | Hye-Shik Chang | 2005-07-17 | 6 | -2/+543 |
| | |||||
* | bug [ 1238170 ] threading.Thread uses {} as default argument | Georg Brandl | 2005-07-15 | 1 | -1/+3 |
| | |||||
* | textwrap now processes text chucks at O(n) speed instead of O(n**2). | Raymond Hettinger | 2005-07-15 | 1 | -9/+13 |
| | | | | Patch #1209527 (Contributed by Connelly). | ||||
* | RFE [ 1216944 ] Add Error Code Dictionary to urllib2 | Georg Brandl | 2005-07-14 | 2 | -0/+53 |
| | |||||
* | Fix: | Michael W. Hudson | 2005-07-12 | 1 | -0/+20 |
| | | | | | | | [ 1229429 ] missing Py_DECREF in PyObject_CallMethod Add a test in test_enumerate, which is a bit random, but suffices (reversed_new calls PyObject_CallMethod under some circumstances). | ||||
* | Fix "upload" command garbling and truncating files on Windows. If it's a | Phillip J. Eby | 2005-07-07 | 1 | -1/+1 |
| | | | | binary file, use 'rb'! | ||||
* | Add test for hash commutativity. | Raymond Hettinger | 2005-07-05 | 1 | -0/+10 |
| | |||||
* | fixed tag generation to avoid null tags | Piers Lauder | 2005-07-05 | 1 | -2/+2 |
| | |||||
* | bug #1177468: don't cache /dev/urandom file descriptor in os.urandom | Georg Brandl | 2005-07-04 | 1 | -8/+4 |
| | |||||
* | Add doctest for examples in libweakref.tex to test_weakref. | Georg Brandl | 2005-07-02 | 1 | -0/+86 |
| | |||||
* | patch [ 1231538 ] Typo fix in compiler/transformer.py (WalkerEror) | Georg Brandl | 2005-07-02 | 1 | -11/+11 |
| | |||||
* | SF bug #1224347: int/long unification and hex() | Raymond Hettinger | 2005-06-29 | 1 | -1/+1 |
| | | | | Hex longs now print with lowercase letters like their int counterparts. | ||||
* | Adapt output file to new Cookie JS output. | Georg Brandl | 2005-06-27 | 1 | -4/+4 |
| | |||||
* | Fix test cases for doctest. | Georg Brandl | 2005-06-26 | 2 | -0/+4 |
| | |||||
* | bug [ 839151 ] attempt to access sys.argv when it doesn't exist | Georg Brandl | 2005-06-26 | 1 | -1/+5 |
| | |||||
* | bug [ 1172785 ] doctest.script_from_examples() result sometimes un-exec-able | Georg Brandl | 2005-06-26 | 1 | -1/+2 |
| |