Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SF bug #1251300: On UCS-4 builds the "unicode-internal" codec will now complain | Walter Dörwald | 2005-08-30 | 2 | -3/+82 |
| | | | | | about illegal code points. The codec now supports PEP 293 style error handlers. (This is a variant of the Nik Haldimann's patch that detects truncated data) | ||||
* | Fix logic error introduced in last commit. Also add a comment to explain what | Brett Cannon | 2005-08-29 | 1 | -2/+5 |
| | | | | the code is doing. | ||||
* | fix bug where str.find() was being misused where __contains__ should have been | Brett Cannon | 2005-08-27 | 1 | -1/+1 |
| | | | | used. | ||||
* | Patch #1168594: set sizes of non-regular files to zero. Fixes #1167128. | Martin v. Löwis | 2005-08-27 | 2 | -14/+47 |
| | | | | Will backport to 2.4. | ||||
* | Whitespace normalization (via reindent.py). | Tim Peters | 2005-08-26 | 8 | -11/+9 |
| | |||||
* | testSeekBackwardsFromEnd(): Repair obvious syntax error. | Tim Peters | 2005-08-26 | 1 | -1/+1 |
| | |||||
* | Add list() around xreadlines() | Georg Brandl | 2005-08-26 | 1 | -2/+2 |
| | |||||
* | *** empty log message *** | Georg Brandl | 2005-08-26 | 1 | -11/+11 |
| | |||||
* | patch [ 810023 ] Fix for off-by-one bug in urllib.URLopener.retrieve | Georg Brandl | 2005-08-26 | 2 | -17/+99 |
| | |||||
* | patch [ 756021 ] Allow socket.inet_aton("255.255.255.255") on Windows | Georg Brandl | 2005-08-26 | 1 | -0/+2 |
| | |||||
* | bug [ 1262320 ] minidom.py alternate newl support is broken | Georg Brandl | 2005-08-25 | 1 | -4/+11 |
| | |||||
* | bug [ 1262320 ] minidom.py alternate newl support is broken | Georg Brandl | 2005-08-25 | 1 | -6/+6 |
| | |||||
* | Make IDNA return an empty string when the input is empty. Fixes #1163178. | Martin v. Löwis | 2005-08-25 | 2 | -0/+12 |
| | | | | Will backport to 2.4. | ||||
* | Correct test suite for #848017. | Georg Brandl | 2005-08-25 | 2 | -4/+5 |
| | |||||
* | patch #848017: make Cookie more RFC-compliant. | Georg Brandl | 2005-08-24 | 1 | -28/+23 |
| | |||||
* | Bug #735248: Fix urllib2.parse_http_list. | Georg Brandl | 2005-08-24 | 2 | -39/+44 |
| | |||||
* | Bug 1016563: Bug in urllib2 proxy auth | Georg Brandl | 2005-08-24 | 1 | -1/+1 |
| | |||||
* | Patch [ 1062060 ] fix for 1016880 urllib.urlretrieve silently truncates dwnld | Georg Brandl | 2005-08-24 | 1 | -1/+15 |
| | |||||
* | Patch #1167716: Support Unicode filenames in mkpath. Fixes #1121494. | Martin v. Löwis | 2005-08-24 | 1 | -1/+1 |
| | | | | Will backport to 2.4. | ||||
* | patch [ 1141428 ] more __contains__ tests | Georg Brandl | 2005-08-24 | 2 | -2/+29 |
| | |||||
* | [ 1113421 ] New tutorial tests in test_generators.py | Georg Brandl | 2005-08-24 | 1 | -0/+78 |
| | |||||
* | Return complete lines from codec stream readers | Martin v. Löwis | 2005-08-24 | 1 | -3/+17 |
| | | | | | | even if there is an exception in later lines, resulting in correct line numbers for decoding errors in source code. Fixes #1178484. Will backport to 2.4. | ||||
* | bug [ 1192315 ] 'clear -1' in pdb | Georg Brandl | 2005-08-24 | 1 | -1/+4 |
| | |||||
* | bug [ 728515 ] mmap's resize method resizes the file in win32 but not unix | Georg Brandl | 2005-08-24 | 1 | -0/+8 |
| | |||||
* | Revert previous checkin. | Martin v. Löwis | 2005-08-24 | 1 | -7/+20 |
| | |||||
* | 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 |
| |