Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Changed _srcfile determination to support py2exe. | Vinay Sajip | 2005-09-02 | 1 | -1/+3 |
| | |||||
* | SF bug #1235646: codecs.StreamRecoder.next() now reencodes the data it reads | Walter Dörwald | 2005-09-01 | 1 | -1/+3 |
| | | | | | from the input stream, so that the output is a byte string in the correct encoding instead of a unicode string. | ||||
* | Reverting previous checkin. This breaks too much of HTMLParser to be applied | Georg Brandl | 2005-09-01 | 1 | -1/+1 |
| | | | | | without thought. Anyway, such malformed HTML is better handled by something like BeautifulSoup. | ||||
* | No need to import exceptions, they are builtins | Neal Norwitz | 2005-09-01 | 3 | -7/+4 |
| | |||||
* | Remove unused import | Neal Norwitz | 2005-09-01 | 1 | -1/+0 |
| | |||||
* | patch [ 1242454 ] shutil.copytree() quits too soon after an error. | Georg Brandl | 2005-08-31 | 1 | -0/+4 |
| | |||||
* | bug [ 761452 ] HTMLParser chokes on my.yahoo.com output | Georg Brandl | 2005-08-31 | 1 | -1/+1 |
| | |||||
* | updated __version__ | Piers Lauder | 2005-08-31 | 1 | -1/+1 |
| | |||||
* | changed select() so readonly flag is treated as a boolean | Piers Lauder | 2005-08-31 | 1 | -4/+4 |
| | |||||
* | 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. |