Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | deque_traverse(): If the deque had one block, and its rightindex was | Tim Peters | 2004-10-01 | 2 | -10/+22 |
| | | | | | BLOCKLEN-1, this assert-failed in a debug build, or went wild with a NULL pointer in a release build. Reported on c.l.py by Stefan Behnel. | ||||
* | Typos in new comments. | Tim Peters | 2004-10-01 | 1 | -2/+2 |
| | |||||
* | Document some reverse-engineered invariants and pragmatic hints. | Tim Peters | 2004-10-01 | 1 | -2/+17 |
| | |||||
* | Get references working (except for references to "Extending optparse", | Greg Ward | 2004-10-01 | 1 | -30/+29 |
| | | | | which isn't being converted from reST yet). | ||||
* | Definition consistency. | Tim Peters | 2004-10-01 | 1 | -1/+2 |
| | |||||
* | Trimmed trailing whitespace. | Tim Peters | 2004-10-01 | 1 | -26/+26 |
| | |||||
* | Add tests for syntax errors. | Raymond Hettinger | 2004-09-30 | 1 | -0/+13 |
| | |||||
* | Added 2 notes about the complexities of testing SyntaxErrors. | Edward Loper | 2004-09-30 | 1 | -0/+31 |
| | |||||
* | Expand scope to include general mapping protocol tests. | Raymond Hettinger | 2004-09-30 | 1 | -0/+13 |
| | | | | | | Many of these tests are redundant, but this will ensure that the mapping protocols all stay in sync. Also, added a test for dictionary subclasses. | ||||
* | Add missing test_dict.py from patch #736962. | Walter Dörwald | 2004-09-30 | 1 | -0/+404 |
| | |||||
* | Improve test coverage. | Raymond Hettinger | 2004-09-30 | 5 | -34/+49 |
| | |||||
* | SF bug #1035279: hex() and oct() documentation is incorrect | Raymond Hettinger | 2004-09-30 | 1 | -13/+5 |
| | | | | | * Updated docs to reflected signed return values. * Fixed a doubled word typo. | ||||
* | Improve error message for augmented assignments to genexps or listcomps. | Raymond Hettinger | 2004-09-29 | 1 | -2/+2 |
| | | | | | Rather than introduce new logic, took the approach of making the message itself more general. | ||||
* | Fix two erroneous error messages. | Raymond Hettinger | 2004-09-29 | 1 | -2/+2 |
| | |||||
* | Fix typo in PyDict_Items doc | Nicholas Bastin | 2004-09-29 | 1 | -1/+1 |
| | |||||
* | Improve test coverage. | Raymond Hettinger | 2004-09-29 | 2 | -0/+45 |
| | |||||
* | Improve test coverage. | Raymond Hettinger | 2004-09-29 | 2 | -5/+116 |
| | |||||
* | minor doc tweaks for writexml | Skip Montanaro | 2004-09-28 | 1 | -5/+9 |
| | |||||
* | typo | Skip Montanaro | 2004-09-28 | 1 | -1/+1 |
| | |||||
* | Replaced a test with an assertion. | Raymond Hettinger | 2004-09-28 | 1 | -3/+1 |
| | | | | (Suggested by Michael Hudson.) | ||||
* | A number of list examples used 66.6, but I doubt there's any box on which | Tim Peters | 2004-09-28 | 1 | -9/+9 |
| | | | | | | repr(66.6) == "66.6", so doubt that the claimed output has ever been seen. Changed it to 66.25 everywhere, and manually verified that the new claimed output is correct. | ||||
* | Reverted the addition of a NORMALIZE_NUMBERS option, per Tim Peter's | Edward Loper | 2004-09-28 | 3 | -199/+2 |
| | | | | | | | | request. Tim says that "correct 'fuzzy' comparison of floats cannot be automated." (The motivation behind adding the new option was verifying interactive examples in Python's latex documentation; several such examples use numbers that don't print consistently on different platforms.) | ||||
* | * Increase test coverage. | Raymond Hettinger | 2004-09-28 | 2 | -5/+38 |
| | | | | * Have groupby() be careful about decreffing structure members. | ||||
* | Added a new NORMALIZE_NUMBERS option, which causes number literals in | Edward Loper | 2004-09-28 | 3 | -2/+199 |
| | | | | | the expected output to match corresponding number literals in the actual output if their values are equal (to ten digits of precision). | ||||
* | Add note about inclusion of DarwinPorts directories in setup.py on darwin. | Brett Cannon | 2004-09-28 | 1 | -0/+4 |
| | |||||
* | Add the directories where DarwinPorts installs library and include files to | Brett Cannon | 2004-09-28 | 1 | -2/+5 |
| | | | | the proper path directories for compiling extension modules. | ||||
* | Fixed minor typo in interactive example (extra '.'s in '...' prompts) | Edward Loper | 2004-09-28 | 1 | -2/+2 |
| | |||||
* | Fixed minor typo in interactive example (extra blank line) | Edward Loper | 2004-09-28 | 1 | -1/+0 |
| | |||||
* | SF bug #1033038: Misleading error message in random.choice | Raymond Hettinger | 2004-09-28 | 1 | -0/+1 |
| | | | | Added a clarifying line to the docs. | ||||
* | Fixed minor typo in interactive example | Edward Loper | 2004-09-28 | 1 | -1/+1 |
| | |||||
* | Fixed minor typo in interactive example (backslash shouldn't be doubled) | Edward Loper | 2004-09-28 | 1 | -1/+1 |
| | |||||
* | Updated interactive examples in the "Examples" session to reflect the | Edward Loper | 2004-09-28 | 1 | -7/+10 |
| | | | | fact that compiler.ast.Function now takes a "decorators" argument. | ||||
* | Silence a compiler warning by supplying the correct argument type to | Raymond Hettinger | 2004-09-28 | 1 | -2/+2 |
| | | | | the htons() function. | ||||
* | Use Py_CLEAR(). Add unrelated test. | Raymond Hettinger | 2004-09-28 | 2 | -1/+4 |
| | |||||
* | Major overhaul to reflect Optik 1.5. Section references currently broken. | Greg Ward | 2004-09-28 | 1 | -1192/+904 |
| | |||||
* | Plug a leak and beef-up test coverage. | Raymond Hettinger | 2004-09-28 | 2 | -4/+161 |
| | |||||
* | Rename test for comparision errors. | Raymond Hettinger | 2004-09-27 | 1 | -1/+1 |
| | |||||
* | Beef-up tests for greater coverage and refcount checking. | Raymond Hettinger | 2004-09-27 | 1 | -1/+59 |
| | |||||
* | Patch #1009075, bug #952953: allow execve with empty 2nd argument | Armin Rigo | 2004-09-27 | 2 | -14/+2 |
| | |||||
* | Patch #1011240: SystemError generated by struct.pack('P', 'foo'). | Armin Rigo | 2004-09-27 | 2 | -7/+10 |
| | |||||
* | Trivial bug fix: deque == [] is not a good way to check if a deque is empty. | Armin Rigo | 2004-09-27 | 1 | -1/+1 |
| | |||||
* | Use floor division operator. | Raymond Hettinger | 2004-09-27 | 7 | -8/+8 |
| | |||||
* | Use floor division operator. | Raymond Hettinger | 2004-09-27 | 1 | -3/+3 |
| | |||||
* | - Added a "parser" option to testfile() and DocFileTest(). | Edward Loper | 2004-09-27 | 1 | -1/+10 |
| | |||||
* | - Added a "parser" option to testfile() and DocFileTest(). | Edward Loper | 2004-09-27 | 1 | -5/+12 |
| | |||||
* | - Fixed typo in multi-line exception example | Edward Loper | 2004-09-27 | 1 | -6/+6 |
| | | | | - Fixed indentation for a verbatim block | ||||
* | Give a saner example for script_from_examples(); also mention an intended | Tim Peters | 2004-09-26 | 1 | -11/+25 |
| | | | | but not entirely obvious use case. | ||||
* | Made most module references "clickable". | Tim Peters | 2004-09-26 | 1 | -71/+70 |
| | |||||
* | Docs for run_docstring_examples(). | Tim Peters | 2004-09-26 | 1 | -0/+30 |
| | |||||
* | Checkin Tim's fix to an error discussed on python-dev. | Raymond Hettinger | 2004-09-26 | 2 | -10/+25 |
| | | | | | | | | | | | | | | | | | Also, add a testcase. Formerly, the list_extend() code used several local variables to remember its state across iterations. Since an iteration could call arbitrary Python code, it was possible for the list state to be changed. The new code uses dynamic structure references instead of C locals. So, they are always up-to-date. After list_resize() is called, its size has been updated but the new cells are filled with NULLs. These needed to be filled before arbitrary iteration code was called; otherwise, that code could attempt to modify a list that was in a semi-invalid state. The solution was to change the ob->size field back to a value reflecting the actual number of valid cells. |