summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Changed _srcfile determination to support py2exe.Vinay Sajip2005-09-021-1/+3
|
* SF bug #1235646: codecs.StreamRecoder.next() now reencodes the data it readsWalter Dörwald2005-09-011-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 appliedGeorg Brandl2005-09-011-1/+1
| | | | | without thought. Anyway, such malformed HTML is better handled by something like BeautifulSoup.
* No need to import exceptions, they are builtinsNeal Norwitz2005-09-013-7/+4
|
* Remove unused importNeal Norwitz2005-09-011-1/+0
|
* patch [ 1242454 ] shutil.copytree() quits too soon after an error.Georg Brandl2005-08-311-0/+4
|
* bug [ 761452 ] HTMLParser chokes on my.yahoo.com outputGeorg Brandl2005-08-311-1/+1
|
* updated __version__Piers Lauder2005-08-311-1/+1
|
* changed select() so readonly flag is treated as a booleanPiers Lauder2005-08-311-4/+4
|
* SF bug #1251300: On UCS-4 builds the "unicode-internal" codec will now complainWalter Dörwald2005-08-302-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 whatBrett Cannon2005-08-291-2/+5
| | | | the code is doing.
* fix bug where str.find() was being misused where __contains__ should have beenBrett Cannon2005-08-271-1/+1
| | | | used.
* Patch #1168594: set sizes of non-regular files to zero. Fixes #1167128.Martin v. Löwis2005-08-272-14/+47
| | | | Will backport to 2.4.
* Whitespace normalization (via reindent.py).Tim Peters2005-08-268-11/+9
|
* testSeekBackwardsFromEnd(): Repair obvious syntax error.Tim Peters2005-08-261-1/+1
|
* Add list() around xreadlines()Georg Brandl2005-08-261-2/+2
|
* *** empty log message ***Georg Brandl2005-08-261-11/+11
|
* patch [ 810023 ] Fix for off-by-one bug in urllib.URLopener.retrieveGeorg Brandl2005-08-262-17/+99
|
* patch [ 756021 ] Allow socket.inet_aton("255.255.255.255") on WindowsGeorg Brandl2005-08-261-0/+2
|
* bug [ 1262320 ] minidom.py alternate newl support is brokenGeorg Brandl2005-08-251-4/+11
|
* bug [ 1262320 ] minidom.py alternate newl support is brokenGeorg Brandl2005-08-251-6/+6
|
* Make IDNA return an empty string when the input is empty. Fixes #1163178.Martin v. Löwis2005-08-252-0/+12
| | | | Will backport to 2.4.
* Correct test suite for #848017.Georg Brandl2005-08-252-4/+5
|
* patch #848017: make Cookie more RFC-compliant.Georg Brandl2005-08-241-28/+23
|
* Bug #735248: Fix urllib2.parse_http_list.Georg Brandl2005-08-242-39/+44
|
* Bug 1016563: Bug in urllib2 proxy authGeorg Brandl2005-08-241-1/+1
|
* Patch [ 1062060 ] fix for 1016880 urllib.urlretrieve silently truncates dwnldGeorg Brandl2005-08-241-1/+15
|
* Patch #1167716: Support Unicode filenames in mkpath. Fixes #1121494.Martin v. Löwis2005-08-241-1/+1
| | | | Will backport to 2.4.
* patch [ 1141428 ] more __contains__ testsGeorg Brandl2005-08-242-2/+29
|
* [ 1113421 ] New tutorial tests in test_generators.pyGeorg Brandl2005-08-241-0/+78
|
* Return complete lines from codec stream readersMartin v. Löwis2005-08-241-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 pdbGeorg Brandl2005-08-241-1/+4
|
* bug [ 728515 ] mmap's resize method resizes the file in win32 but not unixGeorg Brandl2005-08-241-0/+8
|
* Revert previous checkin.Martin v. Löwis2005-08-241-7/+20
|
* Patch #1262036: Make tarfile name absolute. Fixes #1257255.Martin v. Löwis2005-08-241-20/+7
| | | | Will backport to 2.4.
* add note about "markupbase" not being intended for direct useFred Drake2005-08-231-1/+7
| | | | (closes SF bug #736659, patch #901369)
* Revert previous code elimination, 'filename' is needed.Kurt B. Kaiser2005-08-231-2/+7
|
* 1. Mac line endings were incorrect when pasting code from some browsersKurt B. Kaiser2005-08-232-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 documentationGeorg Brandl2005-08-221-1/+1
|
* Bug #1266283: lexists() is not exported from os.pathGeorg Brandl2005-08-224-11/+11
|
* [ sf.net patch # 1121611 ]Gregory P. Smith2005-08-218-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 Brandl2005-08-211-1/+17
|
* SF bug #1242657: list(obj) can swallow KeyboardInterruptRaymond Hettinger2005-08-211-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 Hettinger2005-08-191-9/+13
|
* Numerous fix-ups to C API and docs. Added tests for C API.Raymond Hettinger2005-08-161-1/+6
|
* Port from the Python 2.4 branch, patches for SF bug # 900092,Barry Warsaw2005-08-151-0/+1
| | | | hotshot.stats.load.
* Teach the sets module to correctly compute s-=s and s^=s as the empty set.Raymond Hettinger2005-08-132-0/+17
|
* * Fix SF #1257731. Make __contains__(), remove(), and discard() only doRaymond Hettinger2005-08-121-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 aNeil Schemenauer2005-08-121-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 asRaymond Hettinger2005-08-111-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.