Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [Patch #1002763] Allow long ints as terminator values; also, treat a ↵ | Andrew M. Kuchling | 2005-06-09 | 1 | -2/+2 |
| | | | | terminator of 0 like the empty string or None | ||||
* | Convert asynchat test to unittest; exercise the client using a numeric value ↵ | Andrew M. Kuchling | 2005-06-09 | 1 | -14/+46 |
| | | | | as the terminator | ||||
* | [Bug #1074261, patch #1074381] Restrict the size of chunks read from the ↵ | Andrew M. Kuchling | 2005-06-09 | 2 | -2/+26 |
| | | | | file in order to avoid overflow or huge memory consumption. Patch by Mark Eichin | ||||
* | Convert gzip test suite to use unittest | Andrew M. Kuchling | 2005-06-09 | 1 | -74/+110 |
| | |||||
* | fix import to work with either module name. | Gregory P. Smith | 2005-06-09 | 1 | -1/+6 |
| | |||||
* | [Patch #1171487, bug #1170331] Fix error in base64.b32decode when encoding a ↵ | Andrew M. Kuchling | 2005-06-08 | 2 | -4/+12 |
| | | | | single null byte; test a null byte in all encodings to be sure it works | ||||
* | fix broken (unexecuted) test | Anthony Baxter | 2005-06-08 | 1 | -3/+3 |
| | |||||
* | Tools/scripts/reindent.py _is_ your friend | Anthony Baxter | 2005-06-08 | 5 | -119/+119 |
| | |||||
* | [Bug #1172763] dumbdbm uses eval() on lines, so it chokes if there's an ↵ | Andrew M. Kuchling | 2005-06-07 | 2 | -0/+19 |
| | | | | extra \r on the end of a line; fixed by stripping off trailing whitespace. | ||||
* | Minor namespace clean-up. | Raymond Hettinger | 2005-06-07 | 1 | -2/+2 |
| | |||||
* | fix more Errors (not Failures) when run using BerkeleyDB <= 4.0 | Gregory P. Smith | 2005-06-06 | 1 | -4/+13 |
| | |||||
* | fix Errors (not Failures) in test cases when running with BerkeleyDB<4.2 | Gregory P. Smith | 2005-06-06 | 1 | -32/+61 |
| | |||||
* | make the tests that expect uncatchable exceptions from a callback test | Gregory P. Smith | 2005-06-06 | 1 | -19/+48 |
| | | | | | | for them in a roundabout way (catching and parsing stderr) keeps test output clean. | ||||
* | test case for pybsddb SF bug id 1215432 | Gregory P. Smith | 2005-06-06 | 1 | -0/+50 |
| | |||||
* | test DB.associate using transactions. somewhat related to SF pybsddb | Gregory P. Smith | 2005-06-06 | 1 | -12/+46 |
| | | | | bug #1215432 | ||||
* | Documentation clarified re. config socket listener protocol | Vinay Sajip | 2005-06-05 | 1 | -3/+3 |
| | |||||
* | Fix missing assignments of marshal.load() values. Closes #1214662. | Skip Montanaro | 2005-06-04 | 1 | -7/+7 |
| | |||||
* | Bug #1196315: fix weakref.WeakValueDictionary constructor. | Georg Brandl | 2005-06-04 | 1 | -1/+1 |
| | |||||
* | pybsddb 4.3.2: | Gregory P. Smith | 2005-06-04 | 2 | -9/+33 |
| | | | | | | | | | | | * the has_key() method was not raising a DBError when a database error had occurred. [SF patch id 1212590] * added a wrapper for the DBEnv.set_lg_regionmax method [SF patch id 1212590] * DBKeyEmptyError now derives from KeyError just like DBNotFoundError. * internally everywhere DB_NOTFOUND was checked for has been updated to also check for DB_KEYEMPTY. This fixes the semantics of a couple operations on recno and queue databases to be more intuitive and results in less unexpected DBKeyEmptyError exceptions being raised. | ||||
* | Whitespace normalization. | Tim Peters | 2005-06-03 | 4 | -195/+195 |
| | |||||
* | Bug #1194181: bz2.BZ2File didn't handle mode 'U' correctly. | Georg Brandl | 2005-06-03 | 1 | -0/+10 |
| | |||||
* | [ 1197218 ] test_locale fix on modern linux | Anthony Baxter | 2005-06-03 | 1 | -8/+10 |
| | | | | | | | On more modern linuxes (and probably others) straight 'en_US' isn't a valid locale. Make the code try a couple of alternates. backport candidate | ||||
* | This is my patch: | Michael W. Hudson | 2005-06-03 | 1 | -1/+15 |
| | | | | | | | | | [ 1180995 ] binary formats for marshalling floats Adds 2 new type codes for marshal (binary floats and binary complexes), a new marshal version (2), updates MAGIC and fiddles the de-serializing of code objects to be less likely to clobber the real reason for failing if it fails. | ||||
* | Bug #1213894: os.path.realpath didn't resolve symlinks that were the first | Georg Brandl | 2005-06-03 | 2 | -1/+21 |
| | | | | component of the path. | ||||
* | M-x untabify | Michael W. Hudson | 2005-06-03 | 1 | -9/+9 |
| | |||||
* | pybsddb 4.3.1, adds support for DB.set_bt_compare database btree comparison | Gregory P. Smith | 2005-06-03 | 3 | -0/+218 |
| | | | | | | functions written in python. contributed by <frederic.gobry@epfl.ch> | ||||
* | [Bug #1177831] Exercise (?(id)yes|no) for a group other than the first one | Andrew M. Kuchling | 2005-06-02 | 1 | -0/+10 |
| | |||||
* | [Bug #1177831] Fix generation of code for GROUPREF_EXISTS. Thanks to Andre ↵ | Andrew M. Kuchling | 2005-06-02 | 1 | -1/+1 |
| | | | | Malo for the fix. | ||||
* | Fix compiler.ast.flatten function so that it works on lists. | Neil Schemenauer | 2005-06-02 | 2 | -4/+9 |
| | |||||
* | [Bug #1152762] Ensure _end_of_line() returns an x-coordinate that's within ↵ | Andrew M. Kuchling | 2005-06-02 | 1 | -1/+1 |
| | | | | the text box | ||||
* | added GET/SETANNOTATION methods | Piers Lauder | 2005-06-01 | 1 | -9/+36 |
| | |||||
* | This is my patch: | Michael W. Hudson | 2005-05-27 | 1 | -0/+110 |
| | | | | | | | | | | | | | | [ 1181301 ] make float packing copy bytes when they can which hasn't been reviewed, despite numerous threats to check it in anyway if noone reviews it. Please read the diff on the checkin list, at least! The basic idea is to examine the bytes of some 'probe values' to see if the current platform is a IEEE 754-ish platform, and if so _PyFloat_{Pack,Unpack}{4,8} just copy bytes around. The rest is hair for testing, and tests. | ||||
* | Fix test_site to not call open('...', 'wU'), as that now raises an error. | Michael W. Hudson | 2005-05-27 | 1 | -1/+1 |
| | | | | Is anyone running the test suite regularly at the moment? | ||||
* | Disallow opening files with modes 'aU' or 'wU' as specified by PEP | Skip Montanaro | 2005-05-20 | 1 | -0/+10 |
| | | | | 278. Closes bug 967182. | ||||
* | Whitespace normalization. | Tim Peters | 2005-05-18 | 1 | -1/+1 |
| | |||||
* | This test relied on short-circuiting details of dictobject.py to avoid | Armin Rigo | 2005-05-15 | 1 | -4/+2 |
| | | | | | | | | | crashing, and indirectly on the fact that hash codes in random.randrange(1000000000) were very unlikely to exhibit collisions. To see the problem, replace this number with 500 and observe the crash on either del target[key] or del keys[i]. The fix prevents recursive mutation, just as in the key insertion case. | ||||
* | Add better datetime support to xmlrpclib module. Closes patch #1120353. | Skip Montanaro | 2005-05-14 | 2 | -17/+87 |
| | |||||
* | Improve subprocess link error notification | Kurt B. Kaiser | 2005-05-10 | 3 | -3/+9 |
| | | | | | | M NEWS.txt M PyShell.py M rpc.py | ||||
* | SF bug #1193890: calendar.weekheader not found in __all__ | Raymond Hettinger | 2005-05-10 | 1 | -1/+2 |
| | |||||
* | Use Queue's blocking feature instead of sleeping in the main | Kurt B. Kaiser | 2005-05-05 | 2 | -2/+4 |
| | | | | loop. Patch # 1190163 Michiel de Hoon | ||||
* | Don't use 'is not' to compare strings. | Michael W. Hudson | 2005-05-04 | 1 | -1/+1 |
| | | | | (spotted by reading pypy-svn :) | ||||
* | SF patch #1191489: Simplify logic in random.py | Raymond Hettinger | 2005-04-30 | 1 | -9/+10 |
| | |||||
* | Fix error in a docstring where a single quote started the docstring but triple | Brett Cannon | 2005-04-30 | 1 | -1/+1 |
| | | | | | | quote ended it. Closes bug #1192777. Thanks Christopher Smith. | ||||
* | Fixed a typo in docstring I happened upon. | Guido van Rossum | 2005-04-30 | 1 | -1/+1 |
| | |||||
* | Make subclasses of int, long, complex, float, and unicode perform type | Brett Cannon | 2005-04-26 | 4 | -1/+245 |
| | | | | | | | conversion using the proper magic slot (e.g., __int__()). Also move conversion code out of PyNumber_*() functions in the C API into the nb_* function. Applied patch #1109424. Thanks Walter Doewald. | ||||
* | Make parse_makefile fallback to environment variables if nothing is | Martin v. Löwis | 2005-04-25 | 1 | -21/+14 |
| | | | | | defined in the makefile. Get CFLAGS from the Makefile, instead of getting OPT, BASE_CFLAGS and EXTRA_CFLAGS individually. | ||||
* | Introduced EXTRA_CFLAGS as an environment variable used by the Makefile. Meant | Brett Cannon | 2005-04-24 | 1 | -3/+4 |
| | | | | | | | to be used for flags that change binary compatibility. Distutils was tweaked to also use the variable if used during compilation of the interpreter. | ||||
* | Update test to the current readline() behaviour. | Walter Dörwald | 2005-04-21 | 1 | -0/+2 |
| | |||||
* | Fix comment. | Walter Dörwald | 2005-04-21 | 1 | -2/+2 |
| | |||||
* | If the data read from the bytestream in readline() ends in a '\r' read one more | Walter Dörwald | 2005-04-21 | 1 | -12/+4 |
| | | | | | | | | | | | byte, even if the user has passed a size parameter. This extra byte shouldn't cause a buffer overflow in the tokenizer. The original plan was to return a line ending in '\r', which might be recognizable as a complete line and skip any '\n' that was read afterwards. Unfortunately this didn't work, as the tokenizer only recognizes '\n' as line ends, which in turn lead to joined lines and SyntaxErrors, so this special treatment of a split '\r\n' has been dropped. (It can only happen with a temporarily exhausted bytestream now anyway.) Fixes parts of SF bugs #1163244 and #1175396. |