summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* changed count to return 0 for slices outside the source stringFredrik Lundh2006-05-301-1/+2
|
* Change wrapping terminology to overflow maskingBob Ippolito2006-05-301-3/+3
|
* changed find/rfind to return -1 for matches outside the source stringFredrik Lundh2006-05-301-0/+8
|
* Convert test_exceptions to unittest.Georg Brandl2006-05-302-349/+287
|
* Do the check for no keyword arguments in __init__ so thatGeorg Brandl2006-05-301-1/+1
| | | | subclasses of Exception can be supplied keyword args
* Disallow keyword args for exceptions.Georg Brandl2006-05-301-0/+7
|
* Don't fail if the (sub)pkgname already exist.Neal Norwitz2006-05-301-0/+3
|
* Add a test case for exception pickling. args is never NULL.Georg Brandl2006-05-301-0/+13
|
* Whitespace normalization.Tim Peters2006-05-302-4/+4
|
* deprecated_err(): Stop bizarre warning messages when the testsTim Peters2006-05-301-2/+6
| | | | | | | | | | | are run in the order: test_genexps (or any other doctest-based test) test_struct test_doctest The `warnings` module needs an advertised way to save/restore its internal filter list.
* Add a length check to aifc to ensure it doesn't write a bogus fileBob Ippolito2006-05-301-0/+2
|
* struct: modulo math plus warning on all endian-explicit formats for ↵Bob Ippolito2006-05-291-11/+36
| | | | compatibility with older struct usage (ugly)
* fixed "abc".count("", 100) == -96 error (hopefully, nobody's relying onFredrik Lundh2006-05-291-0/+8
| | | | the current behaviour ;-)
* Patches #1497027 and #972322: try HTTP digest auth first,Georg Brandl2006-05-292-6/+65
| | | | and watch out for handler name collisions.
* When adding a module like functools, it helps to let SVN know about the file.Nick Coghlan2006-05-291-0/+26
|
* Fix #1494787 (pyclbr counts whitespace as superclass name)Georg Brandl2006-05-291-2/+4
|
* Apply modified version of Collin Winter's patch #1478788Nick Coghlan2006-05-291-3/+3
| | | | | | Renames functional extension module to _functools and adds a Python functools module so that utility functions like update_wrapper can be added easily.
* A clearer error message when passing -R to regrtest.py withArmin Rigo2006-05-281-0/+3
| | | | release builds of Python.
* Patch #1496206: urllib2 PasswordMgr ./. default portsGeorg Brandl2006-05-282-18/+79
|
* ("Forward-port" of r46506)Armin Rigo2006-05-288-16/+24
| | | | | | | | | | | | | | Remove various dependencies on dictionary order in the standard library tests, and one (clearly an oversight, potentially critical) in the standard library itself - base64.py. Remaining open issues: * test_extcall is an output test, messy to make robust * tarfile.py has a potential bug here, but I'm not familiar enough with this code. Filed in as SF bug #1496501. * urllib2.HTTPPasswordMgr() returns a random result if there is more than one matching root path. I'm asking python-dev for clarification...
* Patch #1080727: add "encoding" parameter to doctest.DocFileSuiteGeorge Yoshida2006-05-283-8/+82
| | | | Contributed by Bjorn Tillenius.
* The cheery optimism of old age.Tim Peters2006-05-271-13/+1
|
* Always close BZ2Proxy object. Remove unnecessary struct usage.Georg Brandl2006-05-271-13/+10
|
* More random thrashing trying to understand spuriousTim Peters2006-05-271-1/+13
| | | | Windows failures. Who's keeping a bz2 file open?
* Conversion of exceptions over from faked-up classes to new-style C types.Richard Jones2006-05-277-100/+94
|
* Fix up struct docstrings, add struct.pack_to function for symmetryBob Ippolito2006-05-272-0/+34
|
* Patch 1494554: Update numeric properties to Unicode 4.1.Martin v. Löwis2006-05-271-2/+2
|
* enable all of the struct tests, use ssize_t, fix some whitespaceBob Ippolito2006-05-261-1/+1
|
* added rpartition method to UserString classFredrik Lundh2006-05-261-1/+4
|
* needspeed: rpartition documentation, tests, and a bug fixes.Fredrik Lundh2006-05-261-2/+17
| | | | feel free to add more tests and improve the documentation.
* Need for speed: Patch #921466 : sys.path_importer_cache is now used to cache ↵Georg Brandl2006-05-261-2/+4
| | | | | | | | | | valid and invalid file paths for the built-in import machinery which leads to fewer open calls on startup. Also fix issue with PEP 302 style import hooks which lead to more open() calls than necessary.
* Test for more edge strip cases; leading and trailing separator gets removedAndrew Dalke2006-05-261-0/+2
| | | | even with strip(..., 0)
* Fix distutils so that libffi will cross-compile between darwin/x86 and ↵Bob Ippolito2006-05-261-4/+2
| | | | darwin/ppc
* Explicitly close files. I'm trying to stop the frequent spurious test_tarfileTim Peters2006-05-261-9/+32
| | | | | | failures on Windows buildbots, but it's hard to know how since the regrtest failure output is useless here, and it never fails when a buildbot slave runs test_tarfile the second time in verbose mode.
* Use open() to open files (was using file()).Tim Peters2006-05-261-10/+10
|
* fix #1229380 No struct.pack exception for some out of range integersBob Ippolito2006-05-261-3/+5
|
* Added more rstrip tests, including for prealloc'ed arraysAndrew Dalke2006-05-261-1/+54
|
* quick hack to fix busted binhex testBob Ippolito2006-05-261-1/+5
|
* Test cases for off-by-one errors in string split with multicharacter pattern.Andrew Dalke2006-05-261-0/+2
|
* I like tests.Andrew Dalke2006-05-261-0/+32
| | | | | | | The new split functions use a preallocated list. Added tests which exceed the preallocation size, to exercise list appends/resizes. Also added more edge case tests.
* Whitespace normalization.Tim Peters2006-05-261-2/+1
|
* Support for buffer protocol for socket and struct.Martin Blais2006-05-263-27/+97
| | | | | | | | | | * Added socket.recv_buf() and socket.recvfrom_buf() methods, that use the buffer protocol (send and sendto already did). * Added struct.pack_to(), that is the corresponding buffer compatible method to unpack_from(). * Fixed minor typos in arraymodule.
* Add "partition" to UserString.Georg Brandl2006-05-261-0/+1
|
* Added split whitespace checks for characters other than space.Andrew Dalke2006-05-261-0/+1
|
* Added a few more test cases for whitespace split. These strings have ↵Andrew Dalke2006-05-261-0/+7
| | | | leading whitespace.
* needforspeed: partition implementation, part two.Fredrik Lundh2006-05-261-0/+15
| | | | feel free to improve the documentation and the docstrings.
* Without this patch OSX users couldn't add new help sources because the codeRonald Oussoren2006-05-261-0/+1
| | | | tried to update one item in a tuple.
* Whitespace normalization.Tim Peters2006-05-251-2/+2
|
* Change test_values so that it compares the lowercasing of group names since ↵Brett Cannon2006-05-251-1/+4
| | | | | | getgrall() can return all lowercase names while getgrgid() returns proper casing. Discovered on Ubuntu 5.04 (custom).
* Guard the _active.remove() call to avoid errors when there is no _active list.Georg Brandl2006-05-251-2/+3
|